Function at 0x559980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
push ebx
mov ch, byte [eax]
mov dl, byte [eax + 2]
mov cl, byte [eax + 1]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax - 1]
push esi
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax]
mov esi, ecx
mov dl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [eax + 2]
add eax, 4
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax - 1]
xor ebx, ebx
shl edx, 8
mov bl, byte [eax + 2]
or edx, ecx
xor ecx, ecx
push edi
mov ch, byte [eax]
lea edi, [ebp - 0x158]
mov cl, byte [eax + 1]
add eax, 4
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bl, byte [eax - 1]
add eax, 4
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bl, byte [eax - 2]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], esi
mov ch, byte [eax - 4]
mov dword [ebp - 0x14], edx
mov cl, byte [eax - 3]
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bl, byte [eax - 1]
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bh, byte [eax]
mov dword [ebp - 0xc], ecx
mov bl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [eax + 2]
shl ebx, 8
or ebx, ecx
xor ecx, ecx
mov cl, byte [eax + 3]
mov eax, dword [ebp + 0xc]
shl ebx, 8
or ebx, ecx
mov dword [ebp - 0x15c], eax
mov ecx, 0xf
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x154]
mov ecx, 0x40
mov edi, dword [eax + 0x2c]
xor edi, dword [eax + 0x18]
add eax, 4
xor edi, dword [eax - 0xc]
xor edi, dword [eax - 4]
dec ecx
mov dword [eax + 0x34], edi
jne 0x559a57
mov edi, esi
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x15c]
mov eax, edx
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x14
mov ecx, eax
mov ebx, edx
not ecx
and ecx, esi
and ebx, eax
or ecx, ebx
mov ebx, edi
shr ebx, 0x1b
shl edi, 5
or ebx, edi
add ecx, ebx
mov ebx, dword [ebp - 8]
mov edi, dword [ebx]
add ebx, 4
add ecx, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], esi
mov esi, edx
mov edx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
lea ecx, [ecx + edi + 0x5a827998]
shl edx, 0x1e
shr eax, 2
or edx, eax
mov eax, dword [ebp + 8]
mov edi, ecx
dec ebx
mov dword [ebp + 8], edi
mov dword [ebp - 4], ebx
jne 0x559a8c
lea ebx, [ebp - 0x10c]
mov dword [ebp - 4], 0x14
mov dword [ebp + 8], ebx
mov ebx, ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebx, ecx
mov ecx, dword [ebp + 8]
add ebx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], esi
mov esi, edx
mov edx, eax
lea ecx, [ebx + ecx + 0x6ef9eba1]
mov ebx, dword [ebp + 8]
add ebx, 4
shl edx, 0x1e
shr eax, 2
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
or edx, eax
dec ebx
mov eax, edi
mov edi, ecx
mov dword [ebp - 4], ebx
jne 0x559aeb
mov dword [ebp + 8], edi
lea edi, [ebp - 0xbc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x14
mov edi, edx
mov ebx, edx
or edi, eax
and ebx, eax
and edi, esi
or edi, ebx
mov ebx, ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, dword [ebp - 8]
add edi, ebx
mov ebx, dword [ecx]
mov ecx, dword [ebp + 0xc]
add edi, ebx
mov ebx, dword [ebp - 8]
add ebx, 4
lea ecx, [edi + ecx + 0x7f1cbcdc]
mov edi, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
or edx, eax
mov eax, dword [ebp + 8]
dec ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ecx
mov dword [ebp - 4], ebx
jne 0x559b44
lea ebx, [ebp - 0x6c]
mov dword [ebp - 4], 0x14
mov dword [ebp + 0xc], ebx
mov ebx, ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebx, ecx
mov ecx, dword [ebp + 0xc]
add ebx, dword [ecx]
lea ecx, [ebx + edi - 0x559d2e2a]
mov ebx, dword [ebp + 0xc]
mov edi, esi
mov esi, edx
mov edx, eax
add ebx, 4
shl edx, 0x1e
shr eax, 2
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 4]
or edx, eax
mov eax, dword [ebp + 8]
dec ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], ebx
jne 0x559ba3
mov ebx, dword [ebp - 0x1c]
add ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x14]
add eax, ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
add edx, eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xc]
add edi, eax
add esi, edx
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret