Jump to content
Tuts 4 You



Recommended Posts

Windows XP with all the updates and yet

this nasm code will work fine and end its routine just fine UNLESS a USB is plugged in.. in which case it crashes ntvdm

;nasm -f bin -o ebpp.com ebpp.asm

push ebp

mov ebp,esp

push ds

push es

push ebx

push esi

push edi

add ebp,0000FFFFh

mov ah, 0x0e

mov al, '!'

int 0x10

mov ah,00

int 0x16

;lss esp,[0000]

pop edi

pop esi

pop ebx

pop es

pop ds

lss esp,[0000]

pop ebp


if ya can tell me why it crashes that'd be cool

and if ya try to debug it with TD it'll crash ntvdm too

Edited by JMC31337
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...