previous | start | next

Debugging Sample - phase_1

08048568 <phase_1>:
 8048568:       55                      push   %ebp
 8048569:       89 e5                   mov    %esp,%ebp
 804856b:       83 ec 38                sub    $0x38,%esp
 804856e:       8d 45 ec                lea    0xffffffec(%ebp),%eax
 8048571:       8d 50 08                lea    0x8(%eax),%edx
 8048574:       8d 45 ec                lea    0xffffffec(%ebp),%eax
 8048577:       83 c0 04                add    $0x4,%eax
 804857a:       89 54 24 10             mov    %edx,0x10(%esp)
 804857e:       89 44 24 0c             mov    %eax,0xc(%esp)
 8048582:       8d 45 ec                lea    0xffffffec(%ebp),%eax
 8048585:       89 44 24 08             mov    %eax,0x8(%esp)
 8048589:       c7 44 24 04 48 87 04    movl   $0x8048748,0x4(%esp)
 8048590:       08
 8048591:       8b 45 08                mov    0x8(%ebp),%eax
 8048594:       89 04 24                mov    %eax,(%esp)
 8048597:       e8 08 fe ff ff          call   80483a4 <sscanf@plt>
 804859c:       89 45 f8                mov    %eax,0xfffffff8(%ebp)
 804859f:       83 7d f8 03             cmpl   $0x3,0xfffffff8(%ebp)
 80485a3:       74 05                   je     80485aa <phase_1+0x42>
 80485a5:       e8 2e 00 00 00          call   80485d8 <explode>
 80485aa:       c7 45 fc 00 00 00 00    movl   $0x0,0xfffffffc(%ebp)
 80485b1:       83 6d f8 01             subl   $0x1,0xfffffff8(%ebp)
 80485b5:       eb 0e                   jmp    80485c5 <phase_1+0x5d>
 80485b7:       8b 45 f8                mov    0xfffffff8(%ebp),%eax
 80485ba:       8b 44 85 ec             mov
              0xffffffec(%ebp,%eax,4),%eax
 80485be:       01 45 fc                add    %eax,0xfffffffc(%ebp)
 80485c1:       83 6d f8 01             subl   $0x1,0xfffffff8(%ebp)
 80485c5:       83 7d f8 00             cmpl   $0x0,0xfffffff8(%ebp)
 80485c9:       79 ec                   jns    80485b7 <phase_1+0x4f>
 80485cb:       83 7d fc 12             cmpl   $0x12,0xfffffffc(%ebp)
 80485cf:       74 05                   je     80485d6 <phase_1+0x6e>
 80485d1:       e8 02 00 00 00          call   80485d8 <explode>
 80485d6:       c9                      leave
 80485d7:       c3                      ret


previous | start | next