Advertisement
Guest User

print_rank

a guest
Dec 27th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 0804886b <print_rank>:
  2.  804886b:   55                      push   %ebp
  3.  804886c:   89 e5                   mov    %esp,%ebp
  4.  804886e:   53                      push   %ebx
  5.  804886f:   83 ec 14                sub    $0x14,%esp
  6.  8048872:   83 ec 0c                sub    $0xc,%esp
  7.  8048875:   68 20 8e 04 08          push   $0x8048e20
  8.  804887a:   e8 61 fc ff ff          call   80484e0 <puts@plt>
  9.  804887f:   83 c4 10                add    $0x10,%esp
  10.  8048882:   83 ec 0c                sub    $0xc,%esp
  11.  8048885:   68 3a 8e 04 08          push   $0x8048e3a
  12.  804888a:   e8 51 fc ff ff          call   80484e0 <puts@plt>
  13.  804888f:   83 c4 10                add    $0x10,%esp
  14.  8048892:   83 ec 0c                sub    $0xc,%esp
  15.  8048895:   68 20 8e 04 08          push   $0x8048e20
  16.  804889a:   e8 41 fc ff ff          call   80484e0 <puts@plt>
  17.  804889f:   83 c4 10                add    $0x10,%esp
  18.  80488a2:   c7 45 f0 00 00 00 00    movl   $0x0,-0x10(%ebp)
  19.  80488a9:   eb 3d                   jmp    80488e8 <print_rank+0x7d>
  20.  80488ab:   8b 45 f0                mov    -0x10(%ebp),%eax
  21.  80488ae:   8b 04 85 80 b0 04 08    mov    0x804b080(,%eax,4),%eax
  22.  80488b5:   89 45 f4                mov    %eax,-0xc(%ebp)
  23.  80488b8:   83 7d f4 00             cmpl   $0x0,-0xc(%ebp)
  24.  80488bc:   74 32                   je     80488f0 <print_rank+0x85>
  25.  80488be:   8b 45 f4                mov    -0xc(%ebp),%eax
  26.  80488c1:   8b 88 60 03 00 00       mov    0x360(%eax),%ecx
  27.  80488c7:   8b 45 f4                mov    -0xc(%ebp),%eax
  28.  80488ca:   8b 90 5c 03 00 00       mov    0x35c(%eax),%edx
  29.  80488d0:   8b 80 58 03 00 00       mov    0x358(%eax),%eax
  30.  80488d6:   8b 5d f4                mov    -0xc(%ebp),%ebx
  31.  80488d9:   83 ec 04                sub    $0x4,%esp
  32.  80488dc:   52                      push   %edx
  33.  80488dd:   50                      push   %eax
  34.  80488de:   53                      push   %ebx
  35.  80488df:   ff d1                   call   *%ecx
  36.  80488e1:   83 c4 10                add    $0x10,%esp
  37.  80488e4:   83 45 f0 01             addl   $0x1,-0x10(%ebp)
  38.  80488e8:   83 7d f0 09             cmpl   $0x9,-0x10(%ebp)
  39.  80488ec:   7e bd                   jle    80488ab <print_rank+0x40>
  40.  80488ee:   eb 01                   jmp    80488f1 <print_rank+0x86>
  41.  80488f0:   90                      nop
  42.  80488f1:   8b 5d fc                mov    -0x4(%ebp),%ebx
  43.  80488f4:   c9                      leave  
  44.  80488f5:   c3                      ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement