Files
cea-sec-miasm/example/samples/x86_32_pop_esp.S
T
2015-02-10 10:28:28 +01:00

19 lines
224 B
ArmAsm

main:
MOV EAX, ESP
CALL test
MOV ESP, EAX
PUSH 0
PUSH title
PUSH msg
PUSH 0
CALL DWORD PTR [ MessageBoxA ]
RET
test:
POP ESP
JMP ESP
title:
.string "Hello!"
msg:
.string "World!"