Reverse Engineering for Beginners

(avery) #1

CHAPTER 18. ARRAYS CHAPTER 18. ARRAYS


add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret 0
_main ENDP
_TEXT ENDS
END


The code produced this result:


Figure 18.2:OllyDbg: console output

It is justsomethingthat was lying in the stack near to the array, 80 bytes away from its first element.

Free download pdf