Function at 0x416f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x44e004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx + eax*4 + 0xc]
xor ebx, dword [edx + 4]
push esi
lea esi, [ecx + eax*4]
mov dword [ebp - 0x30], ebx
mov eax, dword [esi + 8]
xor eax, dword [edx]
mov dword [ebp - 0x38], eax
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x54], eax
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x58], eax
mov eax, ebx
shr eax, 0x10
push edi
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
xor eax, dword [edx + 8]
mov edi, eax
mov dword [ebp - 0x34], eax
shr edi, 0x10
mov dword [ebp - 0x50], edi
mov edi, eax
shr edi, 8
mov dword [ebp - 0x44], edi
mov edi, eax
shr edi, 0x18
mov dword [ebp - 0x48], edi
mov edi, dword [esi + 0x14]
add esi, 0x18
xor edi, dword [edx + 0xc]
mov edx, dword [ecx]
mov ecx, edi
sar edx, 1
mov dword [ebp - 0x2c], ecx
dec edx
shr dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x3c], edi
shr ecx, 8
shr edi, 0x18
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x40], ecx
test edx, edx
jle 0x41727e
nop dword [eax + eax]
shr eax, 0x10
movzx ecx, al
mov edx, dword [ebp - 0x30]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x450600]
mov ebx, dword [ebp - 0x3c]
xor ecx, dword [eax*4 + 0x451200]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x450200]
mov eax, dword [ebp - 0x38]
movzx eax, al
xor ecx, dword [eax*4 + 0x451600]
mov eax, ebx
xor ecx, dword [esi]
shr eax, 0x10
mov dword [ebp - 0x40], ecx
movzx ecx, al
mov eax, dword [ebp - 0x34]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x450600]
xor ecx, dword [eax*4 + 0x451200]
mov eax, dword [ebp - 0x38]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x450200]
movzx eax, dl
xor ecx, dword [eax*4 + 0x451600]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, al
mov eax, dword [ebp - 0x38]
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x451200]
xor ebx, dword [eax*4 + 0x450600]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
movzx ecx, dl
xor ebx, dword [eax*4 + 0x450200]
mov eax, dword [ebp - 0x34]
mov edx, dword [ecx*4 + 0x450600]
movzx eax, al
xor ebx, dword [eax*4 + 0x451600]
mov eax, dword [ebp - 0x38]
shr eax, 8
movzx eax, al
xor ebx, dword [esi + 8]
xor edx, dword [eax*4 + 0x451200]
mov eax, dword [ebp - 0x34]
shr eax, 0x18
xor edx, dword [eax*4 + 0x450200]
mov eax, dword [ebp - 0x3c]
movzx eax, al
xor edx, dword [eax*4 + 0x451600]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x2c]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x450600]
xor ecx, dword [eax*4 + 0x451200]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x450200]
mov eax, dword [ebp - 0x40]
movzx eax, al
xor ecx, dword [eax*4 + 0x451600]
mov eax, edx
xor ecx, dword [esi + 0x10]
shr eax, 0x10
mov dword [ebp - 0x38], ecx
movzx ecx, al
mov eax, ebx
mov ecx, dword [ecx*4 + 0x450600]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x451200]
mov eax, dword [ebp - 0x40]
mov edi, ecx
shr eax, 0x18
mov dword [ebp - 0x30], ecx
xor edi, dword [eax*4 + 0x450200]
mov eax, dword [ebp - 0x2c]
movzx eax, al
xor edi, dword [eax*4 + 0x451600]
mov eax, edi
mov dword [ebp - 0x30], edi
xor eax, dword [esi + 0x14]
mov edi, eax
mov dword [ebp - 0x30], eax
shr edi, 0x10
mov dword [ebp - 0x5c], edi
mov edi, eax
shr eax, 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edi, 0x18
mov ecx, dword [ecx*4 + 0x450600]
mov dword [ebp - 0x58], edi
xor ecx, dword [eax*4 + 0x451200]
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x450200]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x451600]
xor ecx, dword [esi + 0x18]
mov eax, ecx
mov dword [ebp - 0x34], ecx
shr eax, 0x18
mov dword [ebp - 0x48], eax
mov eax, ecx
shr eax, 8
mov dword [ebp - 0x44], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x451200]
xor ecx, dword [eax*4 + 0x450600]
xor ecx, dword [ebx*4 + 0x450200]
movzx eax, dl
xor ecx, dword [eax*4 + 0x451600]
xor ecx, dword [esi + 0x1c]
add esi, 0x20
mov eax, ecx
mov dword [ebp - 0x3c], ecx
shr eax, 8
mov edi, ecx
mov dword [ebp - 0x40], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
dec eax
shr edi, 0x18
mov dword [ebp - 0x4c], eax
test eax, eax
mov eax, dword [ebp - 0x34]
jg 0x417030
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x50]
movzx eax, al
mov ecx, dword [ebp - 0x54]
movzx ecx, cl
mov edx, dword [eax*4 + 0x450600]
mov eax, dword [ebp - 0x38]
xor edx, dword [ecx*4 + 0x451200]
movzx eax, al
xor edx, dword [eax*4 + 0x451600]
xor edx, dword [edi*4 + 0x450200]
xor edx, dword [esi]
mov eax, dword [ebp - 0x2c]
movzx eax, al
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x38]
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x450200]
xor ecx, dword [eax*4 + 0x450600]
mov eax, dword [ebp - 0x44]
movzx eax, al
xor ecx, dword [eax*4 + 0x451200]
movzx eax, bl
xor ecx, dword [eax*4 + 0x451600]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x40]
mov ebx, dword [eax*4 + 0x450600]
mov eax, dword [ebp - 0x34]
movzx eax, al
movzx ecx, cl
shr edx, 8
xor ebx, dword [ecx*4 + 0x451200]
xor ebx, dword [eax*4 + 0x451600]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
movzx ecx, cl
xor ebx, dword [eax*4 + 0x450200]
xor ebx, dword [esi + 8]
movzx eax, dl
mov dword [ebp - 0x10], ebx
mov edx, dword [eax*4 + 0x451200]
mov eax, dword [ebp - 0x3c]
xor edx, dword [ecx*4 + 0x450600]
movzx eax, al
mov ecx, dword [ebp - 0x44]
xor edx, dword [eax*4 + 0x451600]
mov eax, dword [ebp - 0x48]
xor edx, dword [eax*4 + 0x450200]
xor edx, dword [esi + 0xc]
mov eax, edx
mov dword [ebp - 0x48], edx
shr eax, 0x18
mov dword [ebp - 0xc], edx
movzx edi, byte [eax + 0x44fc00]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x44fc00]
xor edi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x44fc00]
xor edi, eax
mov eax, dword [ebp - 0x30]
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x44fc00]
xor edi, eax
xor edi, dword [esi + 0x10]
add esi, 0x14
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + 0x44fc00]
mov eax, dword [ebp - 0x30]
shr eax, 0x18
movzx eax, byte [eax + 0x44fc00]
shl eax, 8
xor esi, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x44fc00]
xor esi, eax
movzx eax, cl
shl esi, 8
movzx eax, byte [eax + 0x44fc00]
xor esi, eax
mov eax, dword [ebp - 0x2c]
xor esi, dword [eax]
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x24], esi
movzx edx, byte [eax + 0x44fc00]
mov eax, dword [ebp - 0x30]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x44fc00]
xor edx, eax
mov eax, dword [ebp - 0x48]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x44fc00]
xor edx, eax
movzx eax, bl
shl edx, 8
shr ebx, 0x18
movzx eax, byte [eax + 0x44fc00]
xor edx, eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [ebx + 0x44fc00]
shl ecx, 8
xor edx, dword [eax]
mov eax, dword [ebp - 0x44]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x20], edx
movzx eax, byte [eax + 0x44fc00]
xor ecx, eax
mov eax, dword [ebp - 0x30]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x44fc00]
xor ecx, eax
mov eax, dword [ebp - 0x48]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x44fc00]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
xor ecx, dword [eax + 4]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0xc], ecx
mov ecx, 0x20
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
lea eax, [ebp - 0x28]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4174c0
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004295a7
mov esp, ebp
pop ebp
ret