Function at 0x52f280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x158], ebx
lea edx, [ebp - 0x144]
lea eax, [ebx + 0xa]
mov dword [ebp - 0x148], 0x10
movzx ecx, byte [eax - 2]
movzx esi, byte [eax - 1]
movzx edi, byte [eax]
shl esi, 0x10
shl ecx, 0x18
or ecx, esi
movzx esi, byte [eax + 1]
shl edi, 8
or esi, edi
or esi, ecx
mov dword [edx], esi
add eax, 4
add edx, 4
dec dword [ebp - 0x148]
jne 0x52f2b1
lea ecx, [ebp - 0x13c]
mov edx, 0x40
lea ebx, [ebx]
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
add ecx, 4
xor eax, dword [ecx - 0xc]
xor eax, dword [ecx - 4]
mov esi, eax
shr esi, 0x1f
add eax, eax
or esi, eax
dec edx
mov dword [ecx + 0x34], esi
jne 0x52f2f0
mov edi, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov esi, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], 0x14
nop
mov ecx, eax
not ecx
and ecx, esi
mov ebx, edx
and ebx, eax
or ecx, ebx
add ecx, dword [ebp - 0x154]
mov ebx, edi
shr ebx, 0x1b
shl edi, 5
or ebx, edi
add ebx, ecx
mov edi, ebx
mov ebx, dword [ebp - 0x148]
mov ecx, dword [ebx]
mov dword [ebp - 0x154], esi
mov esi, edx
mov edx, eax
shl eax, 0x1e
shr edx, 2
lea ecx, [edi + ecx + 0x5a827999]
or edx, eax
mov eax, dword [ebp - 0x150]
add ebx, 4
dec dword [ebp - 0x14c]
mov edi, ecx
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x148], ebx
jne 0x52f340
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], 0x14
mov ebx, ecx
shl ecx, 5
shr ebx, 0x1b
or ebx, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebx, ecx
mov ecx, dword [ebp - 0x150]
add ebx, dword [ecx]
mov ecx, dword [ebp - 0x154]
add dword [ebp - 0x150], 4
mov dword [ebp - 0x154], esi
mov esi, edx
mov edx, eax
shl eax, 0x1e
shr edx, 2
or edx, eax
dec dword [ebp - 0x14c]
lea ecx, [ebx + ecx + 0x6ed9eba1]
mov eax, edi
mov edi, ecx
jne 0x52f3b6
mov dword [ebp - 0x150], edi
lea edi, [ebp - 0xa4]
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x14c], 0x14
mov edi, edi
mov edi, edx
or edi, eax
and edi, esi
mov ebx, edx
and ebx, eax
or edi, ebx
mov ebx, ecx
shl ecx, 5
shr ebx, 0x1b
or ebx, ecx
mov ecx, dword [ebp - 0x148]
add dword [ebp - 0x148], 4
add edi, ebx
add edi, dword [ecx]
mov ecx, dword [ebp - 0x154]
lea ecx, [edi + ecx - 0x70e44324]
mov edi, esi
mov esi, edx
mov edx, eax
shl eax, 0x1e
shr edx, 2
or edx, eax
dec dword [ebp - 0x14c]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], ecx
jne 0x52f420
lea ebx, [ebp - 0x54]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], 0x14
nop
mov ebx, ecx
shl ecx, 5
shr ebx, 0x1b
or ebx, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebx, ecx
mov ecx, dword [ebp - 0x148]
add ebx, dword [ecx]
add dword [ebp - 0x148], 4
lea ecx, [ebx + edi - 0x359d3e2a]
mov edi, esi
mov esi, edx
mov edx, eax
shl eax, 0x1e
shr edx, 2
or edx, eax
dec dword [ebp - 0x14c]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x150], ecx
jne 0x52f490
mov dword [ebp - 0x154], edi
mov edi, dword [ebp - 0x158]
mov ebx, dword [edi + 0x4c]
add ebx, ecx
mov ecx, dword [edi + 0x50]
add ecx, eax
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x58]
add eax, esi
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x5c]
add eax, dword [ebp - 0x154]
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x5c], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret