0% found this document useful (0 votes)
13 views43 pages

ELF32 Disassembly Analysis

The document contains disassembled code from an ELF32 binary, detailing various sections such as .init, .plt, and .text. It includes specific assembly instructions and their corresponding memory addresses, showcasing function calls and jumps within the program. The disassembly provides insight into the program's structure and execution flow, particularly for functions like __libc_start_main and various library calls.

Uploaded by

daym35654
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views43 pages

ELF32 Disassembly Analysis

The document contains disassembled code from an ELF32 binary, detailing various sections such as .init, .plt, and .text. It includes specific assembly instructions and their corresponding memory addresses, showcasing function calls and jumps within the program. The disassembly provides insight into the program's structure and execution flow, particularly for functions like __libc_start_main and various library calls.

Uploaded by

daym35654
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

bomb: 文件格式 elf32-i386

Disassembly of section .init:

080486f4 <_init>:
80486f4: 53 push %ebx
80486f5: 83 ec 08 sub $0x8,%esp
80486f8: e8 33 02 00 00 call 8048930 <__x86.get_pc_thunk.bx>
80486fd: 81 c3 03 39 00 00 add $0x3903,%ebx
8048703: 8b 83 fc ff ff ff mov -0x4(%ebx),%eax
8048709: 85 c0 test %eax,%eax
804870b: 74 05 je 8048712 <_init+0x1e>
804870d: e8 be 01 00 00 call 80488d0 <__gmon_start__@plt>
8048712: 83 c4 08 add $0x8,%esp
8048715: 5b pop %ebx
8048716: c3 ret

Disassembly of section .plt:

08048720 <.plt>:
8048720: ff 35 04 c0 04 08 pushl 0x804c004
8048726: ff 25 08 c0 04 08 jmp *0x804c008
804872c:00 00 add %al,(%eax)
...

08048730 <read@plt>:
8048730: ff 25 0c c0 04 08 jmp *0x804c00c
8048736: 68 00 00 00 00 push $0x0
804873b: e9 e0 ff ff ff jmp 8048720 <.plt>

08048740 <fflush@plt>:
8048740: ff 25 10 c0 04 08 jmp *0x804c010
8048746: 68 08 00 00 00 push $0x8
804874b: e9 d0 ff ff ff jmp 8048720 <.plt>

08048750 <fgets@plt>:
8048750: ff 25 14 c0 04 08 jmp *0x804c014
8048756: 68 10 00 00 00 push $0x10
804875b: e9 c0 ff ff ff jmp 8048720 <.plt>

08048760 <signal@plt>:
8048760: ff 25 18 c0 04 08 jmp *0x804c018
8048766: 68 18 00 00 00 push $0x18
804876b: e9 b0 ff ff ff jmp 8048720 <.plt>

08048770 <sleep@plt>:
8048770: ff 25 1c c0 04 08 jmp *0x804c01c
8048776: 68 20 00 00 00 push $0x20
804877b: e9 a0 ff ff ff jmp 8048720 <.plt>

08048780 <alarm@plt>:
8048780: ff 25 20 c0 04 08 jmp *0x804c020
8048786: 68 28 00 00 00 push $0x28
804878b: e9 90 ff ff ff jmp 8048720 <.plt>

08048790 <__stack_chk_fail@plt>:
8048790: ff 25 24 c0 04 08 jmp *0x804c024
8048796: 68 30 00 00 00 push $0x30
804879b: e9 80 ff ff ff jmp 8048720 <.plt>

080487a0 <strcpy@plt>:
80487a0: ff 25 28 c0 04 08 jmp *0x804c028
80487a6: 68 38 00 00 00 push $0x38
80487ab: e9 70 ff ff ff jmp 8048720 <.plt>

080487b0 <getenv@plt>:
80487b0: ff 25 2c c0 04 08 jmp *0x804c02c
80487b6: 68 40 00 00 00 push $0x40
80487bb: e9 60 ff ff ff jmp 8048720 <.plt>

080487c0 <puts@plt>:
80487c0:ff 25 30 c0 04 08 jmp *0x804c030
80487c6:68 48 00 00 00 push $0x48
80487cb:e9 50 ff ff ff jmp 8048720 <.plt>

080487d0 <__memmove_chk@plt>:
80487d0: ff 25 34 c0 04 08 jmp *0x804c034
80487d6: 68 50 00 00 00 push $0x50
80487db: e9 40 ff ff ff jmp 8048720 <.plt>

080487e0 <exit@plt>:
80487e0: ff 25 38 c0 04 08 jmp *0x804c038
80487e6: 68 58 00 00 00 push $0x58
80487eb: e9 30 ff ff ff jmp 8048720 <.plt>

080487f0 <__libc_start_main@plt>:
80487f0: ff 25 3c c0 04 08 jmp *0x804c03c
80487f6: 68 60 00 00 00 push $0x60
80487fb: e9 20 ff ff ff jmp 8048720 <.plt>

08048800 <write@plt>:
8048800: ff 25 40 c0 04 08 jmp *0x804c040
8048806: 68 68 00 00 00 push $0x68
804880b: e9 10 ff ff ff jmp 8048720 <.plt>

08048810 <__isoc99_sscanf@plt>:
8048810: ff 25 44 c0 04 08 jmp *0x804c044
8048816: 68 70 00 00 00 push $0x70
804881b: e9 00 ff ff ff jmp 8048720 <.plt>

08048820 <fopen@plt>:
8048820: ff 25 48 c0 04 08 jmp *0x804c048
8048826: 68 78 00 00 00 push $0x78
804882b: e9 f0 fe ff ff jmp 8048720 <.plt>

08048830 <__errno_location@plt>:
8048830: ff 25 4c c0 04 08 jmp *0x804c04c
8048836: 68 80 00 00 00 push $0x80
804883b: e9 e0 fe ff ff jmp 8048720 <.plt>

08048840 <__printf_chk@plt>:
8048840: ff 25 50 c0 04 08 jmp *0x804c050
8048846: 68 88 00 00 00 push $0x88
804884b: e9 d0 fe ff ff jmp 8048720 <.plt>

08048850 <socket@plt>:
8048850: ff 25 54 c0 04 08 jmp *0x804c054
8048856: 68 90 00 00 00 push $0x90
804885b: e9 c0 fe ff ff jmp 8048720 <.plt>

08048860 <__fprintf_chk@plt>:
8048860: ff 25 58 c0 04 08 jmp *0x804c058
8048866: 68 98 00 00 00 push $0x98
804886b: e9 b0 fe ff ff jmp 8048720 <.plt>

08048870 <gethostbyname@plt>:
8048870: ff 25 5c c0 04 08 jmp *0x804c05c
8048876: 68 a0 00 00 00 push $0xa0
804887b: e9 a0 fe ff ff jmp 8048720 <.plt>
08048880 <strtol@plt>:
8048880: ff 25 60 c0 04 08 jmp *0x804c060
8048886: 68 a8 00 00 00 push $0xa8
804888b: e9 90 fe ff ff jmp 8048720 <.plt>

08048890 <connect@plt>:
8048890: ff 25 64 c0 04 08 jmp *0x804c064
8048896: 68 b0 00 00 00 push $0xb0
804889b: e9 80 fe ff ff jmp 8048720 <.plt>

080488a0 <close@plt>:
80488a0: ff 25 68 c0 04 08 jmp *0x804c068
80488a6: 68 b8 00 00 00 push $0xb8
80488ab: e9 70 fe ff ff jmp 8048720 <.plt>

080488b0 <__ctype_b_loc@plt>:
80488b0: ff 25 6c c0 04 08 jmp *0x804c06c
80488b6: 68 c0 00 00 00 push $0xc0
80488bb: e9 60 fe ff ff jmp 8048720 <.plt>

080488c0 <__sprintf_chk@plt>:
80488c0:ff 25 70 c0 04 08 jmp *0x804c070
80488c6:68 c8 00 00 00 push $0xc8
80488cb:e9 50 fe ff ff jmp 8048720 <.plt>

Disassembly of section .[Link]:

080488d0 <__gmon_start__@plt>:
80488d0: ff 25 fc bf 04 08 jmp *0x804bffc
80488d6: 66 90 xchg %ax,%ax

Disassembly of section .text:

080488e0 <_start>:
80488e0: 31 ed xor %ebp,%ebp
80488e2: 5e pop %esi
80488e3: 89 e1 mov %esp,%ecx
80488e5: 83 e4 f0 and $0xfffffff0,%esp
80488e8: 50 push %eax
80488e9: 54 push %esp
80488ea: 52 push %edx
80488eb: e8 23 00 00 00 call 8048913 <_start+0x33>
80488f0: 81 c3 10 37 00 00 add $0x3710,%ebx
80488f6: 8d 83 50 df ff ff lea -0x20b0(%ebx),%eax
80488fc: 50 push %eax
80488fd: 8d 83 f0 de ff ff lea -0x2110(%ebx),%eax
8048903: 50 push %eax
8048904: 51 push %ecx
8048905: 56 push %esi
8048906: c7 c0 f6 89 04 08 mov $0x80489f6,%eax
804890c:50 push %eax
804890d: e8 de fe ff ff call 80487f0 <__libc_start_main@plt>
8048912: f4 hlt
8048913: 8b 1c 24 mov (%esp),%ebx
8048916: c3 ret
8048917: 66 90 xchg %ax,%ax
8048919: 66 90 xchg %ax,%ax
804891b: 66 90 xchg %ax,%ax
804891d: 66 90 xchg %ax,%ax
804891f: 90 nop

08048920 <_dl_relocate_static_pie>:
8048920: f3 c3 repz ret
8048922: 66 90 xchg %ax,%ax
8048924: 66 90 xchg %ax,%ax
8048926: 66 90 xchg %ax,%ax
8048928: 66 90 xchg %ax,%ax
804892a: 66 90 xchg %ax,%ax
804892c:66 90 xchg %ax,%ax
804892e: 66 90 xchg %ax,%ax

08048930 <__x86.get_pc_thunk.bx>:
8048930: 8b 1c 24 mov (%esp),%ebx
8048933: c3 ret
8048934: 66 90 xchg %ax,%ax
8048936: 66 90 xchg %ax,%ax
8048938: 66 90 xchg %ax,%ax
804893a: 66 90 xchg %ax,%ax
804893c:66 90 xchg %ax,%ax
804893e: 66 90 xchg %ax,%ax

08048940 <deregister_tm_clones>:
8048940: b8 a0 c3 04 08 mov $0x804c3a0,%eax
8048945: 3d a0 c3 04 08 cmp $0x804c3a0,%eax
804894a: 74 24 je 8048970 <deregister_tm_clones+0x30>
804894c:b8 00 00 00 00 mov $0x0,%eax
8048951: 85 c0 test %eax,%eax
8048953: 74 1b je 8048970 <deregister_tm_clones+0x30>
8048955: 55 push %ebp
8048956: 89 e5 mov %esp,%ebp
8048958: 83 ec 14 sub $0x14,%esp
804895b: 68 a0 c3 04 08 push $0x804c3a0
8048960: ff d0 call *%eax
8048962: 83 c4 10 add $0x10,%esp
8048965: c9 leave
8048966: c3 ret
8048967: 89 f6 mov %esi,%esi
8048969: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
8048970: f3 c3 repz ret
8048972: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
8048979: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi

08048980 <register_tm_clones>:
8048980: b8 a0 c3 04 08 mov $0x804c3a0,%eax
8048985: 2d a0 c3 04 08 sub $0x804c3a0,%eax
804898a: c1 f8 02 sar $0x2,%eax
804898d: 89 c2 mov %eax,%edx
804898f: c1 ea 1f shr $0x1f,%edx
8048992: 01 d0 add %edx,%eax
8048994: d1 f8 sar %eax
8048996: 74 20 je 80489b8 <register_tm_clones+0x38>
8048998: ba 00 00 00 00 mov $0x0,%edx
804899d: 85 d2 test %edx,%edx
804899f: 74 17 je 80489b8 <register_tm_clones+0x38>
80489a1: 55 push %ebp
80489a2: 89 e5 mov %esp,%ebp
80489a4: 83 ec 10 sub $0x10,%esp
80489a7: 50 push %eax
80489a8: 68 a0 c3 04 08 push $0x804c3a0
80489ad: ff d2 call *%edx
80489af: 83 c4 10 add $0x10,%esp
80489b2: c9 leave
80489b3: c3 ret
80489b4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
80489b8: f3 c3 repz ret
80489ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi

080489c0 <__do_global_dtors_aux>:
80489c0:80 3d c8 c3 04 08 00 cmpb $0x0,0x804c3c8
80489c7:75 17 jne 80489e0 <__do_global_dtors_aux+0x20>
80489c9:55 push %ebp
80489ca:89 e5 mov %esp,%ebp
80489cc: 83 ec 08 sub $0x8,%esp
80489cf: e8 6c ff ff ff call 8048940 <deregister_tm_clones>
80489d4: c6 05 c8 c3 04 08 01 movb $0x1,0x804c3c8
80489db: c9 leave
80489dc:c3 ret
80489dd: 8d 76 00 lea 0x0(%esi),%esi
80489e0: f3 c3 repz ret
80489e2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
80489e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi

080489f0 <frame_dummy>:
80489f0: 55 push %ebp
80489f1: 89 e5 mov %esp,%ebp
80489f3: 5d pop %ebp
80489f4: eb 8a jmp 8048980 <register_tm_clones>

