Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. xor_strings:
  2.     push ebp
  3.     mov ebp, esp
  4.    
  5.     mov eax, [ebp + 8] ;mesajul
  6.     mov ebx, [ebp + 12] ;cheia
  7.     mov edx, [ebp + 16] ;lungimea
  8.     decode_xor_strings:
  9.         lea eax, [eax + edx]
  10.         lea ebx, [ebx + edx]
  11.         xor eax, ebx
  12.         dec edx
  13.         cmp edx, 0
  14.         jg decode_xor_strings
  15.    
  16.     leave
  17.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement