Created
October 1, 2016 15:35
-
-
Save splitline/dd92b10678702c78814ff7091623961d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000000400804 <main>: | |
400804: 55 push rbp | |
400805: 48 89 e5 mov rbp,rsp | |
400808: 48 83 ec 10 sub rsp,0x10 | |
40080c: 64 48 8b 04 25 28 00 mov rax,QWORD PTR fs:0x28 | |
400813: 00 00 | |
400815: 48 89 45 f8 mov QWORD PTR [rbp-0x8],rax | |
400819: 31 c0 xor eax,eax | |
40081b: c7 45 f0 00 00 00 00 mov DWORD PTR [rbp-0x10],0x0 | |
400822: bf 55 09 40 00 mov edi,0x400955 | |
400827: e8 44 fd ff ff call 400570 <puts@plt> | |
40082c: 48 8d 45 f0 lea rax,[rbp-0x10] | |
400830: 48 89 c6 mov rsi,rax | |
400833: bf 63 09 40 00 mov edi,0x400963 | |
400838: b8 00 00 00 00 mov eax,0x0 | |
40083d: e8 6e fd ff ff call 4005b0 <__isoc99_scanf@plt> | |
400842: c7 45 f4 03 00 00 00 mov DWORD PTR [rbp-0xc],0x3 | |
400849: eb 22 jmp 40086d <main+0x69> | |
40084b: 8b 45 f0 mov eax,DWORD PTR [rbp-0x10] | |
40084e: 99 cdq | |
40084f: f7 7d f4 idiv DWORD PTR [rbp-0xc] | |
400852: 89 d0 mov eax,edx | |
400854: 85 c0 test eax,eax | |
400856: 75 11 jne 400869 <main+0x65> | |
400858: bf 66 09 40 00 mov edi,0x400966 | |
40085d: e8 0e fd ff ff call 400570 <puts@plt> | |
400862: b8 00 00 00 00 mov eax,0x0 | |
400867: eb 4b jmp 4008b4 <main+0xb0> | |
400869: 83 45 f4 02 add DWORD PTR [rbp-0xc],0x2 | |
40086d: 8b 45 f4 mov eax,DWORD PTR [rbp-0xc] | |
400870: 0f af 45 f4 imul eax,DWORD PTR [rbp-0xc] | |
400874: 89 c2 mov edx,eax | |
400876: 8b 45 f0 mov eax,DWORD PTR [rbp-0x10] | |
400879: 39 c2 cmp edx,eax | |
40087b: 7c ce jl 40084b <main+0x47> | |
40087d: bf 77 09 40 00 mov edi,0x400977 | |
400882: e8 e9 fc ff ff call 400570 <puts@plt> | |
400887: bf 01 00 00 00 mov edi,0x1 | |
40088c: b8 00 00 00 00 mov eax,0x0 | |
400891: e8 27 fe ff ff call 4006bd <frame_dummy+0xd> | |
400896: bf 0a 00 00 00 mov edi,0xa | |
40089b: b8 00 00 00 00 mov eax,0x0 | |
4008a0: e8 1b fd ff ff call 4005c0 <sleep@plt> | |
4008a5: b8 00 00 00 00 mov eax,0x0 | |
4008aa: e8 27 fe ff ff call 4006d6 <FLAG> | |
4008af: b8 00 00 00 00 mov eax,0x0 | |
4008b4: 48 8b 4d f8 mov rcx,QWORD PTR [rbp-0x8] | |
4008b8: 64 48 33 0c 25 28 00 xor rcx,QWORD PTR fs:0x28 | |
4008bf: 00 00 | |
4008c1: 74 05 je 4008c8 <main+0xc4> | |
4008c3: e8 b8 fc ff ff call 400580 <__stack_chk_fail@plt> | |
4008c8: c9 leave | |
4008c9: c3 ret | |
4008ca: 66 0f 1f 44 00 00 nop WORD PTR [rax+rax*1+0x0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment