Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xor_strings:
- push ebp
- mov ebp, esp
- mov eax, [ebp + 8] ;mesajul
- mov ebx, [ebp + 12] ;cheia
- mov edx, [ebp + 16] ;lungimea
- decode_xor_strings:
- lea eax, [eax + edx]
- lea ebx, [ebx + edx]
- xor eax, ebx
- dec edx
- cmp edx, 0
- jg decode_xor_strings
- leave
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement