Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .686
  2. .model flat
  3.  
  4. extern _ExitProcess@4  : PROC
  5. .data
  6. number dd 87654321H
  7.  
  8. .code
  9.  
  10.  
  11.  
  12.  
  13. _main  PROC
  14.    
  15.     mov esi,offset number
  16.     mov eax,0
  17.     mov ebx,0
  18.     mov ecx,0
  19.     mov edx,0
  20.     mov eax,[esi]
  21.     mov ebx,[esi]
  22.     mov ecx,[esi]
  23.     mov edx,[esi]
  24.  
  25.     shl eax,24
  26.     and eax,0FF000000H
  27.     shl ebx,8
  28.     and ebx,0FF0000H
  29.     shr ecx,8
  30.     and ecx,0FF00H
  31.     shr edx,24
  32.     and edx,0FFH
  33.    
  34.     mov esi,0
  35.     or esi,eax
  36.     or esi,ebx
  37.     or esi,ecx
  38.     or esi,edx
  39.     mov number,esi
  40.     push 0
  41.     call _ExitProcess@4
  42. _main  ENDP
  43.  
  44. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement