Exploring stack in WinDbg
•0:000> r
•eax=00321428 ebx=7ffdf000 ecx=00000001 edx=7ffe0304 esi=00000a28 edi=00000000
•eip=00401033 esp=0012fecc ebp=0012fecc iopl=0         nv up ei pl zr na po nc
•cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246
•SimpleStack!func3+0x3:
•00401033 cc               int     3
•
•
•
•0:000> dds esp
•
•0012fecc  0012fed4
•0012fed0  00401028 SimpleStack!func2+0x8
•0012fed4  0012fedc
•0012fed8  00401018 SimpleStack!func+0x8
•0012fedc  0012fee4
•0012fee0  00401008 SimpleStack!main+0x8
•0012fee4  0012ffc0
•0012fee8  004011ce SimpleStack!mainCRTStartup+0x173
•…
•…
•…
•
•
•