2011-08-19 16:12:30 -06:00
|
|
|
.intel_syntax
|
|
|
|
push eax
|
|
|
|
push edx
|
|
|
|
push ecx
|
|
|
|
push ebx
|
|
|
|
push eax
|
2011-08-19 17:33:57 -06:00
|
|
|
mov eax,[esp+20]
|
2011-08-19 16:12:30 -06:00
|
|
|
push eax
|
|
|
|
function:
|
2011-08-19 17:33:57 -06:00
|
|
|
call 0xdeadbee4
|
2011-08-19 16:12:30 -06:00
|
|
|
function2:
|
|
|
|
mov [0xdeadbeef],eax #self modifying code... :/
|
|
|
|
pop eax
|
|
|
|
function3:
|
|
|
|
call [0xdeadbeef]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|