080489f6 <main>:
80489f6: 8d 4c 24 04 lea 0x4(%esp),%ecx
80489fa: 83 e4 f0 and $0xfffffff0,%esp
80489fd: ff 71 fc pushl -0x4(%ecx)
8048a00: 55 push %ebp
8048a01: 89 e5 mov %esp,%ebp
8048a03: 53 push %ebx
8048a04: 51 push %ecx
8048a05: 8b 01 mov (%ecx),%eax
8048a07: 8b 59 04 mov 0x4(%ecx),%ebx
8048a0a:83 f8 01 cmp $0x1,%eax
8048a0d: 0f 84 fe 00 00 00 je 8048b11 <main+0x11b>
8048a13: 83 f8 02 cmp $0x2,%eax
8048a16: 0f 85 21 01 00 00 jne 8048b3d <main+0x147>
8048a1c:83 ec 08 sub $0x8,%esp
8048a1f: 68 70 9f 04 08 push $0x8049f70
8048a24: ff 73 04 pushl 0x4(%ebx)
8048a27: e8 f4 fd ff ff call 8048820 <fopen@plt>
8048a2c:a3 d0 c3 04 08 mov %eax,0x804c3d0
8048a31: 83 c4 10 add $0x10,%esp
8048a34: 85 c0 test %eax,%eax
8048a36: 0f 84 e4 00 00 00 je 8048b20 <main+0x12a>
8048a3c:e8 61 06 00 00 call 80490a2 <initialize_bomb>
8048a41: 83 ec 0c sub $0xc,%esp
8048a44: 68 f4 9f 04 08 push $0x8049ff4
8048a49: e8 72 fd ff ff call 80487c0 <puts@plt>
8048a4e: c7 04 24 30 a0 04 08 movl $0x804a030,(%esp)
8048a55: e8 66 fd ff ff call 80487c0 <puts@plt>
8048a5a:e8 3c 07 00 00 call 804919b <read_line>
8048a5f: 89 04 24 mov %eax,(%esp)
8048a62: e8 f3 00 00 00 call 8048b5a <phase_1>
8048a67: e8 40 08 00 00 call 80492ac <phase_defused>
8048a6c:c7 04 24 5c a0 04 08 movl $0x804a05c,(%esp)
8048a73: e8 48 fd ff ff call 80487c0 <puts@plt>
8048a78: e8 1e 07 00 00 call 804919b <read_line>
8048a7d: 89 04 24 mov %eax,(%esp)
8048a80: e8 f8 00 00 00 call 8048b7d <phase_2>
8048a85: e8 22 08 00 00 call 80492ac <phase_defused>
8048a8a:c7 04 24 a9 9f 04 08 movl $0x8049fa9,(%esp)
8048a91: e8 2a fd ff ff call 80487c0 <puts@plt>
8048a96: e8 00 07 00 00 call 804919b <read_line>
8048a9b: 89 04 24 mov %eax,(%esp)
8048a9e: e8 40 01 00 00 call 8048be3 <phase_3>
8048aa3:e8 04 08 00 00 call 80492ac <phase_defused>
8048aa8:c7 04 24 c7 9f 04 08 movl $0x8049fc7,(%esp)
8048aaf: e8 0c fd ff ff call 80487c0 <puts@plt>
8048ab4: e8 e2 06 00 00 call 804919b <read_line>
8048ab9: 89 04 24 mov %eax,(%esp)
8048abc:e8 3d 02 00 00 call 8048cfe <phase_4>
8048ac1:e8 e6 07 00 00 call 80492ac <phase_defused>
8048ac6:c7 04 24 88 a0 04 08 movl $0x804a088,(%esp)
8048acd:e8 ee fc ff ff call 80487c0 <puts@plt>
8048ad2: e8 c4 06 00 00 call 804919b <read_line>
8048ad7: 89 04 24 mov %eax,(%esp)
8048ada: e8 8d 02 00 00 call 8048d6c <phase_5>
8048adf: e8 c8 07 00 00 call 80492ac <phase_defused>
8048ae4: c7 04 24 d6 9f 04 08 movl $0x8049fd6,(%esp)
8048aeb: e8 d0 fc ff ff call 80487c0 <puts@plt>
8048af0: e8 a6 06 00 00 call 804919b <read_line>
8048af5: 89 04 24 mov %eax,(%esp)
8048af8: e8 f1 02 00 00 call 8048dee <phase_6>
8048afd: e8 aa 07 00 00 call 80492ac <phase_defused>
8048b02: b8 00 00 00 00 mov $0x0,%eax
8048b07: 8d 65 f8 lea -0x8(%ebp),%esp
8048b0a: 59 pop %ecx
8048b0b: 5b pop %ebx
8048b0c:5d pop %ebp
8048b0d: 8d 61 fc lea -0x4(%ecx),%esp
8048b10: c3 ret
8048b11: a1 c0 c3 04 08 mov 0x804c3c0,%eax
8048b16: a3 d0 c3 04 08 mov %eax,0x804c3d0
8048b1b: e9 1c ff ff ff jmp 8048a3c <main+0x46>
8048b20: ff 73 04 pushl 0x4(%ebx)
8048b23: ff 33 pushl (%ebx)
8048b25: 68 72 9f 04 08 push $0x8049f72
8048b2a: 6a 01 push $0x1
8048b2c:e8 0f fd ff ff call 8048840 <__printf_chk@plt>
8048b31: c7 04 24 08 00 00 00 movl $0x8,(%esp)
8048b38: e8 a3 fc ff ff call 80487e0 <exit@plt>
8048b3d: 83 ec 04 sub $0x4,%esp
8048b40: ff 33 pushl (%ebx)
8048b42: 68 8f 9f 04 08 push $0x8049f8f
8048b47: 6a 01 push $0x1
8048b49: e8 f2 fc ff ff call 8048840 <__printf_chk@plt>
8048b4e: c7 04 24 08 00 00 00 movl $0x8,(%esp)
8048b55: e8 86 fc ff ff call 80487e0 <exit@plt>

08048b5a <phase_1>:
8048b5a: 55 push %ebp
8048b5b: 89 e5 mov %esp,%ebp
8048b5d: 83 ec 10 sub $0x10,%esp
8048b60: 68 ac a0 04 08 push $0x804a0ac
8048b65: ff 75 08 pushl 0x8(%ebp)
8048b68: e8 cb 04 00 00 call 8049038 <strings_not_equal>
8048b6d: 83 c4 10 add $0x10,%esp
8048b70: 85 c0 test %eax,%eax
8048b72: 75 02 jne 8048b76 <phase_1+0x1c>
8048b74: c9 leave
8048b75: c3 ret
8048b76: e8 be 05 00 00 call 8049139 <explode_bomb>
8048b7b: eb f7 jmp 8048b74 <phase_1+0x1a>

08048b7d <phase_2>:
8048b7d: 55 push %ebp
8048b7e: 89 e5 mov %esp,%ebp
8048b80: 56 push %esi
8048b81: 53 push %ebx
8048b82: 83 ec 28 sub $0x28,%esp
8048b85: 65 a1 14 00 00 00 mov %gs:0x14,%eax
8048b8b: 89 45 f4 mov %eax,-0xc(%ebp)
8048b8e: 31 c0 xor %eax,%eax
8048b90: 8d 45 dc lea -0x24(%ebp),%eax
8048b93: 50 push %eax
8048b94: ff 75 08 pushl 0x8(%ebp)
8048b97: e8 c5 05 00 00 call 8049161 <read_six_numbers>
8048b9c:83 c4 10 add $0x10,%esp
8048b9f: 83 7d dc 01 cmpl $0x1,-0x24(%ebp)
8048ba3: 75 08 jne 8048bad <phase_2+0x30>
8048ba5: 8d 5d dc lea -0x24(%ebp),%ebx
8048ba8: 8d 75 f0 lea -0x10(%ebp),%esi
8048bab: eb 0e jmp 8048bbb <phase_2+0x3e>
8048bad: e8 87 05 00 00 call 8049139 <explode_bomb>
8048bb2: eb f1 jmp 8048ba5 <phase_2+0x28>
8048bb4: 83 c3 04 add $0x4,%ebx
8048bb7: 39 f3 cmp %esi,%ebx
8048bb9: 74 10 je 8048bcb <phase_2+0x4e>
8048bbb: 8b 03 mov (%ebx),%eax
8048bbd: 01 c0 add %eax,%eax
8048bbf: 39 43 04 cmp %eax,0x4(%ebx)
8048bc2:74 f0 je 8048bb4 <phase_2+0x37>
8048bc4:e8 70 05 00 00 call 8049139 <explode_bomb>
8048bc9:eb e9 jmp 8048bb4 <phase_2+0x37>
8048bcb:8b 45 f4 mov -0xc(%ebp),%eax
8048bce:65 33 05 14 00 00 00 xor %gs:0x14,%eax
8048bd5: 75 07 jne 8048bde <phase_2+0x61>
8048bd7: 8d 65 f8 lea -0x8(%ebp),%esp
8048bda: 5b pop %ebx
8048bdb: 5e pop %esi
8048bdc:5d pop %ebp
8048bdd: c3 ret
8048bde: e8 ad fb ff ff call 8048790 <__stack_chk_fail@plt>

08048be3 <phase_3>:
8048be3: 55 push %ebp
8048be4: 89 e5 mov %esp,%ebp
8048be6: 83 ec 18 sub $0x18,%esp
8048be9: 65 a1 14 00 00 00 mov %gs:0x14,%eax
8048bef: 89 45 f4 mov %eax,-0xc(%ebp)
8048bf2: 31 c0 xor %eax,%eax
8048bf4: 8d 45 f0 lea -0x10(%ebp),%eax
8048bf7: 50 push %eax
8048bf8: 8d 45 ec lea -0x14(%ebp),%eax
8048bfb: 50 push %eax
8048bfc: 68 3b a2 04 08 push $0x804a23b
8048c01:ff 75 08 pushl 0x8(%ebp)
8048c04:e8 07 fc ff ff call 8048810 <__isoc99_sscanf@plt>
8048c09:83 c4 10 add $0x10,%esp
8048c0c: 83 f8 01 cmp $0x1,%eax
8048c0f: 7e 10 jle 8048c21 <phase_3+0x3e>
8048c11:83 7d ec 07 cmpl $0x7,-0x14(%ebp)
8048c15:77 7e ja 8048c95 <phase_3+0xb2>
8048c17:8b 45 ec mov -0x14(%ebp),%eax
8048c1a:ff 24 85 d4 a0 04 08 jmp *0x804a0d4(,%eax,4)
8048c21:e8 13 05 00 00 call 8049139 <explode_bomb>
8048c26:eb e9 jmp 8048c11 <phase_3+0x2e>
8048c28:b8 c2 01 00 00 mov $0x1c2,%eax
8048c2d:eb 05 jmp 8048c34 <phase_3+0x51>
8048c2f: b8 00 00 00 00 mov $0x0,%eax
8048c34:2d d1 00 00 00 sub $0xd1,%eax
8048c39:05 0b 03 00 00 add $0x30b,%eax
8048c3e:83 e8 47 sub $0x47,%eax
8048c41:83 c0 47 add $0x47,%eax
8048c44:83 e8 47 sub $0x47,%eax
8048c47:83 c0 47 add $0x47,%eax
8048c4a:83 e8 47 sub $0x47,%eax
8048c4d:83 7d ec 05 cmpl $0x5,-0x14(%ebp)
8048c51:7f 05 jg 8048c58 <phase_3+0x75>
8048c53:39 45 f0 cmp %eax,-0x10(%ebp)
8048c56:74 05 je 8048c5d <phase_3+0x7a>
8048c58:e8 dc 04 00 00 call 8049139 <explode_bomb>
8048c5d:8b 45 f4 mov -0xc(%ebp),%eax
8048c60:65 33 05 14 00 00 00 xor %gs:0x14,%eax
8048c67:75 38 jne 8048ca1 <phase_3+0xbe>
8048c69:c9 leave
8048c6a:c3 ret
8048c6b:b8 00 00 00 00 mov $0x0,%eax
8048c70:eb c7 jmp 8048c39 <phase_3+0x56>
8048c72:b8 00 00 00 00 mov $0x0,%eax
8048c77:eb c5 jmp 8048c3e <phase_3+0x5b>
8048c79:b8 00 00 00 00 mov $0x0,%eax
8048c7e:eb c1 jmp 8048c41 <phase_3+0x5e>
8048c80:b8 00 00 00 00 mov $0x0,%eax
8048c85:eb bd jmp 8048c44 <phase_3+0x61>
8048c87:b8 00 00 00 00 mov $0x0,%eax
8048c8c: eb b9 jmp 8048c47 <phase_3+0x64>
8048c8e:b8 00 00 00 00 mov $0x0,%eax
8048c93:eb b5 jmp 8048c4a <phase_3+0x67>
8048c95:e8 9f 04 00 00 call 8049139 <explode_bomb>
8048c9a:b8 00 00 00 00 mov $0x0,%eax
8048c9f: eb ac jmp 8048c4d <phase_3+0x6a>
8048ca1:e8 ea fa ff ff call 8048790 <__stack_chk_fail@plt>

08048ca6 <func4>:
8048ca6:55 push %ebp
8048ca7:89 e5 mov %esp,%ebp
8048ca9:53 push %ebx
8048caa: 83 ec 04 sub $0x4,%esp
8048cad:8b 45 08 mov 0x8(%ebp),%eax
8048cb0:8b 55 0c mov 0xc(%ebp),%edx
8048cb3:8b 4d 10 mov 0x10(%ebp),%ecx
8048cb6:29 d1 sub %edx,%ecx
8048cb8:89 cb mov %ecx,%ebx
8048cba:c1 eb 1f shr $0x1f,%ebx
8048cbd:01 cb add %ecx,%ebx
8048cbf: d1 fb sar %ebx
8048cc1: 01 d3 add %edx,%ebx
8048cc3: 39 c3 cmp %eax,%ebx
8048cc5: 7f 0b jg 8048cd2 <func4+0x2c>
8048cc7: 39 c3 cmp %eax,%ebx
8048cc9: 7c 1c jl 8048ce7 <func4+0x41>
8048ccb: 89 d8 mov %ebx,%eax
8048ccd: 8b 5d fc mov -0x4(%ebp),%ebx
8048cd0:c9 leave
8048cd1:c3 ret
8048cd2:83 ec 04 sub $0x4,%esp
8048cd5:8d 4b ff lea -0x1(%ebx),%ecx
8048cd8:51 push %ecx
8048cd9:52 push %edx
8048cda:50 push %eax
8048cdb:e8 c6 ff ff ff call 8048ca6 <func4>
8048ce0:83 c4 10 add $0x10,%esp
8048ce3:01 c3 add %eax,%ebx
8048ce5:eb e4 jmp 8048ccb <func4+0x25>
8048ce7:83 ec 04 sub $0x4,%esp
8048cea:ff 75 10 pushl 0x10(%ebp)
8048ced:8d 53 01 lea 0x1(%ebx),%edx
8048cf0: 52 push %edx
8048cf1: 50 push %eax
8048cf2: e8 af ff ff ff call 8048ca6 <func4>
8048cf7: 83 c4 10 add $0x10,%esp
8048cfa: 01 c3 add %eax,%ebx
8048cfc: eb cd jmp 8048ccb <func4+0x25>

08048cfe <phase_4>:
8048cfe: 55 push %ebp
8048cff: 89 e5 mov %esp,%ebp
8048d01: 83 ec 18 sub $0x18,%esp
8048d04: 65 a1 14 00 00 00 mov %gs:0x14,%eax
8048d0a: 89 45 f4 mov %eax,-0xc(%ebp)
8048d0d: 31 c0 xor %eax,%eax
8048d0f: 8d 45 f0 lea -0x10(%ebp),%eax
8048d12: 50 push %eax
8048d13: 8d 45 ec lea -0x14(%ebp),%eax
8048d16: 50 push %eax
8048d17: 68 3b a2 04 08 push $0x804a23b
8048d1c:ff 75 08 pushl 0x8(%ebp)
8048d1f: e8 ec fa ff ff call 8048810 <__isoc99_sscanf@plt>
8048d24: 83 c4 10 add $0x10,%esp
8048d27: 83 f8 02 cmp $0x2,%eax
8048d2a: 75 06 jne 8048d32 <phase_4+0x34>
8048d2c:83 7d ec 0e cmpl $0xe,-0x14(%ebp)
8048d30: 76 05 jbe 8048d37 <phase_4+0x39>
8048d32: e8 02 04 00 00 call 8049139 <explode_bomb>
8048d37: 83 ec 04 sub $0x4,%esp
8048d3a: 6a 0e push $0xe
8048d3c:6a 00 push $0x0
8048d3e: ff 75 ec pushl -0x14(%ebp)
8048d41: e8 60 ff ff ff call 8048ca6 <func4>
8048d46: 83 c4 10 add $0x10,%esp
8048d49: 83 f8 25 cmp $0x25,%eax
8048d4c:75 06 jne 8048d54 <phase_4+0x56>
8048d4e: 83 7d f0 25 cmpl $0x25,-0x10(%ebp)
8048d52: 74 05 je 8048d59 <phase_4+0x5b>
8048d54: e8 e0 03 00 00 call 8049139 <explode_bomb>
8048d59: 8b 45 f4 mov -0xc(%ebp),%eax
8048d5c:65 33 05 14 00 00 00 xor %gs:0x14,%eax
8048d63: 75 02 jne 8048d67 <phase_4+0x69>
8048d65: c9 leave
8048d66: c3 ret
8048d67: e8 24 fa ff ff call 8048790 <__stack_chk_fail@plt>

08048d6c <phase_5>:
8048d6c:55 push %ebp
8048d6d: 89 e5 mov %esp,%ebp
8048d6f: 53 push %ebx
8048d70: 83 ec 20 sub $0x20,%esp
8048d73: 8b 5d 08 mov 0x8(%ebp),%ebx
8048d76: 65 a1 14 00 00 00 mov %gs:0x14,%eax
8048d7c:89 45 f4 mov %eax,-0xc(%ebp)
8048d7f: 31 c0 xor %eax,%eax
8048d81: 53 push %ebx
8048d82: e8 8f 02 00 00 call 8049016 <string_length>
8048d87: 83 c4 10 add $0x10,%esp
8048d8a: 83 f8 06 cmp $0x6,%eax
8048d8d: 75 4c jne 8048ddb <phase_5+0x6f>
8048d8f: b8 00 00 00 00 mov $0x0,%eax
8048d94: 0f b6 14 03 movzbl (%ebx,%eax,1),%edx
8048d98: 83 e2 0f and $0xf,%edx
8048d9b: 0f b6 92 f4 a0 04 08 movzbl 0x804a0f4(%edx),%edx
8048da2: 88 54 05 ed mov %dl,-0x13(%ebp,%eax,1)
8048da6: 83 c0 01 add $0x1,%eax
8048da9: 83 f8 06 cmp $0x6,%eax
8048dac:75 e6 jne 8048d94 <phase_5+0x28>
8048dae: c6 45 f3 00 movb $0x0,-0xd(%ebp)
8048db2: 83 ec 08 sub $0x8,%esp
8048db5: 68 ca a0 04 08 push $0x804a0ca
8048dba: 8d 45 ed lea -0x13(%ebp),%eax
8048dbd: 50 push %eax
8048dbe: e8 75 02 00 00 call 8049038 <strings_not_equal>
8048dc3:83 c4 10 add $0x10,%esp
8048dc6:85 c0 test %eax,%eax
8048dc8:75 18 jne 8048de2 <phase_5+0x76>
8048dca:8b 45 f4 mov -0xc(%ebp),%eax
8048dcd:65 33 05 14 00 00 00 xor %gs:0x14,%eax
8048dd4: 75 13 jne 8048de9 <phase_5+0x7d>
8048dd6: 8b 5d fc mov -0x4(%ebp),%ebx
8048dd9: c9 leave
8048dda: c3 ret
8048ddb: e8 59 03 00 00 call 8049139 <explode_bomb>
8048de0: eb ad jmp 8048d8f <phase_5+0x23>
8048de2: e8 52 03 00 00 call 8049139 <explode_bomb>
8048de7: eb e1 jmp 8048dca <phase_5+0x5e>
8048de9: e8 a2 f9 ff ff call 8048790 <__stack_chk_fail@plt>

08048dee <phase_6>:
8048dee: 55 push %ebp
8048def: 89 e5 mov %esp,%ebp
8048df1: 56 push %esi
8048df2: 53 push %ebx
8048df3: 83 ec 48 sub $0x48,%esp
8048df6: 65 a1 14 00 00 00 mov %gs:0x14,%eax
8048dfc: 89 45 f4 mov %eax,-0xc(%ebp)
8048dff: 31 c0 xor %eax,%eax
8048e01: 8d 45 c4 lea -0x3c(%ebp),%eax
8048e04: 50 push %eax
8048e05: ff 75 08 pushl 0x8(%ebp)
8048e08: e8 54 03 00 00 call 8049161 <read_six_numbers>
8048e0d: 83 c4 10 add $0x10,%esp
8048e10: be 00 00 00 00 mov $0x0,%esi
8048e15: 8b 44 b5 c4 mov -0x3c(%ebp,%esi,4),%eax
8048e19: 83 e8 01 sub $0x1,%eax
8048e1c:83 f8 05 cmp $0x5,%eax
8048e1f: 77 0c ja 8048e2d <phase_6+0x3f>
8048e21: 83 c6 01 add $0x1,%esi
8048e24: 83 fe 06 cmp $0x6,%esi
8048e27: 74 51 je 8048e7a <phase_6+0x8c>
8048e29: 89 f3 mov %esi,%ebx
8048e2b: eb 0f jmp 8048e3c <phase_6+0x4e>
8048e2d: e8 07 03 00 00 call 8049139 <explode_bomb>
8048e32: eb ed jmp 8048e21 <phase_6+0x33>
8048e34: 83 c3 01 add $0x1,%ebx
8048e37: 83 fb 05 cmp $0x5,%ebx
8048e3a: 7f d9 jg 8048e15 <phase_6+0x27>
8048e3c:8b 44 9d c4 mov -0x3c(%ebp,%ebx,4),%eax
8048e40: 39 44 b5 c0 cmp %eax,-0x40(%ebp,%esi,4)
8048e44: 75 ee jne 8048e34 <phase_6+0x46>
8048e46: e8 ee 02 00 00 call 8049139 <explode_bomb>
8048e4b: eb e7 jmp 8048e34 <phase_6+0x46>
8048e4d: 8b 52 08 mov 0x8(%edx),%edx
8048e50: 83 c0 01 add $0x1,%eax
8048e53: 39 c8 cmp %ecx,%eax
8048e55: 75 f6 jne 8048e4d <phase_6+0x5f>
8048e57: 89 54 b5 dc mov %edx,-0x24(%ebp,%esi,4)
8048e5b: 83 c3 01 add $0x1,%ebx
8048e5e: 83 fb 06 cmp $0x6,%ebx
8048e61: 74 1e je 8048e81 <phase_6+0x93>
8048e63: 89 de mov %ebx,%esi
8048e65: 8b 4c 9d c4 mov -0x3c(%ebp,%ebx,4),%ecx
8048e69: b8 01 00 00 00 mov $0x1,%eax
8048e6e: ba 3c c1 04 08 mov $0x804c13c,%edx
8048e73: 83 f9 01 cmp $0x1,%ecx
8048e76: 7f d5 jg 8048e4d <phase_6+0x5f>
8048e78: eb dd jmp 8048e57 <phase_6+0x69>
8048e7a: bb 00 00 00 00 mov $0x0,%ebx
8048e7f: eb e2 jmp 8048e63 <phase_6+0x75>
8048e81: 8b 5d dc mov -0x24(%ebp),%ebx
8048e84: 8b 45 e0 mov -0x20(%ebp),%eax
8048e87: 89 43 08 mov %eax,0x8(%ebx)
8048e8a: 8b 55 e4 mov -0x1c(%ebp),%edx
8048e8d: 89 50 08 mov %edx,0x8(%eax)
8048e90: 8b 45 e8 mov -0x18(%ebp),%eax
8048e93: 89 42 08 mov %eax,0x8(%edx)
8048e96: 8b 55 ec mov -0x14(%ebp),%edx
8048e99: 89 50 08 mov %edx,0x8(%eax)
8048e9c:8b 45 f0 mov -0x10(%ebp),%eax
8048e9f: 89 42 08 mov %eax,0x8(%edx)
8048ea2: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax)
8048ea9: be 05 00 00 00 mov $0x5,%esi
8048eae:eb 08 jmp 8048eb8 <phase_6+0xca>
8048eb0: 8b 5b 08 mov 0x8(%ebx),%ebx
8048eb3: 83 ee 01 sub $0x1,%esi
8048eb6: 74 10 je 8048ec8 <phase_6+0xda>
8048eb8: 8b 43 08 mov 0x8(%ebx),%eax
8048ebb: 8b 00 mov (%eax),%eax
8048ebd: 39 03 cmp %eax,(%ebx)
8048ebf: 7e ef jle 8048eb0 <phase_6+0xc2>
8048ec1:e8 73 02 00 00 call 8049139 <explode_bomb>
8048ec6:eb e8 jmp 8048eb0 <phase_6+0xc2>
8048ec8:8b 45 f4 mov -0xc(%ebp),%eax
8048ecb:65 33 05 14 00 00 00 xor %gs:0x14,%eax
8048ed2: 75 07 jne 8048edb <phase_6+0xed>
8048ed4: 8d 65 f8 lea -0x8(%ebp),%esp
8048ed7: 5b pop %ebx
8048ed8: 5e pop %esi
8048ed9: 5d pop %ebp
8048eda: c3 ret
8048edb: e8 b0 f8 ff ff call 8048790 <__stack_chk_fail@plt>

08048ee0 <fun7>:
8048ee0: 55 push %ebp
8048ee1: 89 e5 mov %esp,%ebp
8048ee3: 53 push %ebx
8048ee4: 83 ec 04 sub $0x4,%esp
8048ee7: 8b 55 08 mov 0x8(%ebp),%edx
8048eea:8b 4d 0c mov 0xc(%ebp),%ecx
8048eed: 85 d2 test %edx,%edx
8048eef: 74 3c je 8048f2d <fun7+0x4d>
8048ef1: 8b 1a mov (%edx),%ebx
8048ef3: 39 cb cmp %ecx,%ebx
8048ef5: 7f 0e jg 8048f05 <fun7+0x25>
8048ef7: b8 00 00 00 00 mov $0x0,%eax
8048efc: 39 cb cmp %ecx,%ebx
8048efe: 75 18 jne 8048f18 <fun7+0x38>
8048f00: 8b 5d fc mov -0x4(%ebp),%ebx
8048f03: c9 leave
8048f04: c3 ret
8048f05: 83 ec 08 sub $0x8,%esp
8048f08: 51 push %ecx
8048f09: ff 72 04 pushl 0x4(%edx)
8048f0c: e8 cf ff ff ff call 8048ee0 <fun7>
8048f11: 83 c4 10 add $0x10,%esp
8048f14: 01 c0 add %eax,%eax
8048f16: eb e8 jmp 8048f00 <fun7+0x20>
8048f18: 83 ec 08 sub $0x8,%esp
8048f1b: 51 push %ecx
8048f1c: ff 72 08 pushl 0x8(%edx)
8048f1f: e8 bc ff ff ff call 8048ee0 <fun7>
8048f24: 83 c4 10 add $0x10,%esp
8048f27: 8d 44 00 01 lea 0x1(%eax,%eax,1),%eax
8048f2b: eb d3 jmp 8048f00 <fun7+0x20>
8048f2d: b8 ff ff ff ff mov $0xffffffff,%eax
8048f32: eb cc jmp 8048f00 <fun7+0x20>

08048f34 <secret_phase>:
8048f34: 55 push %ebp
8048f35: 89 e5 mov %esp,%ebp
8048f37: 53 push %ebx
8048f38: 83 ec 04 sub $0x4,%esp
8048f3b: e8 5b 02 00 00 call 804919b <read_line>
8048f40: 83 ec 04 sub $0x4,%esp
8048f43: 6a 0a push $0xa
8048f45: 6a 00 push $0x0
8048f47: 50 push %eax
8048f48: e8 33 f9 ff ff call 8048880 <strtol@plt>
8048f4d: 89 c3 mov %eax,%ebx
8048f4f: 8d 40 ff lea -0x1(%eax),%eax
8048f52: 83 c4 10 add $0x10,%esp
8048f55: 3d e8 03 00 00 cmp $0x3e8,%eax
8048f5a: 77 35 ja 8048f91 <secret_phase+0x5d>
8048f5c: 83 ec 08 sub $0x8,%esp
8048f5f: 53 push %ebx
8048f60: 68 88 c0 04 08 push $0x804c088
8048f65: e8 76 ff ff ff call 8048ee0 <fun7>
8048f6a: 83 c4 10 add $0x10,%esp
8048f6d: 83 f8 05 cmp $0x5,%eax
8048f70: 74 05 je 8048f77 <secret_phase+0x43>
8048f72: e8 c2 01 00 00 call 8049139 <explode_bomb>
8048f77: 83 ec 0c sub $0xc,%esp
8048f7a: 68 04 a1 04 08 push $0x804a104
8048f7f: e8 3c f8 ff ff call 80487c0 <puts@plt>
8048f84: e8 23 03 00 00 call 80492ac <phase_defused>
8048f89: 83 c4 10 add $0x10,%esp
8048f8c: 8b 5d fc mov -0x4(%ebp),%ebx
8048f8f: c9 leave
8048f90: c3 ret
8048f91: e8 a3 01 00 00 call 8049139 <explode_bomb>
8048f96: eb c4 jmp 8048f5c <secret_phase+0x28>

08048f98 <sig_handler>:
8048f98: 55 push %ebp
8048f99: 89 e5 mov %esp,%ebp
8048f9b: 83 ec 14 sub $0x14,%esp
8048f9e: 68 2c a1 04 08 push $0x804a12c
8048fa3: e8 18 f8 ff ff call 80487c0 <puts@plt>
8048fa8: c7 04 24 03 00 00 00 movl $0x3,(%esp)
8048faf: e8 bc f7 ff ff call 8048770 <sleep@plt>
8048fb4: 83 c4 08 add $0x8,%esp
8048fb7: 68 ee a1 04 08 push $0x804a1ee
8048fbc: 6a 01 push $0x1
8048fbe: e8 7d f8 ff ff call 8048840 <__printf_chk@plt>
8048fc3: 83 c4 04 add $0x4,%esp
8048fc6: ff 35 c4 c3 04 08 pushl 0x804c3c4
8048fcc: e8 6f f7 ff ff call 8048740 <fflush@plt>
8048fd1: c7 04 24 01 00 00 00 movl $0x1,(%esp)
8048fd8: e8 93 f7 ff ff call 8048770 <sleep@plt>
8048fdd: c7 04 24 f6 a1 04 08 movl $0x804a1f6,(%esp)
8048fe4: e8 d7 f7 ff ff call 80487c0 <puts@plt>
8048fe9: c7 04 24 10 00 00 00 movl $0x10,(%esp)
8048ff0: e8 eb f7 ff ff call 80487e0 <exit@plt>

08048ff5 <invalid_phase>:
8048ff5: 55 push %ebp
8048ff6: 89 e5 mov %esp,%ebp
8048ff8: 83 ec 0c sub $0xc,%esp
8048ffb: ff 75 08 pushl 0x8(%ebp)
8048ffe: 68 fe a1 04 08 push $0x804a1fe
8049003: 6a 01 push $0x1
8049005: e8 36 f8 ff ff call 8048840 <__printf_chk@plt>
804900a: c7 04 24 08 00 00 00 movl $0x8,(%esp)
8049011: e8 ca f7 ff ff call 80487e0 <exit@plt>

08049016 <string_length>:
8049016: 55 push %ebp
8049017: 89 e5 mov %esp,%ebp
8049019: 8b 55 08 mov 0x8(%ebp),%edx
804901c:80 3a 00 cmpb $0x0,(%edx)
804901f: 74 10 je 8049031 <string_length+0x1b>
8049021: b8 00 00 00 00 mov $0x0,%eax
8049026: 83 c0 01 add $0x1,%eax
8049029: 80 3c 02 00 cmpb $0x0,(%edx,%eax,1)
804902d: 75 f7 jne 8049026 <string_length+0x10>
804902f: 5d pop %ebp
8049030: c3 ret
8049031: b8 00 00 00 00 mov $0x0,%eax
8049036: eb f7 jmp 804902f <string_length+0x19>

08049038 <strings_not_equal>:
8049038: 55 push %ebp
8049039: 89 e5 mov %esp,%ebp
804903b: 57 push %edi
804903c:56 push %esi
804903d: 53 push %ebx
804903e: 8b 5d 08 mov 0x8(%ebp),%ebx
8049041: 8b 75 0c mov 0xc(%ebp),%esi
8049044: 53 push %ebx
8049045: e8 cc ff ff ff call 8049016 <string_length>
804904a: 89 c7 mov %eax,%edi
804904c:89 34 24 mov %esi,(%esp)
804904f: e8 c2 ff ff ff call 8049016 <string_length>
8049054: 83 c4 04 add $0x4,%esp
8049057: ba 01 00 00 00 mov $0x1,%edx
804905c:39 c7 cmp %eax,%edi
804905e: 74 0a je 804906a <strings_not_equal+0x32>
8049060: 89 d0 mov %edx,%eax
8049062: 8d 65 f4 lea -0xc(%ebp),%esp
8049065: 5b pop %ebx
8049066: 5e pop %esi
8049067: 5f pop %edi
8049068: 5d pop %ebp
8049069: c3 ret
804906a: 0f b6 03 movzbl (%ebx),%eax
804906d: 84 c0 test %al,%al
804906f: 74 23 je 8049094 <strings_not_equal+0x5c>
8049071: 3a 06 cmp (%esi),%al
8049073: 75 26 jne 804909b <strings_not_equal+0x63>
8049075: 83 c3 01 add $0x1,%ebx
8049078: 83 c6 01 add $0x1,%esi
804907b: 0f b6 03 movzbl (%ebx),%eax
804907e: 84 c0 test %al,%al
8049080: 74 0b je 804908d <strings_not_equal+0x55>
8049082: 38 06 cmp %al,(%esi)
8049084: 74 ef je 8049075 <strings_not_equal+0x3d>
8049086: ba 01 00 00 00 mov $0x1,%edx
804908b: eb d3 jmp 8049060 <strings_not_equal+0x28>
804908d: ba 00 00 00 00 mov $0x0,%edx
8049092: eb cc jmp 8049060 <strings_not_equal+0x28>
8049094: ba 00 00 00 00 mov $0x0,%edx
8049099: eb c5 jmp 8049060 <strings_not_equal+0x28>
804909b: ba 01 00 00 00 mov $0x1,%edx
80490a0: eb be jmp 8049060 <strings_not_equal+0x28>

080490a2 <initialize_bomb>:
80490a2: 55 push %ebp
80490a3: 89 e5 mov %esp,%ebp
80490a5: 83 ec 10 sub $0x10,%esp
80490a8: 68 98 8f 04 08 push $0x8048f98
80490ad: 6a 02 push $0x2
80490af: e8 ac f6 ff ff call 8048760 <signal@plt>
80490b4: 83 c4 10 add $0x10,%esp
80490b7: c9 leave
80490b8: c3 ret

080490b9 <initialize_bomb_solve>:
80490b9: 55 push %ebp
80490ba: 89 e5 mov %esp,%ebp
80490bc:5d pop %ebp
80490bd: c3 ret

080490be <blank_line>:
80490be: 55 push %ebp
80490bf: 89 e5 mov %esp,%ebp
80490c1:56 push %esi
80490c2:53 push %ebx
80490c3:8b 75 08 mov 0x8(%ebp),%esi
80490c6:0f b6 1e movzbl (%esi),%ebx
80490c9:84 db test %bl,%bl
80490cb:74 1b je 80490e8 <blank_line+0x2a>
80490cd:e8 de f7 ff ff call 80488b0 <__ctype_b_loc@plt>
80490d2: 83 c6 01 add $0x1,%esi
80490d5: 0f be db movsbl %bl,%ebx
80490d8: 8b 00 mov (%eax),%eax
80490da: f6 44 58 01 20 testb $0x20,0x1(%eax,%ebx,2)
80490df: 75 e5 jne 80490c6 <blank_line+0x8>
80490e1: b8 00 00 00 00 mov $0x0,%eax
80490e6: eb 05 jmp 80490ed <blank_line+0x2f>
80490e8: b8 01 00 00 00 mov $0x1,%eax
80490ed: 5b pop %ebx
80490ee: 5e pop %esi
80490ef: 5d pop %ebp
80490f0: c3 ret

080490f1 <skip>:
80490f1: 55 push %ebp
80490f2: 89 e5 mov %esp,%ebp
80490f4: 53 push %ebx
80490f5: 83 ec 04 sub $0x4,%esp
80490f8: 83 ec 04 sub $0x4,%esp
80490fb: ff 35 d0 c3 04 08 pushl 0x804c3d0
8049101: 6a 50 push $0x50
8049103: a1 cc c3 04 08 mov 0x804c3cc,%eax
8049108: 8d 04 80 lea (%eax,%eax,4),%eax
804910b: c1 e0 04 shl $0x4,%eax
804910e: 05 e0 c3 04 08 add $0x804c3e0,%eax
8049113: 50 push %eax
8049114: e8 37 f6 ff ff call 8048750 <fgets@plt>
8049119: 89 c3 mov %eax,%ebx
804911b: 83 c4 10 add $0x10,%esp
804911e: 85 c0 test %eax,%eax
8049120: 74 10 je 8049132 <skip+0x41>
8049122: 83 ec 0c sub $0xc,%esp
8049125: 50 push %eax
8049126: e8 93 ff ff ff call 80490be <blank_line>
804912b: 83 c4 10 add $0x10,%esp
804912e: 85 c0 test %eax,%eax
8049130: 75 c6 jne 80490f8 <skip+0x7>
8049132: 89 d8 mov %ebx,%eax
8049134: 8b 5d fc mov -0x4(%ebp),%ebx
8049137: c9 leave
8049138: c3 ret

08049139 <explode_bomb>:
8049139: 55 push %ebp
804913a: 89 e5 mov %esp,%ebp
804913c:83 ec 14 sub $0x14,%esp
804913f: 68 0f a2 04 08 push $0x804a20f
8049144: e8 77 f6 ff ff call 80487c0 <puts@plt>
8049149: c7 04 24 18 a2 04 08 movl $0x804a218,(%esp)
8049150: e8 6b f6 ff ff call 80487c0 <puts@plt>
8049155: c7 04 24 08 00 00 00 movl $0x8,(%esp)
804915c:e8 7f f6 ff ff call 80487e0 <exit@plt>

08049161 <read_six_numbers>:
8049161: 55 push %ebp
8049162: 89 e5 mov %esp,%ebp
8049164: 83 ec 08 sub $0x8,%esp
8049167: 8b 45 0c mov 0xc(%ebp),%eax
804916a: 8d 50 14 lea 0x14(%eax),%edx
804916d: 52 push %edx
804916e: 8d 50 10 lea 0x10(%eax),%edx
8049171: 52 push %edx
8049172: 8d 50 0c lea 0xc(%eax),%edx
8049175: 52 push %edx
8049176: 8d 50 08 lea 0x8(%eax),%edx
8049179: 52 push %edx
804917a: 8d 50 04 lea 0x4(%eax),%edx
804917d: 52 push %edx
804917e: 50 push %eax
804917f: 68 2f a2 04 08 push $0x804a22f
8049184: ff 75 08 pushl 0x8(%ebp)
8049187: e8 84 f6 ff ff call 8048810 <__isoc99_sscanf@plt>
804918c:83 c4 20 add $0x20,%esp
804918f: 83 f8 05 cmp $0x5,%eax
8049192: 7e 02 jle 8049196 <read_six_numbers+0x35>
8049194: c9 leave
8049195: c3 ret
8049196: e8 9e ff ff ff call 8049139 <explode_bomb>

0804919b <read_line>:
804919b: 55 push %ebp
804919c:89 e5 mov %esp,%ebp
804919e: 57 push %edi
804919f: 56 push %esi
80491a0: 53 push %ebx
80491a1: 83 ec 0c sub $0xc,%esp
80491a4: e8 48 ff ff ff call 80490f1 <skip>
80491a9: 85 c0 test %eax,%eax
80491ab: 74 53 je 8049200 <read_line+0x65>
80491ad: 8b 15 cc c3 04 08 mov 0x804c3cc,%edx
80491b3: 8d 1c 92 lea (%edx,%edx,4),%ebx
80491b6: c1 e3 04 shl $0x4,%ebx
80491b9: 81 c3 e0 c3 04 08 add $0x804c3e0,%ebx
80491bf: b9 ff ff ff ff mov $0xffffffff,%ecx
80491c4:b8 00 00 00 00 mov $0x0,%eax
80491c9:89 df mov %ebx,%edi
80491cb:f2 ae repnz scas %es:(%edi),%al
80491cd:89 ce mov %ecx,%esi
80491cf: f7 d6 not %esi
80491d1: 89 f1 mov %esi,%ecx
80491d3: 83 e9 01 sub $0x1,%ecx
80491d6: 83 f9 4e cmp $0x4e,%ecx
80491d9: 0f 8f 95 00 00 00 jg 8049274 <read_line+0xd9>
80491df: 8d 04 92 lea (%edx,%edx,4),%eax
80491e2: c1 e0 04 shl $0x4,%eax
80491e5: c6 84 01 df c3 04 08 movb $0x0,0x804c3df(%ecx,%eax,1)
80491ec:00
80491ed: 83 c2 01 add $0x1,%edx
80491f0: 89 15 cc c3 04 08 mov %edx,0x804c3cc
80491f6: 89 d8 mov %ebx,%eax
80491f8: 8d 65 f4 lea -0xc(%ebp),%esp
80491fb: 5b pop %ebx
80491fc: 5e pop %esi
80491fd: 5f pop %edi
80491fe: 5d pop %ebp
80491ff: c3 ret
8049200: a1 c0 c3 04 08 mov 0x804c3c0,%eax
8049205: 39 05 d0 c3 04 08 cmp %eax,0x804c3d0
804920b: 74 1e je 804922b <read_line+0x90>
804920d: 83 ec 0c sub $0xc,%esp
8049210: 68 5f a2 04 08 push $0x804a25f
8049215: e8 96 f5 ff ff call 80487b0 <getenv@plt>
804921a: 83 c4 10 add $0x10,%esp
804921d: 85 c0 test %eax,%eax
804921f: 74 23 je 8049244 <read_line+0xa9>
8049221: 83 ec 0c sub $0xc,%esp
8049224: 6a 00 push $0x0
8049226: e8 b5 f5 ff ff call 80487e0 <exit@plt>
804922b: 83 ec 0c sub $0xc,%esp
804922e: 68 41 a2 04 08 push $0x804a241
8049233: e8 88 f5 ff ff call 80487c0 <puts@plt>
8049238: c7 04 24 08 00 00 00 movl $0x8,(%esp)
804923f: e8 9c f5 ff ff call 80487e0 <exit@plt>
8049244: a1 c0 c3 04 08 mov 0x804c3c0,%eax
8049249: a3 d0 c3 04 08 mov %eax,0x804c3d0
804924e: e8 9e fe ff ff call 80490f1 <skip>
8049253: 85 c0 test %eax,%eax
8049255: 0f 85 52 ff ff ff jne 80491ad <read_line+0x12>
804925b: 83 ec 0c sub $0xc,%esp
804925e: 68 41 a2 04 08 push $0x804a241
8049263: e8 58 f5 ff ff call 80487c0 <puts@plt>
8049268: c7 04 24 00 00 00 00 movl $0x0,(%esp)
804926f: e8 6c f5 ff ff call 80487e0 <exit@plt>
8049274: 83 ec 0c sub $0xc,%esp
8049277: 68 6a a2 04 08 push $0x804a26a
804927c:e8 3f f5 ff ff call 80487c0 <puts@plt>
8049281: a1 cc c3 04 08 mov 0x804c3cc,%eax
8049286: 8d 50 01 lea 0x1(%eax),%edx
8049289: 89 15 cc c3 04 08 mov %edx,0x804c3cc
804928f: 6b c0 50 imul $0x50,%eax,%eax
8049292: 05 e0 c3 04 08 add $0x804c3e0,%eax
8049297: ba 85 a2 04 08 mov $0x804a285,%edx
804929c:b9 04 00 00 00 mov $0x4,%ecx
80492a1: 89 c7 mov %eax,%edi
80492a3: 89 d6 mov %edx,%esi
80492a5: f3 a5 rep movsl %ds:(%esi),%es:(%edi)
80492a7: e8 8d fe ff ff call 8049139 <explode_bomb>

