Function at 0x45eafc
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.0040321c
mov dword [esp + 0x14], 1
lea esi, [esp + 0x18]
mov edx, 8
mov eax, dword [esi + 0xc]
call fcn.004508b4
mov ebx, eax
xor ebx, dword [esi]
mov ecx, dword [esp + 0x14]
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 + 0x5a65e8]
mov edx, 8
call fcn.004508a4
and ebp, 0xff
xor eax, dword [ebp*4 + 0x5a65e8]
push eax
mov eax, dword [ebx]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5a65e8]
mov edx, 0x10
call fcn.004508a4
pop edx
xor edx, eax
push edx
mov eax, dword [ebx]
shr eax, 0x18
mov eax, dword [eax*4 + 0x5a65e8]
mov edx, 0x18
call fcn.004508a4
pop edx
xor edx, eax
mov dword [ebx], edx
add ebx, 4
dec edi
jne 0x45eb6e
inc dword [esp + 0x14]
add esi, 0x10
cmp dword [esp + 0x14], 9
jne 0x45eb2d
lea eax, [esp + 0x18]
mov edx, dword [esp + 4]
mov edx, dword [edx]
xor edx, dword [eax]
add eax, 4
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
xor ecx, dword [eax]
add eax, 4
mov ebx, dword [esp + 4]
mov ebx, dword [ebx + 8]
xor ebx, dword [eax]
add eax, 4
mov esi, dword [esp + 4]
mov esi, dword [esi + 0xc]
xor esi, dword [eax]
add eax, 4
mov dword [esp + 0x14], 7
mov edi, edx
and edi, 0xff
mov edi, dword [edi*4 + 0x5a69e8]
mov ebp, ecx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a6de8]
mov ebp, ebx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a71e8]
mov ebp, esi
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a75e8]
xor edi, dword [eax]
mov dword [esp + 8], edi
add eax, 4
mov edi, edx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x5a69e8]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a6de8]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a71e8]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a75e8]
xor edi, dword [eax]
mov dword [esp + 0xc], edi
add eax, 4
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x5a69e8]
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a6de8]
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a71e8]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x5a75e8]
xor edi, dword [eax]
mov dword [esp + 0x10], edi
add eax, 4
shr edx, 0x18
mov edx, dword [edx*4 + 0x5a69e8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5a6de8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x5a71e8]
shr esi, 0x18
xor edx, dword [esi*4 + 0x5a75e8]
xor edx, dword [eax]
mov esi, edx
add eax, 4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
dec dword [esp + 0x14]
jne 0x45ec26
mov edi, dword [esp]
movzx edi, byte [edi + 0x18]
mov ebp, edx
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
xor edi, ebp
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x28], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x19]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
xor edi, ebp
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x2c], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x1a]
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
xor edi, ebp
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x5a64e8]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x30], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x1b]
shr edx, 0x18
movzx edx, byte [edx + 0x5a64e8]
xor edi, edx
shr ecx, 0x18
movzx edx, byte [ecx + 0x5a64e8]
shl edx, 8
xor edi, edx
shr ebx, 0x18
movzx edx, byte [ebx + 0x5a64e8]
shl edx, 0x10
xor edi, edx
shr esi, 0x18
movzx edx, byte [esi + 0x5a64e8]
shl edx, 0x18
xor edi, edx
xor edi, dword [eax]
mov eax, dword [esp]
mov dword [eax + 0x34], edi
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret