Function at 0x531050
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x174]
xor ecx, ecx
xor edx, edx
mov ch, byte [eax]
mov dl, byte [eax + 2]
mov cl, byte [eax + 1]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 3]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 2]
mov ebp, ecx
xor ecx, ecx
mov ch, byte [eax]
xor ebx, ebx
mov cl, byte [eax + 1]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax - 1]
mov bl, byte [eax + 6]
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]
add eax, 4
shl edx, 8
or edx, ecx
xor ecx, ecx
mov ch, byte [eax - 4]
mov cl, byte [eax - 3]
lea edi, [esp + 0x34]
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bl, byte [eax - 1]
mov dword [esp + 0x20], ebp
shl ecx, 8
or ecx, ebx
xor ebx, ebx
mov bh, byte [eax]
mov dword [esp + 0x1c], ecx
mov bl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [eax + 2]
mov dword [esp + 0x2c], esi
shl ebx, 8
or ebx, ecx
xor ecx, ecx
mov cl, byte [eax + 3]
mov eax, dword [esp + 0x178]
shl ebx, 8
or ebx, ecx
mov dword [esp + 0x30], eax
mov ecx, 0xf
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x38]
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 0x53112e
lea ecx, [esp + 0x30]
mov eax, esi
mov esi, dword [esp + 0x1c]
mov edi, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x14
mov ecx, eax
mov ebx, edx
not ecx
and ecx, esi
and ebx, eax
or ecx, ebx
mov ebx, edi
mov ebp, edi
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, dword [esp + 0x10]
add ecx, ebx
mov ebx, dword [ebp]
add ebp, 4
add ecx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [ecx + ebx + 0x5a827999]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov dword [esp + 0x18], ebx
mov edi, ecx
mov dword [esp + 0x14], ebp
jne 0x53115f
lea ebp, [esp + 0x80]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebp
mov ebp, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebp, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x14]
add ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ecx + ebx + 0x6ed9eba1]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x5311c8
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0xd0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x14
mov ebx, edx
mov ebp, edx
or ebx, eax
and ebp, eax
and ebx, esi
or ebx, ebp
mov ebp, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
add ebp, 4
add ebx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ebx + ecx - 0x70e44324]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov dword [esp + 0x18], ebx
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x531225
lea ebp, [esp + 0x120]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebp
mov ebp, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebp, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x14]
add ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ecx + ebx - 0x359d3e2a]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x53128c
mov edi, dword [esp + 0x20]
add edi, ecx
mov ecx, dword [esp + 0x17c]
mov dword [ecx], edi
mov edi, dword [esp + 0x2c]
add eax, edi
pop edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x18]
add esi, edx
add ebx, eax
mov dword [ecx + 0xc], esi
pop esi
mov dword [ecx + 0x10], ebx
pop ebp
xor eax, eax
pop ebx
add esp, 0x160
ret