080492ac <phase_defused>:
80492ac:55 push %ebp
80492ad: 89 e5 mov %esp,%ebp
80492af: 83 ec 68 sub $0x68,%esp
80492b2: 65 a1 14 00 00 00 mov %gs:0x14,%eax
80492b8: 89 45 f4 mov %eax,-0xc(%ebp)
80492bb: 31 c0 xor %eax,%eax
80492bd: 83 3d cc c3 04 08 06 cmpl $0x6,0x804c3cc
80492c4:74 0e je 80492d4 <phase_defused+0x28>
80492c6:8b 45 f4 mov -0xc(%ebp),%eax
80492c9:65 33 05 14 00 00 00 xor %gs:0x14,%eax
80492d0: 75 75 jne 8049347 <phase_defused+0x9b>
80492d2: c9 leave
80492d3: c3 ret
80492d4: 83 ec 0c sub $0xc,%esp
80492d7: 8d 45 a4 lea -0x5c(%ebp),%eax
80492da: 50 push %eax
80492db: 8d 45 a0 lea -0x60(%ebp),%eax
80492de: 50 push %eax
80492df: 8d 45 9c lea -0x64(%ebp),%eax
80492e2: 50 push %eax
80492e3: 68 95 a2 04 08 push $0x804a295
80492e8: 68 d0 c4 04 08 push $0x804c4d0
80492ed: e8 1e f5 ff ff call 8048810 <__isoc99_sscanf@plt>
80492f2: 83 c4 20 add $0x20,%esp
80492f5: 83 f8 03 cmp $0x3,%eax
80492f8: 74 12 je 804930c <phase_defused+0x60>
80492fa: 83 ec 0c sub $0xc,%esp
80492fd: 68 c4 a1 04 08 push $0x804a1c4
8049302: e8 b9 f4 ff ff call 80487c0 <puts@plt>
8049307: 83 c4 10 add $0x10,%esp
804930a: eb ba jmp 80492c6 <phase_defused+0x1a>
804930c:83 ec 08 sub $0x8,%esp
804930f: 68 9e a2 04 08 push $0x804a29e
8049314: 8d 45 a4 lea -0x5c(%ebp),%eax
8049317: 50 push %eax
8049318: e8 1b fd ff ff call 8049038 <strings_not_equal>
804931d: 83 c4 10 add $0x10,%esp
8049320: 85 c0 test %eax,%eax
8049322: 75 d6 jne 80492fa <phase_defused+0x4e>
8049324: 83 ec 0c sub $0xc,%esp
8049327: 68 64 a1 04 08 push $0x804a164
804932c:e8 8f f4 ff ff call 80487c0 <puts@plt>
8049331: c7 04 24 8c a1 04 08 movl $0x804a18c,(%esp)
8049338: e8 83 f4 ff ff call 80487c0 <puts@plt>
804933d: e8 f2 fb ff ff call 8048f34 <secret_phase>
8049342: 83 c4 10 add $0x10,%esp
8049345: eb b3 jmp 80492fa <phase_defused+0x4e>
8049347: e8 44 f4 ff ff call 8048790 <__stack_chk_fail@plt>

0804934c <sigalrm_handler>:
804934c:55 push %ebp
804934d: 89 e5 mov %esp,%ebp
804934f: 83 ec 08 sub $0x8,%esp
8049352: 6a 00 push $0x0
8049354: 68 f4 a2 04 08 push $0x804a2f4
8049359: 6a 01 push $0x1
804935b: ff 35 a0 c3 04 08 pushl 0x804c3a0
8049361: e8 fa f4 ff ff call 8048860 <__fprintf_chk@plt>
8049366: c7 04 24 01 00 00 00 movl $0x1,(%esp)
804936d: e8 6e f4 ff ff call 80487e0 <exit@plt>

08049372 <rio_readlineb>:
8049372: 55 push %ebp
8049373: 89 e5 mov %esp,%ebp
8049375: 57 push %edi
8049376: 56 push %esi
8049377: 53 push %ebx
8049378: 83 ec 1c sub $0x1c,%esp
804937b: 89 d7 mov %edx,%edi
804937d: 83 f9 01 cmp $0x1,%ecx
8049380: 76 7d jbe 80493ff <rio_readlineb+0x8d>
8049382: 89 c3 mov %eax,%ebx
8049384: 8d 44 0a ff lea -0x1(%edx,%ecx,1),%eax
8049388: 89 45 e0 mov %eax,-0x20(%ebp)
804938b: c7 45 e4 01 00 00 00 movl $0x1,-0x1c(%ebp)
8049392: 8d 73 0c lea 0xc(%ebx),%esi
8049395: eb 0a jmp 80493a1 <rio_readlineb+0x2f>
8049397: e8 94 f4 ff ff call 8048830 <__errno_location@plt>
804939c:83 38 04 cmpl $0x4,(%eax)
804939f: 75 67 jne 8049408 <rio_readlineb+0x96>
80493a1: 8b 43 04 mov 0x4(%ebx),%eax
80493a4: 85 c0 test %eax,%eax
80493a6: 7f 23 jg 80493cb <rio_readlineb+0x59>
80493a8: 83 ec 04 sub $0x4,%esp
80493ab: 68 00 20 00 00 push $0x2000
80493b0: 56 push %esi
80493b1: ff 33 pushl (%ebx)
80493b3: e8 78 f3 ff ff call 8048730 <read@plt>
80493b8: 89 43 04 mov %eax,0x4(%ebx)
80493bb: 83 c4 10 add $0x10,%esp
80493be: 85 c0 test %eax,%eax
80493c0:78 d5 js 8049397 <rio_readlineb+0x25>
80493c2:85 c0 test %eax,%eax
80493c4:74 49 je 804940f <rio_readlineb+0x9d>
80493c6:89 73 08 mov %esi,0x8(%ebx)
80493c9:eb d6 jmp 80493a1 <rio_readlineb+0x2f>
80493cb:8b 4b 08 mov 0x8(%ebx),%ecx
80493ce:0f b6 11 movzbl (%ecx),%edx
80493d1: 83 c1 01 add $0x1,%ecx
80493d4: 89 4b 08 mov %ecx,0x8(%ebx)
80493d7: 83 e8 01 sub $0x1,%eax
80493da: 89 43 04 mov %eax,0x4(%ebx)
80493dd: 83 c7 01 add $0x1,%edi
80493e0: 88 57 ff mov %dl,-0x1(%edi)
80493e3: 80 fa 0a cmp $0xa,%dl
80493e6: 74 09 je 80493f1 <rio_readlineb+0x7f>
80493e8: 83 45 e4 01 addl $0x1,-0x1c(%ebp)
80493ec:3b 7d e0 cmp -0x20(%ebp),%edi
80493ef: 75 b0 jne 80493a1 <rio_readlineb+0x2f>
80493f1: c6 07 00 movb $0x0,(%edi)
80493f4: 8b 45 e4 mov -0x1c(%ebp),%eax
80493f7: 8d 65 f4 lea -0xc(%ebp),%esp
80493fa: 5b pop %ebx
80493fb: 5e pop %esi
80493fc: 5f pop %edi
80493fd: 5d pop %ebp
80493fe: c3 ret
80493ff: c7 45 e4 01 00 00 00 movl $0x1,-0x1c(%ebp)
8049406: eb e9 jmp 80493f1 <rio_readlineb+0x7f>
8049408: b8 ff ff ff ff mov $0xffffffff,%eax
804940d: eb 05 jmp 8049414 <rio_readlineb+0xa2>
804940f: b8 00 00 00 00 mov $0x0,%eax
8049414: 85 c0 test %eax,%eax
8049416: 75 0f jne 8049427 <rio_readlineb+0xb5>
8049418: 83 7d e4 01 cmpl $0x1,-0x1c(%ebp)
804941c:75 d3 jne 80493f1 <rio_readlineb+0x7f>
804941e: c7 45 e4 00 00 00 00 movl $0x0,-0x1c(%ebp)
8049425: eb cd jmp 80493f4 <rio_readlineb+0x82>
8049427: c7 45 e4 ff ff ff ff movl $0xffffffff,-0x1c(%ebp)
804942e: eb c4 jmp 80493f4 <rio_readlineb+0x82>

08049430 <submitr>:
8049430: 55 push %ebp
8049431: 89 e5 mov %esp,%ebp
8049433: 57 push %edi
8049434: 56 push %esi
8049435: 53 push %ebx
8049436: 81 ec 60 a0 00 00 sub $0xa060,%esp
804943c:8b 75 08 mov 0x8(%ebp),%esi
804943f: 8b 45 10 mov 0x10(%ebp),%eax
8049442: 89 85 ac 5f ff ff mov %eax,-0xa054(%ebp)
8049448: 8b 45 14 mov 0x14(%ebp),%eax
804944b: 89 85 a8 5f ff ff mov %eax,-0xa058(%ebp)
8049451: 8b 45 18 mov 0x18(%ebp),%eax
8049454: 89 85 a4 5f ff ff mov %eax,-0xa05c(%ebp)
804945a: 8b 5d 1c mov 0x1c(%ebp),%ebx
804945d: 8b 45 20 mov 0x20(%ebp),%eax
8049460: 89 85 a0 5f ff ff mov %eax,-0xa060(%ebp)
8049466: 65 a1 14 00 00 00 mov %gs:0x14,%eax
804946c:89 45 e4 mov %eax,-0x1c(%ebp)
804946f: 31 c0 xor %eax,%eax
8049471: c7 85 c4 5f ff ff 00 movl $0x0,-0xa03c(%ebp)
8049478: 00 00 00
804947b: 6a 00 push $0x0
804947d: 6a 01 push $0x1
804947f: 6a 02 push $0x2
8049481: e8 ca f3 ff ff call 8048850 <socket@plt>
8049486: 89 85 b0 5f ff ff mov %eax,-0xa050(%ebp)
804948c:83 c4 10 add $0x10,%esp
804948f: 85 c0 test %eax,%eax
8049491: 0f 88 30 01 00 00 js 80495c7 <submitr+0x197>
8049497: 83 ec 0c sub $0xc,%esp
804949a: 56 push %esi
804949b: e8 d0 f3 ff ff call 8048870 <gethostbyname@plt>
80494a0: 83 c4 10 add $0x10,%esp
80494a3: 85 c0 test %eax,%eax
80494a5: 0f 84 70 01 00 00 je 804961b <submitr+0x1eb>
80494ab: 8d b5 c8 5f ff ff lea -0xa038(%ebp),%esi
80494b1: c7 85 ca 5f ff ff 00 movl $0x0,-0xa036(%ebp)
80494b8: 00 00 00
80494bb: c7 85 ce 5f ff ff 00 movl $0x0,-0xa032(%ebp)
80494c2:00 00 00
80494c5:c7 85 d2 5f ff ff 00 movl $0x0,-0xa02e(%ebp)
80494cc: 00 00 00
80494cf: 66 c7 85 d6 5f ff ff movw $0x0,-0xa02a(%ebp)
80494d6: 00 00
80494d8: 66 c7 85 c8 5f ff ff movw $0x2,-0xa038(%ebp)
80494df: 02 00
80494e1: 6a 0c push $0xc
80494e3: ff 70 0c pushl 0xc(%eax)
80494e6: 8b 40 10 mov 0x10(%eax),%eax
80494e9: ff 30 pushl (%eax)
80494eb: 8d 85 cc 5f ff ff lea -0xa034(%ebp),%eax
80494f1: 50 push %eax
80494f2: e8 d9 f2 ff ff call 80487d0 <__memmove_chk@plt>
80494f7: 0f b7 45 0c movzwl 0xc(%ebp),%eax
80494fb: 66 c1 c8 08 ror $0x8,%ax
80494ff: 66 89 85 ca 5f ff ff mov %ax,-0xa036(%ebp)
8049506: 83 c4 0c add $0xc,%esp
8049509: 6a 10 push $0x10
804950b: 56 push %esi
804950c:ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049512: e8 79 f3 ff ff call 8048890 <connect@plt>
8049517: 83 c4 10 add $0x10,%esp
804951a: 85 c0 test %eax,%eax
804951c:0f 88 70 01 00 00 js 8049692 <submitr+0x262>
8049522: ba ff ff ff ff mov $0xffffffff,%edx
8049527: b8 00 00 00 00 mov $0x0,%eax
804952c:89 d1 mov %edx,%ecx
804952e: 89 df mov %ebx,%edi
8049530: f2 ae repnz scas %es:(%edi),%al
8049532: 89 ce mov %ecx,%esi
8049534: f7 d6 not %esi
8049536: 89 d1 mov %edx,%ecx
8049538: 8b bd ac 5f ff ff mov -0xa054(%ebp),%edi
804953e: f2 ae repnz scas %es:(%edi),%al
8049540: 89 8d b4 5f ff ff mov %ecx,-0xa04c(%ebp)
8049546: 89 d1 mov %edx,%ecx
8049548: 8b bd a8 5f ff ff mov -0xa058(%ebp),%edi
804954e: f2 ae repnz scas %es:(%edi),%al
8049550: 89 cf mov %ecx,%edi
8049552: f7 d7 not %edi
8049554: 89 bd 9c 5f ff ff mov %edi,-0xa064(%ebp)
804955a: 89 d1 mov %edx,%ecx
804955c:8b bd a4 5f ff ff mov -0xa05c(%ebp),%edi
8049562: f2 ae repnz scas %es:(%edi),%al
8049564: 8b 95 9c 5f ff ff mov -0xa064(%ebp),%edx
804956a: 2b 95 b4 5f ff ff sub -0xa04c(%ebp),%edx
8049570: 29 ca sub %ecx,%edx
8049572: 8d 44 76 fd lea -0x3(%esi,%esi,2),%eax
8049576: 8d 44 02 7b lea 0x7b(%edx,%eax,1),%eax
804957a: 3d 00 20 00 00 cmp $0x2000,%eax
804957f: 0f 87 76 01 00 00 ja 80496fb <submitr+0x2cb>
8049585: 8d 95 e4 9f ff ff lea -0x601c(%ebp),%edx
804958b: b9 00 08 00 00 mov $0x800,%ecx
8049590: b8 00 00 00 00 mov $0x0,%eax
8049595: 89 d7 mov %edx,%edi
8049597: f3 ab rep stos %eax,%es:(%edi)
8049599: b9 ff ff ff ff mov $0xffffffff,%ecx
804959e: 89 df mov %ebx,%edi
80495a0: f2 ae repnz scas %es:(%edi),%al
80495a2: 89 ca mov %ecx,%edx
80495a4: f7 d2 not %edx
80495a6: 89 d1 mov %edx,%ecx
80495a8: 83 e9 01 sub $0x1,%ecx
80495ab: 89 8d b4 5f ff ff mov %ecx,-0xa04c(%ebp)
80495b1: 0f 84 3b 06 00 00 je 8049bf2 <submitr+0x7c2>
80495b7: 8d b5 e4 9f ff ff lea -0x601c(%ebp),%esi
80495bd: bf 01 00 00 00 mov $0x1,%edi
80495c2:e9 cb 01 00 00 jmp 8049792 <submitr+0x362>
80495c7:8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
80495cd:c7 00 45 72 72 6f movl $0x6f727245,(%eax)
80495d3: c7 40 04 72 3a 20 43 movl $0x43203a72,0x4(%eax)
80495da: c7 40 08 6c 69 65 6e movl $0x6e65696c,0x8(%eax)
80495e1: c7 40 0c 74 20 75 6e movl $0x6e752074,0xc(%eax)
80495e8: c7 40 10 61 62 6c 65 movl $0x656c6261,0x10(%eax)
80495ef: c7 40 14 20 74 6f 20 movl $0x206f7420,0x14(%eax)
80495f6: c7 40 18 63 72 65 61 movl $0x61657263,0x18(%eax)
80495fd: c7 40 1c 74 65 20 73 movl $0x73206574,0x1c(%eax)
8049604: c7 40 20 6f 63 6b 65 movl $0x656b636f,0x20(%eax)
804960b: 66 c7 40 24 74 00 movw $0x74,0x24(%eax)
8049611: b8 ff ff ff ff mov $0xffffffff,%eax
8049616: e9 f2 04 00 00 jmp 8049b0d <submitr+0x6dd>
804961b: 8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
8049621: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
8049627: c7 40 04 72 3a 20 44 movl $0x44203a72,0x4(%eax)
804962e: c7 40 08 4e 53 20 69 movl $0x6920534e,0x8(%eax)
8049635: c7 40 0c 73 20 75 6e movl $0x6e752073,0xc(%eax)
804963c:c7 40 10 61 62 6c 65 movl $0x656c6261,0x10(%eax)
8049643: c7 40 14 20 74 6f 20 movl $0x206f7420,0x14(%eax)
804964a: c7 40 18 72 65 73 6f movl $0x6f736572,0x18(%eax)
8049651: c7 40 1c 6c 76 65 20 movl $0x2065766c,0x1c(%eax)
8049658: c7 40 20 73 65 72 76 movl $0x76726573,0x20(%eax)
804965f: c7 40 24 65 72 20 61 movl $0x61207265,0x24(%eax)
8049666: c7 40 28 64 64 72 65 movl $0x65726464,0x28(%eax)
804966d: 66 c7 40 2c 73 73 movw $0x7373,0x2c(%eax)
8049673: c6 40 2e 00 movb $0x0,0x2e(%eax)
8049677: 83 ec 0c sub $0xc,%esp
804967a: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049680: e8 1b f2 ff ff call 80488a0 <close@plt>
8049685: 83 c4 10 add $0x10,%esp
8049688: b8 ff ff ff ff mov $0xffffffff,%eax
804968d: e9 7b 04 00 00 jmp 8049b0d <submitr+0x6dd>
8049692: 8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
8049698: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
804969e: c7 40 04 72 3a 20 55 movl $0x55203a72,0x4(%eax)
80496a5: c7 40 08 6e 61 62 6c movl $0x6c62616e,0x8(%eax)
80496ac:c7 40 0c 65 20 74 6f movl $0x6f742065,0xc(%eax)
80496b3: c7 40 10 20 63 6f 6e movl $0x6e6f6320,0x10(%eax)
80496ba: c7 40 14 6e 65 63 74 movl $0x7463656e,0x14(%eax)
80496c1:c7 40 18 20 74 6f 20 movl $0x206f7420,0x18(%eax)
80496c8:c7 40 1c 74 68 65 20 movl $0x20656874,0x1c(%eax)
80496cf: c7 40 20 73 65 72 76 movl $0x76726573,0x20(%eax)
80496d6: 66 c7 40 24 65 72 movw $0x7265,0x24(%eax)
80496dc:c6 40 26 00 movb $0x0,0x26(%eax)
80496e0: 83 ec 0c sub $0xc,%esp
80496e3: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
80496e9: e8 b2 f1 ff ff call 80488a0 <close@plt>
80496ee: 83 c4 10 add $0x10,%esp
80496f1: b8 ff ff ff ff mov $0xffffffff,%eax
80496f6: e9 12 04 00 00 jmp 8049b0d <submitr+0x6dd>
80496fb: 8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
8049701: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
8049707: c7 40 04 72 3a 20 52 movl $0x52203a72,0x4(%eax)
804970e: c7 40 08 65 73 75 6c movl $0x6c757365,0x8(%eax)
8049715: c7 40 0c 74 20 73 74 movl $0x74732074,0xc(%eax)
804971c:c7 40 10 72 69 6e 67 movl $0x676e6972,0x10(%eax)
8049723: c7 40 14 20 74 6f 6f movl $0x6f6f7420,0x14(%eax)
804972a: c7 40 18 20 6c 61 72 movl $0x72616c20,0x18(%eax)
8049731: c7 40 1c 67 65 2e 20 movl $0x202e6567,0x1c(%eax)
8049738: c7 40 20 49 6e 63 72 movl $0x72636e49,0x20(%eax)
804973f: c7 40 24 65 61 73 65 movl $0x65736165,0x24(%eax)
8049746: c7 40 28 20 53 55 42 movl $0x42555320,0x28(%eax)
804974d: c7 40 2c 4d 49 54 52 movl $0x5254494d,0x2c(%eax)
8049754: c7 40 30 5f 4d 41 58 movl $0x58414d5f,0x30(%eax)
804975b: c7 40 34 42 55 46 00 movl $0x465542,0x34(%eax)
8049762: 83 ec 0c sub $0xc,%esp
8049765: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
804976b: e8 30 f1 ff ff call 80488a0 <close@plt>
8049770: 83 c4 10 add $0x10,%esp
8049773: b8 ff ff ff ff mov $0xffffffff,%eax
8049778: e9 90 03 00 00 jmp 8049b0d <submitr+0x6dd>
804977d: 88 16 mov %dl,(%esi)
804977f: 8d 76 01 lea 0x1(%esi),%esi
8049782: 83 c3 01 add $0x1,%ebx
8049785: 83 ad b4 5f ff ff 01 subl $0x1,-0xa04c(%ebp)
804978c:0f 84 60 04 00 00 je 8049bf2 <submitr+0x7c2>
8049792: 0f b6 13 movzbl (%ebx),%edx
8049795: 8d 4a d6 lea -0x2a(%edx),%ecx
8049798: 89 f8 mov %edi,%eax
804979a: 80 f9 0f cmp $0xf,%cl
804979d: 77 0d ja 80497ac <submitr+0x37c>
804979f: b8 d9 ff 00 00 mov $0xffd9,%eax
80497a4: d3 e8 shr %cl,%eax
80497a6: 83 f0 01 xor $0x1,%eax
80497a9: 83 e0 01 and $0x1,%eax
80497ac:84 c0 test %al,%al
80497ae: 74 cd je 804977d <submitr+0x34d>
80497b0: 80 fa 5f cmp $0x5f,%dl
80497b3: 74 c8 je 804977d <submitr+0x34d>
80497b5: 89 d0 mov %edx,%eax
80497b7: 83 e0 df and $0xffffffdf,%eax
80497ba: 83 e8 41 sub $0x41,%eax
80497bd: 3c 19 cmp $0x19,%al
80497bf: 76 bc jbe 804977d <submitr+0x34d>
80497c1:80 fa 20 cmp $0x20,%dl
80497c4:74 54 je 804981a <submitr+0x3ea>
80497c6:8d 42 e0 lea -0x20(%edx),%eax
80497c9:3c 5f cmp $0x5f,%al
80497cb:76 09 jbe 80497d6 <submitr+0x3a6>
80497cd:80 fa 09 cmp $0x9,%dl
80497d0: 0f 85 d1 03 00 00 jne 8049ba7 <submitr+0x777>
80497d6: 83 ec 0c sub $0xc,%esp
80497d9: 0f b6 d2 movzbl %dl,%edx
80497dc:52 push %edx
80497dd: 68 00 a4 04 08 push $0x804a400
80497e2: 6a 08 push $0x8
80497e4: 6a 01 push $0x1
80497e6: 8d 85 e4 df ff ff lea -0x201c(%ebp),%eax
80497ec:50 push %eax
80497ed: e8 ce f0 ff ff call 80488c0 <__sprintf_chk@plt>
80497f2: 0f b6 85 e4 df ff ff movzbl -0x201c(%ebp),%eax
80497f9: 88 06 mov %al,(%esi)
80497fb: 0f b6 85 e5 df ff ff movzbl -0x201b(%ebp),%eax
8049802: 88 46 01 mov %al,0x1(%esi)
8049805: 0f b6 85 e6 df ff ff movzbl -0x201a(%ebp),%eax
804980c:88 46 02 mov %al,0x2(%esi)
804980f: 83 c4 20 add $0x20,%esp
8049812: 8d 76 03 lea 0x3(%esi),%esi
8049815: e9 68 ff ff ff jmp 8049782 <submitr+0x352>
804981a: c6 06 2b movb $0x2b,(%esi)
804981d: 8d 76 01 lea 0x1(%esi),%esi
8049820: e9 5d ff ff ff jmp 8049782 <submitr+0x352>
8049825: 01 c6 add %eax,%esi
8049827: 29 c3 sub %eax,%ebx
8049829: 74 27 je 8049852 <submitr+0x422>
804982b: 83 ec 04 sub $0x4,%esp
804982e: 53 push %ebx
804982f: 56 push %esi
8049830: 57 push %edi
8049831: e8 ca ef ff ff call 8048800 <write@plt>
8049836: 83 c4 10 add $0x10,%esp
8049839: 85 c0 test %eax,%eax
804983b: 7f e8 jg 8049825 <submitr+0x3f5>
804983d: e8 ee ef ff ff call 8048830 <__errno_location@plt>
8049842: 83 38 04 cmpl $0x4,(%eax)
8049845: 0f 85 41 01 00 00 jne 804998c <submitr+0x55c>
804984b: b8 00 00 00 00 mov $0x0,%eax
8049850: eb d3 jmp 8049825 <submitr+0x3f5>
8049852: 8b bd b4 5f ff ff mov -0xa04c(%ebp),%edi
8049858: 85 ff test %edi,%edi
804985a: 0f 88 2c 01 00 00 js 804998c <submitr+0x55c>
8049860: 8b 85 b0 5f ff ff mov -0xa050(%ebp),%eax
8049866: 89 85 d8 5f ff ff mov %eax,-0xa028(%ebp)
804986c:c7 85 dc 5f ff ff 00 movl $0x0,-0xa024(%ebp)
8049873: 00 00 00
8049876: 8d 85 e4 5f ff ff lea -0xa01c(%ebp),%eax
804987c:89 85 e0 5f ff ff mov %eax,-0xa020(%ebp)
8049882: b9 00 20 00 00 mov $0x2000,%ecx
8049887: 8d 95 e4 7f ff ff lea -0x801c(%ebp),%edx
804988d: 8d 85 d8 5f ff ff lea -0xa028(%ebp),%eax
8049893: e8 da fa ff ff call 8049372 <rio_readlineb>
8049898: 85 c0 test %eax,%eax
804989a: 0f 8e 59 01 00 00 jle 80499f9 <submitr+0x5c9>
80498a0: 83 ec 0c sub $0xc,%esp
80498a3: 8d 85 e4 df ff ff lea -0x201c(%ebp),%eax
80498a9: 50 push %eax
80498aa:8d 85 c4 5f ff ff lea -0xa03c(%ebp),%eax
80498b0: 50 push %eax
80498b1: 8d 85 e4 bf ff ff lea -0x401c(%ebp),%eax
80498b7: 50 push %eax
80498b8: 68 07 a4 04 08 push $0x804a407
80498bd: 8d 85 e4 7f ff ff lea -0x801c(%ebp),%eax
80498c3:50 push %eax
80498c4:e8 47 ef ff ff call 8048810 <__isoc99_sscanf@plt>
80498c9:8b 85 c4 5f ff ff mov -0xa03c(%ebp),%eax
80498cf: 83 c4 20 add $0x20,%esp
80498d2: 3d c8 00 00 00 cmp $0xc8,%eax
80498d7: 0f 85 9d 01 00 00 jne 8049a7a <submitr+0x64a>
80498dd: 8d 9d e4 7f ff ff lea -0x801c(%ebp),%ebx
80498e3: bf 18 a4 04 08 mov $0x804a418,%edi
80498e8: b9 03 00 00 00 mov $0x3,%ecx
80498ed: 89 de mov %ebx,%esi
80498ef: f3 a6 repz cmpsb %es:(%edi),%ds:(%esi)
80498f1: 0f 97 c0 seta %al
80498f4: 1c 00 sbb $0x0,%al
80498f6: 84 c0 test %al,%al
80498f8: 0f 84 b3 01 00 00 je 8049ab1 <submitr+0x681>
80498fe: b9 00 20 00 00 mov $0x2000,%ecx
8049903: 89 da mov %ebx,%edx
8049905: 8d 85 d8 5f ff ff lea -0xa028(%ebp),%eax
804990b: e8 62 fa ff ff call 8049372 <rio_readlineb>
8049910: 85 c0 test %eax,%eax
8049912: 7f cf jg 80498e3 <submitr+0x4b3>
8049914: 8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
804991a: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
8049920: c7 40 04 72 3a 20 43 movl $0x43203a72,0x4(%eax)
8049927: c7 40 08 6c 69 65 6e movl $0x6e65696c,0x8(%eax)
804992e: c7 40 0c 74 20 75 6e movl $0x6e752074,0xc(%eax)
8049935: c7 40 10 61 62 6c 65 movl $0x656c6261,0x10(%eax)
804993c:c7 40 14 20 74 6f 20 movl $0x206f7420,0x14(%eax)
8049943: c7 40 18 72 65 61 64 movl $0x64616572,0x18(%eax)
804994a: c7 40 1c 20 68 65 61 movl $0x61656820,0x1c(%eax)
8049951: c7 40 20 64 65 72 73 movl $0x73726564,0x20(%eax)
8049958: c7 40 24 20 66 72 6f movl $0x6f726620,0x24(%eax)
804995f: c7 40 28 6d 20 73 65 movl $0x6573206d,0x28(%eax)
8049966: c7 40 2c 72 76 65 72 movl $0x72657672,0x2c(%eax)
804996d: c6 40 30 00 movb $0x0,0x30(%eax)
8049971: 83 ec 0c sub $0xc,%esp
8049974: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
804997a: e8 21 ef ff ff call 80488a0 <close@plt>
804997f: 83 c4 10 add $0x10,%esp
8049982: b8 ff ff ff ff mov $0xffffffff,%eax
8049987: e9 81 01 00 00 jmp 8049b0d <submitr+0x6dd>
804998c:8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
8049992: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
8049998: c7 40 04 72 3a 20 43 movl $0x43203a72,0x4(%eax)
804999f: c7 40 08 6c 69 65 6e movl $0x6e65696c,0x8(%eax)
80499a6: c7 40 0c 74 20 75 6e movl $0x6e752074,0xc(%eax)
80499ad: c7 40 10 61 62 6c 65 movl $0x656c6261,0x10(%eax)
80499b4: c7 40 14 20 74 6f 20 movl $0x206f7420,0x14(%eax)
80499bb: c7 40 18 77 72 69 74 movl $0x74697277,0x18(%eax)
80499c2:c7 40 1c 65 20 74 6f movl $0x6f742065,0x1c(%eax)
80499c9:c7 40 20 20 74 68 65 movl $0x65687420,0x20(%eax)
80499d0: c7 40 24 20 73 65 72 movl $0x72657320,0x24(%eax)
80499d7: c7 40 28 76 65 72 00 movl $0x726576,0x28(%eax)
80499de: 83 ec 0c sub $0xc,%esp
80499e1: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
80499e7: e8 b4 ee ff ff call 80488a0 <close@plt>
80499ec:83 c4 10 add $0x10,%esp
80499ef: b8 ff ff ff ff mov $0xffffffff,%eax
80499f4: e9 14 01 00 00 jmp 8049b0d <submitr+0x6dd>
80499f9: 8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
80499ff: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
8049a05: c7 40 04 72 3a 20 43 movl $0x43203a72,0x4(%eax)
8049a0c:c7 40 08 6c 69 65 6e movl $0x6e65696c,0x8(%eax)
8049a13: c7 40 0c 74 20 75 6e movl $0x6e752074,0xc(%eax)
8049a1a:c7 40 10 61 62 6c 65 movl $0x656c6261,0x10(%eax)
8049a21: c7 40 14 20 74 6f 20 movl $0x206f7420,0x14(%eax)
8049a28: c7 40 18 72 65 61 64 movl $0x64616572,0x18(%eax)
8049a2f: c7 40 1c 20 66 69 72 movl $0x72696620,0x1c(%eax)
8049a36: c7 40 20 73 74 20 68 movl $0x68207473,0x20(%eax)
8049a3d: c7 40 24 65 61 64 65 movl $0x65646165,0x24(%eax)
8049a44: c7 40 28 72 20 66 72 movl $0x72662072,0x28(%eax)
8049a4b: c7 40 2c 6f 6d 20 73 movl $0x73206d6f,0x2c(%eax)
8049a52: c7 40 30 65 72 76 65 movl $0x65767265,0x30(%eax)
8049a59: 66 c7 40 34 72 00 movw $0x72,0x34(%eax)
8049a5f: 83 ec 0c sub $0xc,%esp
8049a62: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049a68: e8 33 ee ff ff call 80488a0 <close@plt>
8049a6d: 83 c4 10 add $0x10,%esp
8049a70: b8 ff ff ff ff mov $0xffffffff,%eax
8049a75: e9 93 00 00 00 jmp 8049b0d <submitr+0x6dd>
8049a7a:83 ec 08 sub $0x8,%esp
8049a7d: 8d 95 e4 df ff ff lea -0x201c(%ebp),%edx
8049a83: 52 push %edx
8049a84: 50 push %eax
8049a85: 68 18 a3 04 08 push $0x804a318
8049a8a:6a ff push $0xffffffff
8049a8c:6a 01 push $0x1
8049a8e: ff b5 a0 5f ff ff pushl -0xa060(%ebp)
8049a94: e8 27 ee ff ff call 80488c0 <__sprintf_chk@plt>
8049a99: 83 c4 14 add $0x14,%esp
8049a9c:ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049aa2:e8 f9 ed ff ff call 80488a0 <close@plt>
8049aa7:83 c4 10 add $0x10,%esp
8049aaa:b8 ff ff ff ff mov $0xffffffff,%eax
8049aaf: eb 5c jmp 8049b0d <submitr+0x6dd>
8049ab1: b9 00 20 00 00 mov $0x2000,%ecx
8049ab6: 8d 95 e4 7f ff ff lea -0x801c(%ebp),%edx
8049abc:8d 85 d8 5f ff ff lea -0xa028(%ebp),%eax
8049ac2:e8 ab f8 ff ff call 8049372 <rio_readlineb>
8049ac7:85 c0 test %eax,%eax
8049ac9:7e 5a jle 8049b25 <submitr+0x6f5>
8049acb:83 ec 08 sub $0x8,%esp
8049ace:8d 85 e4 7f ff ff lea -0x801c(%ebp),%eax
8049ad4: 50 push %eax
8049ad5: 8b b5 a0 5f ff ff mov -0xa060(%ebp),%esi
8049adb: 56 push %esi
8049adc:e8 bf ec ff ff call 80487a0 <strcpy@plt>
8049ae1: 83 c4 04 add $0x4,%esp
8049ae4: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049aea:e8 b1 ed ff ff call 80488a0 <close@plt>
8049aef: bf 1b a4 04 08 mov $0x804a41b,%edi
8049af4: b9 03 00 00 00 mov $0x3,%ecx
8049af9: f3 a6 repz cmpsb %es:(%edi),%ds:(%esi)
8049afb: 0f 97 c0 seta %al
8049afe: 1c 00 sbb $0x0,%al
8049b00: 83 c4 10 add $0x10,%esp
8049b03: 84 c0 test %al,%al
8049b05: 0f 95 c0 setne %al
8049b08: 0f b6 c0 movzbl %al,%eax
8049b0b: f7 d8 neg %eax
8049b0d: 8b 7d e4 mov -0x1c(%ebp),%edi
8049b10: 65 33 3d 14 00 00 00 xor %gs:0x14,%edi
8049b17: 0f 85 3d 01 00 00 jne 8049c5a <submitr+0x82a>
8049b1d: 8d 65 f4 lea -0xc(%ebp),%esp
8049b20: 5b pop %ebx
8049b21: 5e pop %esi
8049b22: 5f pop %edi
8049b23: 5d pop %ebp
8049b24: c3 ret
8049b25: 8b 85 a0 5f ff ff mov -0xa060(%ebp),%eax
8049b2b: c7 00 45 72 72 6f movl $0x6f727245,(%eax)
8049b31: c7 40 04 72 3a 20 43 movl $0x43203a72,0x4(%eax)
8049b38: c7 40 08 6c 69 65 6e movl $0x6e65696c,0x8(%eax)
8049b3f: c7 40 0c 74 20 75 6e movl $0x6e752074,0xc(%eax)
8049b46: c7 40 10 61 62 6c 65 movl $0x656c6261,0x10(%eax)
8049b4d: c7 40 14 20 74 6f 20 movl $0x206f7420,0x14(%eax)
8049b54: c7 40 18 72 65 61 64 movl $0x64616572,0x18(%eax)
8049b5b: c7 40 1c 20 73 74 61 movl $0x61747320,0x1c(%eax)
8049b62: c7 40 20 74 75 73 20 movl $0x20737574,0x20(%eax)
8049b69: c7 40 24 6d 65 73 73 movl $0x7373656d,0x24(%eax)
8049b70: c7 40 28 61 67 65 20 movl $0x20656761,0x28(%eax)
8049b77: c7 40 2c 66 72 6f 6d movl $0x6d6f7266,0x2c(%eax)
8049b7e: c7 40 30 20 73 65 72 movl $0x72657320,0x30(%eax)
8049b85: c7 40 34 76 65 72 00 movl $0x726576,0x34(%eax)
8049b8c:83 ec 0c sub $0xc,%esp
8049b8f: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049b95: e8 06 ed ff ff call 80488a0 <close@plt>
8049b9a: 83 c4 10 add $0x10,%esp
8049b9d: b8 ff ff ff ff mov $0xffffffff,%eax
8049ba2: e9 66 ff ff ff jmp 8049b0d <submitr+0x6dd>
8049ba7: a1 48 a3 04 08 mov 0x804a348,%eax
8049bac:8b bd a0 5f ff ff mov -0xa060(%ebp),%edi
8049bb2: 89 07 mov %eax,(%edi)
8049bb4: a1 87 a3 04 08 mov 0x804a387,%eax
8049bb9: 89 47 3f mov %eax,0x3f(%edi)
8049bbc:89 f8 mov %edi,%eax
8049bbe: 8d 7f 04 lea 0x4(%edi),%edi
8049bc1:83 e7 fc and $0xfffffffc,%edi
8049bc4:29 f8 sub %edi,%eax
8049bc6:be 48 a3 04 08 mov $0x804a348,%esi
8049bcb:29 c6 sub %eax,%esi
8049bcd:83 c0 43 add $0x43,%eax
8049bd0: c1 e8 02 shr $0x2,%eax
8049bd3: 89 c1 mov %eax,%ecx
8049bd5: f3 a5 rep movsl %ds:(%esi),%es:(%edi)
8049bd7: 83 ec 0c sub $0xc,%esp
8049bda: ff b5 b0 5f ff ff pushl -0xa050(%ebp)
8049be0: e8 bb ec ff ff call 80488a0 <close@plt>
8049be5: 83 c4 10 add $0x10,%esp
8049be8: b8 ff ff ff ff mov $0xffffffff,%eax
8049bed: e9 1b ff ff ff jmp 8049b0d <submitr+0x6dd>
8049bf2: 8d 85 e4 9f ff ff lea -0x601c(%ebp),%eax
8049bf8: 50 push %eax
8049bf9: ff b5 a4 5f ff ff pushl -0xa05c(%ebp)
8049bff: ff b5 a8 5f ff ff pushl -0xa058(%ebp)
8049c05:ff b5 ac 5f ff ff pushl -0xa054(%ebp)
8049c0b:68 8c a3 04 08 push $0x804a38c
8049c10:68 00 20 00 00 push $0x2000
8049c15:6a 01 push $0x1
8049c17:8d bd e4 7f ff ff lea -0x801c(%ebp),%edi
8049c1d:57 push %edi
8049c1e:e8 9d ec ff ff call 80488c0 <__sprintf_chk@plt>
8049c23:b9 ff ff ff ff mov $0xffffffff,%ecx
8049c28:b8 00 00 00 00 mov $0x0,%eax
8049c2d:f2 ae repnz scas %es:(%edi),%al
8049c2f: 89 cb mov %ecx,%ebx
8049c31:f7 d3 not %ebx
8049c33:8d 7b ff lea -0x1(%ebx),%edi
8049c36:83 c4 20 add $0x20,%esp
8049c39:89 fb mov %edi,%ebx
8049c3b:8d b5 e4 7f ff ff lea -0x801c(%ebp),%esi
8049c41:85 ff test %edi,%edi
8049c43:0f 84 17 fc ff ff je 8049860 <submitr+0x430>
8049c49:89 bd b4 5f ff ff mov %edi,-0xa04c(%ebp)
8049c4f: 8b bd b0 5f ff ff mov -0xa050(%ebp),%edi
8049c55:e9 d1 fb ff ff jmp 804982b <submitr+0x3fb>
8049c5a:e8 31 eb ff ff call 8048790 <__stack_chk_fail@plt>

08049c5f <init_timeout>:
8049c5f: 55 push %ebp
8049c60:89 e5 mov %esp,%ebp
8049c62:53 push %ebx
8049c63:83 ec 04 sub $0x4,%esp
8049c66:8b 5d 08 mov 0x8(%ebp),%ebx
8049c69:85 db test %ebx,%ebx
8049c6b:74 24 je 8049c91 <init_timeout+0x32>
8049c6d:83 ec 08 sub $0x8,%esp
8049c70:68 4c 93 04 08 push $0x804934c
8049c75:6a 0e push $0xe
8049c77:e8 e4 ea ff ff call 8048760 <signal@plt>
8049c7c: 85 db test %ebx,%ebx
8049c7e:b8 00 00 00 00 mov $0x0,%eax
8049c83:0f 48 d8 cmovs %eax,%ebx
8049c86:89 1c 24 mov %ebx,(%esp)
8049c89:e8 f2 ea ff ff call 8048780 <alarm@plt>
8049c8e:83 c4 10 add $0x10,%esp
8049c91:8b 5d fc mov -0x4(%ebp),%ebx
8049c94:c9 leave
8049c95:c3 ret

08049c96 <init_driver>:
8049c96:55 push %ebp
8049c97:89 e5 mov %esp,%ebp
8049c99:57 push %edi
8049c9a:56 push %esi
8049c9b:53 push %ebx
8049c9c: 83 ec 34 sub $0x34,%esp
8049c9f: 8b 75 08 mov 0x8(%ebp),%esi
8049ca2:65 a1 14 00 00 00 mov %gs:0x14,%eax
8049ca8:89 45 e4 mov %eax,-0x1c(%ebp)
8049cab:31 c0 xor %eax,%eax
8049cad:6a 01 push $0x1
8049caf: 6a 0d push $0xd
8049cb1:e8 aa ea ff ff call 8048760 <signal@plt>
8049cb6:83 c4 08 add $0x8,%esp
8049cb9:6a 01 push $0x1
8049cbb:6a 1d push $0x1d
8049cbd:e8 9e ea ff ff call 8048760 <signal@plt>
8049cc2: 83 c4 08 add $0x8,%esp
8049cc5: 6a 01 push $0x1
8049cc7: 6a 1d push $0x1d
8049cc9: e8 92 ea ff ff call 8048760 <signal@plt>
8049cce: 83 c4 0c add $0xc,%esp
8049cd1:6a 00 push $0x0
8049cd3:6a 01 push $0x1
8049cd5:6a 02 push $0x2
8049cd7:e8 74 eb ff ff call 8048850 <socket@plt>
8049cdc: 83 c4 10 add $0x10,%esp
8049cdf: 85 c0 test %eax,%eax
8049ce1:0f 88 a0 00 00 00 js 8049d87 <init_driver+0xf1>
8049ce7:89 c3 mov %eax,%ebx
8049ce9:83 ec 0c sub $0xc,%esp
8049cec: 68 1e a4 04 08 push $0x804a41e
8049cf1: e8 7a eb ff ff call 8048870 <gethostbyname@plt>
8049cf6: 83 c4 10 add $0x10,%esp
8049cf9: 85 c0 test %eax,%eax
8049cfb: 0f 84 d1 00 00 00 je 8049dd2 <init_driver+0x13c>
8049d01: 8d 7d d4 lea -0x2c(%ebp),%edi
8049d04: c7 45 d6 00 00 00 00 movl $0x0,-0x2a(%ebp)
8049d0b: c7 45 da 00 00 00 00 movl $0x0,-0x26(%ebp)
8049d12: c7 45 de 00 00 00 00 movl $0x0,-0x22(%ebp)
8049d19: 66 c7 45 e2 00 00 movw $0x0,-0x1e(%ebp)
8049d1f: 66 c7 45 d4 02 00 movw $0x2,-0x2c(%ebp)
8049d25: 6a 0c push $0xc
8049d27: ff 70 0c pushl 0xc(%eax)
8049d2a: 8b 40 10 mov 0x10(%eax),%eax
8049d2d: ff 30 pushl (%eax)
8049d2f: 8d 45 d8 lea -0x28(%ebp),%eax
8049d32: 50 push %eax
8049d33: e8 98 ea ff ff call 80487d0 <__memmove_chk@plt>
8049d38: 66 c7 45 d6 3b 6e movw $0x6e3b,-0x2a(%ebp)
8049d3e: 83 c4 0c add $0xc,%esp
8049d41: 6a 10 push $0x10
8049d43: 57 push %edi
8049d44: 53 push %ebx
8049d45: e8 46 eb ff ff call 8048890 <connect@plt>
8049d4a: 83 c4 10 add $0x10,%esp
8049d4d: 85 c0 test %eax,%eax
8049d4f: 0f 88 e9 00 00 00 js 8049e3e <init_driver+0x1a8>
8049d55: 83 ec 0c sub $0xc,%esp
8049d58: 53 push %ebx
8049d59: e8 42 eb ff ff call 80488a0 <close@plt>
8049d5e: 66 c7 06 4f 4b movw $0x4b4f,(%esi)
8049d63: c6 46 02 00 movb $0x0,0x2(%esi)
8049d67: 83 c4 10 add $0x10,%esp
8049d6a: b8 00 00 00 00 mov $0x0,%eax
8049d6f: 8b 55 e4 mov -0x1c(%ebp),%edx
8049d72: 65 33 15 14 00 00 00 xor %gs:0x14,%edx
8049d79: 0f 85 ec 00 00 00 jne 8049e6b <init_driver+0x1d5>
8049d7f: 8d 65 f4 lea -0xc(%ebp),%esp
8049d82: 5b pop %ebx
8049d83: 5e pop %esi
8049d84: 5f pop %edi
8049d85: 5d pop %ebp
8049d86: c3 ret
8049d87: c7 06 45 72 72 6f movl $0x6f727245,(%esi)
8049d8d: c7 46 04 72 3a 20 43 movl $0x43203a72,0x4(%esi)
8049d94: c7 46 08 6c 69 65 6e movl $0x6e65696c,0x8(%esi)
8049d9b: c7 46 0c 74 20 75 6e movl $0x6e752074,0xc(%esi)
8049da2: c7 46 10 61 62 6c 65 movl $0x656c6261,0x10(%esi)
8049da9: c7 46 14 20 74 6f 20 movl $0x206f7420,0x14(%esi)
8049db0: c7 46 18 63 72 65 61 movl $0x61657263,0x18(%esi)
8049db7: c7 46 1c 74 65 20 73 movl $0x73206574,0x1c(%esi)
8049dbe: c7 46 20 6f 63 6b 65 movl $0x656b636f,0x20(%esi)
8049dc5:66 c7 46 24 74 00 movw $0x74,0x24(%esi)
8049dcb:b8 ff ff ff ff mov $0xffffffff,%eax
8049dd0: eb 9d jmp 8049d6f <init_driver+0xd9>
8049dd2: c7 06 45 72 72 6f movl $0x6f727245,(%esi)
8049dd8: c7 46 04 72 3a 20 44 movl $0x44203a72,0x4(%esi)
8049ddf: c7 46 08 4e 53 20 69 movl $0x6920534e,0x8(%esi)
8049de6: c7 46 0c 73 20 75 6e movl $0x6e752073,0xc(%esi)
8049ded: c7 46 10 61 62 6c 65 movl $0x656c6261,0x10(%esi)
8049df4: c7 46 14 20 74 6f 20 movl $0x206f7420,0x14(%esi)
8049dfb: c7 46 18 72 65 73 6f movl $0x6f736572,0x18(%esi)
8049e02: c7 46 1c 6c 76 65 20 movl $0x2065766c,0x1c(%esi)
8049e09: c7 46 20 73 65 72 76 movl $0x76726573,0x20(%esi)
8049e10: c7 46 24 65 72 20 61 movl $0x61207265,0x24(%esi)
8049e17: c7 46 28 64 64 72 65 movl $0x65726464,0x28(%esi)
8049e1e: 66 c7 46 2c 73 73 movw $0x7373,0x2c(%esi)
8049e24: c6 46 2e 00 movb $0x0,0x2e(%esi)
8049e28: 83 ec 0c sub $0xc,%esp
8049e2b: 53 push %ebx
8049e2c:e8 6f ea ff ff call 80488a0 <close@plt>
8049e31: 83 c4 10 add $0x10,%esp
8049e34: b8 ff ff ff ff mov $0xffffffff,%eax
8049e39: e9 31 ff ff ff jmp 8049d6f <init_driver+0xd9>
8049e3e: 83 ec 0c sub $0xc,%esp
8049e41: 68 1e a4 04 08 push $0x804a41e
8049e46: 68 d8 a3 04 08 push $0x804a3d8
8049e4b: 6a ff push $0xffffffff
8049e4d: 6a 01 push $0x1
8049e4f: 56 push %esi
8049e50: e8 6b ea ff ff call 80488c0 <__sprintf_chk@plt>
8049e55: 83 c4 14 add $0x14,%esp
8049e58: 53 push %ebx
8049e59: e8 42 ea ff ff call 80488a0 <close@plt>
8049e5e: 83 c4 10 add $0x10,%esp
8049e61: b8 ff ff ff ff mov $0xffffffff,%eax
8049e66: e9 04 ff ff ff jmp 8049d6f <init_driver+0xd9>
8049e6b: e8 20 e9 ff ff call 8048790 <__stack_chk_fail@plt>

08049e70 <driver_post>:
8049e70: 55 push %ebp
8049e71: 89 e5 mov %esp,%ebp
8049e73: 53 push %ebx
8049e74: 83 ec 04 sub $0x4,%esp
8049e77: 8b 55 08 mov 0x8(%ebp),%edx
8049e7a: 8b 45 10 mov 0x10(%ebp),%eax
8049e7d: 8b 5d 14 mov 0x14(%ebp),%ebx
8049e80: 85 c0 test %eax,%eax
8049e82: 75 17 jne 8049e9b <driver_post+0x2b>
8049e84: 85 d2 test %edx,%edx
8049e86: 74 05 je 8049e8d <driver_post+0x1d>
8049e88: 80 3a 00 cmpb $0x0,(%edx)
8049e8b: 75 33 jne 8049ec0 <driver_post+0x50>
8049e8d: 66 c7 03 4f 4b movw $0x4b4f,(%ebx)
8049e92: c6 43 02 00 movb $0x0,0x2(%ebx)
8049e96: 8b 5d fc mov -0x4(%ebp),%ebx
8049e99: c9 leave
8049e9a: c3 ret
8049e9b: 83 ec 04 sub $0x4,%esp
8049e9e: ff 75 0c pushl 0xc(%ebp)
8049ea1: 68 2c a4 04 08 push $0x804a42c
8049ea6: 6a 01 push $0x1
8049ea8: e8 93 e9 ff ff call 8048840 <__printf_chk@plt>
8049ead: 66 c7 03 4f 4b movw $0x4b4f,(%ebx)
8049eb2: c6 43 02 00 movb $0x0,0x2(%ebx)
8049eb6: 83 c4 10 add $0x10,%esp
8049eb9: b8 00 00 00 00 mov $0x0,%eax
8049ebe: eb d6 jmp 8049e96 <driver_post+0x26>
8049ec0:83 ec 04 sub $0x4,%esp
8049ec3:53 push %ebx
8049ec4:ff 75 0c pushl 0xc(%ebp)
8049ec7:68 43 a4 04 08 push $0x804a443
8049ecc: 52 push %edx
8049ecd:68 52 a4 04 08 push $0x804a452
8049ed2: 68 6e 3b 00 00 push $0x3b6e
8049ed7: 68 1e a4 04 08 push $0x804a41e
8049edc:e8 4f f5 ff ff call 8049430 <submitr>
8049ee1: 83 c4 20 add $0x20,%esp
8049ee4: eb b0 jmp 8049e96 <driver_post+0x26>
8049ee6: 66 90 xchg %ax,%ax
8049ee8: 66 90 xchg %ax,%ax
8049eea:66 90 xchg %ax,%ax
8049eec:66 90 xchg %ax,%ax
8049eee: 66 90 xchg %ax,%ax

08049ef0 <__libc_csu_init>:
8049ef0: 55 push %ebp
8049ef1: 57 push %edi
8049ef2: 56 push %esi
8049ef3: 53 push %ebx
8049ef4: e8 37 ea ff ff call 8048930 <__x86.get_pc_thunk.bx>
8049ef9: 81 c3 07 21 00 00 add $0x2107,%ebx
8049eff: 83 ec 0c sub $0xc,%esp
8049f02: 8b 6c 24 28 mov 0x28(%esp),%ebp
8049f06: 8d b3 10 ff ff ff lea -0xf0(%ebx),%esi
8049f0c: e8 e3 e7 ff ff call 80486f4 <_init>
8049f11: 8d 83 0c ff ff ff lea -0xf4(%ebx),%eax
8049f17: 29 c6 sub %eax,%esi
8049f19: c1 fe 02 sar $0x2,%esi
8049f1c: 85 f6 test %esi,%esi
8049f1e: 74 25 je 8049f45 <__libc_csu_init+0x55>
8049f20: 31 ff xor %edi,%edi
8049f22: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
8049f28: 83 ec 04 sub $0x4,%esp
8049f2b: 55 push %ebp
8049f2c: ff 74 24 2c pushl 0x2c(%esp)
8049f30: ff 74 24 2c pushl 0x2c(%esp)
8049f34: ff 94 bb 0c ff ff ff call *-0xf4(%ebx,%edi,4)
8049f3b: 83 c7 01 add $0x1,%edi
8049f3e: 83 c4 10 add $0x10,%esp
8049f41: 39 fe cmp %edi,%esi
8049f43: 75 e3 jne 8049f28 <__libc_csu_init+0x38>
8049f45: 83 c4 0c add $0xc,%esp
8049f48: 5b pop %ebx
8049f49: 5e pop %esi
8049f4a: 5f pop %edi
8049f4b: 5d pop %ebp
8049f4c: c3 ret
8049f4d: 8d 76 00 lea 0x0(%esi),%esi

08049f50 <__libc_csu_fini>:
8049f50: f3 c3 repz ret

Disassembly of section .fini:

08049f54 <_fini>:
8049f54: 53 push %ebx
8049f55: 83 ec 08 sub $0x8,%esp
8049f58: e8 d3 e9 ff ff call 8048930 <__x86.get_pc_thunk.bx>
8049f5d: 81 c3 a3 20 00 00 add $0x20a3,%ebx
8049f63: 83 c4 08 add $0x8,%esp
8049f66: 5b pop %ebx
8049f67: c3 ret

You might also like