Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- level01a@wargame:/tmp/wg01a$ objdump -D -M intel bin01a|grep '<main>:' -A 30
- 08048557 <main>:
- 8048557: 55 push ebp
- 8048558: 89 e5 mov ebp,esp
- 804855a: 83 e4 f0 and esp,0xfffffff0
- 804855d: 83 ec 10 sub esp,0x10
- 8048560: 83 7d 08 02 cmp DWORD PTR [ebp+0x8],0x2
- 8048564: 74 1c je 8048582 <main+0x2b>
- 8048566: 8b 45 0c mov eax,DWORD PTR [ebp+0xc]
- 8048569: 8b 00 mov eax,DWORD PTR [eax]
- 804856b: 89 44 24 04 mov DWORD PTR [esp+0x4],eax
- 804856f: c7 04 24 80 86 04 08 mov DWORD PTR [esp],0x8048680
- 8048576: e8 25 fe ff ff call 80483a0 <printf@plt>
- 804857b: b8 01 00 00 00 mov eax,0x1
- 8048580: eb 6b jmp 80485ed <main+0x96>
- 8048582: 8b 45 0c mov eax,DWORD PTR [ebp+0xc]
- 8048585: 83 c0 04 add eax,0x4
- 8048588: 8b 00 mov eax,DWORD PTR [eax]
- 804858a: 89 04 24 mov DWORD PTR [esp],eax
- 804858d: e8 5a ff ff ff call 80484ec <check>
- 8048592: 83 f8 01 cmp eax,0x1
- 8048595: 75 32 jne 80485c9 <main+0x72>
- 8048597: c7 04 24 96 86 04 08 mov DWORD PTR [esp],0x8048696
- 804859e: e8 1d fe ff ff call 80483c0 <puts@plt>
- 80485a3: c7 04 24 b4 86 04 08 mov DWORD PTR [esp],0x80486b4
- 80485aa: e8 11 fe ff ff call 80483c0 <puts@plt>
- 80485af: c7 04 24 db 86 04 08 mov DWORD PTR [esp],0x80486db
- 80485b6: e8 05 fe ff ff call 80483c0 <puts@plt>
- 80485bb: c7 04 24 f8 86 04 08 mov DWORD PTR [esp],0x80486f8
- 80485c2: e8 09 fe ff ff call 80483d0 <system@plt>
- 80485c7: eb 24 jmp 80485ed <main+0x96>
- 80485c9: c7 04 24 96 86 04 08 mov DWORD PTR [esp],0x8048696
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement