Advertisement
joker546645

as5

Dec 31st, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .686
  2. .model flat
  3. public _szyfruj
  4. .data
  5. .code
  6. _szyfruj PROC
  7.     push ebp
  8.     mov ebp, esp
  9.     push esi
  10.     push edi
  11.     push ebx
  12.  
  13.     mov esi, [ebp + 8]
  14.    
  15.     mov eax, 52525252H
  16.  
  17. dalej:
  18.     xor byte ptr [esi], al
  19.  
  20.     mov ebx, eax
  21.     mov ecx, eax
  22.  
  23.     shr ebx, 30
  24.     shr ecx, 31
  25.  
  26.     xor ebx, ecx
  27.  
  28.     shl eax, 1
  29.     or eax, ebx
  30.  
  31.     inc esi
  32.  
  33.     mov dl, byte ptr [esi]
  34.     cmp dl, 0
  35.     jne dalej
  36.  
  37.  
  38.  
  39.     pop ebx
  40.     pop edi
  41.     pop esi
  42.     pop ebp
  43.     ret
  44. _szyfruj ENDP
  45. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement