1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
| ...
00001295 <main>: 1295: 8d 4c 24 04 lea 0x4(%esp),%ecx 1299: 83 e4 f0 and $0xfffffff0,%esp 129c: ff 71 fc push -0x4(%ecx) 129f: 55 push %ebp 12a0: 89 e5 mov %esp,%ebp 12a2: 57 push %edi 12a3: 56 push %esi 12a4: 53 push %ebx 12a5: 51 push %ecx // prepare 12a6: 81 ec 28 02 00 00 sub $0x228,%esp 12ac: e8 5f fe ff ff call 1110 <__x86.get_pc_thunk.bx> 12b1: 81 c3 07 2d 00 00 add $0x2d07,%ebx 12b7: 8b 51 04 mov 0x4(%ecx),%edx 12ba: 65 a1 14 00 00 00 mov %gs:0x14,%eax 12c0: 89 45 e4 mov %eax,-0x1c(%ebp) 12c3: 31 c0 xor %eax,%eax // %eax == 0 12c5: 8b 83 3c 00 00 00 mov 0x3c(%ebx),%eax 12cb: 8b 38 mov (%eax),%edi 12cd: 83 39 02 cmpl $0x2,(%ecx) 12d0: 74 6f je 1341 <main+0xac> 12d2: be 01 00 00 00 mov $0x1,%esi 12d7: 8b 83 3c 00 00 00 mov 0x3c(%ebx),%eax 12dd: 89 85 d4 fd ff ff mov %eax,-0x22c(%ebp) 12e3: 8d 83 ea e0 ff ff lea -0x1f16(%ebx),%eax 12e9: 89 85 d0 fd ff ff mov %eax,-0x230(%ebp) 12ef: 83 fe 06 cmp $0x6,%esi 12f2: 74 7f je 1373 <main+0xde> 12f4: 8b 85 d4 fd ff ff mov -0x22c(%ebp),%eax 12fa: 39 38 cmp %edi,(%eax) 12fc: 74 5f je 135d <main+0xc8> 12fe: 83 ec 04 sub $0x4,%esp 1301: 57 push %edi 1302: 68 00 02 00 00 push $0x200 1307: 8d 85 e4 fd ff ff lea -0x21c(%ebp),%eax 130d: 50 push %eax 130e: e8 3d fd ff ff call 1050 <fgets@plt> 1313: 83 c4 10 add $0x10,%esp 1316: 85 c0 test %eax,%eax 1318: 74 d5 je 12ef <main+0x5a> 131a: 83 ec 04 sub $0x4,%esp 131d: 6a 0a push $0xa 131f: 6a 00 push $0x0 1321: 8d 85 e4 fd ff ff lea -0x21c(%ebp),%eax 1327: 50 push %eax 1328: e8 93 fd ff ff call 10c0 <strtol@plt> 132d: 83 c6 01 add $0x1,%esi 1330: 83 c4 10 add $0x10,%esp 1333: 39 84 b3 50 00 00 00 cmp %eax,0x50(%ebx,%esi,4) 133a: 74 a7 je 12e3 <main+0x4e> 133c: e8 cc fe ff ff call 120d <fail> 1341: 83 ec 08 sub $0x8,%esp 1344: 8d 83 e8 e0 ff ff lea -0x1f18(%ebx),%eax 134a: 50 push %eax 134b: ff 72 04 push 0x4(%edx) 134e: e8 4d fd ff ff call 10a0 <fopen@plt> 1353: 89 c7 mov %eax,%edi 1355: 83 c4 10 add $0x10,%esp 1358: e9 75 ff ff ff jmp 12d2 <main+0x3d> 135d: 83 ec 04 sub $0x4,%esp 1360: 56 push %esi 1361: ff b5 d0 fd ff ff push -0x230(%ebp) 1367: 6a 01 push $0x1 1369: e8 42 fd ff ff call 10b0 <__printf_chk@plt> 136e: 83 c4 10 add $0x10,%esp 1371: eb 8b jmp 12fe <main+0x69> 1373: e8 dc fe ff ff call 1254 <success> 1378: 8b 45 e4 mov -0x1c(%ebp),%eax 137b: 65 2b 05 14 00 00 00 sub %gs:0x14,%eax 1382: 75 11 jne 1395 <main+0x100> 1384: b8 00 00 00 00 mov $0x0,%eax 1389: 8d 65 f0 lea -0x10(%ebp),%esp 138c: 59 pop %ecx 138d: 5b pop %ebx 138e: 5e pop %esi 138f: 5f pop %edi 1390: 5d pop %ebp 1391: 8d 61 fc lea -0x4(%ecx),%esp 1394: c3 ret 1395: e8 06 00 00 00 call 13a0 <__stack_chk_fail_local> 139a: 66 90 xchg %ax,%ax 139c: 66 90 xchg %ax,%ax 139e: 66 90 xchg %ax,%ax
...
|