bomb: file format elf32-i386 Disassembly of section .init: 0804880c <_init>: 804880c: 55 push %ebp 804880d: 89 e5 mov %esp,%ebp 804880f: 83 ec 08 sub $0x8,%esp 8048812: e8 4d 02 00 00 call 8048a64 8048817: e8 b4 02 00 00 call 8048ad0 804881c: e8 9f 0f 00 00 call 80497c0 <__do_global_ctors_aux> 8048821: c9 leave 8048822: c3 ret Disassembly of section .plt: 08048824 : 8048824: ff 35 e4 a0 04 08 pushl 0x804a0e4 804882a: ff 25 e8 a0 04 08 jmp *0x804a0e8 8048830: 00 00 add %al,(%eax) ... 08048834 : 8048834: ff 25 ec a0 04 08 jmp *0x804a0ec 804883a: 68 00 00 00 00 push $0x0 804883f: e9 e0 ff ff ff jmp 8048824 <_init+0x18> 08048844 : 8048844: ff 25 f0 a0 04 08 jmp *0x804a0f0 804884a: 68 08 00 00 00 push $0x8 804884f: e9 d0 ff ff ff jmp 8048824 <_init+0x18> 08048854 : 8048854: ff 25 f4 a0 04 08 jmp *0x804a0f4 804885a: 68 10 00 00 00 push $0x10 804885f: e9 c0 ff ff ff jmp 8048824 <_init+0x18> 08048864 : 8048864: ff 25 f8 a0 04 08 jmp *0x804a0f8 804886a: 68 18 00 00 00 push $0x18 804886f: e9 b0 ff ff ff jmp 8048824 <_init+0x18> 08048874 : 8048874: ff 25 fc a0 04 08 jmp *0x804a0fc 804887a: 68 20 00 00 00 push $0x20 804887f: e9 a0 ff ff ff jmp 8048824 <_init+0x18> 08048884 : 8048884: ff 25 00 a1 04 08 jmp *0x804a100 804888a: 68 28 00 00 00 push $0x28 804888f: e9 90 ff ff ff jmp 8048824 <_init+0x18> 08048894 : 8048894: ff 25 04 a1 04 08 jmp *0x804a104 804889a: 68 30 00 00 00 push $0x30 804889f: e9 80 ff ff ff jmp 8048824 <_init+0x18> 080488a4 : 80488a4: ff 25 08 a1 04 08 jmp *0x804a108 80488aa: 68 38 00 00 00 push $0x38 80488af: e9 70 ff ff ff jmp 8048824 <_init+0x18> 080488b4 : 80488b4: ff 25 0c a1 04 08 jmp *0x804a10c 80488ba: 68 40 00 00 00 push $0x40 80488bf: e9 60 ff ff ff jmp 8048824 <_init+0x18> 080488c4 : 80488c4: ff 25 10 a1 04 08 jmp *0x804a110 80488ca: 68 48 00 00 00 push $0x48 80488cf: e9 50 ff ff ff jmp 8048824 <_init+0x18> 080488d4 : 80488d4: ff 25 14 a1 04 08 jmp *0x804a114 80488da: 68 50 00 00 00 push $0x50 80488df: e9 40 ff ff ff jmp 8048824 <_init+0x18> 080488e4 : 80488e4: ff 25 18 a1 04 08 jmp *0x804a118 80488ea: 68 58 00 00 00 push $0x58 80488ef: e9 30 ff ff ff jmp 8048824 <_init+0x18> 080488f4 : 80488f4: ff 25 1c a1 04 08 jmp *0x804a11c 80488fa: 68 60 00 00 00 push $0x60 80488ff: e9 20 ff ff ff jmp 8048824 <_init+0x18> 08048904 <__strtol_internal@plt>: 8048904: ff 25 20 a1 04 08 jmp *0x804a120 804890a: 68 68 00 00 00 push $0x68 804890f: e9 10 ff ff ff jmp 8048824 <_init+0x18> 08048914 : 8048914: ff 25 24 a1 04 08 jmp *0x804a124 804891a: 68 70 00 00 00 push $0x70 804891f: e9 00 ff ff ff jmp 8048824 <_init+0x18> 08048924 <__libc_start_main@plt>: 8048924: ff 25 28 a1 04 08 jmp *0x804a128 804892a: 68 78 00 00 00 push $0x78 804892f: e9 f0 fe ff ff jmp 8048824 <_init+0x18> 08048934 : 8048934: ff 25 2c a1 04 08 jmp *0x804a12c 804893a: 68 80 00 00 00 push $0x80 804893f: e9 e0 fe ff ff jmp 8048824 <_init+0x18> 08048944 : 8048944: ff 25 30 a1 04 08 jmp *0x804a130 804894a: 68 88 00 00 00 push $0x88 804894f: e9 d0 fe ff ff jmp 8048824 <_init+0x18> 08048954 <__strdup@plt>: 8048954: ff 25 34 a1 04 08 jmp *0x804a134 804895a: 68 90 00 00 00 push $0x90 804895f: e9 c0 fe ff ff jmp 8048824 <_init+0x18> 08048964 : 8048964: ff 25 38 a1 04 08 jmp *0x804a138 804896a: 68 98 00 00 00 push $0x98 804896f: e9 b0 fe ff ff jmp 8048824 <_init+0x18> 08048974 : 8048974: ff 25 3c a1 04 08 jmp *0x804a13c 804897a: 68 a0 00 00 00 push $0xa0 804897f: e9 a0 fe ff ff jmp 8048824 <_init+0x18> 08048984 : 8048984: ff 25 40 a1 04 08 jmp *0x804a140 804898a: 68 a8 00 00 00 push $0xa8 804898f: e9 90 fe ff ff jmp 8048824 <_init+0x18> 08048994 : 8048994: ff 25 44 a1 04 08 jmp *0x804a144 804899a: 68 b0 00 00 00 push $0xb0 804899f: e9 80 fe ff ff jmp 8048824 <_init+0x18> 080489a4 : 80489a4: ff 25 48 a1 04 08 jmp *0x804a148 80489aa: 68 b8 00 00 00 push $0xb8 80489af: e9 70 fe ff ff jmp 8048824 <_init+0x18> 080489b4 : 80489b4: ff 25 4c a1 04 08 jmp *0x804a14c 80489ba: 68 c0 00 00 00 push $0xc0 80489bf: e9 60 fe ff ff jmp 8048824 <_init+0x18> 080489c4 : 80489c4: ff 25 50 a1 04 08 jmp *0x804a150 80489ca: 68 c8 00 00 00 push $0xc8 80489cf: e9 50 fe ff ff jmp 8048824 <_init+0x18> 080489d4 : 80489d4: ff 25 54 a1 04 08 jmp *0x804a154 80489da: 68 d0 00 00 00 push $0xd0 80489df: e9 40 fe ff ff jmp 8048824 <_init+0x18> 080489e4 : 80489e4: ff 25 58 a1 04 08 jmp *0x804a158 80489ea: 68 d8 00 00 00 push $0xd8 80489ef: e9 30 fe ff ff jmp 8048824 <_init+0x18> 080489f4 : 80489f4: ff 25 5c a1 04 08 jmp *0x804a15c 80489fa: 68 e0 00 00 00 push $0xe0 80489ff: e9 20 fe ff ff jmp 8048824 <_init+0x18> 08048a04 <__ctype_b_loc@plt>: 8048a04: ff 25 60 a1 04 08 jmp *0x804a160 8048a0a: 68 e8 00 00 00 push $0xe8 8048a0f: e9 10 fe ff ff jmp 8048824 <_init+0x18> 08048a14 : 8048a14: ff 25 64 a1 04 08 jmp *0x804a164 8048a1a: 68 f0 00 00 00 push $0xf0 8048a1f: e9 00 fe ff ff jmp 8048824 <_init+0x18> 08048a24 : 8048a24: ff 25 68 a1 04 08 jmp *0x804a168 8048a2a: 68 f8 00 00 00 push $0xf8 8048a2f: e9 f0 fd ff ff jmp 8048824 <_init+0x18> Disassembly of section .text: 08048a40 <_start>: 8048a40: 31 ed xor %ebp,%ebp 8048a42: 5e pop %esi 8048a43: 89 e1 mov %esp,%ecx 8048a45: 83 e4 f0 and $0xfffffff0,%esp 8048a48: 50 push %eax 8048a49: 54 push %esp 8048a4a: 52 push %edx 8048a4b: 68 f0 96 04 08 push $0x80496f0 8048a50: 68 60 97 04 08 push $0x8049760 8048a55: 51 push %ecx 8048a56: 56 push %esi 8048a57: 68 fc 8a 04 08 push $0x8048afc 8048a5c: e8 c3 fe ff ff call 8048924 <__libc_start_main@plt> 8048a61: f4 hlt 8048a62: 90 nop 8048a63: 90 nop 08048a64 : 8048a64: 55 push %ebp 8048a65: 89 e5 mov %esp,%ebp 8048a67: 53 push %ebx 8048a68: e8 00 00 00 00 call 8048a6d 8048a6d: 5b pop %ebx 8048a6e: 81 c3 73 16 00 00 add $0x1673,%ebx 8048a74: 52 push %edx 8048a75: 8b 83 fc ff ff ff mov 0xfffffffc(%ebx),%eax 8048a7b: 85 c0 test %eax,%eax 8048a7d: 74 02 je 8048a81 8048a7f: ff d0 call *%eax 8048a81: 58 pop %eax 8048a82: 5b pop %ebx 8048a83: c9 leave 8048a84: c3 ret 8048a85: 90 nop 8048a86: 90 nop 8048a87: 90 nop 8048a88: 90 nop 8048a89: 90 nop 8048a8a: 90 nop 8048a8b: 90 nop 8048a8c: 90 nop 8048a8d: 90 nop 8048a8e: 90 nop 8048a8f: 90 nop 08048a90 <__do_global_dtors_aux>: 8048a90: 55 push %ebp 8048a91: 89 e5 mov %esp,%ebp 8048a93: 50 push %eax 8048a94: 50 push %eax 8048a95: 80 3d 68 a8 04 08 00 cmpb $0x0,0x804a868 8048a9c: 75 2e jne 8048acc <__do_global_dtors_aux+0x3c> 8048a9e: a1 88 a1 04 08 mov 0x804a188,%eax 8048aa3: 8b 10 mov (%eax),%edx 8048aa5: 85 d2 test %edx,%edx 8048aa7: 74 1c je 8048ac5 <__do_global_dtors_aux+0x35> 8048aa9: 8d b4 26 00 00 00 00 lea 0x0(%esi),%esi 8048ab0: 83 c0 04 add $0x4,%eax 8048ab3: a3 88 a1 04 08 mov %eax,0x804a188 8048ab8: ff d2 call *%edx 8048aba: a1 88 a1 04 08 mov 0x804a188,%eax 8048abf: 8b 10 mov (%eax),%edx 8048ac1: 85 d2 test %edx,%edx 8048ac3: 75 eb jne 8048ab0 <__do_global_dtors_aux+0x20> 8048ac5: c6 05 68 a8 04 08 01 movb $0x1,0x804a868 8048acc: c9 leave 8048acd: c3 ret 8048ace: 89 f6 mov %esi,%esi 08048ad0 : 8048ad0: 55 push %ebp 8048ad1: 89 e5 mov %esp,%ebp 8048ad3: 51 push %ecx 8048ad4: 51 push %ecx 8048ad5: 8b 15 10 a0 04 08 mov 0x804a010,%edx 8048adb: 85 d2 test %edx,%edx 8048add: 74 19 je 8048af8 8048adf: b8 00 00 00 00 mov $0x0,%eax 8048ae4: 85 c0 test %eax,%eax 8048ae6: 74 10 je 8048af8 8048ae8: 83 ec 0c sub $0xc,%esp 8048aeb: 68 10 a0 04 08 push $0x804a010 8048af0: e8 0b 75 fb f7 call 0 <_init-0x804880c> 8048af5: 83 c4 10 add $0x10,%esp 8048af8: c9 leave 8048af9: c3 ret 8048afa: 90 nop 8048afb: 90 nop 08048afc
: 8048afc: 55 push %ebp 8048afd: 89 e5 mov %esp,%ebp 8048aff: 53 push %ebx 8048b00: 83 ec 04 sub $0x4,%esp 8048b03: 8b 45 08 mov 0x8(%ebp),%eax 8048b06: 8b 5d 0c mov 0xc(%ebp),%ebx 8048b09: 83 e4 f0 and $0xfffffff0,%esp 8048b0c: 83 ec 10 sub $0x10,%esp 8048b0f: 83 f8 01 cmp $0x1,%eax 8048b12: 75 0c jne 8048b20 8048b14: a1 64 a8 04 08 mov 0x804a864,%eax 8048b19: a3 74 a8 04 08 mov %eax,0x804a874 8048b1e: eb 4b jmp 8048b6b 8048b20: 83 f8 02 cmp $0x2,%eax 8048b23: 75 2b jne 8048b50 8048b25: 83 ec 08 sub $0x8,%esp 8048b28: 68 4d 99 04 08 push $0x804994d 8048b2d: ff 73 04 pushl 0x4(%ebx) 8048b30: e8 7f fe ff ff call 80489b4 8048b35: a3 74 a8 04 08 mov %eax,0x804a874 8048b3a: 83 c4 10 add $0x10,%esp 8048b3d: 85 c0 test %eax,%eax 8048b3f: 75 2a jne 8048b6b 8048b41: 83 ec 04 sub $0x4,%esp 8048b44: ff 73 04 pushl 0x4(%ebx) 8048b47: ff 33 pushl (%ebx) 8048b49: 68 08 98 04 08 push $0x8049808 8048b4e: eb 0a jmp 8048b5a 8048b50: 83 ec 08 sub $0x8,%esp 8048b53: ff 33 pushl (%ebx) 8048b55: 68 25 98 04 08 push $0x8049825 8048b5a: e8 d5 fd ff ff call 8048934 8048b5f: c7 04 24 08 00 00 00 movl $0x8,(%esp) 8048b66: e8 09 fe ff ff call 8048974 8048b6b: e8 77 07 00 00 call 80492e7 8048b70: 83 ec 0c sub $0xc,%esp 8048b73: 68 8c 98 04 08 push $0x804988c 8048b78: e8 57 fd ff ff call 80488d4 8048b7d: c7 04 24 b8 98 04 08 movl $0x80498b8,(%esp) 8048b84: e8 4b fd ff ff call 80488d4 8048b89: e8 ed 07 00 00 call 804937b 8048b8e: 89 04 24 mov %eax,(%esp) 8048b91: e8 a6 00 00 00 call 8048c3c 8048b96: e8 b7 0a 00 00 call 8049652 8048b9b: c7 04 24 e4 98 04 08 movl $0x80498e4,(%esp) 8048ba2: e8 2d fd ff ff call 80488d4 8048ba7: e8 cf 07 00 00 call 804937b 8048bac: 89 04 24 mov %eax,(%esp) 8048baf: e8 aa 00 00 00 call 8048c5e 8048bb4: e8 99 0a 00 00 call 8049652 8048bb9: c7 04 24 3f 98 04 08 movl $0x804983f,(%esp) 8048bc0: e8 0f fd ff ff call 80488d4 8048bc5: e8 b1 07 00 00 call 804937b 8048bca: 89 04 24 mov %eax,(%esp) 8048bcd: e8 e0 00 00 00 call 8048cb2 8048bd2: e8 7b 0a 00 00 call 8049652 8048bd7: c7 04 24 5d 98 04 08 movl $0x804985d,(%esp) 8048bde: e8 f1 fc ff ff call 80488d4 8048be3: e8 93 07 00 00 call 804937b 8048be8: 89 04 24 mov %eax,(%esp) 8048beb: e8 a4 01 00 00 call 8048d94 8048bf0: e8 5d 0a 00 00 call 8049652 8048bf5: c7 04 24 10 99 04 08 movl $0x8049910,(%esp) 8048bfc: e8 d3 fc ff ff call 80488d4 8048c01: e8 75 07 00 00 call 804937b 8048c06: 89 04 24 mov %eax,(%esp) 8048c09: e8 d2 01 00 00 call 8048de0 8048c0e: e8 3f 0a 00 00 call 8049652 8048c13: c7 04 24 6c 98 04 08 movl $0x804986c,(%esp) 8048c1a: e8 b5 fc ff ff call 80488d4 8048c1f: e8 57 07 00 00 call 804937b 8048c24: 89 04 24 mov %eax,(%esp) 8048c27: e8 6a 02 00 00 call 8048e96 8048c2c: e8 21 0a 00 00 call 8049652 8048c31: b8 00 00 00 00 mov $0x0,%eax 8048c36: 8b 5d fc mov 0xfffffffc(%ebp),%ebx 8048c39: c9 leave 8048c3a: c3 ret 8048c3b: 90 nop 08048c3c : 8048c3c: 55 push %ebp 8048c3d: 89 e5 mov %esp,%ebp 8048c3f: 83 ec 10 sub $0x10,%esp 8048c42: 68 34 99 04 08 push $0x8049934 "My IPOD is the wrong color" 8048c47: ff 75 08 pushl 0x8(%ebp) String for phase 1 8048c4a: e8 dc 03 00 00 call 804902b 8048c4f: 83 c4 10 add $0x10,%esp 8048c52: 83 f8 01 cmp $0x1,%eax 8048c55: 74 05 je 8048c5c Pass if compare_stringsk(s,"My IPOD is the wrong color") == 1 8048c57: e8 b6 09 00 00 call 8049612 use s="M PDi h rn oo" 8048c5c: c9 leave 8048c5d: c3 ret 08048c5e : 8048c5e: 55 push %ebp 8048c5f: 89 e5 mov %esp,%ebp 8048c61: 53 push %ebx 8048c62: 83 ec 2c sub $0x2c,%esp 8048c65: 8d 45 d8 lea 0xffffffd8(%ebp),%eax # eax = ebp - 40 8048c68: 50 push %eax 8048c69: ff 75 08 pushl 0x8(%ebp) 8048c6c: e8 80 03 00 00 call 8048ff1 # convert the phase string to 6 ints 8048c71: 83 c4 10 add $0x10,%esp 8048c74: 83 7d d8 04 cmpl $0x4,0xffffffd8(%ebp) 8048c78: 74 05 je 8048c7f # s[0] == 4 8048c7a: e8 93 09 00 00 call 8049612 8048c7f: 8b 45 d8 mov 0xffffffd8(%ebp),%eax 8048c82: 0f af 45 d8 imul 0xffffffd8(%ebp),%eax # eax = s[0]*s[0] 8048c86: 39 45 dc cmp %eax,0xffffffdc(%ebp) 8048c89: 74 05 je 8048c90 # s[1] = eax 8048c8b: e8 82 09 00 00 call 8049612 8048c90: bb 02 00 00 00 mov $0x2,%ebx # ebx = 2 8048c95: 8b 44 9d d4 mov 0xffffffd4(%ebp,%ebx,4),%eax # eax = s[1] 8048c99: 03 45 d8 add 0xffffffd8(%ebp),%eax # eax = s[0] + s[1] 8048c9c: 39 44 9d d8 cmp %eax,0xffffffd8(%ebp,%ebx,4) 8048ca0: 74 05 je 8048ca7 # s[2] = s[0] + s[1] 8048ca2: e8 6b 09 00 00 call 8049612 8048ca7: 43 inc %ebx 8048ca8: 83 fb 05 cmp $0x5,%ebx 8048cab: 7e e8 jle 8048c95 # ebx <= 5 8048cad: 8b 5d fc mov 0xfffffffc(%ebp),%ebx # use "4 16 20 24 28 32" 8048cb0: c9 leave 8048cb1: c3 ret 08048cb2 : 8048cb2: 55 push %ebp 8048cb3: 89 e5 mov %esp,%ebp 8048cb5: 53 push %ebx 8048cb6: 83 ec 20 sub $0x20,%esp 8048cb9: 8d 45 f8 lea 0xfffffff8(%ebp),%eax -8 | int c 8048cbc: 50 push %eax 8048cbd: 8d 45 f7 lea 0xfffffff7(%ebp),%eax -9 | char b 8048cc0: 50 push %eax 8048cc1: 8d 45 f0 lea 0xfffffff0(%ebp),%eax -16 | int a 8048cc4: 50 push %eax 8048cc5: 68 4f 99 04 08 push $0x804994f "%d %c %d" 8048cca: ff 75 08 pushl 0x8(%ebp) 8048ccd: e8 b2 fc ff ff call 8048984 sscanf(s,%d %c %d,a,b,c) 8048cd2: 83 c4 20 add $0x20,%esp 8048cd5: 83 f8 02 cmp $0x2,%eax 8048cd8: 7f 05 jg 8048cdf Needs all variables to match 8048cda: e8 33 09 00 00 call 8049612 8048cdf: 83 7d f0 07 cmpl $0x7,0xfffffff0(%ebp) a cmp 7 8048ce3: 77 64 ja 8048d49 a below 7 8048ce5: 8b 45 f0 mov 0xfffffff0(%ebp),%eax # eax = a 8048ce8: ff 24 85 58 99 04 08 jmp *0x8049958(,%eax,4) 8048cef: b3 72 mov $0x72,%bl # bl = 'r' 8048cf1: 81 7d f8 41 01 00 00 cmpl $0x141,0xfffffff8(%ebp) # c cmp 321 8048cf8: eb 4b jmp 8048d45 8048cfa: b3 77 mov $0x77,%bl 8048cfc: 81 7d f8 43 03 00 00 cmpl $0x343,0xfffffff8(%ebp) 8048d03: eb 40 jmp 8048d45 8048d05: b3 61 mov $0x61,%bl 8048d07: 81 7d f8 5c 01 00 00 cmpl $0x15c,0xfffffff8(%ebp) 8048d0e: eb 35 jmp 8048d45 8048d10: b3 67 mov $0x67,%bl 8048d12: 81 7d f8 05 01 00 00 cmpl $0x105,0xfffffff8(%ebp) 8048d19: eb 2a jmp 8048d45 8048d1b: b3 79 mov $0x79,%bl 8048d1d: 81 7d f8 e4 03 00 00 cmpl $0x3e4,0xfffffff8(%ebp) 8048d24: eb 1f jmp 8048d45 8048d26: b3 70 mov $0x70,%bl 8048d28: 81 7d f8 97 02 00 00 cmpl $0x297,0xfffffff8(%ebp) 8048d2f: eb 14 jmp 8048d45 8048d31: b3 66 mov $0x66,%bl 8048d33: 81 7d f8 37 02 00 00 cmpl $0x237,0xfffffff8(%ebp) 8048d3a: eb 09 jmp 8048d45 8048d3c: b3 6f mov $0x6f,%bl 8048d3e: 81 7d f8 7d 01 00 00 cmpl $0x17d,0xfffffff8(%ebp) 8048d45: 74 09 je 8048d50 8048d47: eb 02 jmp 8048d4b 8048d49: b3 62 mov $0x62,%bl 8048d4b: e8 c2 08 00 00 call 8049612 8048d50: 3a 5d f7 cmp 0xfffffff7(%ebp),%bl 8048d53: 74 05 je 8048d5a 8048d55: e8 b8 08 00 00 call 8049612 8048d5a: 8b 5d fc mov 0xfffffffc(%ebp),%ebx # use "0 r 321" 8048d5d: c9 leave 8048d5e: c3 ret 08048d5f : 8048d5f: 55 push %ebp 8048d60: 89 e5 mov %esp,%ebp 8048d62: 56 push %esi 8048d63: 53 push %ebx 8048d64: 8b 75 08 mov 0x8(%ebp),%esi # esi = x 8048d67: b8 01 00 00 00 mov $0x1,%eax # eax = 1 8048d6c: 83 fe 01 cmp $0x1,%esi 8048d6f: 7e 1c jle 8048d8d # x <= 1: goto func4_e 8048d71: 83 ec 0c sub $0xc,%esp 8048d74: 8d 46 ff lea 0xffffffff(%esi),%eax # eax = esi-1 8048d77: 50 push %eax 8048d78: e8 e2 ff ff ff call 8048d5f # ebx = func(x-1) 8048d7d: 89 c3 mov %eax,%ebx 8048d7f: 8d 46 fe lea 0xfffffffe(%esi),%eax # eax = x-2 8048d82: 89 04 24 mov %eax,(%esp) 8048d85: e8 d5 ff ff ff call 8048d5f # func4(x-2) 8048d8a: 8d 04 18 lea (%eax,%ebx,1),%eax # eax += ebx 8048d8d: 8d 65 f8 lea 0xfffffff8(%ebp),%esp # func4_e: esp = ebp-8 8048d90: 5b pop %ebx 8048d91: 5e pop %esi 8048d92: 5d pop %ebp 8048d93: c3 ret 08048d94 : 8048d94: 55 push %ebp 8048d95: 89 e5 mov %esp,%ebp 8048d97: 83 ec 0c sub $0xc,%esp 8048d9a: 8d 45 fc lea 0xfffffffc(%ebp),%eax # -4 a 8048d9d: 50 push %eax 8048d9e: 68 55 99 04 08 push $0x8049955 "%d" 8048da3: ff 75 08 pushl 0x8(%ebp) 8048da6: e8 d9 fb ff ff call 8048984 8048dab: 83 c4 10 add $0x10,%esp 8048dae: 83 f8 01 cmp $0x1,%eax 8048db1: 75 0c jne 8048dbf a = s 8048db3: 83 7d fc 08 cmpl $0x8,0xfffffffc(%ebp) a cmp 8 8048db7: 7e 06 jle 8048dbf a <= 8 8048db9: 83 7d fc 17 cmpl $0x17,0xfffffffc(%ebp) a cmp 23 8048dbd: 7e 05 jle 8048dc4 a <= 23 8048dbf: e8 4e 08 00 00 call 8049612 8048dc4: 83 ec 0c sub $0xc,%esp 8 < a <= 23 8048dc7: ff 75 fc pushl 0xfffffffc(%ebp) 8048dca: e8 90 ff ff ff call 8048d5f func4(a)==233 a=12 8048dcf: 83 c4 10 add $0x10,%esp 8048dd2: 3d e9 00 00 00 cmp $0xe9,%eax 8048dd7: 74 05 je 8048dde 8048dd9: e8 34 08 00 00 call 8049612 8048dde: c9 leave 8048ddf: c3 ret 08048de0 : 8048de0: 55 push %ebp 8048de1: 89 e5 mov %esp,%ebp 8048de3: 53 push %ebx 8048de4: 83 ec 14 sub $0x14,%esp 8048de7: 8d 45 f8 lea 0xfffffff8(%ebp),%eax # -8 b 8048dea: 50 push %eax 8048deb: 8d 45 f4 lea 0xfffffff4(%ebp),%eax # -12 a 8048dee: 50 push %eax 8048def: 68 04 9a 04 08 push $0x8049a04 ############ "%d %d" 8048df4: ff 75 08 pushl 0x8(%ebp) 8048df7: e8 88 fb ff ff call 8048984 8048dfc: 83 c4 10 add $0x10,%esp 8048dff: 83 f8 01 cmp $0x1,%eax 8048e02: 7f 05 jg 8048e09 # has two args 8048e04: e8 09 08 00 00 call 8049612 8048e09: 8b 45 f4 mov 0xfffffff4(%ebp),%eax # eax = a 8048e0c: 83 e0 0f and $0xf,%eax 8048e0f: 89 45 f4 mov %eax,0xfffffff4(%ebp) # a &= 0x0000000F Take only the bottom 4 bits 8048e12: ba 00 00 00 00 mov $0x0,%edx 8048e17: b9 00 00 00 00 mov $0x0,%ecx 8048e1c: 85 c0 test %eax,%eax 8048e1e: 74 12 je 8048e32 # a == 0: goto phase5_e 8048e20: bb c0 a5 04 08 mov $0x804a5c0,%ebx # ebx = arr 8048e25: 42 inc %edx # phase5_d: edx++ 8048e26: 8b 04 83 mov (%ebx,%eax,4),%eax # eax = arr[eax] 8048e29: 01 c1 add %eax,%ecx # ecx += eax 8048e2b: 85 c0 test %eax,%eax 8048e2d: 75 f6 jne 8048e25 # a != 0: goto phase5_d 8048e2f: 89 45 f4 mov %eax,0xfffffff4(%ebp) # a = eax 8048e32: 83 fa 08 cmp $0x8,%edx # phase5_e: 8048e35: 75 05 jne 8048e3c # edx != 8: explode 8048e37: 3b 4d f8 cmp 0xfffffff8(%ebp),%ecx 8048e3a: 74 05 je 8048e41 # ecx == b: done 8048e3c: e8 d1 07 00 00 call 8049612 8048e41: 8b 5d fc mov 0xfffffffc(%ebp),%ebx # use "2 49" 8048e44: c9 leave 8048e45: c3 ret 08048e46 : 8048e46: 55 push %ebp 8048e47: 89 e5 mov %esp,%ebp 8048e49: 56 push %esi 8048e4a: 53 push %ebx 8048e4b: 8b 75 08 mov 0x8(%ebp),%esi # esi = x 8048e4e: 8b 5e 08 mov 0x8(%esi),%ebx # ebx = x->next 8048e51: c7 46 08 00 00 00 00 movl $0x0,0x8(%esi) # x->next = 0 8048e58: 85 db test %ebx,%ebx # 8048e5a: 74 34 je 8048e90 # ebx == 0: return esi 8048e5c: 89 f2 mov %esi,%edx # fun6_d: edx = esi 8048e5e: 89 f1 mov %esi,%ecx # ecx = esi 8048e60: 85 f6 test %esi,%esi # 8048e62: 74 15 je 8048e79 # esi == 0: goto fun6_a 8048e64: 8b 06 mov (%esi),%eax # eax = esi->num 8048e66: 3b 03 cmp (%ebx),%eax # 8048e68: 7e 0f jle 8048e79 # esi->num <= ebx->num: goto fun6_a 8048e6a: 89 d1 mov %edx,%ecx # ecx = x 8048e6c: 8b 52 08 mov 0x8(%edx),%edx # edx = edx->next 8048e6f: 85 d2 test %edx,%edx # 8048e71: 74 06 je 8048e79 # x->next == 0: goto fun6_a 8048e73: 8b 02 mov (%edx),%eax # eax = edx->next->num 8048e75: 3b 03 cmp (%ebx),%eax # 8048e77: 7f f1 jg 8048e6a # edx->next->num > ebx->num 8048e79: 39 d1 cmp %edx,%ecx # fun6_a: 8048e7b: 74 05 je 8048e82 # ecx == edx: goto fun6_b 8048e7d: 89 59 08 mov %ebx,0x8(%ecx) # ecx->next = ebx 8048e80: eb 02 jmp 8048e84 # goto fun6_c 8048e82: 89 de mov %ebx,%esi # fun6_b: esi = ebx 8048e84: 8b 4b 08 mov 0x8(%ebx),%ecx # fun6_c: ecx = ebx->next 8048e87: 89 53 08 mov %edx,0x8(%ebx) # ebx->next = edx 8048e8a: 89 cb mov %ecx,%ebx # ebx = ecx 8048e8c: 85 c9 test %ecx,%ecx # 8048e8e: 75 cc jne 8048e5c # ecx != 0: goto fun6_d 8048e90: 89 f0 mov %esi,%eax # return esi 8048e92: 5b pop %ebx 8048e93: 5e pop %esi 8048e94: 5d pop %ebp 8048e95: c3 ret 08048e96 : 8048e96: 55 push %ebp 8048e97: 89 e5 mov %esp,%ebp 8048e99: 53 push %ebx 8048e9a: 83 ec 04 sub $0x4,%esp 8048e9d: 6a 00 push $0x0 8048e9f: 6a 0a push $0xa 8048ea1: 6a 00 push $0x0 8048ea3: ff 75 08 pushl 0x8(%ebp) 8048ea6: e8 59 fa ff ff call 8048904 <__strtol_internal@plt> 8048eab: 89 c3 mov %eax,%ebx # ebx = long int from s 8048ead: c7 04 24 60 a6 04 08 movl $0x804a660,(%esp) 8048eb4: e8 8d ff ff ff call 8048e46 # n = fun6(0x804a660) 8048eb9: ba 01 00 00 00 mov $0x1,%edx # count = 1 8048ebe: 83 c4 10 add $0x10,%esp 8048ec1: 8b 40 08 mov 0x8(%eax),%eax # n = n->next 8048ec4: 42 inc %edx # count ++ 8048ec5: 83 fa 08 cmp $0x8,%edx # while(count!=8) 8048ec8: 75 f7 jne 8048ec1 # n = node8 8048eca: 39 18 cmp %ebx,(%eax) # s = node8->num 8048ecc: 74 05 je 8048ed3 8048ece: e8 3f 07 00 00 call 8049612 8048ed3: 8b 5d fc mov 0xfffffffc(%ebp),%ebx 8048ed6: c9 leave 8048ed7: c3 ret 08048ed8 : 8048ed8: 55 push %ebp 8048ed9: 89 e5 mov %esp,%ebp 8048edb: 8b 55 08 mov 0x8(%ebp),%edx 8048ede: 8b 4d 0c mov 0xc(%ebp),%ecx 8048ee1: b8 ff ff ff ff mov $0xffffffff,%eax 8048ee6: 85 d2 test %edx,%edx 8048ee8: 74 2d je 8048f17 8048eea: 3b 0a cmp (%edx),%ecx 8048eec: 7d 10 jge 8048efe 8048eee: 83 ec 08 sub $0x8,%esp 8048ef1: 51 push %ecx 8048ef2: ff 72 04 pushl 0x4(%edx) 8048ef5: e8 de ff ff ff call 8048ed8 8048efa: 01 c0 add %eax,%eax 8048efc: eb 19 jmp 8048f17 8048efe: b8 00 00 00 00 mov $0x0,%eax 8048f03: 3b 0a cmp (%edx),%ecx 8048f05: 74 10 je 8048f17 8048f07: 83 ec 08 sub $0x8,%esp 8048f0a: 51 push %ecx 8048f0b: ff 72 08 pushl 0x8(%edx) 8048f0e: e8 c5 ff ff ff call 8048ed8 8048f13: 8d 44 00 01 lea 0x1(%eax,%eax,1),%eax 8048f17: c9 leave 8048f18: c3 ret 08048f19 : 8048f19: 55 push %ebp 8048f1a: 89 e5 mov %esp,%ebp 8048f1c: 53 push %ebx 8048f1d: 83 ec 04 sub $0x4,%esp 8048f20: e8 56 04 00 00 call 804937b 8048f25: 6a 00 push $0x0 8048f27: 6a 0a push $0xa 8048f29: 6a 00 push $0x0 8048f2b: 50 push %eax 8048f2c: e8 d3 f9 ff ff call 8048904 <__strtol_internal@plt> 8048f31: 83 c4 10 add $0x10,%esp 8048f34: 89 c3 mov %eax,%ebx # ebx = s as int 8048f36: 8d 40 ff lea 0xffffffff(%eax),%eax # eax = s-1 8048f39: 3d e8 03 00 00 cmp $0x3e8,%eax # s-1 <= 1000 8048f3e: 76 05 jbe 8048f45 8048f40: e8 cd 06 00 00 call 8049612 8048f45: 83 ec 08 sub $0x8,%esp 8048f48: 53 push %ebx 8048f49: 68 14 a7 04 08 push $0x804a714 8048f4e: e8 85 ff ff ff call 8048ed8 # fun7(n1,s)==5 8048f53: 83 c4 10 add $0x10,%esp 8048f56: 83 f8 05 cmp $0x5,%eax 8048f59: 74 05 je 8048f60 8048f5b: e8 b2 06 00 00 call 8049612 8048f60: 83 ec 0c sub $0xc,%esp 8048f63: 68 78 99 04 08 push $0x8049978 8048f68: e8 67 f9 ff ff call 80488d4 8048f6d: e8 e0 06 00 00 call 8049652 8048f72: 8b 5d fc mov 0xfffffffc(%ebp),%ebx 8048f75: c9 leave 8048f76: c3 ret 8048f77: 90 nop 08048f78 : 8048f78: 55 push %ebp 8048f79: 89 e5 mov %esp,%ebp 8048f7b: 83 ec 14 sub $0x14,%esp 8048f7e: 68 dc 9b 04 08 push $0x8049bdc 8048f83: e8 4c f9 ff ff call 80488d4 8048f88: c7 04 24 03 00 00 00 movl $0x3,(%esp) 8048f8f: e8 60 f9 ff ff call 80488f4 8048f94: c7 04 24 d7 99 04 08 movl $0x80499d7,(%esp) 8048f9b: e8 94 f9 ff ff call 8048934 8048fa0: 83 c4 04 add $0x4,%esp 8048fa3: ff 35 60 a8 04 08 pushl 0x804a860 8048fa9: e8 e6 f8 ff ff call 8048894 8048fae: c7 04 24 01 00 00 00 movl $0x1,(%esp) 8048fb5: e8 3a f9 ff ff call 80488f4 8048fba: c7 04 24 df 99 04 08 movl $0x80499df,(%esp) 8048fc1: e8 0e f9 ff ff call 80488d4 8048fc6: c7 04 24 10 00 00 00 movl $0x10,(%esp) 8048fcd: e8 a2 f9 ff ff call 8048974 08048fd2 : 8048fd2: 55 push %ebp 8048fd3: 89 e5 mov %esp,%ebp 8048fd5: 83 ec 10 sub $0x10,%esp 8048fd8: ff 75 08 pushl 0x8(%ebp) 8048fdb: 68 e7 99 04 08 push $0x80499e7 8048fe0: e8 4f f9 ff ff call 8048934 8048fe5: c7 04 24 08 00 00 00 movl $0x8,(%esp) 8048fec: e8 83 f9 ff ff call 8048974 08048ff1 : 8048ff1: 55 push %ebp 8048ff2: 89 e5 mov %esp,%ebp 8048ff4: 83 ec 08 sub $0x8,%esp 8048ff7: 8b 55 0c mov 0xc(%ebp),%edx # edx = y 8048ffa: 8d 42 14 lea 0x14(%edx),%eax # eax = y + 20 8048ffd: 50 push %eax # push y+20 8048ffe: 8d 42 10 lea 0x10(%edx),%eax # eax = y + 16 8049001: 50 push %eax # push y+16 8049002: 8d 42 0c lea 0xc(%edx),%eax # eax = y + 12 8049005: 50 push %eax # push y+12 8049006: 8d 42 08 lea 0x8(%edx),%eax # eax = y + 8 8049009: 50 push %eax # push y+8 804900a: 8d 42 04 lea 0x4(%edx),%eax # eax = y + 4 804900d: 50 push %eax # push y+4 804900e: 52 push %edx # push y 804900f: 68 f8 99 04 08 push $0x80499f8 8049014: ff 75 08 pushl 0x8(%ebp) 8049017: e8 68 f9 ff ff call 8048984 # sscanf(s,"%d %d %d %d %d %d",y,y+4,...) 804901c: 83 c4 20 add $0x20,%esp # This converts the string at s into 6 ints and puts them in the int[] at y 804901f: 83 f8 05 cmp $0x5,%eax 8049022: 7f 05 jg 8049029 # Make sure we saw all six numbers 8049024: e8 e9 05 00 00 call 8049612 8049029: c9 leave 804902a: c3 ret 0804902b : 804902b: 55 push %ebp 804902c: 89 e5 mov %esp,%ebp 804902e: 53 push %ebx 804902f: 8b 4d 08 mov 0x8(%ebp),%ecx ecx = (char*)x 8049032: 8b 55 0c mov 0xc(%ebp),%edx edx = (char*)y 8049035: 80 39 00 cmpb $0x0,(%ecx) 8049038: 74 1e je 8049058 if(*x==0) goto compare_stringsk_1 804903a: 80 3a 00 cmpb $0x0,(%edx) 804903d: 74 19 je 8049058 if(*y==0) goto compare_stringsk_1 804903f: 8a 01 mov (%ecx),%al 8049041: bb 00 00 00 00 mov $0x0,%ebx 8049046: 3a 02 cmp (%edx),%al 8049048: 75 13 jne 804905d 804904a: 41 inc %ecx 804904b: 83 c2 02 add $0x2,%edx 804904e: 80 39 00 cmpb $0x0,(%ecx) 8049051: 74 05 je 8049058 8049053: 80 3a 00 cmpb $0x0,(%edx) 8049056: 75 e7 jne 804903f 8049058: bb 01 00 00 00 mov $0x1,%ebx compare_stringsk_1: 804905d: 89 d8 mov %ebx,%eax 804905f: 5b pop %ebx 8049060: 5d pop %ebp 8049061: c3 ret 08049062 : 8049062: 55 push %ebp 8049063: 89 e5 mov %esp,%ebp 8049065: 57 push %edi 8049066: 56 push %esi 8049067: 53 push %ebx 8049068: 83 ec 14 sub $0x14,%esp 804906b: 8b 55 08 mov 0x8(%ebp),%edx 804906e: bb ff ff ff ff mov $0xffffffff,%ebx 8049073: 89 d7 mov %edx,%edi 8049075: b0 00 mov $0x0,%al 8049077: fc cld 8049078: 89 d9 mov %ebx,%ecx 804907a: f2 ae repnz scas %es:(%edi),%al 804907c: 89 ce mov %ecx,%esi 804907e: f7 d6 not %esi 8049080: 8b 7d 0c mov 0xc(%ebp),%edi 8049083: 89 d9 mov %ebx,%ecx 8049085: f2 ae repnz scas %es:(%edi),%al 8049087: 89 c8 mov %ecx,%eax 8049089: f7 d0 not %eax 804908b: 29 c6 sub %eax,%esi 804908d: 8d 04 32 lea (%edx,%esi,1),%eax 8049090: ff 75 0c pushl 0xc(%ebp) 8049093: 50 push %eax 8049094: e8 9b f7 ff ff call 8048834 8049099: 83 c4 10 add $0x10,%esp 804909c: 85 c0 test %eax,%eax 804909e: 0f 94 c0 sete %al 80490a1: 25 ff 00 00 00 and $0xff,%eax 80490a6: 8d 65 f4 lea 0xfffffff4(%ebp),%esp 80490a9: 5b pop %ebx 80490aa: 5e pop %esi 80490ab: 5f pop %edi 80490ac: 5d pop %ebp 80490ad: c3 ret 080490ae : 80490ae: 55 push %ebp 80490af: 89 e5 mov %esp,%ebp 80490b1: 8b 55 08 mov 0x8(%ebp),%edx # edx = x 80490b4: b8 00 00 00 00 mov $0x0,%eax # eax = 0 80490b9: 80 3a 00 cmpb $0x0,(%edx) 80490bc: 74 07 je 80490c5 80490be: 42 inc %edx 80490bf: 40 inc %eax 80490c0: 80 3a 00 cmpb $0x0,(%edx) 80490c3: 75 f9 jne 80490be 80490c5: 5d pop %ebp 80490c6: c3 ret 080490c7 : 80490c7: 55 push %ebp 80490c8: 89 e5 mov %esp,%ebp 80490ca: 57 push %edi 80490cb: 56 push %esi 80490cc: 53 push %ebx 80490cd: 83 ec 18 sub $0x18,%esp 80490d0: 8b 7d 08 mov 0x8(%ebp),%edi # edi = x 80490d3: 57 push %edi 80490d4: e8 d5 ff ff ff call 80490ae 80490d9: 89 c3 mov %eax,%ebx # ebx = strlen(x) 80490db: 83 c4 04 add $0x4,%esp 80490de: ff 75 0c pushl 0xc(%ebp) 80490e1: e8 c8 ff ff ff call 80490ae 80490e6: 83 c4 10 add $0x10,%esp # eax = strlen(y) 80490e9: be 01 00 00 00 mov $0x1,%esi # esi = 1 80490ee: 39 c3 cmp %eax,%ebx # eax != ebx: return 1 80490f0: 75 21 jne 8049113 80490f2: 89 fa mov %edi,%edx # edx = x 80490f4: 8b 4d 0c mov 0xc(%ebp),%ecx # ecx = y 80490f7: 80 3f 00 cmpb $0x0,(%edi) # *x == 0: return 0 80490fa: 74 12 je 804910e 80490fc: 8a 02 mov (%edx),%al # al = *x 80490fe: be 01 00 00 00 mov $0x1,%esi # esi = 1 8049103: 3a 01 cmp (%ecx),%al # *x != *y: return 1 8049105: 75 0c jne 8049113 8049107: 42 inc %edx # x++ 8049108: 41 inc %ecx # y++ 8049109: 80 3a 00 cmpb $0x0,(%edx) # *x != 0: loop 804910c: 75 ee jne 80490fc 804910e: be 00 00 00 00 mov $0x0,%esi 8049113: 89 f0 mov %esi,%eax 8049115: 8d 65 f4 lea 0xfffffff4(%ebp),%esp 8049118: 5b pop %ebx 8049119: 5e pop %esi 804911a: 5f pop %edi 804911b: 5d pop %ebp 804911c: c3 ret 0804911d : 804911d: 55 push %ebp 804911e: 89 e5 mov %esp,%ebp 8049120: 56 push %esi 8049121: 53 push %ebx 8049122: 8b 75 08 mov 0x8(%ebp),%esi 8049125: 83 ec 0c sub $0xc,%esp 8049128: 56 push %esi 8049129: e8 80 ff ff ff call 80490ae 804912e: 83 c4 10 add $0x10,%esp 8049131: bb 01 00 00 00 mov $0x1,%ebx 8049136: 3b 45 10 cmp 0x10(%ebp),%eax 8049139: 75 21 jne 804915c 804913b: 89 f2 mov %esi,%edx 804913d: 8b 4d 0c mov 0xc(%ebp),%ecx 8049140: 80 3e 00 cmpb $0x0,(%esi) 8049143: 74 12 je 8049157 8049145: 8a 02 mov (%edx),%al 8049147: bb 01 00 00 00 mov $0x1,%ebx 804914c: 3a 01 cmp (%ecx),%al 804914e: 75 0c jne 804915c 8049150: 42 inc %edx 8049151: 41 inc %ecx 8049152: 80 3a 00 cmpb $0x0,(%edx) 8049155: 75 ee jne 8049145 8049157: bb 00 00 00 00 mov $0x0,%ebx 804915c: 89 d8 mov %ebx,%eax 804915e: 8d 65 f8 lea 0xfffffff8(%ebp),%esp 8049161: 5b pop %ebx 8049162: 5e pop %esi 8049163: 5d pop %ebp 8049164: c3 ret 08049165 : 8049165: 55 push %ebp 8049166: 89 e5 mov %esp,%ebp 8049168: 83 ec 08 sub $0x8,%esp 804916b: 83 3d 70 a8 04 08 00 cmpl $0x0,0x804a870 8049172: 74 11 je 8049185 8049174: 83 ec 0c sub $0xc,%esp 8049177: ff 35 70 a8 04 08 pushl 0x804a870 804917d: e8 12 f8 ff ff call 8048994 8049182: 83 c4 10 add $0x10,%esp 8049185: 83 ec 0c sub $0xc,%esp 8049188: ff 75 08 pushl 0x8(%ebp) 804918b: e8 c4 f7 ff ff call 8048954 <__strdup@plt> 8049190: a3 70 a8 04 08 mov %eax,0x804a870 8049195: 8b 55 0c mov 0xc(%ebp),%edx 8049198: c6 04 02 00 movb $0x0,(%edx,%eax,1) 804919c: c9 leave 804919d: c3 ret 0804919e : 804919e: 55 push %ebp 804919f: 89 e5 mov %esp,%ebp 80491a1: 57 push %edi 80491a2: 56 push %esi 80491a3: 53 push %ebx 80491a4: 83 ec 18 sub $0x18,%esp 80491a7: 8b 7d 08 mov 0x8(%ebp),%edi 80491aa: 57 push %edi 80491ab: e8 fe fe ff ff call 80490ae 80491b0: 89 c3 mov %eax,%ebx 80491b2: 83 c4 04 add $0x4,%esp 80491b5: ff 75 0c pushl 0xc(%ebp) 80491b8: e8 f1 fe ff ff call 80490ae 80491bd: 83 c4 10 add $0x10,%esp 80491c0: be 01 00 00 00 mov $0x1,%esi 80491c5: 39 c3 cmp %eax,%ebx 80491c7: 75 2d jne 80491f6 80491c9: 89 fa mov %edi,%edx 80491cb: 8b 4d 0c mov 0xc(%ebp),%ecx 80491ce: 80 3f 00 cmpb $0x0,(%edi) 80491d1: 74 06 je 80491d9 80491d3: 42 inc %edx 80491d4: 80 3a 00 cmpb $0x0,(%edx) 80491d7: 75 fa jne 80491d3 80491d9: 4a dec %edx 80491da: 80 3a 00 cmpb $0x0,(%edx) 80491dd: 74 12 je 80491f1 80491df: 8a 02 mov (%edx),%al 80491e1: be 01 00 00 00 mov $0x1,%esi 80491e6: 3a 01 cmp (%ecx),%al 80491e8: 75 0c jne 80491f6 80491ea: 4a dec %edx 80491eb: 41 inc %ecx 80491ec: 80 3a 00 cmpb $0x0,(%edx) 80491ef: 75 ee jne 80491df 80491f1: be 00 00 00 00 mov $0x0,%esi 80491f6: 89 f0 mov %esi,%eax 80491f8: 8d 65 f4 lea 0xfffffff4(%ebp),%esp 80491fb: 5b pop %ebx 80491fc: 5e pop %esi 80491fd: 5f pop %edi 80491fe: 5d pop %ebp 80491ff: c3 ret 08049200 : 8049200: 55 push %ebp 8049201: 89 e5 mov %esp,%ebp 8049203: 57 push %edi 8049204: 53 push %ebx 8049205: 8b 5d 08 mov 0x8(%ebp),%ebx 8049208: 89 df mov %ebx,%edi 804920a: fc cld 804920b: b9 ff ff ff ff mov $0xffffffff,%ecx 8049210: b0 00 mov $0x0,%al 8049212: f2 ae repnz scas %es:(%edi),%al 8049214: f7 d1 not %ecx 8049216: 8d 4c 0b fe lea 0xfffffffe(%ebx,%ecx,1),%ecx 804921a: 39 d9 cmp %ebx,%ecx 804921c: 76 0e jbe 804922c 804921e: 8a 13 mov (%ebx),%dl 8049220: 8a 01 mov (%ecx),%al 8049222: 88 03 mov %al,(%ebx) 8049224: 88 11 mov %dl,(%ecx) 8049226: 49 dec %ecx 8049227: 43 inc %ebx 8049228: 39 d9 cmp %ebx,%ecx 804922a: 77 f2 ja 804921e 804922c: 89 d8 mov %ebx,%eax 804922e: 5b pop %ebx 804922f: 5f pop %edi 8049230: 5d pop %ebp 8049231: c3 ret 08049232 : 8049232: 55 push %ebp 8049233: 89 e5 mov %esp,%ebp 8049235: 57 push %edi 8049236: 56 push %esi 8049237: 53 push %ebx 8049238: 83 ec 20 sub $0x20,%esp 804923b: 8b 75 0c mov 0xc(%ebp),%esi 804923e: 6a 00 push $0x0 8049240: 6a 01 push $0x1 8049242: 6a 02 push $0x2 8049244: e8 ab f7 ff ff call 80489f4 8049249: 89 c3 mov %eax,%ebx 804924b: 83 c4 10 add $0x10,%esp 804924e: 85 c0 test %eax,%eax 8049250: 79 0a jns 804925c 8049252: 83 ec 0c sub $0xc,%esp 8049255: 68 0a 9a 04 08 push $0x8049a0a 804925a: eb 70 jmp 80492cc 804925c: 83 ec 0c sub $0xc,%esp 804925f: ff 75 08 pushl 0x8(%ebp) 8049262: e8 fd f6 ff ff call 8048964 8049267: 89 c2 mov %eax,%edx 8049269: 83 c4 10 add $0x10,%esp 804926c: 85 c0 test %eax,%eax 804926e: 75 0a jne 804927a 8049270: 83 ec 0c sub $0xc,%esp 8049273: 68 18 9a 04 08 push $0x8049a18 8049278: eb 52 jmp 80492cc 804927a: 8d 7d d8 lea 0xffffffd8(%ebp),%edi 804927d: fc cld 804927e: b9 04 00 00 00 mov $0x4,%ecx 8049283: b8 00 00 00 00 mov $0x0,%eax 8049288: f3 ab repz stos %eax,%es:(%edi) 804928a: 66 c7 45 d8 02 00 movw $0x2,0xffffffd8(%ebp) 8049290: 83 ec 04 sub $0x4,%esp 8049293: ff 72 0c pushl 0xc(%edx) 8049296: 8d 45 dc lea 0xffffffdc(%ebp),%eax 8049299: 50 push %eax 804929a: 8b 42 10 mov 0x10(%edx),%eax 804929d: ff 30 pushl (%eax) 804929f: e8 00 f6 ff ff call 80488a4 80492a4: 83 c4 0c add $0xc,%esp 80492a7: 89 f0 mov %esi,%eax 80492a9: 66 c1 c8 08 ror $0x8,%ax 80492ad: 66 89 45 da mov %ax,0xffffffda(%ebp) 80492b1: 6a 10 push $0x10 80492b3: 8d 45 d8 lea 0xffffffd8(%ebp),%eax 80492b6: 50 push %eax 80492b7: 53 push %ebx 80492b8: e8 e7 f6 ff ff call 80489a4 80492bd: 83 c4 10 add $0x10,%esp 80492c0: 85 c0 test %eax,%eax 80492c2: 79 19 jns 80492dd 80492c4: 83 ec 0c sub $0xc,%esp 80492c7: 68 26 9a 04 08 push $0x8049a26 80492cc: e8 03 f6 ff ff call 80488d4 80492d1: c7 04 24 08 00 00 00 movl $0x8,(%esp) 80492d8: e8 97 f6 ff ff call 8048974 80492dd: 89 d8 mov %ebx,%eax 80492df: 8d 65 f4 lea 0xfffffff4(%ebp),%esp 80492e2: 5b pop %ebx 80492e3: 5e pop %esi 80492e4: 5f pop %edi 80492e5: 5d pop %ebp 80492e6: c3 ret 080492e7 : 80492e7: 55 push %ebp 80492e8: 89 e5 mov %esp,%ebp 80492ea: 83 ec 50 sub $0x50,%esp 80492ed: 68 78 8f 04 08 push $0x8048f78 80492f2: 6a 02 push $0x2 80492f4: e8 8b f5 ff ff call 8048884 80492f9: c9 leave 80492fa: c3 ret 080492fb : 80492fb: 55 push %ebp 80492fc: 89 e5 mov %esp,%ebp 80492fe: 53 push %ebx 80492ff: 83 ec 04 sub $0x4,%esp 8049302: 8b 5d 08 mov 0x8(%ebp),%ebx 8049305: 80 3b 00 cmpb $0x0,(%ebx) 8049308: 74 1c je 8049326 804930a: e8 f5 f6 ff ff call 8048a04 <__ctype_b_loc@plt> 804930f: 8b 08 mov (%eax),%ecx 8049311: 0f be 03 movsbl (%ebx),%eax 8049314: 43 inc %ebx 8049315: ba 00 00 00 00 mov $0x0,%edx 804931a: f6 44 41 01 20 testb $0x20,0x1(%ecx,%eax,2) 804931f: 74 0a je 804932b 8049321: 80 3b 00 cmpb $0x0,(%ebx) 8049324: 75 eb jne 8049311 8049326: ba 01 00 00 00 mov $0x1,%edx 804932b: 89 d0 mov %edx,%eax 804932d: 83 c4 04 add $0x4,%esp 8049330: 5b pop %ebx 8049331: 5d pop %ebp 8049332: c3 ret 08049333 : 8049333: 55 push %ebp 8049334: 89 e5 mov %esp,%ebp 8049336: 53 push %ebx 8049337: 83 ec 04 sub $0x4,%esp 804933a: 83 ec 04 sub $0x4,%esp 804933d: ff 35 74 a8 04 08 pushl 0x804a874 8049343: 6a 50 push $0x50 8049345: a1 6c a8 04 08 mov 0x804a86c,%eax 804934a: 8d 04 80 lea (%eax,%eax,4),%eax 804934d: c1 e0 04 shl $0x4,%eax 8049350: 05 80 a8 04 08 add $0x804a880,%eax 8049355: 50 push %eax 8049356: e8 89 f5 ff ff call 80488e4 804935b: 89 c3 mov %eax,%ebx 804935d: 83 c4 10 add $0x10,%esp 8049360: 85 c0 test %eax,%eax 8049362: 74 10 je 8049374 8049364: 83 ec 0c sub $0xc,%esp 8049367: 50 push %eax 8049368: e8 8e ff ff ff call 80492fb 804936d: 83 c4 10 add $0x10,%esp 8049370: 85 c0 test %eax,%eax 8049372: 75 c6 jne 804933a 8049374: 89 d8 mov %ebx,%eax 8049376: 8b 5d fc mov 0xfffffffc(%ebp),%ebx 8049379: c9 leave 804937a: c3 ret 0804937b : 804937b: 55 push %ebp 804937c: 89 e5 mov %esp,%ebp 804937e: 57 push %edi 804937f: 83 ec 04 sub $0x4,%esp 8049382: e8 ac ff ff ff call 8049333 8049387: 85 c0 test %eax,%eax 8049389: 75 53 jne 80493de 804938b: a1 74 a8 04 08 mov 0x804a874,%eax 8049390: 3b 05 64 a8 04 08 cmp 0x804a864,%eax 8049396: 74 31 je 80493c9 8049398: 83 ec 0c sub $0xc,%esp 804939b: 68 34 9a 04 08 push $0x8049a34 80493a0: e8 cf f4 ff ff call 8048874 80493a5: 83 c4 10 add $0x10,%esp 80493a8: 85 c0 test %eax,%eax 80493aa: 74 0a je 80493b6 80493ac: 83 ec 0c sub $0xc,%esp 80493af: 6a 00 push $0x0 80493b1: e8 be f5 ff ff call 8048974 80493b6: a1 64 a8 04 08 mov 0x804a864,%eax 80493bb: a3 74 a8 04 08 mov %eax,0x804a874 80493c0: e8 6e ff ff ff call 8049333 80493c5: 85 c0 test %eax,%eax 80493c7: 75 15 jne 80493de 80493c9: 83 ec 0c sub $0xc,%esp 80493cc: 68 3f 9a 04 08 push $0x8049a3f 80493d1: e8 fe f4 ff ff call 80488d4 80493d6: e8 37 02 00 00 call 8049612 80493db: 83 c4 10 add $0x10,%esp 80493de: a1 6c a8 04 08 mov 0x804a86c,%eax 80493e3: 8d 04 80 lea (%eax,%eax,4),%eax 80493e6: c1 e0 04 shl $0x4,%eax 80493e9: 8d b8 80 a8 04 08 lea 0x804a880(%eax),%edi 80493ef: fc cld 80493f0: b9 ff ff ff ff mov $0xffffffff,%ecx 80493f5: b0 00 mov $0x0,%al 80493f7: f2 ae repnz scas %es:(%edi),%al 80493f9: f7 d1 not %ecx 80493fb: 8d 79 ff lea 0xffffffff(%ecx),%edi 80493fe: 83 ff 4f cmp $0x4f,%edi 8049401: 75 15 jne 8049418 8049403: 83 ec 0c sub $0xc,%esp 8049406: 68 5d 9a 04 08 push $0x8049a5d 804940b: e8 c4 f4 ff ff call 80488d4 8049410: e8 fd 01 00 00 call 8049612 8049415: 83 c4 10 add $0x10,%esp 8049418: 8b 15 6c a8 04 08 mov 0x804a86c,%edx 804941e: 8d 04 92 lea (%edx,%edx,4),%eax 8049421: c1 e0 04 shl $0x4,%eax 8049424: 05 80 a8 04 08 add $0x804a880,%eax 8049429: c6 44 07 ff 00 movb $0x0,0xffffffff(%edi,%eax,1) 804942e: 42 inc %edx 804942f: 89 15 6c a8 04 08 mov %edx,0x804a86c 8049435: 8b 7d fc mov 0xfffffffc(%ebp),%edi 8049438: c9 leave 8049439: c3 ret 0804943a : 804943a: 55 push %ebp 804943b: 89 e5 mov %esp,%ebp 804943d: 57 push %edi 804943e: 56 push %esi 804943f: 53 push %ebx 8049440: 83 ec 68 sub $0x68,%esp 8049443: 6a 00 push $0x0 8049445: e8 7a f5 ff ff call 80489c4 804944a: 89 c7 mov %eax,%edi 804944c: 83 c4 10 add $0x10,%esp 804944f: 83 f8 ff cmp $0xffffffff,%eax 8049452: 75 0d jne 8049461 8049454: 83 ec 0c sub $0xc,%esp 8049457: 68 78 9a 04 08 push $0x8049a78 804945c: e9 98 01 00 00 jmp 80495f9 8049461: 83 ec 0c sub $0xc,%esp 8049464: 6a 00 push $0x0 8049466: e8 d9 f3 ff ff call 8048844 804946b: 83 c4 10 add $0x10,%esp 804946e: 83 f8 ff cmp $0xffffffff,%eax 8049471: 75 0d jne 8049480 8049473: 83 ec 0c sub $0xc,%esp 8049476: 68 8c 9a 04 08 push $0x8049a8c 804947b: e9 79 01 00 00 jmp 80495f9 8049480: e8 df f3 ff ff call 8048864 8049485: 89 c6 mov %eax,%esi 8049487: 85 c0 test %eax,%eax 8049489: 75 0d jne 8049498 804948b: 83 ec 0c sub $0xc,%esp 804948e: 68 9f 9a 04 08 push $0x8049a9f 8049493: e9 61 01 00 00 jmp 80495f9 8049498: 50 push %eax 8049499: 6a 1b push $0x1b 804949b: 6a 01 push $0x1 804949d: 68 b4 9a 04 08 push $0x8049ab4 80494a2: e8 3d f5 ff ff call 80489e4 80494a7: 83 c4 08 add $0x8,%esp 80494aa: 56 push %esi 80494ab: 6a 0a push $0xa 80494ad: e8 62 f4 ff ff call 8048914 80494b2: c7 04 24 00 00 00 00 movl $0x0,(%esp) 80494b9: e8 56 f5 ff ff call 8048a14 80494be: 83 c4 10 add $0x10,%esp 80494c1: 85 c0 test %eax,%eax 80494c3: 75 13 jne 80494d8 80494c5: c7 45 98 6e 6f 62 6f movl $0x6f626f6e,0xffffff98(%ebp) 80494cc: 66 c7 45 9c 64 79 movw $0x7964,0xffffff9c(%ebp) 80494d2: c6 45 9e 00 movb $0x0,0xffffff9e(%ebp) 80494d6: eb 10 jmp 80494e8 80494d8: 83 ec 08 sub $0x8,%esp 80494db: 50 push %eax 80494dc: 8d 45 98 lea 0xffffff98(%ebp),%eax 80494df: 50 push %eax 80494e0: e8 3f f5 ff ff call 8048a24 80494e5: 83 c4 10 add $0x10,%esp 80494e8: 83 ec 04 sub $0x4,%esp 80494eb: ff 35 6c a8 04 08 pushl 0x804a86c 80494f1: b8 d0 9a 04 08 mov $0x8049ad0,%eax 80494f6: 83 7d 08 00 cmpl $0x0,0x8(%ebp) 80494fa: 75 05 jne 8049501 80494fc: b8 d8 9a 04 08 mov $0x8049ad8,%eax 8049501: 50 push %eax 8049502: 8d 45 98 lea 0xffffff98(%ebp),%eax 8049505: 50 push %eax 8049506: ff 35 a0 a1 04 08 pushl 0x804a1a0 804950c: 68 c0 a1 04 08 push $0x804a1c0 8049511: 68 e1 9a 04 08 push $0x8049ae1 8049516: 56 push %esi 8049517: e8 38 f3 ff ff call 8048854 804951c: ba 00 00 00 00 mov $0x0,%edx 8049521: 83 c4 20 add $0x20,%esp 8049524: 3b 15 6c a8 04 08 cmp 0x804a86c,%edx 804952a: 7d 3a jge 8049566 804952c: 83 ec 04 sub $0x4,%esp 804952f: 8d 04 92 lea (%edx,%edx,4),%eax 8049532: c1 e0 04 shl $0x4,%eax 8049535: 05 80 a8 04 08 add $0x804a880,%eax 804953a: 50 push %eax 804953b: 8d 5a 01 lea 0x1(%edx),%ebx 804953e: 53 push %ebx 804953f: 8d 45 98 lea 0xffffff98(%ebp),%eax 8049542: 50 push %eax 8049543: ff 35 a0 a1 04 08 pushl 0x804a1a0 8049549: 68 c0 a1 04 08 push $0x804a1c0 804954e: 68 fd 9a 04 08 push $0x8049afd 8049553: 56 push %esi 8049554: e8 fb f2 ff ff call 8048854 8049559: 83 c4 20 add $0x20,%esp 804955c: 89 da mov %ebx,%edx 804955e: 3b 1d 6c a8 04 08 cmp 0x804a86c,%ebx 8049564: 7c c6 jl 804952c 8049566: 83 ec 0c sub $0xc,%esp 8049569: 56 push %esi 804956a: e8 45 f3 ff ff call 80488b4 804956f: c7 04 24 19 9b 04 08 movl $0x8049b19,(%esp) 8049576: 68 25 9b 04 08 push $0x8049b25 804957b: 68 2a 9b 04 08 push $0x8049b2a 8049580: 68 3d 9b 04 08 push $0x8049b3d 8049585: 68 c0 ae 04 08 push $0x804aec0 804958a: e8 45 f4 ff ff call 80489d4 804958f: 83 c4 14 add $0x14,%esp 8049592: 68 c0 ae 04 08 push $0x804aec0 8049597: e8 28 f3 ff ff call 80488c4 804959c: 83 c4 10 add $0x10,%esp 804959f: 85 c0 test %eax,%eax 80495a1: 74 0a je 80495ad 80495a3: 83 ec 0c sub $0xc,%esp 80495a6: 68 46 9b 04 08 push $0x8049b46 80495ab: eb 4c jmp 80495f9 80495ad: 83 ec 0c sub $0xc,%esp 80495b0: 56 push %esi 80495b1: e8 8e f3 ff ff call 8048944 80495b6: 83 c4 10 add $0x10,%esp 80495b9: 85 c0 test %eax,%eax 80495bb: 74 0a je 80495c7 80495bd: 83 ec 0c sub $0xc,%esp 80495c0: 68 60 9b 04 08 push $0x8049b60 80495c5: eb 32 jmp 80495f9 80495c7: 83 ec 0c sub $0xc,%esp 80495ca: 57 push %edi 80495cb: e8 f4 f3 ff ff call 80489c4 80495d0: 83 c4 10 add $0x10,%esp 80495d3: 85 c0 test %eax,%eax 80495d5: 74 0a je 80495e1 80495d7: 83 ec 0c sub $0xc,%esp 80495da: 68 79 9b 04 08 push $0x8049b79 80495df: eb 18 jmp 80495f9 80495e1: 83 ec 0c sub $0xc,%esp 80495e4: 57 push %edi 80495e5: e8 5a f2 ff ff call 8048844 80495ea: 83 c4 10 add $0x10,%esp 80495ed: 85 c0 test %eax,%eax 80495ef: 74 19 je 804960a 80495f1: 83 ec 0c sub $0xc,%esp 80495f4: 68 94 9b 04 08 push $0x8049b94 80495f9: e8 d6 f2 ff ff call 80488d4 80495fe: c7 04 24 08 00 00 00 movl $0x8,(%esp) 8049605: e8 6a f3 ff ff call 8048974 804960a: 8d 65 f4 lea 0xfffffff4(%ebp),%esp 804960d: 5b pop %ebx 804960e: 5e pop %esi 804960f: 5f pop %edi 8049610: 5d pop %ebp 8049611: c3 ret 08049612 : 8049612: 55 push %ebp 8049613: 89 e5 mov %esp,%ebp 8049615: 83 ec 14 sub $0x14,%esp 8049618: 68 ab 9b 04 08 push $0x8049bab 804961d: e8 b2 f2 ff ff call 80488d4 8049622: c7 04 24 b4 9b 04 08 movl $0x8049bb4,(%esp) 8049629: e8 a6 f2 ff ff call 80488d4 804962e: c7 04 24 00 00 00 00 movl $0x0,(%esp) 8049635: e8 00 fe ff ff call 804943a 804963a: c7 04 24 14 9c 04 08 movl $0x8049c14,(%esp) 8049641: e8 8e f2 ff ff call 80488d4 8049646: c7 04 24 08 00 00 00 movl $0x8,(%esp) 804964d: e8 22 f3 ff ff call 8048974 08049652 : 8049652: 55 push %ebp 8049653: 89 e5 mov %esp,%ebp 8049655: 53 push %ebx 8049656: 83 ec 70 sub $0x70,%esp 8049659: 6a 01 push $0x1 804965b: e8 da fd ff ff call 804943a 8049660: 83 c4 10 add $0x10,%esp 8049663: 83 3d 6c a8 04 08 06 cmpl $0x6,0x804a86c 804966a: 75 71 jne 80496dd 804966c: 8d 5d a8 lea 0xffffffa8(%ebp),%ebx # ebx = b (-88) 804966f: 53 push %ebx 8049670: 8d 45 a4 lea 0xffffffa4(%ebp),%eax # eax = a (-92) 8049673: 50 push %eax 8049674: 68 cb 9b 04 08 push $0x8049bcb "%d %s" 8049679: 68 70 a9 04 08 push $0x804a970 804967e: e8 01 f3 ff ff call 8048984 8049683: 83 c4 10 add $0x10,%esp 8049686: 83 f8 02 cmp $0x2,%eax 8049689: 75 36 jne 80496c1 804968b: 83 ec 08 sub $0x8,%esp 804968e: 68 d1 9b 04 08 push $0x8049bd1 # "archimedes" 8049693: 53 push %ebx 8049694: e8 2e fa ff ff call 80490c7 # strings_not_equal(b,"archimedes")==0 8049699: 83 c4 10 add $0x10,%esp 804969c: 85 c0 test %eax,%eax 804969e: 75 21 jne 80496c1 80496a0: 83 ec 0c sub $0xc,%esp 80496a3: 68 38 9c 04 08 push $0x8049c38 80496a8: e8 27 f2 ff ff call 80488d4 80496ad: c7 04 24 60 9c 04 08 movl $0x8049c60,(%esp) 80496b4: e8 1b f2 ff ff call 80488d4 80496b9: e8 5b f8 ff ff call 8048f19 80496be: 83 c4 10 add $0x10,%esp 80496c1: 83 ec 0c sub $0xc,%esp 80496c4: 68 98 9c 04 08 push $0x8049c98 80496c9: e8 06 f2 ff ff call 80488d4 80496ce: c7 04 24 c4 9c 04 08 movl $0x8049cc4,(%esp) 80496d5: e8 fa f1 ff ff call 80488d4 80496da: 83 c4 10 add $0x10,%esp 80496dd: 8b 5d fc mov 0xfffffffc(%ebp),%ebx 80496e0: c9 leave 80496e1: c3 ret 80496e2: 90 nop 80496e3: 90 nop 80496e4: 90 nop 80496e5: 90 nop 80496e6: 90 nop 80496e7: 90 nop 80496e8: 90 nop 80496e9: 90 nop 80496ea: 90 nop 80496eb: 90 nop 80496ec: 90 nop 80496ed: 90 nop 80496ee: 90 nop 80496ef: 90 nop 080496f0 <__libc_csu_fini>: 80496f0: 55 push %ebp 80496f1: 89 e5 mov %esp,%ebp 80496f3: 83 ec 18 sub $0x18,%esp 80496f6: 89 5d f4 mov %ebx,0xfffffff4(%ebp) 80496f9: e8 ba 00 00 00 call 80497b8 <__i686.get_pc_thunk.bx> 80496fe: 81 c3 e2 09 00 00 add $0x9e2,%ebx 8049704: 89 7d fc mov %edi,0xfffffffc(%ebp) 8049707: 8d 83 20 ff ff ff lea 0xffffff20(%ebx),%eax 804970d: 8d bb 20 ff ff ff lea 0xffffff20(%ebx),%edi 8049713: 89 75 f8 mov %esi,0xfffffff8(%ebp) 8049716: 29 f8 sub %edi,%eax 8049718: c1 f8 02 sar $0x2,%eax 804971b: 85 c0 test %eax,%eax 804971d: 8d 70 ff lea 0xffffffff(%eax),%esi 8049720: 75 12 jne 8049734 <__libc_csu_fini+0x44> 8049722: e8 bd 00 00 00 call 80497e4 <_fini> 8049727: 8b 5d f4 mov 0xfffffff4(%ebp),%ebx 804972a: 8b 75 f8 mov 0xfffffff8(%ebp),%esi 804972d: 8b 7d fc mov 0xfffffffc(%ebp),%edi 8049730: 89 ec mov %ebp,%esp 8049732: 5d pop %ebp 8049733: c3 ret 8049734: ff 14 b7 call *(%edi,%esi,4) 8049737: 89 f0 mov %esi,%eax 8049739: 4e dec %esi 804973a: 85 c0 test %eax,%eax 804973c: 75 f6 jne 8049734 <__libc_csu_fini+0x44> 804973e: 89 f6 mov %esi,%esi 8049740: e8 9f 00 00 00 call 80497e4 <_fini> 8049745: 8b 5d f4 mov 0xfffffff4(%ebp),%ebx 8049748: 8b 75 f8 mov 0xfffffff8(%ebp),%esi 804974b: 8b 7d fc mov 0xfffffffc(%ebp),%edi 804974e: 89 ec mov %ebp,%esp 8049750: 5d pop %ebp 8049751: c3 ret 8049752: 8d b4 26 00 00 00 00 lea 0x0(%esi),%esi 8049759: 8d bc 27 00 00 00 00 lea 0x0(%edi),%edi 08049760 <__libc_csu_init>: 8049760: 55 push %ebp 8049761: 89 e5 mov %esp,%ebp 8049763: 83 ec 18 sub $0x18,%esp 8049766: 89 5d f4 mov %ebx,0xfffffff4(%ebp) 8049769: 89 75 f8 mov %esi,0xfffffff8(%ebp) 804976c: 31 f6 xor %esi,%esi 804976e: e8 45 00 00 00 call 80497b8 <__i686.get_pc_thunk.bx> 8049773: 81 c3 6d 09 00 00 add $0x96d,%ebx 8049779: 89 7d fc mov %edi,0xfffffffc(%ebp) 804977c: e8 8b f0 ff ff call 804880c <_init> 8049781: 8d 93 20 ff ff ff lea 0xffffff20(%ebx),%edx 8049787: 8d 83 20 ff ff ff lea 0xffffff20(%ebx),%eax 804978d: 29 c2 sub %eax,%edx 804978f: c1 fa 02 sar $0x2,%edx 8049792: 39 d6 cmp %edx,%esi 8049794: 73 15 jae 80497ab <__libc_csu_init+0x4b> 8049796: 89 45 f0 mov %eax,0xfffffff0(%ebp) 8049799: 89 d7 mov %edx,%edi 804979b: 90 nop 804979c: 8d 74 26 00 lea 0x0(%esi),%esi 80497a0: ff 14 b0 call *(%eax,%esi,4) 80497a3: 46 inc %esi 80497a4: 8b 45 f0 mov 0xfffffff0(%ebp),%eax 80497a7: 39 fe cmp %edi,%esi 80497a9: 72 f5 jb 80497a0 <__libc_csu_init+0x40> 80497ab: 8b 5d f4 mov 0xfffffff4(%ebp),%ebx 80497ae: 8b 75 f8 mov 0xfffffff8(%ebp),%esi 80497b1: 8b 7d fc mov 0xfffffffc(%ebp),%edi 80497b4: 89 ec mov %ebp,%esp 80497b6: 5d pop %ebp 80497b7: c3 ret 080497b8 <__i686.get_pc_thunk.bx>: 80497b8: 8b 1c 24 mov (%esp),%ebx 80497bb: c3 ret 80497bc: 90 nop 80497bd: 90 nop 80497be: 90 nop 80497bf: 90 nop 080497c0 <__do_global_ctors_aux>: 80497c0: 55 push %ebp 80497c1: 89 e5 mov %esp,%ebp 80497c3: 53 push %ebx 80497c4: 52 push %edx 80497c5: bb 00 a0 04 08 mov $0x804a000,%ebx 80497ca: a1 00 a0 04 08 mov 0x804a000,%eax 80497cf: 83 f8 ff cmp $0xffffffff,%eax 80497d2: 74 0c je 80497e0 <__do_global_ctors_aux+0x20> 80497d4: 83 eb 04 sub $0x4,%ebx 80497d7: ff d0 call *%eax 80497d9: 8b 03 mov (%ebx),%eax 80497db: 83 f8 ff cmp $0xffffffff,%eax 80497de: 75 f4 jne 80497d4 <__do_global_ctors_aux+0x14> 80497e0: 58 pop %eax 80497e1: 5b pop %ebx 80497e2: 5d pop %ebp 80497e3: c3 ret Disassembly of section .fini: 080497e4 <_fini>: 80497e4: 55 push %ebp 80497e5: 89 e5 mov %esp,%ebp 80497e7: 53 push %ebx 80497e8: e8 00 00 00 00 call 80497ed <_fini+0x9> 80497ed: 5b pop %ebx 80497ee: 81 c3 f3 08 00 00 add $0x8f3,%ebx 80497f4: 50 push %eax 80497f5: e8 96 f2 ff ff call 8048a90 <__do_global_dtors_aux> 80497fa: 59 pop %ecx 80497fb: 5b pop %ebx 80497fc: c9 leave 80497fd: c3 ret