Function at 0x45c320
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
lea esi, [esp + 0xc]
mov edi, 0x4658b8
lea edx, [esp + 0x2c]
mov eax, dword [esp]
mov ecx, 0x10
call fcn.00402e8c
mov eax, dword [ebx + 0x6c]
sub eax, 2
test eax, eax
jl 0x45c482
inc eax
mov dword [esp + 8], eax
xor eax, eax
lea ecx, [esp + 0x2c]
mov ecx, dword [ecx]
mov edx, eax
add edx, edx
add edx, edx
xor ecx, dword [ebx + edx*8 + 0x70]
mov dword [esi], ecx
lea ecx, [esp + 0x30]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x74]
lea ebp, [esi + 4]
mov dword [ebp], ecx
lea ecx, [esp + 0x34]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x78]
lea ebp, [esi + 8]
mov dword [ebp], ecx
lea ecx, [esp + 0x38]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x7c]
lea edx, [esi + 0xc]
mov dword [edx], ecx
movzx edx, byte [esi]
lea edx, [edi + edx*4]
mov edx, dword [edx]
movzx ecx, byte [esi + 5]
lea ecx, [ecx*4 + 0x465cb8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 0xa]
lea ecx, [ecx*4 + 0x4660b8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 0xf]
lea ecx, [ecx*4 + 0x4664b8]
xor edx, dword [ecx]
lea ecx, [esp + 0x2c]
mov dword [ecx], edx
movzx edx, byte [esi + 4]
lea edx, [edi + edx*4]
mov edx, dword [edx]
movzx ecx, byte [esi + 9]
lea ecx, [ecx*4 + 0x465cb8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 0xe]
lea ecx, [ecx*4 + 0x4660b8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 3]
lea ecx, [ecx*4 + 0x4664b8]
xor edx, dword [ecx]
lea ecx, [esp + 0x30]
mov dword [ecx], edx
movzx edx, byte [esi + 8]
lea edx, [edi + edx*4]
mov edx, dword [edx]
movzx ecx, byte [esi + 0xd]
lea ecx, [ecx*4 + 0x465cb8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 2]
lea ecx, [ecx*4 + 0x4660b8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 7]
lea ecx, [ecx*4 + 0x4664b8]
xor edx, dword [ecx]
lea ecx, [esp + 0x34]
mov dword [ecx], edx
movzx edx, byte [esi + 0xc]
lea edx, [edi + edx*4]
mov edx, dword [edx]
movzx ecx, byte [esi + 1]
lea ecx, [ecx*4 + 0x465cb8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 6]
lea ecx, [ecx*4 + 0x4660b8]
xor edx, dword [ecx]
movzx ecx, byte [esi + 0xb]
lea ecx, [ecx*4 + 0x4664b8]
xor edx, dword [ecx]
lea ecx, [esp + 0x38]
mov dword [ecx], edx
inc eax
dec dword [esp + 8]
jne 0x45c35f
lea eax, [esp + 0x2c]
mov eax, dword [eax]
mov edx, dword [ebx + 0x6c]
add edx, edx
add edx, edx
xor eax, dword [ebx + edx*8 + 0x50]
mov dword [esi], eax
lea eax, [esp + 0x30]
mov eax, dword [eax]
mov edx, dword [ebx + 0x6c]
add edx, edx
add edx, edx
xor eax, dword [ebx + edx*8 + 0x54]
lea edx, [esi + 4]
mov dword [edx], eax
lea eax, [esp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebx + 0x6c]
add edx, edx
add edx, edx
xor eax, dword [ebx + edx*8 + 0x58]
lea edx, [esi + 8]
mov dword [edx], eax
lea eax, [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [ebx + 0x6c]
add edx, edx
add edx, edx
xor eax, dword [ebx + edx*8 + 0x5c]
lea edx, [esi + 0xc]
mov dword [edx], eax
movzx eax, byte [esi]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x2c], al
movzx eax, byte [esi + 5]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x2d], al
movzx eax, byte [esi + 0xa]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x2e], al
movzx eax, byte [esi + 0xf]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x2f], al
movzx eax, byte [esi + 4]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x30], al
movzx eax, byte [esi + 9]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x31], al
movzx eax, byte [esi + 0xe]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x32], al
movzx eax, byte [esi + 3]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x33], al
movzx eax, byte [esi + 8]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x34], al
movzx eax, byte [esi + 0xd]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x35], al
movzx eax, byte [esi + 2]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x36], al
movzx eax, byte [esi + 7]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x37], al
movzx eax, byte [esi + 0xc]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x38], al
movzx eax, byte [esi + 1]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x39], al
movzx eax, byte [esi + 6]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x3a], al
movzx eax, byte [esi + 0xb]
movzx eax, byte [edi + eax*4 + 1]
mov byte [esp + 0x3b], al
mov eax, dword [ebx + 0x6c]
add eax, eax
add eax, eax
mov eax, dword [ebx + eax*8 + 0x70]
lea edx, [esp + 0x2c]
xor dword [edx], eax
mov eax, dword [ebx + 0x6c]
add eax, eax
add eax, eax
mov eax, dword [ebx + eax*8 + 0x74]
lea edx, [esp + 0x30]
xor dword [edx], eax
mov eax, dword [ebx + 0x6c]
add eax, eax
add eax, eax
mov eax, dword [ebx + eax*8 + 0x78]
lea edx, [esp + 0x34]
xor dword [edx], eax
mov eax, dword [ebx + 0x6c]
add eax, eax
add eax, eax
mov eax, dword [ebx + eax*8 + 0x7c]
lea edx, [esp + 0x38]
xor dword [edx], eax
mov edx, dword [esp + 4]
lea eax, [esp + 0x2c]
mov ecx, 0x10
call fcn.00402e8c
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret