Subversion Repositories Code-Repo

Rev

Blame | Last modification | View Log | RSS feed


bufbomb:     file format elf32-i386


Disassembly of section .init:

08048740 <_init>:
 8048740:       55                      push   %ebp
 8048741:       89 e5                   mov    %esp,%ebp
 8048743:       53                      push   %ebx
 8048744:       83 ec 04                sub    $0x4,%esp
 8048747:       e8 00 00 00 00          call   804874c <_init+0xc>
 804874c:       5b                      pop    %ebx
 804874d:       81 c3 94 29 00 00       add    $0x2994,%ebx
 8048753:       8b 93 fc ff ff ff       mov    -0x4(%ebx),%edx
 8048759:       85 d2                   test   %edx,%edx
 804875b:       74 05                   je     8048762 <_init+0x22>
 804875d:       e8 8e 00 00 00          call   80487f0 <__gmon_start__@plt>
 8048762:       e8 c9 02 00 00          call   8048a30 <frame_dummy>
 8048767:       e8 f4 16 00 00          call   8049e60 <__do_global_ctors_aux>
 804876c:       58                      pop    %eax
 804876d:       5b                      pop    %ebx
 804876e:       c9                      leave  
 804876f:       c3                      ret    

Disassembly of section .plt:

08048770 <__errno_location@plt-0x10>:
 8048770:       ff 35 e4 b0 04 08       pushl  0x804b0e4
 8048776:       ff 25 e8 b0 04 08       jmp    *0x804b0e8
 804877c:       00 00                   add    %al,(%eax)
        ...

08048780 <__errno_location@plt>:
 8048780:       ff 25 ec b0 04 08       jmp    *0x804b0ec
 8048786:       68 00 00 00 00          push   $0x0
 804878b:       e9 e0 ff ff ff          jmp    8048770 <_init+0x30>

08048790 <sprintf@plt>:
 8048790:       ff 25 f0 b0 04 08       jmp    *0x804b0f0
 8048796:       68 08 00 00 00          push   $0x8
 804879b:       e9 d0 ff ff ff          jmp    8048770 <_init+0x30>

080487a0 <srand@plt>:
 80487a0:       ff 25 f4 b0 04 08       jmp    *0x804b0f4
 80487a6:       68 10 00 00 00          push   $0x10
 80487ab:       e9 c0 ff ff ff          jmp    8048770 <_init+0x30>

080487b0 <connect@plt>:
 80487b0:       ff 25 f8 b0 04 08       jmp    *0x804b0f8
 80487b6:       68 18 00 00 00          push   $0x18
 80487bb:       e9 b0 ff ff ff          jmp    8048770 <_init+0x30>

080487c0 <mmap@plt>:
 80487c0:       ff 25 fc b0 04 08       jmp    *0x804b0fc
 80487c6:       68 20 00 00 00          push   $0x20
 80487cb:       e9 a0 ff ff ff          jmp    8048770 <_init+0x30>

080487d0 <random@plt>:
 80487d0:       ff 25 00 b1 04 08       jmp    *0x804b100
 80487d6:       68 28 00 00 00          push   $0x28
 80487db:       e9 90 ff ff ff          jmp    8048770 <_init+0x30>

080487e0 <signal@plt>:
 80487e0:       ff 25 04 b1 04 08       jmp    *0x804b104
 80487e6:       68 30 00 00 00          push   $0x30
 80487eb:       e9 80 ff ff ff          jmp    8048770 <_init+0x30>

080487f0 <__gmon_start__@plt>:
 80487f0:       ff 25 08 b1 04 08       jmp    *0x804b108
 80487f6:       68 38 00 00 00          push   $0x38
 80487fb:       e9 70 ff ff ff          jmp    8048770 <_init+0x30>

08048800 <__isoc99_sscanf@plt>:
 8048800:       ff 25 0c b1 04 08       jmp    *0x804b10c
 8048806:       68 40 00 00 00          push   $0x40
 804880b:       e9 60 ff ff ff          jmp    8048770 <_init+0x30>

08048810 <calloc@plt>:
 8048810:       ff 25 10 b1 04 08       jmp    *0x804b110
 8048816:       68 48 00 00 00          push   $0x48
 804881b:       e9 50 ff ff ff          jmp    8048770 <_init+0x30>

08048820 <write@plt>:
 8048820:       ff 25 14 b1 04 08       jmp    *0x804b114
 8048826:       68 50 00 00 00          push   $0x50
 804882b:       e9 40 ff ff ff          jmp    8048770 <_init+0x30>

08048830 <memset@plt>:
 8048830:       ff 25 18 b1 04 08       jmp    *0x804b118
 8048836:       68 58 00 00 00          push   $0x58
 804883b:       e9 30 ff ff ff          jmp    8048770 <_init+0x30>

08048840 <__libc_start_main@plt>:
 8048840:       ff 25 1c b1 04 08       jmp    *0x804b11c
 8048846:       68 60 00 00 00          push   $0x60
 804884b:       e9 20 ff ff ff          jmp    8048770 <_init+0x30>

08048850 <_IO_getc@plt>:
 8048850:       ff 25 20 b1 04 08       jmp    *0x804b120
 8048856:       68 68 00 00 00          push   $0x68
 804885b:       e9 10 ff ff ff          jmp    8048770 <_init+0x30>

08048860 <read@plt>:
 8048860:       ff 25 24 b1 04 08       jmp    *0x804b124
 8048866:       68 70 00 00 00          push   $0x70
 804886b:       e9 00 ff ff ff          jmp    8048770 <_init+0x30>

08048870 <socket@plt>:
 8048870:       ff 25 28 b1 04 08       jmp    *0x804b128
 8048876:       68 78 00 00 00          push   $0x78
 804887b:       e9 f0 fe ff ff          jmp    8048770 <_init+0x30>

08048880 <bcopy@plt>:
 8048880:       ff 25 2c b1 04 08       jmp    *0x804b12c
 8048886:       68 80 00 00 00          push   $0x80
 804888b:       e9 e0 fe ff ff          jmp    8048770 <_init+0x30>

08048890 <getopt@plt>:
 8048890:       ff 25 30 b1 04 08       jmp    *0x804b130
 8048896:       68 88 00 00 00          push   $0x88
 804889b:       e9 d0 fe ff ff          jmp    8048770 <_init+0x30>

080488a0 <memcpy@plt>:
 80488a0:       ff 25 34 b1 04 08       jmp    *0x804b134
 80488a6:       68 90 00 00 00          push   $0x90
 80488ab:       e9 c0 fe ff ff          jmp    8048770 <_init+0x30>

080488b0 <alarm@plt>:
 80488b0:       ff 25 38 b1 04 08       jmp    *0x804b138
 80488b6:       68 98 00 00 00          push   $0x98
 80488bb:       e9 b0 fe ff ff          jmp    8048770 <_init+0x30>

080488c0 <strcpy@plt>:
 80488c0:       ff 25 3c b1 04 08       jmp    *0x804b13c
 80488c6:       68 a0 00 00 00          push   $0xa0
 80488cb:       e9 a0 fe ff ff          jmp    8048770 <_init+0x30>

080488d0 <printf@plt>:
 80488d0:       ff 25 40 b1 04 08       jmp    *0x804b140
 80488d6:       68 a8 00 00 00          push   $0xa8
 80488db:       e9 90 fe ff ff          jmp    8048770 <_init+0x30>

080488e0 <strcasecmp@plt>:
 80488e0:       ff 25 44 b1 04 08       jmp    *0x804b144
 80488e6:       68 b0 00 00 00          push   $0xb0
 80488eb:       e9 80 fe ff ff          jmp    8048770 <_init+0x30>

080488f0 <srandom@plt>:
 80488f0:       ff 25 48 b1 04 08       jmp    *0x804b148
 80488f6:       68 b8 00 00 00          push   $0xb8
 80488fb:       e9 70 fe ff ff          jmp    8048770 <_init+0x30>

08048900 <close@plt>:
 8048900:       ff 25 4c b1 04 08       jmp    *0x804b14c
 8048906:       68 c0 00 00 00          push   $0xc0
 804890b:       e9 60 fe ff ff          jmp    8048770 <_init+0x30>

08048910 <fwrite@plt>:
 8048910:       ff 25 50 b1 04 08       jmp    *0x804b150
 8048916:       68 c8 00 00 00          push   $0xc8
 804891b:       e9 50 fe ff ff          jmp    8048770 <_init+0x30>

08048920 <fprintf@plt>:
 8048920:       ff 25 54 b1 04 08       jmp    *0x804b154
 8048926:       68 d0 00 00 00          push   $0xd0
 804892b:       e9 40 fe ff ff          jmp    8048770 <_init+0x30>

08048930 <gethostname@plt>:
 8048930:       ff 25 58 b1 04 08       jmp    *0x804b158
 8048936:       68 d8 00 00 00          push   $0xd8
 804893b:       e9 30 fe ff ff          jmp    8048770 <_init+0x30>

08048940 <puts@plt>:
 8048940:       ff 25 5c b1 04 08       jmp    *0x804b15c
 8048946:       68 e0 00 00 00          push   $0xe0
 804894b:       e9 20 fe ff ff          jmp    8048770 <_init+0x30>

08048950 <rand@plt>:
 8048950:       ff 25 60 b1 04 08       jmp    *0x804b160
 8048956:       68 e8 00 00 00          push   $0xe8
 804895b:       e9 10 fe ff ff          jmp    8048770 <_init+0x30>

08048960 <munmap@plt>:
 8048960:       ff 25 64 b1 04 08       jmp    *0x804b164
 8048966:       68 f0 00 00 00          push   $0xf0
 804896b:       e9 00 fe ff ff          jmp    8048770 <_init+0x30>

08048970 <gethostbyname@plt>:
 8048970:       ff 25 68 b1 04 08       jmp    *0x804b168
 8048976:       68 f8 00 00 00          push   $0xf8
 804897b:       e9 f0 fd ff ff          jmp    8048770 <_init+0x30>

08048980 <__strdup@plt>:
 8048980:       ff 25 6c b1 04 08       jmp    *0x804b16c
 8048986:       68 00 01 00 00          push   $0x100
 804898b:       e9 e0 fd ff ff          jmp    8048770 <_init+0x30>

08048990 <exit@plt>:
 8048990:       ff 25 70 b1 04 08       jmp    *0x804b170
 8048996:       68 08 01 00 00          push   $0x108
 804899b:       e9 d0 fd ff ff          jmp    8048770 <_init+0x30>

Disassembly of section .text:

080489a0 <_start>:
 80489a0:       31 ed                   xor    %ebp,%ebp
 80489a2:       5e                      pop    %esi
 80489a3:       89 e1                   mov    %esp,%ecx
 80489a5:       83 e4 f0                and    $0xfffffff0,%esp
 80489a8:       50                      push   %eax
 80489a9:       54                      push   %esp
 80489aa:       52                      push   %edx
 80489ab:       68 f0 9d 04 08          push   $0x8049df0
 80489b0:       68 00 9e 04 08          push   $0x8049e00
 80489b5:       51                      push   %ecx
 80489b6:       56                      push   %esi
 80489b7:       68 08 8e 04 08          push   $0x8048e08
 80489bc:       e8 7f fe ff ff          call   8048840 <__libc_start_main@plt>
 80489c1:       f4                      hlt    
 80489c2:       90                      nop
 80489c3:       90                      nop
 80489c4:       90                      nop
 80489c5:       90                      nop
 80489c6:       90                      nop
 80489c7:       90                      nop
 80489c8:       90                      nop
 80489c9:       90                      nop
 80489ca:       90                      nop
 80489cb:       90                      nop
 80489cc:       90                      nop
 80489cd:       90                      nop
 80489ce:       90                      nop
 80489cf:       90                      nop

080489d0 <__do_global_dtors_aux>:
 80489d0:       55                      push   %ebp
 80489d1:       89 e5                   mov    %esp,%ebp
 80489d3:       53                      push   %ebx
 80489d4:       83 ec 04                sub    $0x4,%esp
 80489d7:       80 3d cc c1 04 08 00    cmpb   $0x0,0x804c1cc
 80489de:       75 3f                   jne    8048a1f <__do_global_dtors_aux+0x4f>
 80489e0:       a1 d0 c1 04 08          mov    0x804c1d0,%eax
 80489e5:       bb 0c b0 04 08          mov    $0x804b00c,%ebx
 80489ea:       81 eb 08 b0 04 08       sub    $0x804b008,%ebx
 80489f0:       c1 fb 02                sar    $0x2,%ebx
 80489f3:       83 eb 01                sub    $0x1,%ebx
 80489f6:       39 d8                   cmp    %ebx,%eax
 80489f8:       73 1e                   jae    8048a18 <__do_global_dtors_aux+0x48>
 80489fa:       8d b6 00 00 00 00       lea    0x0(%esi),%esi
 8048a00:       83 c0 01                add    $0x1,%eax
 8048a03:       a3 d0 c1 04 08          mov    %eax,0x804c1d0
 8048a08:       ff 14 85 08 b0 04 08    call   *0x804b008(,%eax,4)
 8048a0f:       a1 d0 c1 04 08          mov    0x804c1d0,%eax
 8048a14:       39 d8                   cmp    %ebx,%eax
 8048a16:       72 e8                   jb     8048a00 <__do_global_dtors_aux+0x30>
 8048a18:       c6 05 cc c1 04 08 01    movb   $0x1,0x804c1cc
 8048a1f:       83 c4 04                add    $0x4,%esp
 8048a22:       5b                      pop    %ebx
 8048a23:       5d                      pop    %ebp
 8048a24:       c3                      ret    
 8048a25:       8d 74 26 00             lea    0x0(%esi,%eiz,1),%esi
 8048a29:       8d bc 27 00 00 00 00    lea    0x0(%edi,%eiz,1),%edi

08048a30 <frame_dummy>:
 8048a30:       55                      push   %ebp
 8048a31:       89 e5                   mov    %esp,%ebp
 8048a33:       83 ec 18                sub    $0x18,%esp
 8048a36:       a1 10 b0 04 08          mov    0x804b010,%eax
 8048a3b:       85 c0                   test   %eax,%eax
 8048a3d:       74 12                   je     8048a51 <frame_dummy+0x21>
 8048a3f:       b8 00 00 00 00          mov    $0x0,%eax
 8048a44:       85 c0                   test   %eax,%eax
 8048a46:       74 09                   je     8048a51 <frame_dummy+0x21>
 8048a48:       c7 04 24 10 b0 04 08    movl   $0x804b010,(%esp)
 8048a4f:       ff d0                   call   *%eax
 8048a51:       c9                      leave  
 8048a52:       c3                      ret    
 8048a53:       90                      nop
 8048a54:       90                      nop
 8048a55:       90                      nop
 8048a56:       90                      nop
 8048a57:       90                      nop
 8048a58:       90                      nop
 8048a59:       90                      nop
 8048a5a:       90                      nop
 8048a5b:       90                      nop
 8048a5c:       90                      nop
 8048a5d:       90                      nop
 8048a5e:       90                      nop
 8048a5f:       90                      nop

08048a60 <usage>:
 8048a60:       55                      push   %ebp
 8048a61:       89 e5                   mov    %esp,%ebp
 8048a63:       83 ec 18                sub    $0x18,%esp
 8048a66:       89 44 24 04             mov    %eax,0x4(%esp)
 8048a6a:       c7 04 24 b4 9e 04 08    movl   $0x8049eb4,(%esp)
 8048a71:       e8 5a fe ff ff          call   80488d0 <printf@plt>
 8048a76:       c7 04 24 d2 9e 04 08    movl   $0x8049ed2,(%esp)
 8048a7d:       e8 be fe ff ff          call   8048940 <puts@plt>
 8048a82:       c7 04 24 e8 9e 04 08    movl   $0x8049ee8,(%esp)
 8048a89:       e8 b2 fe ff ff          call   8048940 <puts@plt>
 8048a8e:       c7 04 24 f0 9f 04 08    movl   $0x8049ff0,(%esp)
 8048a95:       e8 a6 fe ff ff          call   8048940 <puts@plt>
 8048a9a:       c7 04 24 2c a0 04 08    movl   $0x804a02c,(%esp)
 8048aa1:       e8 9a fe ff ff          call   8048940 <puts@plt>
 8048aa6:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 8048aad:       e8 de fe ff ff          call   8048990 <exit@plt>

08048ab2 <illegalhandler>:
 8048ab2:       55                      push   %ebp
 8048ab3:       89 e5                   mov    %esp,%ebp
 8048ab5:       83 ec 18                sub    $0x18,%esp
 8048ab8:       c7 04 24 54 a0 04 08    movl   $0x804a054,(%esp)
 8048abf:       e8 7c fe ff ff          call   8048940 <puts@plt>
 8048ac4:       c7 04 24 01 9f 04 08    movl   $0x8049f01,(%esp)
 8048acb:       e8 70 fe ff ff          call   8048940 <puts@plt>
 8048ad0:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 8048ad7:       e8 b4 fe ff ff          call   8048990 <exit@plt>

08048adc <seghandler>:
 8048adc:       55                      push   %ebp
 8048add:       89 e5                   mov    %esp,%ebp
 8048adf:       83 ec 18                sub    $0x18,%esp
 8048ae2:       c7 04 24 80 a0 04 08    movl   $0x804a080,(%esp)
 8048ae9:       e8 52 fe ff ff          call   8048940 <puts@plt>
 8048aee:       c7 04 24 01 9f 04 08    movl   $0x8049f01,(%esp)
 8048af5:       e8 46 fe ff ff          call   8048940 <puts@plt>
 8048afa:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 8048b01:       e8 8a fe ff ff          call   8048990 <exit@plt>

08048b06 <bushandler>:
 8048b06:       55                      push   %ebp
 8048b07:       89 e5                   mov    %esp,%ebp
 8048b09:       83 ec 18                sub    $0x18,%esp
 8048b0c:       c7 04 24 a8 a0 04 08    movl   $0x804a0a8,(%esp)
 8048b13:       e8 28 fe ff ff          call   8048940 <puts@plt>
 8048b18:       c7 04 24 01 9f 04 08    movl   $0x8049f01,(%esp)
 8048b1f:       e8 1c fe ff ff          call   8048940 <puts@plt>
 8048b24:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 8048b2b:       e8 60 fe ff ff          call   8048990 <exit@plt>

08048b30 <Gets>:
 8048b30:       55                      push   %ebp
 8048b31:       89 e5                   mov    %esp,%ebp
 8048b33:       57                      push   %edi
 8048b34:       56                      push   %esi
 8048b35:       53                      push   %ebx
 8048b36:       83 ec 2c                sub    $0x2c,%esp
 8048b39:       c7 05 ec c1 04 08 00    movl   $0x0,0x804c1ec
 8048b40:       00 00 00 
 8048b43:       8b 5d 08                mov    0x8(%ebp),%ebx
 8048b46:       be d0 a1 04 08          mov    $0x804a1d0,%esi
 8048b4b:       eb 4d                   jmp    8048b9a <Gets+0x6a>
 8048b4d:       88 45 d8                mov    %al,-0x28(%ebp)
 8048b50:       88 03                   mov    %al,(%ebx)
 8048b52:       a1 ec c1 04 08          mov    0x804c1ec,%eax
 8048b57:       3d ff 03 00 00          cmp    $0x3ff,%eax
 8048b5c:       7f 39                   jg     8048b97 <Gets+0x67>
 8048b5e:       8d 14 40                lea    (%eax,%eax,2),%edx
 8048b61:       0f b6 4d d8             movzbl -0x28(%ebp),%ecx
 8048b65:       c0 e9 04                shr    $0x4,%cl
 8048b68:       0f be f9                movsbl %cl,%edi
 8048b6b:       0f b6 3c 3e             movzbl (%esi,%edi,1),%edi
 8048b6f:       89 f9                   mov    %edi,%ecx
 8048b71:       88 8a 00 c2 04 08       mov    %cl,0x804c200(%edx)
 8048b77:       0f b6 4d d8             movzbl -0x28(%ebp),%ecx
 8048b7b:       83 e1 0f                and    $0xf,%ecx
 8048b7e:       0f b6 0c 0e             movzbl (%esi,%ecx,1),%ecx
 8048b82:       88 8a 01 c2 04 08       mov    %cl,0x804c201(%edx)
 8048b88:       c6 82 02 c2 04 08 20    movb   $0x20,0x804c202(%edx)
 8048b8f:       83 c0 01                add    $0x1,%eax
 8048b92:       a3 ec c1 04 08          mov    %eax,0x804c1ec
 8048b97:       83 c3 01                add    $0x1,%ebx
 8048b9a:       a1 dc c1 04 08          mov    0x804c1dc,%eax
 8048b9f:       89 04 24                mov    %eax,(%esp)
 8048ba2:       e8 a9 fc ff ff          call   8048850 <_IO_getc@plt>
 8048ba7:       83 f8 ff                cmp    $0xffffffff,%eax
 8048baa:       74 05                   je     8048bb1 <Gets+0x81>
 8048bac:       83 f8 0a                cmp    $0xa,%eax
 8048baf:       75 9c                   jne    8048b4d <Gets+0x1d>
 8048bb1:       c6 03 00                movb   $0x0,(%ebx)
 8048bb4:       a1 ec c1 04 08          mov    0x804c1ec,%eax
 8048bb9:       c6 84 40 00 c2 04 08    movb   $0x0,0x804c200(%eax,%eax,2)
 8048bc0:       00 
 8048bc1:       8b 45 08                mov    0x8(%ebp),%eax
 8048bc4:       83 c4 2c                add    $0x2c,%esp
 8048bc7:       5b                      pop    %ebx
 8048bc8:       5e                      pop    %esi
 8048bc9:       5f                      pop    %edi
 8048bca:       5d                      pop    %ebp
 8048bcb:       c3                      ret    

08048bcc <getbufn>:
 8048bcc:       55                      push   %ebp
 8048bcd:       89 e5                   mov    %esp,%ebp
 8048bcf:       81 ec 18 02 00 00       sub    $0x218,%esp
 8048bd5:       8d 85 f8 fd ff ff       lea    -0x208(%ebp),%eax
 8048bdb:       89 04 24                mov    %eax,(%esp)
 8048bde:       e8 4d ff ff ff          call   8048b30 <Gets>
 8048be3:       b8 01 00 00 00          mov    $0x1,%eax
 8048be8:       c9                      leave  
 8048be9:       c3                      ret    

08048bea <getbuf>:
 8048bea:       55                      push   %ebp
 8048beb:       89 e5                   mov    %esp,%ebp
 8048bed:       83 ec 38                sub    $0x38,%esp
 8048bf0:       8d 45 d8                lea    -0x28(%ebp),%eax
 8048bf3:       89 04 24                mov    %eax,(%esp)
 8048bf6:       e8 35 ff ff ff          call   8048b30 <Gets>
 8048bfb:       b8 01 00 00 00          mov    $0x1,%eax
 8048c00:       c9                      leave  
 8048c01:       c3                      ret    

08048c02 <testn>:
 8048c02:       55                      push   %ebp
 8048c03:       89 e5                   mov    %esp,%ebp
 8048c05:       83 ec 28                sub    $0x28,%esp
 8048c08:       c7 45 f4 ef be ad de    movl   $0xdeadbeef,-0xc(%ebp)
 8048c0f:       e8 b8 ff ff ff          call   8048bcc <getbufn>
 8048c14:       8b 55 f4                mov    -0xc(%ebp),%edx
 8048c17:       81 fa ef be ad de       cmp    $0xdeadbeef,%edx
 8048c1d:       74 0e                   je     8048c2d <testn+0x2b>
 8048c1f:       c7 04 24 c8 a0 04 08    movl   $0x804a0c8,(%esp)
 8048c26:       e8 15 fd ff ff          call   8048940 <puts@plt>
 8048c2b:       eb 36                   jmp    8048c63 <testn+0x61>
 8048c2d:       3b 05 e0 c1 04 08       cmp    0x804c1e0,%eax
 8048c33:       75 1e                   jne    8048c53 <testn+0x51>
 8048c35:       89 44 24 04             mov    %eax,0x4(%esp)
 8048c39:       c7 04 24 f4 a0 04 08    movl   $0x804a0f4,(%esp)
 8048c40:       e8 8b fc ff ff          call   80488d0 <printf@plt>
 8048c45:       c7 04 24 04 00 00 00    movl   $0x4,(%esp)
 8048c4c:       e8 7f 04 00 00          call   80490d0 <validate>
 8048c51:       eb 10                   jmp    8048c63 <testn+0x61>
 8048c53:       89 44 24 04             mov    %eax,0x4(%esp)
 8048c57:       c7 04 24 17 9f 04 08    movl   $0x8049f17,(%esp)
 8048c5e:       e8 6d fc ff ff          call   80488d0 <printf@plt>
 8048c63:       c9                      leave  
 8048c64:       c3                      ret    

08048c65 <test>:
 8048c65:       55                      push   %ebp
 8048c66:       89 e5                   mov    %esp,%ebp
 8048c68:       83 ec 28                sub    $0x28,%esp
 8048c6b:       c7 45 f4 ef be ad de    movl   $0xdeadbeef,-0xc(%ebp)
 8048c72:       e8 73 ff ff ff          call   8048bea <getbuf>
 8048c77:       8b 55 f4                mov    -0xc(%ebp),%edx
 8048c7a:       81 fa ef be ad de       cmp    $0xdeadbeef,%edx
 8048c80:       74 0e                   je     8048c90 <test+0x2b>
 8048c82:       c7 04 24 c8 a0 04 08    movl   $0x804a0c8,(%esp)
 8048c89:       e8 b2 fc ff ff          call   8048940 <puts@plt>
 8048c8e:       eb 36                   jmp    8048cc6 <test+0x61>
 8048c90:       3b 05 e0 c1 04 08       cmp    0x804c1e0,%eax
 8048c96:       75 1e                   jne    8048cb6 <test+0x51>
 8048c98:       89 44 24 04             mov    %eax,0x4(%esp)
 8048c9c:       c7 04 24 33 9f 04 08    movl   $0x8049f33,(%esp)
 8048ca3:       e8 28 fc ff ff          call   80488d0 <printf@plt>
 8048ca8:       c7 04 24 03 00 00 00    movl   $0x3,(%esp)
 8048caf:       e8 1c 04 00 00          call   80490d0 <validate>
 8048cb4:       eb 10                   jmp    8048cc6 <test+0x61>
 8048cb6:       89 44 24 04             mov    %eax,0x4(%esp)
 8048cba:       c7 04 24 50 9f 04 08    movl   $0x8049f50,(%esp)
 8048cc1:       e8 0a fc ff ff          call   80488d0 <printf@plt>
 8048cc6:       c9                      leave  
 8048cc7:       c3                      ret    

08048cc8 <launch>:
 8048cc8:       55                      push   %ebp
 8048cc9:       89 e5                   mov    %esp,%ebp
 8048ccb:       53                      push   %ebx
 8048ccc:       83 ec 54                sub    $0x54,%esp
 8048ccf:       89 c3                   mov    %eax,%ebx
 8048cd1:       8d 45 b8                lea    -0x48(%ebp),%eax
 8048cd4:       25 f8 3f 00 00          and    $0x3ff8,%eax
 8048cd9:       01 c2                   add    %eax,%edx
 8048cdb:       8d 42 1e                lea    0x1e(%edx),%eax
 8048cde:       83 e0 f0                and    $0xfffffff0,%eax
 8048ce1:       29 c4                   sub    %eax,%esp
 8048ce3:       8d 44 24 1b             lea    0x1b(%esp),%eax
 8048ce7:       83 e0 f0                and    $0xfffffff0,%eax
 8048cea:       89 54 24 08             mov    %edx,0x8(%esp)
 8048cee:       c7 44 24 04 f4 00 00    movl   $0xf4,0x4(%esp)
 8048cf5:       00 
 8048cf6:       89 04 24                mov    %eax,(%esp)
 8048cf9:       e8 32 fb ff ff          call   8048830 <memset@plt>
 8048cfe:       c7 04 24 6b 9f 04 08    movl   $0x8049f6b,(%esp)
 8048d05:       e8 c6 fb ff ff          call   80488d0 <printf@plt>
 8048d0a:       85 db                   test   %ebx,%ebx
 8048d0c:       74 07                   je     8048d15 <launch+0x4d>
 8048d0e:       e8 ef fe ff ff          call   8048c02 <testn>
 8048d13:       eb 05                   jmp    8048d1a <launch+0x52>
 8048d15:       e8 4b ff ff ff          call   8048c65 <test>
 8048d1a:       83 3d e4 c1 04 08 00    cmpl   $0x0,0x804c1e4
 8048d21:       75 16                   jne    8048d39 <launch+0x71>
 8048d23:       c7 04 24 01 9f 04 08    movl   $0x8049f01,(%esp)
 8048d2a:       e8 11 fc ff ff          call   8048940 <puts@plt>
 8048d2f:       c7 05 e4 c1 04 08 00    movl   $0x0,0x804c1e4
 8048d36:       00 00 00 
 8048d39:       8b 5d fc                mov    -0x4(%ebp),%ebx
 8048d3c:       c9                      leave  
 8048d3d:       c3                      ret    

