Function at 0x4c32c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff58
mov dword [esp + 4], edx
mov dword [esp], eax
lea edx, [esp + 0x18]
mov eax, dword [esp]
add eax, 0x28
mov ecx, 0x10
call fcn.00402e24
mov dword [esp + 0x10], 1
lea esi, [esp + 0x18]
mov edx, 8
mov eax, dword [esi + 0xc]
call fcn.004b4fb4
mov ebx, eax
xor ebx, dword [esi]
mov ecx, dword [esp + 0x10]
dec ecx
mov eax, 1
shl eax, cl
xor ebx, eax
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
xor eax, ebx
mov dword [esi + 0x14], eax
mov edx, dword [esi + 8]
xor edx, eax
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0xc]
xor eax, edx
mov dword [esi + 0x1c], eax
mov edi, 4
mov ebx, esi
mov ebp, dword [ebx]
mov eax, ebp
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x5dfe7c]
mov edx, 8
call fcn.004b4fac
and ebp, 0xff
xor eax, dword [ebp*4 + 0x5dfe7c]
push eax
mov eax, dword [ebx]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5dfe7c]
mov edx, 0x10
call fcn.004b4fac
pop edx
xor edx, eax
push edx
mov eax, dword [ebx]
shr eax, 0x18
mov eax, dword [eax*4 + 0x5dfe7c]
mov edx, 0x18
call fcn.004b4fac
pop edx
xor edx, eax
mov dword [ebx], edx
add ebx, 4
dec edi
jne 0x4c3332
inc dword [esp + 0x10]
add esi, 0x10
cmp dword [esp + 0x10], 9
jne 0x4c32f1
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
xor eax, dword [edx]
add dword [esp + 0x14], 4
mov edx, dword [esp + 4]
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x14]
xor edx, dword [ecx]
add dword [esp + 0x14], 4
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 8]
mov ebx, dword [esp + 0x14]
xor ecx, dword [ebx]
add dword [esp + 0x14], 4
mov ebx, dword [esp + 4]
mov ebx, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
xor ebx, dword [esi]
add dword [esp + 0x14], 4
mov dword [esp + 0x10], 7
mov esi, eax
and esi, 0xff
mov esi, dword [esi*4 + 0x5e027c]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x5e067c]
mov edi, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x5e0a7c]
mov edi, ebx
and edi, 0xff
xor esi, dword [edi*4 + 0x5e0e7c]
mov edi, dword [esp + 0x14]
xor esi, dword [edi]
add dword [esp + 0x14], 4
mov edi, eax
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x5e027c]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5e067c]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5e0a7c]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5e0e7c]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp]
mov dword [esp + 8], edi
add dword [esp + 0x14], 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x5e027c]
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5e067c]
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5e0a7c]
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5e0e7c]
mov ebp, dword [esp + 0x14]
xor edi, dword [ebp]
mov dword [esp + 0xc], edi
add dword [esp + 0x14], 4
shr eax, 0x18
mov eax, dword [eax*4 + 0x5e027c]
shr edx, 0x18
xor eax, dword [edx*4 + 0x5e067c]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5e0a7c]
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5e0e7c]
mov edx, dword [esp + 0x14]
xor eax, dword [edx]
mov ebx, eax
add dword [esp + 0x14], 4
mov eax, esi
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
dec dword [esp + 0x10]
jne 0x4c3406
mov esi, dword [esp]
movzx esi, byte [esi + 0x18]
mov edi, eax
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
xor esi, edi
mov edi, edx
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 8
xor esi, edi
mov edi, ecx
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 0x10
xor esi, edi
mov edi, ebx
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 0x18
xor esi, edi
mov edi, dword [esp + 0x14]
xor esi, dword [edi]
mov edi, dword [esp]
mov dword [edi + 0x28], esi
add dword [esp + 0x14], 4
mov esi, dword [esp]
movzx esi, byte [esi + 0x19]
mov edi, eax
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
xor esi, edi
mov edi, edx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 8
xor esi, edi
mov edi, ecx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 0x10
xor esi, edi
mov edi, ebx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 0x18
xor esi, edi
mov edi, dword [esp + 0x14]
xor esi, dword [edi]
mov edi, dword [esp]
mov dword [edi + 0x2c], esi
add dword [esp + 0x14], 4
mov esi, dword [esp]
movzx esi, byte [esi + 0x1a]
mov edi, eax
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 8
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 0x10
xor esi, edi
mov edi, ebx
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x5dfd7c]
shl edi, 0x18
xor esi, edi
mov edi, dword [esp + 0x14]
xor esi, dword [edi]
mov edi, dword [esp]
mov dword [edi + 0x30], esi
add dword [esp + 0x14], 4
mov esi, dword [esp]
movzx esi, byte [esi + 0x1b]
shr eax, 0x18
movzx eax, byte [eax + 0x5dfd7c]
xor esi, eax
shr edx, 0x18
xor eax, eax
mov al, byte [edx + 0x5dfd7c]
shl eax, 8
xor esi, eax
shr ecx, 0x18
xor eax, eax
mov al, byte [ecx + 0x5dfd7c]
shl eax, 0x10
xor esi, eax
shr ebx, 0x18
xor eax, eax
mov al, byte [ebx + 0x5dfd7c]
shl eax, 0x18
xor esi, eax
mov eax, dword [esp + 0x14]
xor esi, dword [eax]
mov eax, dword [esp]
mov dword [eax + 0x34], esi
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret