Function at 0x45569c
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, 0x4795a4
lea edx, [esp + 0x2c]
mov eax, dword [esp]
mov ecx, 0x10
call fcn.004029ac
mov eax, dword [ebx + 0x60]
sub eax, 2
test eax, eax
jl 0x45580d
inc eax
mov dword [esp + 8], eax
xor eax, eax
lea ecx, [esp + 0x2c]
mov ecx, dword [ecx]
mov edx, eax
shl edx, 2
xor ecx, dword [ebx + edx*8 + 0x64]
mov dword [esi], ecx
lea ecx, [esp + 0x30]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x68]
lea ebp, [esi + 4]
mov dword [ebp], ecx
lea ecx, [esp + 0x34]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x6c]
lea ebp, [esi + 8]
mov dword [ebp], ecx
lea ecx, [esp + 0x38]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x70]
lea edx, [esi + 0xc]
mov dword [edx], ecx
xor edx, edx
mov dl, byte [esi]
lea edx, [edi + edx*4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 5]
lea ecx, [ecx*4 + 0x4799a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xa]
lea ecx, [ecx*4 + 0x479da4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xf]
lea ecx, [ecx*4 + 0x47a1a4]
xor edx, dword [ecx]
lea ecx, [esp + 0x2c]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [esi + 4]
lea edx, [edi + edx*4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 9]
lea ecx, [ecx*4 + 0x4799a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xe]
lea ecx, [ecx*4 + 0x479da4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 3]
lea ecx, [ecx*4 + 0x47a1a4]
xor edx, dword [ecx]
lea ecx, [esp + 0x30]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [esi + 8]
lea edx, [edi + edx*4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 0xd]
lea ecx, [ecx*4 + 0x4799a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 2]
lea ecx, [ecx*4 + 0x479da4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 7]
lea ecx, [ecx*4 + 0x47a1a4]
xor edx, dword [ecx]
lea ecx, [esp + 0x34]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [esi + 0xc]
lea edx, [edi + edx*4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 1]
lea ecx, [ecx*4 + 0x4799a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 6]
lea ecx, [ecx*4 + 0x479da4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xb]
lea ecx, [ecx*4 + 0x47a1a4]
xor edx, dword [ecx]
lea ecx, [esp + 0x38]
mov dword [ecx], edx
inc eax
dec dword [esp + 8]
jne 0x4556db
lea eax, [esp + 0x2c]
mov eax, dword [eax]
mov edx, dword [ebx + 0x60]
shl edx, 2
xor eax, dword [ebx + edx*8 + 0x44]
mov dword [esi], eax
lea eax, [esp + 0x30]
mov eax, dword [eax]
mov edx, dword [ebx + 0x60]
shl edx, 2
xor eax, dword [ebx + edx*8 + 0x48]
lea edx, [esi + 4]
mov dword [edx], eax
lea eax, [esp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebx + 0x60]
shl edx, 2
xor eax, dword [ebx + edx*8 + 0x4c]
lea edx, [esi + 8]
mov dword [edx], eax
lea eax, [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [ebx + 0x60]
shl edx, 2
xor eax, dword [ebx + edx*8 + 0x50]
lea edx, [esi + 0xc]
mov dword [edx], eax
xor eax, eax
mov al, byte [esi]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x2c], al
xor eax, eax
mov al, byte [esi + 5]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x2d], al
xor eax, eax
mov al, byte [esi + 0xa]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x2e], al
xor eax, eax
mov al, byte [esi + 0xf]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x2f], al
xor eax, eax
mov al, byte [esi + 4]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x30], al
xor eax, eax
mov al, byte [esi + 9]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x31], al
xor eax, eax
mov al, byte [esi + 0xe]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x32], al
xor eax, eax
mov al, byte [esi + 3]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x33], al
xor eax, eax
mov al, byte [esi + 8]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x34], al
xor eax, eax
mov al, byte [esi + 0xd]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x35], al
xor eax, eax
mov al, byte [esi + 2]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x36], al
xor eax, eax
mov al, byte [esi + 7]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x37], al
xor eax, eax
mov al, byte [esi + 0xc]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x38], al
xor eax, eax
mov al, byte [esi + 1]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x39], al
xor eax, eax
mov al, byte [esi + 6]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x3a], al
xor eax, eax
mov al, byte [esi + 0xb]
mov al, byte [edi + eax*4 + 1]
mov byte [esp + 0x3b], al
mov eax, dword [ebx + 0x60]
shl eax, 2
mov eax, dword [ebx + eax*8 + 0x64]
lea edx, [esp + 0x2c]
xor dword [edx], eax
mov eax, dword [ebx + 0x60]
shl eax, 2
mov eax, dword [ebx + eax*8 + 0x68]
lea edx, [esp + 0x30]
xor dword [edx], eax
mov eax, dword [ebx + 0x60]
shl eax, 2
mov eax, dword [ebx + eax*8 + 0x6c]
lea edx, [esp + 0x34]
xor dword [edx], eax
mov eax, dword [ebx + 0x60]
shl eax, 2
mov eax, dword [ebx + eax*8 + 0x70]
lea edx, [esp + 0x38]
xor dword [edx], eax
mov edx, dword [esp + 4]
lea eax, [esp + 0x2c]
mov ecx, 0x10
call fcn.004029ac
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret