Want more features on Pastebin? Sign Up, it's FREE!
Guest

dw

By: a guest on Oct 1st, 2008  |  syntax: ASM (NASM)  |  size: 0.73 KB  |  views: 654  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. _original:
  2.     pushl   %ebp
  3.     movl    %esp, %ebp
  4.     subl    $24, %esp
  5.     movl    -12(%ebp), %eax
  6.     andl    $-4, %eax
  7.     orl $1, %eax
  8.     movl    %eax, -12(%ebp)
  9.     movl    -12(%ebp), %eax
  10.     andl    $-29, %eax
  11.     orl $8, %eax
  12.     movl    %eax, -12(%ebp)
  13.     movl    -12(%ebp), %eax
  14.     andl    $31, %eax
  15.     orl $96, %eax
  16.     movl    %eax, -12(%ebp)
  17.     leave
  18.     ret
  19. _first:
  20.     pushl   %ebp
  21.     movl    %esp, %ebp
  22.     subl    $24, %esp
  23.     movl    $1, -20(%ebp)
  24.     movl    $2, -16(%ebp)
  25.     movl    $3, -12(%ebp)
  26.     leave
  27.     ret
  28. _second:
  29.     pushl   %ebp
  30.     movl    %esp, %ebp
  31.     subl    $24, %esp
  32.     movb    $1, -12(%ebp)
  33.     movb    $2, -11(%ebp)
  34.     movw    $3, -10(%ebp)
  35.     leave
  36.     ret
clone this paste RAW Paste Data