08048d3e <launcher>:
 8048d3e:       55                      push   %ebp
 8048d3f:       89 e5                   mov    %esp,%ebp
 8048d41:       83 ec 28                sub    $0x28,%esp
 8048d44:       8b 45 08                mov    0x8(%ebp),%eax
 8048d47:       a3 f0 c1 04 08          mov    %eax,0x804c1f0
 8048d4c:       8b 45 0c                mov    0xc(%ebp),%eax
 8048d4f:       a3 f4 c1 04 08          mov    %eax,0x804c1f4
 8048d54:       c7 44 24 14 00 00 00    movl   $0x0,0x14(%esp)
 8048d5b:       00 
 8048d5c:       c7 44 24 10 00 00 00    movl   $0x0,0x10(%esp)
 8048d63:       00 
 8048d64:       c7 44 24 0c 32 01 00    movl   $0x132,0xc(%esp)
 8048d6b:       00 
 8048d6c:       c7 44 24 08 07 00 00    movl   $0x7,0x8(%esp)
 8048d73:       00 
 8048d74:       c7 44 24 04 00 00 10    movl   $0x100000,0x4(%esp)
 8048d7b:       00 
 8048d7c:       c7 04 24 00 60 58 55    movl   $0x55586000,(%esp)
 8048d83:       e8 38 fa ff ff          call   80487c0 <mmap@plt>
 8048d88:       3d 00 60 58 55          cmp    $0x55586000,%eax
 8048d8d:       74 31                   je     8048dc0 <launcher+0x82>
 8048d8f:       a1 c0 c1 04 08          mov    0x804c1c0,%eax
 8048d94:       89 44 24 0c             mov    %eax,0xc(%esp)
 8048d98:       c7 44 24 08 47 00 00    movl   $0x47,0x8(%esp)
 8048d9f:       00 
 8048da0:       c7 44 24 04 01 00 00    movl   $0x1,0x4(%esp)
 8048da7:       00 
 8048da8:       c7 04 24 14 a1 04 08    movl   $0x804a114,(%esp)
 8048daf:       e8 5c fb ff ff          call   8048910 <fwrite@plt>
 8048db4:       c7 04 24 01 00 00 00    movl   $0x1,(%esp)
 8048dbb:       e8 d0 fb ff ff          call   8048990 <exit@plt>
 8048dc0:       c7 05 04 ce 04 08 f8    movl   $0x55685ff8,0x804ce04
 8048dc7:       5f 68 55 
 8048dca:       ba f8 5f 68 55          mov    $0x55685ff8,%edx
 8048dcf:       89 e0                   mov    %esp,%eax
 8048dd1:       89 d4                   mov    %edx,%esp
 8048dd3:       89 c2                   mov    %eax,%edx
 8048dd5:       89 15 f8 c1 04 08       mov    %edx,0x804c1f8
 8048ddb:       8b 15 f4 c1 04 08       mov    0x804c1f4,%edx
 8048de1:       a1 f0 c1 04 08          mov    0x804c1f0,%eax
 8048de6:       e8 dd fe ff ff          call   8048cc8 <launch>
 8048deb:       a1 f8 c1 04 08          mov    0x804c1f8,%eax
 8048df0:       89 c4                   mov    %eax,%esp
 8048df2:       c7 44 24 04 00 00 10    movl   $0x100000,0x4(%esp)
 8048df9:       00 
 8048dfa:       c7 04 24 00 60 58 55    movl   $0x55586000,(%esp)
 8048e01:       e8 5a fb ff ff          call   8048960 <munmap@plt>
 8048e06:       c9                      leave  
 8048e07:       c3                      ret    

08048e08 <main>:
 8048e08:       55                      push   %ebp
 8048e09:       89 e5                   mov    %esp,%ebp
 8048e0b:       83 e4 f0                and    $0xfffffff0,%esp
 8048e0e:       57                      push   %edi
 8048e0f:       56                      push   %esi
 8048e10:       53                      push   %ebx
 8048e11:       83 ec 34                sub    $0x34,%esp
 8048e14:       8b 75 08                mov    0x8(%ebp),%esi
 8048e17:       8b 5d 0c                mov    0xc(%ebp),%ebx
 8048e1a:       c7 44 24 04 dc 8a 04    movl   $0x8048adc,0x4(%esp)
 8048e21:       08 
 8048e22:       c7 04 24 0b 00 00 00    movl   $0xb,(%esp)
 8048e29:       e8 b2 f9 ff ff          call   80487e0 <signal@plt>
 8048e2e:       c7 44 24 04 06 8b 04    movl   $0x8048b06,0x4(%esp)
 8048e35:       08 
 8048e36:       c7 04 24 07 00 00 00    movl   $0x7,(%esp)
 8048e3d:       e8 9e f9 ff ff          call   80487e0 <signal@plt>
 8048e42:       c7 44 24 04 b2 8a 04    movl   $0x8048ab2,0x4(%esp)
 8048e49:       08 
 8048e4a:       c7 04 24 04 00 00 00    movl   $0x4,(%esp)
 8048e51:       e8 8a f9 ff ff          call   80487e0 <signal@plt>
 8048e56:       a1 c4 c1 04 08          mov    0x804c1c4,%eax
 8048e5b:       a3 dc c1 04 08          mov    %eax,0x804c1dc
 8048e60:       c7 44 24 2c 01 00 00    movl   $0x1,0x2c(%esp)
 8048e67:       00 
 8048e68:       c7 44 24 28 00 00 00    movl   $0x0,0x28(%esp)
 8048e6f:       00 
 8048e70:       bf 01 00 00 00          mov    $0x1,%edi
 8048e75:       eb 64                   jmp    8048edb <main+0xd3>
 8048e77:       3c 6e                   cmp    $0x6e,%al
 8048e79:       74 19                   je     8048e94 <main+0x8c>
 8048e7b:       3c 6e                   cmp    $0x6e,%al
 8048e7d:       7f 06                   jg     8048e85 <main+0x7d>
 8048e7f:       3c 68                   cmp    $0x68,%al
 8048e81:       75 51                   jne    8048ed4 <main+0xcc>
 8048e83:       eb 1d                   jmp    8048ea2 <main+0x9a>
 8048e85:       3c 73                   cmp    $0x73,%al
 8048e87:       74 43                   je     8048ecc <main+0xc4>
 8048e89:       3c 75                   cmp    $0x75,%al
 8048e8b:       90                      nop
 8048e8c:       8d 74 26 00             lea    0x0(%esi,%eiz,1),%esi
 8048e90:       75 42                   jne    8048ed4 <main+0xcc>
 8048e92:       eb 17                   jmp    8048eab <main+0xa3>
 8048e94:       c7 44 24 2c 05 00 00    movl   $0x5,0x2c(%esp)
 8048e9b:       00 
 8048e9c:       89 7c 24 28             mov    %edi,0x28(%esp)
 8048ea0:       eb 39                   jmp    8048edb <main+0xd3>
 8048ea2:       8b 03                   mov    (%ebx),%eax
 8048ea4:       e8 b7 fb ff ff          call   8048a60 <usage>
 8048ea9:       eb 30                   jmp    8048edb <main+0xd3>
 8048eab:       a1 c8 c1 04 08          mov    0x804c1c8,%eax
 8048eb0:       89 04 24                mov    %eax,(%esp)
 8048eb3:       e8 c8 fa ff ff          call   8048980 <__strdup@plt>
 8048eb8:       a3 d4 c1 04 08          mov    %eax,0x804c1d4
 8048ebd:       89 04 24                mov    %eax,(%esp)
 8048ec0:       e8 ec 0e 00 00          call   8049db1 <gencookie>
 8048ec5:       a3 e0 c1 04 08          mov    %eax,0x804c1e0
 8048eca:       eb 0f                   jmp    8048edb <main+0xd3>
 8048ecc:       89 3d d8 c1 04 08       mov    %edi,0x804c1d8
 8048ed2:       eb 07                   jmp    8048edb <main+0xd3>
 8048ed4:       8b 03                   mov    (%ebx),%eax
 8048ed6:       e8 85 fb ff ff          call   8048a60 <usage>
 8048edb:       c7 44 24 08 78 9f 04    movl   $0x8049f78,0x8(%esp)
 8048ee2:       08 
 8048ee3:       89 5c 24 04             mov    %ebx,0x4(%esp)
 8048ee7:       89 34 24                mov    %esi,(%esp)
 8048eea:       e8 a1 f9 ff ff          call   8048890 <getopt@plt>
 8048eef:       3c ff                   cmp    $0xff,%al
 8048ef1:       75 84                   jne    8048e77 <main+0x6f>
 8048ef3:       83 3d d4 c1 04 08 00    cmpl   $0x0,0x804c1d4
 8048efa:       75 19                   jne    8048f15 <main+0x10d>
 8048efc:       8b 03                   mov    (%ebx),%eax
 8048efe:       89 44 24 04             mov    %eax,0x4(%esp)
 8048f02:       c7 04 24 5c a1 04 08    movl   $0x804a15c,(%esp)
 8048f09:       e8 c2 f9 ff ff          call   80488d0 <printf@plt>
 8048f0e:       8b 03                   mov    (%ebx),%eax
 8048f10:       e8 4b fb ff ff          call   8048a60 <usage>
 8048f15:       e8 f9 02 00 00          call   8049213 <initialize_bomb>
 8048f1a:       a1 d4 c1 04 08          mov    0x804c1d4,%eax
 8048f1f:       89 44 24 04             mov    %eax,0x4(%esp)
 8048f23:       c7 04 24 7e 9f 04 08    movl   $0x8049f7e,(%esp)
 8048f2a:       e8 a1 f9 ff ff          call   80488d0 <printf@plt>
 8048f2f:       a1 e0 c1 04 08          mov    0x804c1e0,%eax
 8048f34:       89 44 24 04             mov    %eax,0x4(%esp)
 8048f38:       c7 04 24 8a 9f 04 08    movl   $0x8049f8a,(%esp)
 8048f3f:       e8 8c f9 ff ff          call   80488d0 <printf@plt>
 8048f44:       a1 e0 c1 04 08          mov    0x804c1e0,%eax
 8048f49:       89 04 24                mov    %eax,(%esp)
 8048f4c:       e8 9f f9 ff ff          call   80488f0 <srandom@plt>
 8048f51:       e8 7a f8 ff ff          call   80487d0 <random@plt>
 8048f56:       89 c7                   mov    %eax,%edi
 8048f58:       81 e7 f8 0f 00 00       and    $0xff8,%edi
 8048f5e:       8b 44 24 2c             mov    0x2c(%esp),%eax
 8048f62:       89 44 24 1c             mov    %eax,0x1c(%esp)
 8048f66:       c7 44 24 04 04 00 00    movl   $0x4,0x4(%esp)
 8048f6d:       00 
 8048f6e:       89 04 24                mov    %eax,(%esp)
 8048f71:       e8 9a f8 ff ff          call   8048810 <calloc@plt>
 8048f76:       89 c6                   mov    %eax,%esi
 8048f78:       89 44 24 20             mov    %eax,0x20(%esp)
 8048f7c:       8b 44 24 2c             mov    0x2c(%esp),%eax
 8048f80:       83 e8 02                sub    $0x2,%eax
 8048f83:       89 44 24 24             mov    %eax,0x24(%esp)
 8048f87:       85 c0                   test   %eax,%eax
 8048f89:       7e 21                   jle    8048fac <main+0x1a4>
 8048f8b:       bb 00 00 00 00          mov    $0x0,%ebx
 8048f90:       89 7c 24 18             mov    %edi,0x18(%esp)
 8048f94:       89 c7                   mov    %eax,%edi
 8048f96:       e8 35 f8 ff ff          call   80487d0 <random@plt>
 8048f9b:       83 e0 38                and    $0x38,%eax
 8048f9e:       89 04 9e                mov    %eax,(%esi,%ebx,4)
 8048fa1:       83 c3 01                add    $0x1,%ebx
 8048fa4:       39 fb                   cmp    %edi,%ebx
 8048fa6:       7c ee                   jl     8048f96 <main+0x18e>
 8048fa8:       8b 7c 24 18             mov    0x18(%esp),%edi
 8048fac:       83 7c 24 2c 01          cmpl   $0x1,0x2c(%esp)
 8048fb1:       7e 10                   jle    8048fc3 <main+0x1bb>
 8048fb3:       8b 54 24 1c             mov    0x1c(%esp),%edx
 8048fb7:       8b 44 24 20             mov    0x20(%esp),%eax
 8048fbb:       c7 44 90 f8 38 00 00    movl   $0x38,-0x8(%eax,%edx,4)
 8048fc2:       00 
 8048fc3:       8b 54 24 1c             mov    0x1c(%esp),%edx
 8048fc7:       8b 44 24 20             mov    0x20(%esp),%eax
 8048fcb:       c7 44 90 fc 00 00 00    movl   $0x0,-0x4(%eax,%edx,4)
 8048fd2:       00 
 8048fd3:       83 7c 24 2c 00          cmpl   $0x0,0x2c(%esp)
 8048fd8:       7e 23                   jle    8048ffd <main+0x1f5>
 8048fda:       bb 00 00 00 00          mov    $0x0,%ebx
 8048fdf:       89 f8                   mov    %edi,%eax
 8048fe1:       03 04 9e                add    (%esi,%ebx,4),%eax
 8048fe4:       89 44 24 04             mov    %eax,0x4(%esp)
 8048fe8:       8b 54 24 28             mov    0x28(%esp),%edx
 8048fec:       89 14 24                mov    %edx,(%esp)
 8048fef:       e8 4a fd ff ff          call   8048d3e <launcher>
 8048ff4:       83 c3 01                add    $0x1,%ebx
 8048ff7:       3b 5c 24 2c             cmp    0x2c(%esp),%ebx
 8048ffb:       7c e2                   jl     8048fdf <main+0x1d7>
 8048ffd:       b8 00 00 00 00          mov    $0x0,%eax
 8049002:       83 c4 34                add    $0x34,%esp
 8049005:       5b                      pop    %ebx
 8049006:       5e                      pop    %esi
 8049007:       5f                      pop    %edi
 8049008:       89 ec                   mov    %ebp,%esp
 804900a:       5d                      pop    %ebp
 804900b:       c3                      ret    

0804900c <bang>:
 804900c:       55                      push   %ebp
 804900d:       89 e5                   mov    %esp,%ebp
 804900f:       83 ec 18                sub    $0x18,%esp
 8049012:       a1 e8 c1 04 08          mov    0x804c1e8,%eax
 8049017:       3b 05 e0 c1 04 08       cmp    0x804c1e0,%eax
 804901d:       75 1e                   jne    804903d <bang+0x31>
 804901f:       89 44 24 04             mov    %eax,0x4(%esp)
 8049023:       c7 04 24 88 a1 04 08    movl   $0x804a188,(%esp)
 804902a:       e8 a1 f8 ff ff          call   80488d0 <printf@plt>
 804902f:       c7 04 24 02 00 00 00    movl   $0x2,(%esp)
 8049036:       e8 95 00 00 00          call   80490d0 <validate>
 804903b:       eb 10                   jmp    804904d <bang+0x41>
 804903d:       89 44 24 04             mov    %eax,0x4(%esp)
 8049041:       c7 04 24 98 9f 04 08    movl   $0x8049f98,(%esp)
 8049048:       e8 83 f8 ff ff          call   80488d0 <printf@plt>
 804904d:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 8049054:       e8 37 f9 ff ff          call   8048990 <exit@plt>

08049059 <fizz>:
 8049059:       55                      push   %ebp
 804905a:       89 e5                   mov    %esp,%ebp
 804905c:       83 ec 18                sub    $0x18,%esp
 804905f:       8b 45 08                mov    0x8(%ebp),%eax
 8049062:       3b 05 e0 c1 04 08       cmp    0x804c1e0,%eax
 8049068:       75 1e                   jne    8049088 <fizz+0x2f>
 804906a:       89 44 24 04             mov    %eax,0x4(%esp)
 804906e:       c7 04 24 b6 9f 04 08    movl   $0x8049fb6,(%esp)
 8049075:       e8 56 f8 ff ff          call   80488d0 <printf@plt>
 804907a:       c7 04 24 01 00 00 00    movl   $0x1,(%esp)
 8049081:       e8 4a 00 00 00          call   80490d0 <validate>
 8049086:       eb 10                   jmp    8049098 <fizz+0x3f>
 8049088:       89 44 24 04             mov    %eax,0x4(%esp)
 804908c:       c7 04 24 b0 a1 04 08    movl   $0x804a1b0,(%esp)
 8049093:       e8 38 f8 ff ff          call   80488d0 <printf@plt>
 8049098:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 804909f:       e8 ec f8 ff ff          call   8048990 <exit@plt>

080490a4 <smoke>:
 80490a4:       55                      push   %ebp
 80490a5:       89 e5                   mov    %esp,%ebp
 80490a7:       83 ec 18                sub    $0x18,%esp
 80490aa:       c7 04 24 d4 9f 04 08    movl   $0x8049fd4,(%esp)
 80490b1:       e8 8a f8 ff ff          call   8048940 <puts@plt>
 80490b6:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 80490bd:       e8 0e 00 00 00          call   80490d0 <validate>
 80490c2:       c7 04 24 00 00 00 00    movl   $0x0,(%esp)
 80490c9:       e8 c2 f8 ff ff          call   8048990 <exit@plt>
 80490ce:       90                      nop
 80490cf:       90                      nop

080490d0 <validate>:
 80490d0:       55                      push   %ebp
 80490d1:       89 e5                   mov    %esp,%ebp
 80490d3:       81 ec 28 40 00 00       sub    $0x4028,%esp
 80490d9:       89 5d f8                mov    %ebx,-0x8(%ebp)
 80490dc:       89 7d fc                mov    %edi,-0x4(%ebp)
 80490df:       8b 5d 08                mov    0x8(%ebp),%ebx
 80490e2:       83 3d d4 c1 04 08 00    cmpl   $0x0,0x804c1d4
 80490e9:       75 11                   jne    80490fc <validate+0x2c>
 80490eb:       c7 04 24 e0 a1 04 08    movl   $0x804a1e0,(%esp)
 80490f2:       e8 49 f8 ff ff          call   8048940 <puts@plt>
 80490f7:       e9 0d 01 00 00          jmp    8049209 <validate+0x139>
 80490fc:       83 fb 04                cmp    $0x4,%ebx
 80490ff:       76 11                   jbe    8049112 <validate+0x42>
 8049101:       c7 04 24 0c a2 04 08    movl   $0x804a20c,(%esp)
 8049108:       e8 33 f8 ff ff          call   8048940 <puts@plt>
 804910d:       e9 f7 00 00 00          jmp    8049209 <validate+0x139>
 8049112:       c7 05 e4 c1 04 08 01    movl   $0x1,0x804c1e4
 8049119:       00 00 00 
 804911c:       ba a0 c1 04 08          mov    $0x804c1a0,%edx
 8049121:       8b 04 9a                mov    (%edx,%ebx,4),%eax
 8049124:       83 e8 01                sub    $0x1,%eax
 8049127:       89 04 9a                mov    %eax,(%edx,%ebx,4)
 804912a:       85 c0                   test   %eax,%eax
 804912c:       7e 11                   jle    804913f <validate+0x6f>
 804912e:       c7 04 24 4f a3 04 08    movl   $0x804a34f,(%esp)
 8049135:       e8 06 f8 ff ff          call   8048940 <puts@plt>
 804913a:       e9 ca 00 00 00          jmp    8049209 <validate+0x139>
 804913f:       c7 04 24 5a a3 04 08    movl   $0x804a35a,(%esp)
 8049146:       e8 f5 f7 ff ff          call   8048940 <puts@plt>
 804914b:       83 3d d8 c1 04 08 00    cmpl   $0x0,0x804c1d8
 8049152:       0f 84 a5 00 00 00       je     80491fd <validate+0x12d>
 8049158:       bf 00 c2 04 08          mov    $0x804c200,%edi
 804915d:       b8 00 00 00 00          mov    $0x0,%eax
 8049162:       b9 ff ff ff ff          mov    $0xffffffff,%ecx
 8049167:       f2 ae                   repnz scas %es:(%edi),%al
 8049169:       f7 d1                   not    %ecx
 804916b:       83 c1 1f                add    $0x1f,%ecx
 804916e:       81 f9 00 20 00 00       cmp    $0x2000,%ecx
 8049174:       76 11                   jbe    8049187 <validate+0xb7>
 8049176:       c7 04 24 34 a2 04 08    movl   $0x804a234,(%esp)
 804917d:       e8 be f7 ff ff          call   8048940 <puts@plt>
 8049182:       e9 82 00 00 00          jmp    8049209 <validate+0x139>
 8049187:       c7 44 24 10 00 c2 04    movl   $0x804c200,0x10(%esp)
 804918e:       08 
 804918f:       a1 e0 c1 04 08          mov    0x804c1e0,%eax
 8049194:       89 44 24 0c             mov    %eax,0xc(%esp)
 8049198:       89 5c 24 08             mov    %ebx,0x8(%esp)
 804919c:       c7 44 24 04 60 a3 04    movl   $0x804a360,0x4(%esp)
 80491a3:       08 
 80491a4:       8d 9d f8 df ff ff       lea    -0x2008(%ebp),%ebx
 80491aa:       89 1c 24                mov    %ebx,(%esp)
 80491ad:       e8 de f5 ff ff          call   8048790 <sprintf@plt>
 80491b2:       8d 85 f8 bf ff ff       lea    -0x4008(%ebp),%eax
 80491b8:       89 44 24 0c             mov    %eax,0xc(%esp)
 80491bc:       c7 44 24 08 00 00 00    movl   $0x0,0x8(%esp)
 80491c3:       00 
 80491c4:       89 5c 24 04             mov    %ebx,0x4(%esp)
 80491c8:       a1 d4 c1 04 08          mov    0x804c1d4,%eax
 80491cd:       89 04 24                mov    %eax,(%esp)
 80491d0:       e8 c6 0a 00 00          call   8049c9b <driver_post>
 80491d5:       85 c0                   test   %eax,%eax
 80491d7:       75 0e                   jne    80491e7 <validate+0x117>
 80491d9:       c7 04 24 6c a2 04 08    movl   $0x804a26c,(%esp)
 80491e0:       e8 5b f7 ff ff          call   8048940 <puts@plt>
 80491e5:       eb 16                   jmp    80491fd <validate+0x12d>
 80491e7:       8d 85 f8 bf ff ff       lea    -0x4008(%ebp),%eax
 80491ed:       89 44 24 04             mov    %eax,0x4(%esp)
 80491f1:       c7 04 24 9c a2 04 08    movl   $0x804a29c,(%esp)
 80491f8:       e8 d3 f6 ff ff          call   80488d0 <printf@plt>
 80491fd:       c7 04 24 69 a3 04 08    movl   $0x804a369,(%esp)
 8049204:       e8 37 f7 ff ff          call   8048940 <puts@plt>
 8049209:       8b 5d f8                mov    -0x8(%ebp),%ebx
 804920c:       8b 7d fc                mov    -0x4(%ebp),%edi
 804920f:       89 ec                   mov    %ebp,%esp
 8049211:       5d                      pop    %ebp
 8049212:       c3                      ret    

08049213 <initialize_bomb>:
 8049213:       55                      push   %ebp
 8049214:       89 e5                   mov    %esp,%ebp
 8049216:       57                      push   %edi
 8049217:       56                      push   %esi
 8049218:       53                      push   %ebx
 8049219:       81 ec 1c 24 00 00       sub    $0x241c,%esp
 804921f:       83 3d d8 c1 04 08 00    cmpl   $0x0,0x804c1d8
 8049226:       0f 84 f9 00 00 00       je     8049325 <initialize_bomb+0x112>
 804922c:       c7 44 24 04 00 04 00    movl   $0x400,0x4(%esp)
 8049233:       00 
 8049234:       8d 85 e8 fb ff ff       lea    -0x418(%ebp),%eax
 804923a:       89 04 24                mov    %eax,(%esp)
 804923d:       e8 ee f6 ff ff          call   8048930 <gethostname@plt>
 8049242:       85 c0                   test   %eax,%eax
 8049244:       75 1e                   jne    8049264 <initialize_bomb+0x51>
 8049246:       a1 a0 b1 04 08          mov    0x804b1a0,%eax
 804924b:       bb 00 00 00 00          mov    $0x0,%ebx
 8049250:       8d b5 e8 fb ff ff       lea    -0x418(%ebp),%esi
 8049256:       bf a0 b1 04 08          mov    $0x804b1a0,%edi
 804925b:       85 c0                   test   %eax,%eax
 804925d:       75 1d                   jne    804927c <initialize_bomb+0x69>
 804925f:       e9 a0 00 00 00          jmp    8049304 <initialize_bomb+0xf1>
 8049264:       c7 04 24 dc a2 04 08    movl   $0x804a2dc,(%esp)
 804926b:       e8 d0 f6 ff ff          call   8048940 <puts@plt>
 8049270:       c7 04 24 08 00 00 00    movl   $0x8,(%esp)
 8049277:       e8 14 f7 ff ff          call   8048990 <exit@plt>
 804927c:       89 74 24 04             mov    %esi,0x4(%esp)
 8049280:       89 04 24                mov    %eax,(%esp)
 8049283:       e8 58 f6 ff ff          call   80488e0 <strcasecmp@plt>
 8049288:       85 c0                   test   %eax,%eax
 804928a:       74 0c                   je     8049298 <initialize_bomb+0x85>
 804928c:       83 c3 01                add    $0x1,%ebx
 804928f:       8b 04 9f                mov    (%edi,%ebx,4),%eax
 8049292:       85 c0                   test   %eax,%eax
 8049294:       75 e6                   jne    804927c <initialize_bomb+0x69>
 8049296:       eb 6c                   jmp    8049304 <initialize_bomb+0xf1>
 8049298:       8d 85 e8 db ff ff       lea    -0x2418(%ebp),%eax
 804929e:       89 04 24                mov    %eax,(%esp)
 80492a1:       e8 8a 00 00 00          call   8049330 <init_driver>
 80492a6:       85 c0                   test   %eax,%eax
 80492a8:       79 4c                   jns    80492f6 <initialize_bomb+0xe3>
 80492aa:       eb 28                   jmp    80492d4 <initialize_bomb+0xc1>
 80492ac:       bb 00 00 00 00          mov    $0x0,%ebx
 80492b1:       be a0 b1 04 08          mov    $0x804b1a0,%esi
 80492b6:       89 04 24                mov    %eax,(%esp)
 80492b9:       e8 82 f6 ff ff          call   8048940 <puts@plt>
 80492be:       83 c3 01                add    $0x1,%ebx
 80492c1:       8b 04 9e                mov    (%esi,%ebx,4),%eax
 80492c4:       85 c0                   test   %eax,%eax
 80492c6:       75 ee                   jne    80492b6 <initialize_bomb+0xa3>
 80492c8:       c7 04 24 08 00 00 00    movl   $0x8,(%esp)
 80492cf:       e8 bc f6 ff ff          call   8048990 <exit@plt>
 80492d4:       8d 85 e8 db ff ff       lea    -0x2418(%ebp),%eax
 80492da:       89 44 24 04             mov    %eax,0x4(%esp)
 80492de:       c7 04 24 73 a3 04 08    movl   $0x804a373,(%esp)
 80492e5:       e8 e6 f5 ff ff          call   80488d0 <printf@plt>
 80492ea:       c7 04 24 08 00 00 00    movl   $0x8,(%esp)
 80492f1:       e8 9a f6 ff ff          call   8048990 <exit@plt>
 80492f6:       c7 04 24 1e 00 00 00    movl   $0x1e,(%esp)
 80492fd:       e8 00 02 00 00          call   8049502 <init_timeout>
 8049302:       eb 21                   jmp    8049325 <initialize_bomb+0x112>
 8049304:       8d 85 e8 fb ff ff       lea    -0x418(%ebp),%eax
 804930a:       89 44 24 04             mov    %eax,0x4(%esp)
 804930e:       c7 04 24 14 a3 04 08    movl   $0x804a314,(%esp)
 8049315:       e8 b6 f5 ff ff          call   80488d0 <printf@plt>
 804931a:       a1 a0 b1 04 08          mov    0x804b1a0,%eax
 804931f:       85 c0                   test   %eax,%eax
 8049321:       75 89                   jne    80492ac <initialize_bomb+0x99>
 8049323:       eb a3                   jmp    80492c8 <initialize_bomb+0xb5>
 8049325:       81 c4 1c 24 00 00       add    $0x241c,%esp
 804932b:       5b                      pop    %ebx
 804932c:       5e                      pop    %esi
 804932d:       5f                      pop    %edi
 804932e:       5d                      pop    %ebp
 804932f:       c3                      ret    

08049330 <init_driver>:
 8049330:       55                      push   %ebp
 8049331:       89 e5                   mov    %esp,%ebp
 8049333:       57                      push   %edi
 8049334:       56                      push   %esi
 8049335:       53                      push   %ebx
 8049336:       83 ec 2c                sub    $0x2c,%esp
 8049339:       8b 7d 08                mov    0x8(%ebp),%edi
 804933c:       c7 44 24 04 01 00 00    movl   $0x1,0x4(%esp)
 8049343:       00 
 8049344:       c7 04 24 0d 00 00 00    movl   $0xd,(%esp)
 804934b:       e8 90 f4 ff ff          call   80487e0 <signal@plt>
 8049350:       c7 44 24 04 01 00 00    movl   $0x1,0x4(%esp)
 8049357:       00 
 8049358:       c7 04 24 1d 00 00 00    movl   $0x1d,(%esp)
 804935f:       e8 7c f4 ff ff          call   80487e0 <signal@plt>
 8049364:       c7 44 24 04 01 00 00    movl   $0x1,0x4(%esp)
 804936b:       00 
 804936c:       c7 04 24 1d 00 00 00    movl   $0x1d,(%esp)
 8049373:       e8 68 f4 ff ff          call   80487e0 <signal@plt>
 8049378:       c7 44 24 08 00 00 00    movl   $0x0,0x8(%esp)
 804937f:       00 
 8049380:       c7 44 24 04 01 00 00    movl   $0x1,0x4(%esp)
 8049387:       00 
 8049388:       c7 04 24 02 00 00 00    movl   $0x2,(%esp)
 804938f:       e8 dc f4 ff ff          call   8048870 <socket@plt>
 8049394:       89 c6                   mov    %eax,%esi
 8049396:       85 c0                   test   %eax,%eax
 8049398:       79 4e                   jns    80493e8 <init_driver+0xb8>
 804939a:       c7 07 45 72 72 6f       movl   $0x6f727245,(%edi)
 80493a0:       c7 47 04 72 3a 20 43    movl   $0x43203a72,0x4(%edi)
 80493a7:       c7 47 08 6c 69 65 6e    movl   $0x6e65696c,0x8(%edi)
 80493ae:       c7 47 0c 74 20 75 6e    movl   $0x6e752074,0xc(%edi)
 80493b5:       c7 47 10 61 62 6c 65    movl   $0x656c6261,0x10(%edi)
 80493bc:       c7 47 14 20 74 6f 20    movl   $0x206f7420,0x14(%edi)
 80493c3:       c7 47 18 63 72 65 61    movl   $0x61657263,0x18(%edi)
 80493ca:       c7 47 1c 74 65 20 73    movl   $0x73206574,0x1c(%edi)
 80493d1:       c7 47 20 6f 63 6b 65    movl   $0x656b636f,0x20(%edi)
 80493d8:       66 c7 47 24 74 00       movw   $0x74,0x24(%edi)
 80493de:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 80493e3:       e9 12 01 00 00          jmp    80494fa <init_driver+0x1ca>
 80493e8:       c7 04 24 88 a3 04 08    movl   $0x804a388,(%esp)
 80493ef:       e8 7c f5 ff ff          call   8048970 <gethostbyname@plt>
 80493f4:       85 c0                   test   %eax,%eax
 80493f6:       75 68                   jne    8049460 <init_driver+0x130>
 80493f8:       c7 07 45 72 72 6f       movl   $0x6f727245,(%edi)
 80493fe:       c7 47 04 72 3a 20 44    movl   $0x44203a72,0x4(%edi)
 8049405:       c7 47 08 4e 53 20 69    movl   $0x6920534e,0x8(%edi)
 804940c:       c7 47 0c 73 20 75 6e    movl   $0x6e752073,0xc(%edi)
 8049413:       c7 47 10 61 62 6c 65    movl   $0x656c6261,0x10(%edi)
 804941a:       c7 47 14 20 74 6f 20    movl   $0x206f7420,0x14(%edi)
 8049421:       c7 47 18 72 65 73 6f    movl   $0x6f736572,0x18(%edi)
 8049428:       c7 47 1c 6c 76 65 20    movl   $0x2065766c,0x1c(%edi)
 804942f:       c7 47 20 73 65 72 76    movl   $0x76726573,0x20(%edi)
 8049436:       c7 47 24 65 72 20 61    movl   $0x61207265,0x24(%edi)
 804943d:       c7 47 28 64 64 72 65    movl   $0x65726464,0x28(%edi)
 8049444:       66 c7 47 2c 73 73       movw   $0x7373,0x2c(%edi)
 804944a:       c6 47 2e 00             movb   $0x0,0x2e(%edi)
 804944e:       89 34 24                mov    %esi,(%esp)
 8049451:       e8 aa f4 ff ff          call   8048900 <close@plt>
 8049456:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 804945b:       e9 9a 00 00 00          jmp    80494fa <init_driver+0x1ca>
 8049460:       8d 5d d8                lea    -0x28(%ebp),%ebx
 8049463:       c7 03 00 00 00 00       movl   $0x0,(%ebx)
 8049469:       c7 43 04 00 00 00 00    movl   $0x0,0x4(%ebx)
 8049470:       c7 43 08 00 00 00 00    movl   $0x0,0x8(%ebx)
 8049477:       c7 43 0c 00 00 00 00    movl   $0x0,0xc(%ebx)
 804947e:       66 c7 45 d8 02 00       movw   $0x2,-0x28(%ebp)
 8049484:       8b 50 0c                mov    0xc(%eax),%edx
 8049487:       89 54 24 08             mov    %edx,0x8(%esp)
 804948b:       8d 55 dc                lea    -0x24(%ebp),%edx
 804948e:       89 54 24 04             mov    %edx,0x4(%esp)
 8049492:       8b 40 10                mov    0x10(%eax),%eax
 8049495:       8b 00                   mov    (%eax),%eax
 8049497:       89 04 24                mov    %eax,(%esp)
 804949a:       e8 e1 f3 ff ff          call   8048880 <bcopy@plt>
 804949f:       66 c7 45 da 3c 36       movw   $0x363c,-0x26(%ebp)
 80494a5:       c7 44 24 08 10 00 00    movl   $0x10,0x8(%esp)
 80494ac:       00 
 80494ad:       89 5c 24 04             mov    %ebx,0x4(%esp)
 80494b1:       89 34 24                mov    %esi,(%esp)
 80494b4:       e8 f7 f2 ff ff          call   80487b0 <connect@plt>
 80494b9:       85 c0                   test   %eax,%eax
 80494bb:       79 27                   jns    80494e4 <init_driver+0x1b4>
 80494bd:       c7 44 24 08 88 a3 04    movl   $0x804a388,0x8(%esp)
 80494c4:       08 
 80494c5:       c7 44 24 04 00 a5 04    movl   $0x804a500,0x4(%esp)
 80494cc:       08 
 80494cd:       89 3c 24                mov    %edi,(%esp)
 80494d0:       e8 bb f2 ff ff          call   8048790 <sprintf@plt>
 80494d5:       89 34 24                mov    %esi,(%esp)
 80494d8:       e8 23 f4 ff ff          call   8048900 <close@plt>
 80494dd:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 80494e2:       eb 16                   jmp    80494fa <init_driver+0x1ca>
 80494e4:       89 34 24                mov    %esi,(%esp)
 80494e7:       e8 14 f4 ff ff          call   8048900 <close@plt>
 80494ec:       66 c7 07 4f 4b          movw   $0x4b4f,(%edi)
 80494f1:       c6 47 02 00             movb   $0x0,0x2(%edi)
 80494f5:       b8 00 00 00 00          mov    $0x0,%eax
 80494fa:       83 c4 2c                add    $0x2c,%esp
 80494fd:       5b                      pop    %ebx
 80494fe:       5e                      pop    %esi
 80494ff:       5f                      pop    %edi
 8049500:       5d                      pop    %ebp
 8049501:       c3                      ret    

08049502 <init_timeout>:
 8049502:       55                      push   %ebp
 8049503:       89 e5                   mov    %esp,%ebp
 8049505:       53                      push   %ebx
 8049506:       83 ec 14                sub    $0x14,%esp
 8049509:       8b 5d 08                mov    0x8(%ebp),%ebx
 804950c:       85 db                   test   %ebx,%ebx
 804950e:       74 26                   je     8049536 <init_timeout+0x34>
 8049510:       c7 44 24 04 20 9d 04    movl   $0x8049d20,0x4(%esp)
 8049517:       08 
 8049518:       c7 04 24 0e 00 00 00    movl   $0xe,(%esp)
 804951f:       e8 bc f2 ff ff          call   80487e0 <signal@plt>
 8049524:       85 db                   test   %ebx,%ebx
 8049526:       b8 00 00 00 00          mov    $0x0,%eax
 804952b:       0f 48 d8                cmovs  %eax,%ebx
 804952e:       89 1c 24                mov    %ebx,(%esp)
 8049531:       e8 7a f3 ff ff          call   80488b0 <alarm@plt>
 8049536:       83 c4 14                add    $0x14,%esp
 8049539:       5b                      pop    %ebx
 804953a:       5d                      pop    %ebp
 804953b:       c3                      ret    

0804953c <rio_readlineb>:
 804953c:       55                      push   %ebp
 804953d:       89 e5                   mov    %esp,%ebp
 804953f:       57                      push   %edi
 8049540:       56                      push   %esi
 8049541:       53                      push   %ebx
 8049542:       83 ec 3c                sub    $0x3c,%esp
 8049545:       89 c3                   mov    %eax,%ebx
 8049547:       89 4d c8                mov    %ecx,-0x38(%ebp)
 804954a:       89 55 d0                mov    %edx,-0x30(%ebp)
 804954d:       83 f9 01                cmp    $0x1,%ecx
 8049550:       0f 86 be 00 00 00       jbe    8049614 <rio_readlineb+0xd8>
 8049556:       8d 78 0c                lea    0xc(%eax),%edi
 8049559:       89 7d d4                mov    %edi,-0x2c(%ebp)
 804955c:       c7 45 cc 01 00 00 00    movl   $0x1,-0x34(%ebp)
 8049563:       eb 3c                   jmp    80495a1 <rio_readlineb+0x65>
 8049565:       c7 44 24 08 00 20 00    movl   $0x2000,0x8(%esp)
 804956c:       00 
 804956d:       89 7c 24 04             mov    %edi,0x4(%esp)
 8049571:       8b 03                   mov    (%ebx),%eax
 8049573:       89 04 24                mov    %eax,(%esp)
 8049576:       e8 e5 f2 ff ff          call   8048860 <read@plt>
 804957b:       89 43 04                mov    %eax,0x4(%ebx)
 804957e:       85 c0                   test   %eax,%eax
 8049580:       79 11                   jns    8049593 <rio_readlineb+0x57>
 8049582:       e8 f9 f1 ff ff          call   8048780 <__errno_location@plt>
 8049587:       83 38 04                cmpl   $0x4,(%eax)
 804958a:       74 15                   je     80495a1 <rio_readlineb+0x65>
 804958c:       be ff ff ff ff          mov    $0xffffffff,%esi
 8049591:       eb 55                   jmp    80495e8 <rio_readlineb+0xac>
 8049593:       85 c0                   test   %eax,%eax
 8049595:       0f 84 91 00 00 00       je     804962c <rio_readlineb+0xf0>
 804959b:       8b 45 d4                mov    -0x2c(%ebp),%eax
 804959e:       89 43 08                mov    %eax,0x8(%ebx)
 80495a1:       8b 73 04                mov    0x4(%ebx),%esi
 80495a4:       85 f6                   test   %esi,%esi
 80495a6:       7e bd                   jle    8049565 <rio_readlineb+0x29>
 80495a8:       85 f6                   test   %esi,%esi
 80495aa:       0f 85 83 00 00 00       jne    8049633 <rio_readlineb+0xf7>
 80495b0:       8b 43 08                mov    0x8(%ebx),%eax
 80495b3:       89 74 24 08             mov    %esi,0x8(%esp)
 80495b7:       89 44 24 04             mov    %eax,0x4(%esp)
 80495bb:       8d 55 e7                lea    -0x19(%ebp),%edx
 80495be:       89 14 24                mov    %edx,(%esp)
 80495c1:       e8 da f2 ff ff          call   80488a0 <memcpy@plt>
 80495c6:       01 73 08                add    %esi,0x8(%ebx)
 80495c9:       29 73 04                sub    %esi,0x4(%ebx)
 80495cc:       83 fe 01                cmp    $0x1,%esi
 80495cf:       75 17                   jne    80495e8 <rio_readlineb+0xac>
 80495d1:       0f b6 45 e7             movzbl -0x19(%ebp),%eax
 80495d5:       8b 55 d0                mov    -0x30(%ebp),%edx
 80495d8:       88 02                   mov    %al,(%edx)
 80495da:       83 c2 01                add    $0x1,%edx
 80495dd:       89 55 d0                mov    %edx,-0x30(%ebp)
 80495e0:       80 7d e7 0a             cmpb   $0xa,-0x19(%ebp)
 80495e4:       75 20                   jne    8049606 <rio_readlineb+0xca>
 80495e6:       eb 33                   jmp    804961b <rio_readlineb+0xdf>
 80495e8:       8b 45 cc                mov    -0x34(%ebp),%eax
 80495eb:       85 f6                   test   %esi,%esi
 80495ed:       74 09                   je     80495f8 <rio_readlineb+0xbc>
 80495ef:       c7 45 cc ff ff ff ff    movl   $0xffffffff,-0x34(%ebp)
 80495f6:       eb 29                   jmp    8049621 <rio_readlineb+0xe5>
 80495f8:       83 f8 01                cmp    $0x1,%eax
 80495fb:       75 1e                   jne    804961b <rio_readlineb+0xdf>
 80495fd:       c7 45 cc 00 00 00 00    movl   $0x0,-0x34(%ebp)
 8049604:       eb 1b                   jmp    8049621 <rio_readlineb+0xe5>
 8049606:       83 45 cc 01             addl   $0x1,-0x34(%ebp)
 804960a:       8b 45 cc                mov    -0x34(%ebp),%eax
 804960d:       39 45 c8                cmp    %eax,-0x38(%ebp)
 8049610:       77 8f                   ja     80495a1 <rio_readlineb+0x65>
 8049612:       eb 07                   jmp    804961b <rio_readlineb+0xdf>
 8049614:       c7 45 cc 01 00 00 00    movl   $0x1,-0x34(%ebp)
 804961b:       8b 55 d0                mov    -0x30(%ebp),%edx
 804961e:       c6 02 00                movb   $0x0,(%edx)
 8049621:       8b 45 cc                mov    -0x34(%ebp),%eax
 8049624:       83 c4 3c                add    $0x3c,%esp
 8049627:       5b                      pop    %ebx
 8049628:       5e                      pop    %esi
 8049629:       5f                      pop    %edi
 804962a:       5d                      pop    %ebp
 804962b:       c3                      ret    
 804962c:       be 00 00 00 00          mov    $0x0,%esi
 8049631:       eb b5                   jmp    80495e8 <rio_readlineb+0xac>
 8049633:       8b 43 08                mov    0x8(%ebx),%eax
 8049636:       0f b6 00                movzbl (%eax),%eax
 8049639:       88 45 e7                mov    %al,-0x19(%ebp)
 804963c:       83 43 08 01             addl   $0x1,0x8(%ebx)
 8049640:       83 6b 04 01             subl   $0x1,0x4(%ebx)
 8049644:       eb 8b                   jmp    80495d1 <rio_readlineb+0x95>

08049646 <submitr>:
 8049646:       55                      push   %ebp
 8049647:       89 e5                   mov    %esp,%ebp
 8049649:       57                      push   %edi
 804964a:       56                      push   %esi
 804964b:       53                      push   %ebx
 804964c:       81 ec 6c a0 00 00       sub    $0xa06c,%esp
 8049652:       c7 85 c8 7f ff ff 00    movl   $0x0,-0x8038(%ebp)
 8049659:       00 00 00 
 804965c:       c7 44 24 08 00 00 00    movl   $0x0,0x8(%esp)
 8049663:       00 
 8049664:       c7 44 24 04 01 00 00    movl   $0x1,0x4(%esp)
 804966b:       00 
 804966c:       c7 04 24 02 00 00 00    movl   $0x2,(%esp)
 8049673:       e8 f8 f1 ff ff          call   8048870 <socket@plt>
 8049678:       89 85 b0 5f ff ff       mov    %eax,-0xa050(%ebp)
 804967e:       85 c0                   test   %eax,%eax
 8049680:       79 1b                   jns    804969d <submitr+0x57>
 8049682:       b8 28 a5 04 08          mov    $0x804a528,%eax
 8049687:       b9 26 00 00 00          mov    $0x26,%ecx
 804968c:       8b 7d 20                mov    0x20(%ebp),%edi
 804968f:       89 c6                   mov    %eax,%esi
 8049691:       f3 a4                   rep movsb %ds:(%esi),%es:(%edi)
 8049693:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049698:       e9 8c 05 00 00          jmp    8049c29 <submitr+0x5e3>
 804969d:       8b 45 08                mov    0x8(%ebp),%eax
 80496a0:       89 04 24                mov    %eax,(%esp)
 80496a3:       e8 c8 f2 ff ff          call   8048970 <gethostbyname@plt>
 80496a8:       85 c0                   test   %eax,%eax
 80496aa:       75 29                   jne    80496d5 <submitr+0x8f>
 80496ac:       b8 50 a5 04 08          mov    $0x804a550,%eax
 80496b1:       b9 2f 00 00 00          mov    $0x2f,%ecx
 80496b6:       8b 7d 20                mov    0x20(%ebp),%edi
 80496b9:       89 c6                   mov    %eax,%esi
 80496bb:       f3 a4                   rep movsb %ds:(%esi),%es:(%edi)
 80496bd:       8b 85 b0 5f ff ff       mov    -0xa050(%ebp),%eax
 80496c3:       89 04 24                mov    %eax,(%esp)
 80496c6:       e8 35 f2 ff ff          call   8048900 <close@plt>
 80496cb:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 80496d0:       e9 54 05 00 00          jmp    8049c29 <submitr+0x5e3>
 80496d5:       8d 5d d8                lea    -0x28(%ebp),%ebx
 80496d8:       c7 03 00 00 00 00       movl   $0x0,(%ebx)
 80496de:       c7 43 04 00 00 00 00    movl   $0x0,0x4(%ebx)
 80496e5:       c7 43 08 00 00 00 00    movl   $0x0,0x8(%ebx)
 80496ec:       c7 43 0c 00 00 00 00    movl   $0x0,0xc(%ebx)
 80496f3:       66 c7 45 d8 02 00       movw   $0x2,-0x28(%ebp)
 80496f9:       8b 50 0c                mov    0xc(%eax),%edx
 80496fc:       89 54 24 08             mov    %edx,0x8(%esp)
 8049700:       8d 55 dc                lea    -0x24(%ebp),%edx
 8049703:       89 54 24 04             mov    %edx,0x4(%esp)
 8049707:       8b 40 10                mov    0x10(%eax),%eax
 804970a:       8b 00                   mov    (%eax),%eax
 804970c:       89 04 24                mov    %eax,(%esp)
 804970f:       e8 6c f1 ff ff          call   8048880 <bcopy@plt>
 8049714:       0f b7 45 0c             movzwl 0xc(%ebp),%eax
 8049718:       66 c1 c8 08             ror    $0x8,%ax
 804971c:       66 89 45 da             mov    %ax,-0x26(%ebp)
 8049720:       c7 44 24 08 10 00 00    movl   $0x10,0x8(%esp)
 8049727:       00 
 8049728:       89 5c 24 04             mov    %ebx,0x4(%esp)
 804972c:       8b 8d b0 5f ff ff       mov    -0xa050(%ebp),%ecx
 8049732:       89 0c 24                mov    %ecx,(%esp)
 8049735:       e8 76 f0 ff ff          call   80487b0 <connect@plt>
 804973a:       85 c0                   test   %eax,%eax
 804973c:       79 29                   jns    8049767 <submitr+0x121>
 804973e:       b8 80 a5 04 08          mov    $0x804a580,%eax
 8049743:       b9 27 00 00 00          mov    $0x27,%ecx
 8049748:       8b 7d 20                mov    0x20(%ebp),%edi
 804974b:       89 c6                   mov    %eax,%esi
 804974d:       f3 a4                   rep movsb %ds:(%esi),%es:(%edi)
 804974f:       8b 85 b0 5f ff ff       mov    -0xa050(%ebp),%eax
 8049755:       89 04 24                mov    %eax,(%esp)
 8049758:       e8 a3 f1 ff ff          call   8048900 <close@plt>
 804975d:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049762:       e9 c2 04 00 00          jmp    8049c29 <submitr+0x5e3>
 8049767:       ba ff ff ff ff          mov    $0xffffffff,%edx
 804976c:       8b 7d 1c                mov    0x1c(%ebp),%edi
 804976f:       b8 00 00 00 00          mov    $0x0,%eax
 8049774:       89 d1                   mov    %edx,%ecx
 8049776:       f2 ae                   repnz scas %es:(%edi),%al
 8049778:       89 cb                   mov    %ecx,%ebx
 804977a:       f7 d3                   not    %ebx
 804977c:       8b 7d 10                mov    0x10(%ebp),%edi
 804977f:       89 d1                   mov    %edx,%ecx
 8049781:       f2 ae                   repnz scas %es:(%edi),%al
 8049783:       89 8d b4 5f ff ff       mov    %ecx,-0xa04c(%ebp)
 8049789:       8b 7d 14                mov    0x14(%ebp),%edi
 804978c:       89 d1                   mov    %edx,%ecx
 804978e:       f2 ae                   repnz scas %es:(%edi),%al
 8049790:       89 ce                   mov    %ecx,%esi
 8049792:       f7 d6                   not    %esi
 8049794:       8b 7d 18                mov    0x18(%ebp),%edi
 8049797:       89 d1                   mov    %edx,%ecx
 8049799:       f2 ae                   repnz scas %es:(%edi),%al
 804979b:       2b b5 b4 5f ff ff       sub    -0xa04c(%ebp),%esi
 80497a1:       29 ce                   sub    %ecx,%esi
 80497a3:       8d 44 5b fd             lea    -0x3(%ebx,%ebx,2),%eax
 80497a7:       8d 44 06 7b             lea    0x7b(%esi,%eax,1),%eax
 80497ab:       3d 00 20 00 00          cmp    $0x2000,%eax
 80497b0:       76 7c                   jbe    804982e <submitr+0x1e8>
 80497b2:       8b 75 20                mov    0x20(%ebp),%esi
 80497b5:       c7 06 45 72 72 6f       movl   $0x6f727245,(%esi)
 80497bb:       c7 46 04 72 3a 20 52    movl   $0x52203a72,0x4(%esi)
 80497c2:       c7 46 08 65 73 75 6c    movl   $0x6c757365,0x8(%esi)
 80497c9:       c7 46 0c 74 20 73 74    movl   $0x74732074,0xc(%esi)
 80497d0:       c7 46 10 72 69 6e 67    movl   $0x676e6972,0x10(%esi)
 80497d7:       c7 46 14 20 74 6f 6f    movl   $0x6f6f7420,0x14(%esi)
 80497de:       c7 46 18 20 6c 61 72    movl   $0x72616c20,0x18(%esi)
 80497e5:       c7 46 1c 67 65 2e 20    movl   $0x202e6567,0x1c(%esi)
 80497ec:       c7 46 20 49 6e 63 72    movl   $0x72636e49,0x20(%esi)
 80497f3:       c7 46 24 65 61 73 65    movl   $0x65736165,0x24(%esi)
 80497fa:       c7 46 28 20 53 55 42    movl   $0x42555320,0x28(%esi)
 8049801:       c7 46 2c 4d 49 54 52    movl   $0x5254494d,0x2c(%esi)
 8049808:       c7 46 30 5f 4d 41 58    movl   $0x58414d5f,0x30(%esi)
 804980f:       c7 46 34 42 55 46 00    movl   $0x465542,0x34(%esi)
 8049816:       8b bd b0 5f ff ff       mov    -0xa050(%ebp),%edi
 804981c:       89 3c 24                mov    %edi,(%esp)
 804981f:       e8 dc f0 ff ff          call   8048900 <close@plt>
 8049824:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049829:       e9 fb 03 00 00          jmp    8049c29 <submitr+0x5e3>
 804982e:       8d 95 cc 9f ff ff       lea    -0x6034(%ebp),%edx
 8049834:       b9 00 08 00 00          mov    $0x800,%ecx
 8049839:       b8 00 00 00 00          mov    $0x0,%eax
 804983e:       89 d7                   mov    %edx,%edi
 8049840:       f3 ab                   rep stos %eax,%es:(%edi)
 8049842:       8b 7d 1c                mov    0x1c(%ebp),%edi
 8049845:       b9 ff ff ff ff          mov    $0xffffffff,%ecx
 804984a:       f2 ae                   repnz scas %es:(%edi),%al
 804984c:       f7 d1                   not    %ecx
 804984e:       89 cf                   mov    %ecx,%edi
 8049850:       83 ef 01                sub    $0x1,%edi
 8049853:       0f 84 db 03 00 00       je     8049c34 <submitr+0x5ee>
 8049859:       89 d6                   mov    %edx,%esi
 804985b:       bb 00 00 00 00          mov    $0x0,%ebx
 8049860:       89 bd b4 5f ff ff       mov    %edi,-0xa04c(%ebp)
 8049866:       8b 7d 1c                mov    0x1c(%ebp),%edi
 8049869:       0f b6 04 1f             movzbl (%edi,%ebx,1),%eax
 804986d:       3c 2a                   cmp    $0x2a,%al
 804986f:       74 29                   je     804989a <submitr+0x254>
 8049871:       3c 2d                   cmp    $0x2d,%al
 8049873:       74 25                   je     804989a <submitr+0x254>
 8049875:       3c 2e                   cmp    $0x2e,%al
 8049877:       74 21                   je     804989a <submitr+0x254>
 8049879:       3c 5f                   cmp    $0x5f,%al
 804987b:       90                      nop
 804987c:       8d 74 26 00             lea    0x0(%esi,%eiz,1),%esi
 8049880:       74 18                   je     804989a <submitr+0x254>
 8049882:       8d 50 d0                lea    -0x30(%eax),%edx
 8049885:       80 fa 09                cmp    $0x9,%dl
 8049888:       76 10                   jbe    804989a <submitr+0x254>
 804988a:       8d 50 bf                lea    -0x41(%eax),%edx
 804988d:       80 fa 19                cmp    $0x19,%dl
 8049890:       76 08                   jbe    804989a <submitr+0x254>
 8049892:       8d 50 9f                lea    -0x61(%eax),%edx
 8049895:       80 fa 19                cmp    $0x19,%dl
 8049898:       77 07                   ja     80498a1 <submitr+0x25b>
 804989a:       88 06                   mov    %al,(%esi)
 804989c:       83 c6 01                add    $0x1,%esi
 804989f:       eb 55                   jmp    80498f6 <submitr+0x2b0>
 80498a1:       3c 20                   cmp    $0x20,%al
 80498a3:       75 08                   jne    80498ad <submitr+0x267>
 80498a5:       c6 06 2b                movb   $0x2b,(%esi)
 80498a8:       83 c6 01                add    $0x1,%esi
 80498ab:       eb 49                   jmp    80498f6 <submitr+0x2b0>
 80498ad:       8d 50 e0                lea    -0x20(%eax),%edx
 80498b0:       80 fa 5f                cmp    $0x5f,%dl
 80498b3:       76 04                   jbe    80498b9 <submitr+0x273>
 80498b5:       3c 09                   cmp    $0x9,%al
 80498b7:       75 51                   jne    804990a <submitr+0x2c4>
 80498b9:       0f b6 c0                movzbl %al,%eax
 80498bc:       89 44 24 08             mov    %eax,0x8(%esp)
 80498c0:       c7 44 24 04 bd a4 04    movl   $0x804a4bd,0x4(%esp)
 80498c7:       08 
 80498c8:       8d 85 c0 5f ff ff       lea    -0xa040(%ebp),%eax
 80498ce:       89 04 24                mov    %eax,(%esp)
 80498d1:       e8 ba ee ff ff          call   8048790 <sprintf@plt>
 80498d6:       0f b6 85 c0 5f ff ff    movzbl -0xa040(%ebp),%eax
 80498dd:       88 06                   mov    %al,(%esi)
 80498df:       0f b6 85 c1 5f ff ff    movzbl -0xa03f(%ebp),%eax
 80498e6:       88 46 01                mov    %al,0x1(%esi)
 80498e9:       0f b6 85 c2 5f ff ff    movzbl -0xa03e(%ebp),%eax
 80498f0:       88 46 02                mov    %al,0x2(%esi)
 80498f3:       83 c6 03                add    $0x3,%esi
 80498f6:       83 c3 01                add    $0x1,%ebx
 80498f9:       3b 9d b4 5f ff ff       cmp    -0xa04c(%ebp),%ebx
 80498ff:       0f 85 64 ff ff ff       jne    8049869 <submitr+0x223>
 8049905:       e9 2a 03 00 00          jmp    8049c34 <submitr+0x5ee>
 804990a:       b8 a8 a5 04 08          mov    $0x804a5a8,%eax
 804990f:       b9 43 00 00 00          mov    $0x43,%ecx
 8049914:       8b 7d 20                mov    0x20(%ebp),%edi
 8049917:       89 c6                   mov    %eax,%esi
 8049919:       f3 a4                   rep movsb %ds:(%esi),%es:(%edi)
 804991b:       8b 85 b0 5f ff ff       mov    -0xa050(%ebp),%eax
 8049921:       89 04 24                mov    %eax,(%esp)
 8049924:       e8 d7 ef ff ff          call   8048900 <close@plt>
 8049929:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 804992e:       e9 f6 02 00 00          jmp    8049c29 <submitr+0x5e3>
 8049933:       01 c6                   add    %eax,%esi
 8049935:       89 5c 24 08             mov    %ebx,0x8(%esp)
 8049939:       89 74 24 04             mov    %esi,0x4(%esp)
 804993d:       89 3c 24                mov    %edi,(%esp)
 8049940:       e8 db ee ff ff          call   8048820 <write@plt>
 8049945:       85 c0                   test   %eax,%eax
 8049947:       7f 0f                   jg     8049958 <submitr+0x312>
 8049949:       e8 32 ee ff ff          call   8048780 <__errno_location@plt>
 804994e:       83 38 04                cmpl   $0x4,(%eax)
 8049951:       75 13                   jne    8049966 <submitr+0x320>
 8049953:       b8 00 00 00 00          mov    $0x0,%eax
 8049958:       29 c3                   sub    %eax,%ebx
 804995a:       75 d7                   jne    8049933 <submitr+0x2ed>
 804995c:       8b bd b4 5f ff ff       mov    -0xa04c(%ebp),%edi
 8049962:       85 ff                   test   %edi,%edi
 8049964:       79 64                   jns    80499ca <submitr+0x384>
 8049966:       8b 7d 20                mov    0x20(%ebp),%edi
 8049969:       be ec a5 04 08          mov    $0x804a5ec,%esi
 804996e:       b8 2c 00 00 00          mov    $0x2c,%eax
 8049973:       f7 c7 01 00 00 00       test   $0x1,%edi
 8049979:       74 04                   je     804997f <submitr+0x339>
 804997b:       a4                      movsb  %ds:(%esi),%es:(%edi)
 804997c:       83 e8 01                sub    $0x1,%eax
 804997f:       f7 c7 02 00 00 00       test   $0x2,%edi
 8049985:       74 05                   je     804998c <submitr+0x346>
 8049987:       66 a5                   movsw  %ds:(%esi),%es:(%edi)
 8049989:       83 e8 02                sub    $0x2,%eax
 804998c:       89 c1                   mov    %eax,%ecx
 804998e:       c1 e9 02                shr    $0x2,%ecx
 8049991:       f3 a5                   rep movsl %ds:(%esi),%es:(%edi)
 8049993:       ba 00 00 00 00          mov    $0x0,%edx
 8049998:       a8 02                   test   $0x2,%al
 804999a:       74 0b                   je     80499a7 <submitr+0x361>
 804999c:       0f b7 0c 16             movzwl (%esi,%edx,1),%ecx
 80499a0:       66 89 0c 17             mov    %cx,(%edi,%edx,1)
 80499a4:       83 c2 02                add    $0x2,%edx
 80499a7:       a8 01                   test   $0x1,%al
 80499a9:       74 07                   je     80499b2 <submitr+0x36c>
 80499ab:       0f b6 04 16             movzbl (%esi,%edx,1),%eax
 80499af:       88 04 17                mov    %al,(%edi,%edx,1)
 80499b2:       8b 8d b0 5f ff ff       mov    -0xa050(%ebp),%ecx
 80499b8:       89 0c 24                mov    %ecx,(%esp)
 80499bb:       e8 40 ef ff ff          call   8048900 <close@plt>
 80499c0:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 80499c5:       e9 5f 02 00 00          jmp    8049c29 <submitr+0x5e3>
 80499ca:       8b b5 b0 5f ff ff       mov    -0xa050(%ebp),%esi
 80499d0:       89 b5 cc df ff ff       mov    %esi,-0x2034(%ebp)
 80499d6:       c7 85 d0 df ff ff 00    movl   $0x0,-0x2030(%ebp)
 80499dd:       00 00 00 
 80499e0:       8d 85 cc df ff ff       lea    -0x2034(%ebp),%eax
 80499e6:       8d 95 d8 df ff ff       lea    -0x2028(%ebp),%edx
 80499ec:       89 95 d4 df ff ff       mov    %edx,-0x202c(%ebp)
 80499f2:       8d 95 cc bf ff ff       lea    -0x4034(%ebp),%edx
 80499f8:       b9 00 20 00 00          mov    $0x2000,%ecx
 80499fd:       e8 3a fb ff ff          call   804953c <rio_readlineb>
 8049a02:       85 c0                   test   %eax,%eax
 8049a04:       7f 29                   jg     8049a2f <submitr+0x3e9>
 8049a06:       b8 18 a6 04 08          mov    $0x804a618,%eax
 8049a0b:       b9 36 00 00 00          mov    $0x36,%ecx
 8049a10:       8b 7d 20                mov    0x20(%ebp),%edi
 8049a13:       89 c6                   mov    %eax,%esi
 8049a15:       f3 a4                   rep movsb %ds:(%esi),%es:(%edi)
 8049a17:       8b 85 b0 5f ff ff       mov    -0xa050(%ebp),%eax
 8049a1d:       89 04 24                mov    %eax,(%esp)
 8049a20:       e8 db ee ff ff          call   8048900 <close@plt>
 8049a25:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049a2a:       e9 fa 01 00 00          jmp    8049c29 <submitr+0x5e3>
 8049a2f:       8d bd cc bf ff ff       lea    -0x4034(%ebp),%edi
 8049a35:       8d 85 c8 5f ff ff       lea    -0xa038(%ebp),%eax
 8049a3b:       89 44 24 10             mov    %eax,0x10(%esp)
 8049a3f:       8d 85 c8 7f ff ff       lea    -0x8038(%ebp),%eax
 8049a45:       89 44 24 0c             mov    %eax,0xc(%esp)
 8049a49:       8d 85 cc 7f ff ff       lea    -0x8034(%ebp),%eax
 8049a4f:       89 44 24 08             mov    %eax,0x8(%esp)
 8049a53:       c7 44 24 04 c4 a4 04    movl   $0x804a4c4,0x4(%esp)
 8049a5a:       08 
 8049a5b:       89 3c 24                mov    %edi,(%esp)
 8049a5e:       e8 9d ed ff ff          call   8048800 <__isoc99_sscanf@plt>
 8049a63:       8b 85 c8 7f ff ff       mov    -0x8038(%ebp),%eax
 8049a69:       8d 9d cc bf ff ff       lea    -0x4034(%ebp),%ebx
 8049a6f:       8d b5 cc df ff ff       lea    -0x2034(%ebp),%esi
 8049a75:       3d c8 00 00 00          cmp    $0xc8,%eax
 8049a7a:       0f 84 bd 00 00 00       je     8049b3d <submitr+0x4f7>
 8049a80:       8d 95 c8 5f ff ff       lea    -0xa038(%ebp),%edx
 8049a86:       89 54 24 0c             mov    %edx,0xc(%esp)
 8049a8a:       89 44 24 08             mov    %eax,0x8(%esp)
 8049a8e:       c7 44 24 04 50 a6 04    movl   $0x804a650,0x4(%esp)
 8049a95:       08 
 8049a96:       8b 4d 20                mov    0x20(%ebp),%ecx
 8049a99:       89 0c 24                mov    %ecx,(%esp)
 8049a9c:       e8 ef ec ff ff          call   8048790 <sprintf@plt>
 8049aa1:       8b b5 b0 5f ff ff       mov    -0xa050(%ebp),%esi
 8049aa7:       89 34 24                mov    %esi,(%esp)
 8049aaa:       e8 51 ee ff ff          call   8048900 <close@plt>
 8049aaf:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049ab4:       e9 70 01 00 00          jmp    8049c29 <submitr+0x5e3>
 8049ab9:       b9 00 20 00 00          mov    $0x2000,%ecx
 8049abe:       89 da                   mov    %ebx,%edx
 8049ac0:       89 f0                   mov    %esi,%eax
 8049ac2:       e8 75 fa ff ff          call   804953c <rio_readlineb>
 8049ac7:       85 c0                   test   %eax,%eax
 8049ac9:       7f 72                   jg     8049b3d <submitr+0x4f7>
 8049acb:       8b 7d 20                mov    0x20(%ebp),%edi
 8049ace:       c7 07 45 72 72 6f       movl   $0x6f727245,(%edi)
 8049ad4:       c7 47 04 72 3a 20 43    movl   $0x43203a72,0x4(%edi)
 8049adb:       c7 47 08 6c 69 65 6e    movl   $0x6e65696c,0x8(%edi)
 8049ae2:       c7 47 0c 74 20 75 6e    movl   $0x6e752074,0xc(%edi)
 8049ae9:       c7 47 10 61 62 6c 65    movl   $0x656c6261,0x10(%edi)
 8049af0:       c7 47 14 20 74 6f 20    movl   $0x206f7420,0x14(%edi)
 8049af7:       c7 47 18 72 65 61 64    movl   $0x64616572,0x18(%edi)
 8049afe:       c7 47 1c 20 68 65 61    movl   $0x61656820,0x1c(%edi)
 8049b05:       c7 47 20 64 65 72 73    movl   $0x73726564,0x20(%edi)
 8049b0c:       c7 47 24 20 66 72 6f    movl   $0x6f726620,0x24(%edi)
 8049b13:       c7 47 28 6d 20 73 65    movl   $0x6573206d,0x28(%edi)
 8049b1a:       c7 47 2c 72 76 65 72    movl   $0x72657672,0x2c(%edi)
 8049b21:       c6 47 30 00             movb   $0x0,0x30(%edi)
 8049b25:       8b 85 b0 5f ff ff       mov    -0xa050(%ebp),%eax
 8049b2b:       89 04 24                mov    %eax,(%esp)
 8049b2e:       e8 cd ed ff ff          call   8048900 <close@plt>
 8049b33:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049b38:       e9 ec 00 00 00          jmp    8049c29 <submitr+0x5e3>
 8049b3d:       b8 d5 a4 04 08          mov    $0x804a4d5,%eax
 8049b42:       0f b6 13                movzbl (%ebx),%edx
 8049b45:       3a 10                   cmp    (%eax),%dl
 8049b47:       0f 85 6c ff ff ff       jne    8049ab9 <submitr+0x473>
 8049b4d:       0f b6 53 01             movzbl 0x1(%ebx),%edx
 8049b51:       3a 50 01                cmp    0x1(%eax),%dl
 8049b54:       0f 85 5f ff ff ff       jne    8049ab9 <submitr+0x473>
 8049b5a:       0f b6 53 02             movzbl 0x2(%ebx),%edx
 8049b5e:       3a 50 02                cmp    0x2(%eax),%dl
 8049b61:       0f 85 52 ff ff ff       jne    8049ab9 <submitr+0x473>
 8049b67:       8d 95 cc bf ff ff       lea    -0x4034(%ebp),%edx
 8049b6d:       8d 85 cc df ff ff       lea    -0x2034(%ebp),%eax
 8049b73:       b9 00 20 00 00          mov    $0x2000,%ecx
 8049b78:       e8 bf f9 ff ff          call   804953c <rio_readlineb>
 8049b7d:       85 c0                   test   %eax,%eax
 8049b7f:       7f 61                   jg     8049be2 <submitr+0x59c>
 8049b81:       8b 7d 20                mov    0x20(%ebp),%edi
 8049b84:       be 80 a6 04 08          mov    $0x804a680,%esi
 8049b89:       b8 38 00 00 00          mov    $0x38,%eax
 8049b8e:       f7 c7 01 00 00 00       test   $0x1,%edi
 8049b94:       74 04                   je     8049b9a <submitr+0x554>
 8049b96:       a4                      movsb  %ds:(%esi),%es:(%edi)
 8049b97:       83 e8 01                sub    $0x1,%eax
 8049b9a:       f7 c7 02 00 00 00       test   $0x2,%edi
 8049ba0:       74 05                   je     8049ba7 <submitr+0x561>
 8049ba2:       66 a5                   movsw  %ds:(%esi),%es:(%edi)
 8049ba4:       83 e8 02                sub    $0x2,%eax
 8049ba7:       89 c1                   mov    %eax,%ecx
 8049ba9:       c1 e9 02                shr    $0x2,%ecx
 8049bac:       f3 a5                   rep movsl %ds:(%esi),%es:(%edi)
 8049bae:       ba 00 00 00 00          mov    $0x0,%edx
 8049bb3:       a8 02                   test   $0x2,%al
 8049bb5:       74 0b                   je     8049bc2 <submitr+0x57c>
 8049bb7:       0f b7 0c 16             movzwl (%esi,%edx,1),%ecx
 8049bbb:       66 89 0c 17             mov    %cx,(%edi,%edx,1)
 8049bbf:       83 c2 02                add    $0x2,%edx
 8049bc2:       a8 01                   test   $0x1,%al
 8049bc4:       74 07                   je     8049bcd <submitr+0x587>
 8049bc6:       0f b6 04 16             movzbl (%esi,%edx,1),%eax
 8049bca:       88 04 17                mov    %al,(%edi,%edx,1)
 8049bcd:       8b 8d b0 5f ff ff       mov    -0xa050(%ebp),%ecx
 8049bd3:       89 0c 24                mov    %ecx,(%esp)
 8049bd6:       e8 25 ed ff ff          call   8048900 <close@plt>
 8049bdb:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049be0:       eb 47                   jmp    8049c29 <submitr+0x5e3>
 8049be2:       89 7c 24 04             mov    %edi,0x4(%esp)
 8049be6:       8b 75 20                mov    0x20(%ebp),%esi
 8049be9:       89 34 24                mov    %esi,(%esp)
 8049bec:       e8 cf ec ff ff          call   80488c0 <strcpy@plt>
 8049bf1:       8b bd b0 5f ff ff       mov    -0xa050(%ebp),%edi
 8049bf7:       89 3c 24                mov    %edi,(%esp)
 8049bfa:       e8 01 ed ff ff          call   8048900 <close@plt>
 8049bff:       b8 d8 a4 04 08          mov    $0x804a4d8,%eax
 8049c04:       0f b6 0e                movzbl (%esi),%ecx
 8049c07:       3a 08                   cmp    (%eax),%cl
 8049c09:       75 19                   jne    8049c24 <submitr+0x5de>
 8049c0b:       0f b6 4e 01             movzbl 0x1(%esi),%ecx
 8049c0f:       3a 48 01                cmp    0x1(%eax),%cl
 8049c12:       75 10                   jne    8049c24 <submitr+0x5de>
 8049c14:       0f b6 56 02             movzbl 0x2(%esi),%edx
 8049c18:       3a 50 02                cmp    0x2(%eax),%dl
 8049c1b:       75 07                   jne    8049c24 <submitr+0x5de>
 8049c1d:       b8 00 00 00 00          mov    $0x0,%eax
 8049c22:       eb 05                   jmp    8049c29 <submitr+0x5e3>
 8049c24:       b8 ff ff ff ff          mov    $0xffffffff,%eax
 8049c29:       81 c4 6c a0 00 00       add    $0xa06c,%esp
 8049c2f:       5b                      pop    %ebx
 8049c30:       5e                      pop    %esi
 8049c31:       5f                      pop    %edi
 8049c32:       5d                      pop    %ebp
 8049c33:       c3                      ret    
 8049c34:       8d 85 cc 9f ff ff       lea    -0x6034(%ebp),%eax
 8049c3a:       89 44 24 14             mov    %eax,0x14(%esp)
 8049c3e:       8b 45 18                mov    0x18(%ebp),%eax
 8049c41:       89 44 24 10             mov    %eax,0x10(%esp)
 8049c45:       8b 4d 14                mov    0x14(%ebp),%ecx
 8049c48:       89 4c 24 0c             mov    %ecx,0xc(%esp)
 8049c4c:       8b 75 10                mov    0x10(%ebp),%esi
 8049c4f:       89 74 24 08             mov    %esi,0x8(%esp)
 8049c53:       c7 44 24 04 b8 a6 04    movl   $0x804a6b8,0x4(%esp)
 8049c5a:       08 
 8049c5b:       8d bd cc bf ff ff       lea    -0x4034(%ebp),%edi
 8049c61:       89 3c 24                mov    %edi,(%esp)
 8049c64:       e8 27 eb ff ff          call   8048790 <sprintf@plt>
 8049c69:       b8 00 00 00 00          mov    $0x0,%eax
 8049c6e:       b9 ff ff ff ff          mov    $0xffffffff,%ecx
 8049c73:       f2 ae                   repnz scas %es:(%edi),%al
 8049c75:       f7 d1                   not    %ecx
 8049c77:       89 cf                   mov    %ecx,%edi
 8049c79:       83 ef 01                sub    $0x1,%edi
 8049c7c:       0f 84 48 fd ff ff       je     80499ca <submitr+0x384>
 8049c82:       89 fb                   mov    %edi,%ebx
 8049c84:       8d b5 cc bf ff ff       lea    -0x4034(%ebp),%esi
 8049c8a:       89 bd b4 5f ff ff       mov    %edi,-0xa04c(%ebp)
 8049c90:       8b bd b0 5f ff ff       mov    -0xa050(%ebp),%edi
 8049c96:       e9 9a fc ff ff          jmp    8049935 <submitr+0x2ef>

08049c9b <driver_post>:
 8049c9b:       55                      push   %ebp
 8049c9c:       89 e5                   mov    %esp,%ebp
 8049c9e:       53                      push   %ebx
 8049c9f:       83 ec 24                sub    $0x24,%esp
 8049ca2:       8b 45 08                mov    0x8(%ebp),%eax
 8049ca5:       8b 55 0c                mov    0xc(%ebp),%edx
 8049ca8:       8b 5d 14                mov    0x14(%ebp),%ebx
 8049cab:       83 7d 10 00             cmpl   $0x0,0x10(%ebp)
 8049caf:       74 20                   je     8049cd1 <driver_post+0x36>
 8049cb1:       89 54 24 04             mov    %edx,0x4(%esp)
 8049cb5:       c7 04 24 db a4 04 08    movl   $0x804a4db,(%esp)
 8049cbc:       e8 0f ec ff ff          call   80488d0 <printf@plt>
 8049cc1:       66 c7 03 4f 4b          movw   $0x4b4f,(%ebx)
 8049cc6:       c6 43 02 00             movb   $0x0,0x2(%ebx)
 8049cca:       b8 00 00 00 00          mov    $0x0,%eax
 8049ccf:       eb 49                   jmp    8049d1a <driver_post+0x7f>
 8049cd1:       85 c0                   test   %eax,%eax
 8049cd3:       74 37                   je     8049d0c <driver_post+0x71>
 8049cd5:       80 38 00                cmpb   $0x0,(%eax)
 8049cd8:       74 32                   je     8049d0c <driver_post+0x71>
 8049cda:       89 5c 24 18             mov    %ebx,0x18(%esp)
 8049cde:       89 54 24 14             mov    %edx,0x14(%esp)
 8049ce2:       c7 44 24 10 f2 a4 04    movl   $0x804a4f2,0x10(%esp)
 8049ce9:       08 
 8049cea:       89 44 24 0c             mov    %eax,0xc(%esp)
 8049cee:       c7 44 24 08 f9 a4 04    movl   $0x804a4f9,0x8(%esp)
 8049cf5:       08 
 8049cf6:       c7 44 24 04 36 3c 00    movl   $0x3c36,0x4(%esp)
 8049cfd:       00 
 8049cfe:       c7 04 24 88 a3 04 08    movl   $0x804a388,(%esp)
 8049d05:       e8 3c f9 ff ff          call   8049646 <submitr>
 8049d0a:       eb 0e                   jmp    8049d1a <driver_post+0x7f>
 8049d0c:       66 c7 03 4f 4b          movw   $0x4b4f,(%ebx)
 8049d11:       c6 43 02 00             movb   $0x0,0x2(%ebx)
 8049d15:       b8 00 00 00 00          mov    $0x0,%eax
 8049d1a:       83 c4 24                add    $0x24,%esp
 8049d1d:       5b                      pop    %ebx
 8049d1e:       5d                      pop    %ebp
 8049d1f:       c3                      ret    

08049d20 <sigalrm_handler>:
 8049d20:       55                      push   %ebp
 8049d21:       89 e5                   mov    %esp,%ebp
 8049d23:       83 ec 18                sub    $0x18,%esp
 8049d26:       c7 44 24 08 00 00 00    movl   $0x0,0x8(%esp)
 8049d2d:       00 
 8049d2e:       c7 44 24 04 04 a7 04    movl   $0x804a704,0x4(%esp)
 8049d35:       08 
 8049d36:       a1 c0 c1 04 08          mov    0x804c1c0,%eax
 8049d3b:       89 04 24                mov    %eax,(%esp)
 8049d3e:       e8 dd eb ff ff          call   8048920 <fprintf@plt>
 8049d43:       c7 04 24 01 00 00 00    movl   $0x1,(%esp)
 8049d4a:       e8 41 ec ff ff          call   8048990 <exit@plt>
 8049d4f:       90                      nop

08049d50 <hash>:
 8049d50:       55                      push   %ebp
 8049d51:       89 e5                   mov    %esp,%ebp
 8049d53:       8b 4d 08                mov    0x8(%ebp),%ecx
 8049d56:       0f b6 11                movzbl (%ecx),%edx
 8049d59:       b8 00 00 00 00          mov    $0x0,%eax
 8049d5e:       84 d2                   test   %dl,%dl
 8049d60:       74 13                   je     8049d75 <hash+0x25>
 8049d62:       6b c0 67                imul   $0x67,%eax,%eax
 8049d65:       0f be d2                movsbl %dl,%edx
 8049d68:       8d 04 02                lea    (%edx,%eax,1),%eax
 8049d6b:       83 c1 01                add    $0x1,%ecx
 8049d6e:       0f b6 11                movzbl (%ecx),%edx
 8049d71:       84 d2                   test   %dl,%dl
 8049d73:       75 ed                   jne    8049d62 <hash+0x12>
 8049d75:       5d                      pop    %ebp
 8049d76:       c3                      ret    

08049d77 <check>:
 8049d77:       55                      push   %ebp
 8049d78:       89 e5                   mov    %esp,%ebp
 8049d7a:       8b 45 08                mov    0x8(%ebp),%eax
 8049d7d:       89 c2                   mov    %eax,%edx
 8049d7f:       c1 ea 1c                shr    $0x1c,%edx
 8049d82:       85 d2                   test   %edx,%edx
 8049d84:       74 24                   je     8049daa <check+0x33>
 8049d86:       3c 0a                   cmp    $0xa,%al
 8049d88:       74 20                   je     8049daa <check+0x33>
 8049d8a:       0f b6 d4                movzbl %ah,%edx
 8049d8d:       83 fa 0a                cmp    $0xa,%edx
 8049d90:       74 18                   je     8049daa <check+0x33>
 8049d92:       89 c2                   mov    %eax,%edx
 8049d94:       c1 ea 10                shr    $0x10,%edx
 8049d97:       80 fa 0a                cmp    $0xa,%dl
 8049d9a:       74 0e                   je     8049daa <check+0x33>
 8049d9c:       c1 e8 18                shr    $0x18,%eax
 8049d9f:       83 f8 0a                cmp    $0xa,%eax
 8049da2:       0f 95 c0                setne  %al
 8049da5:       0f b6 c0                movzbl %al,%eax
 8049da8:       eb 05                   jmp    8049daf <check+0x38>
 8049daa:       b8 00 00 00 00          mov    $0x0,%eax
 8049daf:       5d                      pop    %ebp
 8049db0:       c3                      ret    

08049db1 <gencookie>:
 8049db1:       55                      push   %ebp
 8049db2:       89 e5                   mov    %esp,%ebp
 8049db4:       53                      push   %ebx
 8049db5:       83 ec 14                sub    $0x14,%esp
 8049db8:       8b 45 08                mov    0x8(%ebp),%eax
 8049dbb:       89 04 24                mov    %eax,(%esp)
 8049dbe:       e8 8d ff ff ff          call   8049d50 <hash>
 8049dc3:       89 04 24                mov    %eax,(%esp)
 8049dc6:       e8 d5 e9 ff ff          call   80487a0 <srand@plt>
 8049dcb:       e8 80 eb ff ff          call   8048950 <rand@plt>
 8049dd0:       89 c3                   mov    %eax,%ebx
 8049dd2:       89 04 24                mov    %eax,(%esp)
 8049dd5:       e8 9d ff ff ff          call   8049d77 <check>
 8049dda:       85 c0                   test   %eax,%eax
 8049ddc:       74 ed                   je     8049dcb <gencookie+0x1a>
 8049dde:       89 d8                   mov    %ebx,%eax
 8049de0:       83 c4 14                add    $0x14,%esp
 8049de3:       5b                      pop    %ebx
 8049de4:       5d                      pop    %ebp
 8049de5:       c3                      ret    
 8049de6:       90                      nop
 8049de7:       90                      nop
 8049de8:       90                      nop
 8049de9:       90                      nop
 8049dea:       90                      nop
 8049deb:       90                      nop
 8049dec:       90                      nop
 8049ded:       90                      nop
 8049dee:       90                      nop
 8049def:       90                      nop

08049df0 <__libc_csu_fini>:
 8049df0:       55                      push   %ebp
 8049df1:       89 e5                   mov    %esp,%ebp
 8049df3:       5d                      pop    %ebp
 8049df4:       c3                      ret    
 8049df5:       66 66 2e 0f 1f 84 00    nopw   %cs:0x0(%eax,%eax,1)
 8049dfc:       00 00 00 00 

08049e00 <__libc_csu_init>:
 8049e00:       55                      push   %ebp
 8049e01:       89 e5                   mov    %esp,%ebp
 8049e03:       57                      push   %edi
 8049e04:       56                      push   %esi
 8049e05:       53                      push   %ebx
 8049e06:       e8 4f 00 00 00          call   8049e5a <__i686.get_pc_thunk.bx>
 8049e0b:       81 c3 d5 12 00 00       add    $0x12d5,%ebx
 8049e11:       83 ec 1c                sub    $0x1c,%esp
 8049e14:       e8 27 e9 ff ff          call   8048740 <_init>
 8049e19:       8d bb 20 ff ff ff       lea    -0xe0(%ebx),%edi
 8049e1f:       8d 83 20 ff ff ff       lea    -0xe0(%ebx),%eax
 8049e25:       29 c7                   sub    %eax,%edi
 8049e27:       c1 ff 02                sar    $0x2,%edi
 8049e2a:       85 ff                   test   %edi,%edi
 8049e2c:       74 24                   je     8049e52 <__libc_csu_init+0x52>
 8049e2e:       31 f6                   xor    %esi,%esi
 8049e30:       8b 45 10                mov    0x10(%ebp),%eax
 8049e33:       89 44 24 08             mov    %eax,0x8(%esp)
 8049e37:       8b 45 0c                mov    0xc(%ebp),%eax
 8049e3a:       89 44 24 04             mov    %eax,0x4(%esp)
 8049e3e:       8b 45 08                mov    0x8(%ebp),%eax
 8049e41:       89 04 24                mov    %eax,(%esp)
 8049e44:       ff 94 b3 20 ff ff ff    call   *-0xe0(%ebx,%esi,4)
 8049e4b:       83 c6 01                add    $0x1,%esi
 8049e4e:       39 fe                   cmp    %edi,%esi
 8049e50:       72 de                   jb     8049e30 <__libc_csu_init+0x30>
 8049e52:       83 c4 1c                add    $0x1c,%esp
 8049e55:       5b                      pop    %ebx
 8049e56:       5e                      pop    %esi
 8049e57:       5f                      pop    %edi
 8049e58:       5d                      pop    %ebp
 8049e59:       c3                      ret    

08049e5a <__i686.get_pc_thunk.bx>:
 8049e5a:       8b 1c 24                mov    (%esp),%ebx
 8049e5d:       c3                      ret    
 8049e5e:       90                      nop
 8049e5f:       90                      nop

08049e60 <__do_global_ctors_aux>:
 8049e60:       55                      push   %ebp
 8049e61:       89 e5                   mov    %esp,%ebp
 8049e63:       53                      push   %ebx
 8049e64:       83 ec 04                sub    $0x4,%esp
 8049e67:       a1 00 b0 04 08          mov    0x804b000,%eax
 8049e6c:       83 f8 ff                cmp    $0xffffffff,%eax
 8049e6f:       74 13                   je     8049e84 <__do_global_ctors_aux+0x24>
 8049e71:       bb 00 b0 04 08          mov    $0x804b000,%ebx
 8049e76:       66 90                   xchg   %ax,%ax
 8049e78:       83 eb 04                sub    $0x4,%ebx
 8049e7b:       ff d0                   call   *%eax
 8049e7d:       8b 03                   mov    (%ebx),%eax
 8049e7f:       83 f8 ff                cmp    $0xffffffff,%eax
 8049e82:       75 f4                   jne    8049e78 <__do_global_ctors_aux+0x18>
 8049e84:       83 c4 04                add    $0x4,%esp
 8049e87:       5b                      pop    %ebx
 8049e88:       5d                      pop    %ebp
 8049e89:       c3                      ret    
 8049e8a:       90                      nop
 8049e8b:       90                      nop

Disassembly of section .fini:

08049e8c <_fini>:
 8049e8c:       55                      push   %ebp
 8049e8d:       89 e5                   mov    %esp,%ebp
 8049e8f:       53                      push   %ebx
 8049e90:       83 ec 04                sub    $0x4,%esp
 8049e93:       e8 00 00 00 00          call   8049e98 <_fini+0xc>
 8049e98:       5b                      pop    %ebx
 8049e99:       81 c3 48 12 00 00       add    $0x1248,%ebx
 8049e9f:       e8 2c eb ff ff          call   80489d0 <__do_global_dtors_aux>
 8049ea4:       59                      pop    %ecx
 8049ea5:       5b                      pop    %ebx
 8049ea6:       c9                      leave  
 8049ea7:       c3                      ret