Function at 0x418650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x44e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 4]
mov ebx, dword [esi + eax*4 + 8]
lea eax, [esi + eax*4]
xor ebx, ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], ebx
mov ebx, dword [eax + 0xc]
xor ebx, ecx
mov ecx, dword [edx + 8]
mov edi, ebx
mov dword [ebp - 0x1c], ecx
shr edi, 0x18
mov dword [ebp - 0x4c], edi
mov edi, ebx
shr edi, 8
mov dword [ebp - 0x50], edi
mov edi, ebx
shr edi, 0x10
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x20], ebx
mov edi, dword [eax + 0x10]
xor edi, ecx
mov dword [ebp - 0x34], ebx
mov ecx, dword [edx + 0xc]
mov edx, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
shr edi, 0x10
mov dword [ebp - 0x40], edi
mov edi, edx
shr edx, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x14]
add eax, 0x18
xor edx, ecx
shr edi, 0x18
mov ecx, dword [esi]
mov esi, edx
shr esi, 8
mov dword [ebp - 0x2c], esi
mov esi, edx
shr esi, 0x10
sar ecx, 1
mov dword [ebp - 0x30], esi
dec ecx
mov esi, edx
mov dword [ebp - 0x3c], edx
shr esi, 0x18
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x48], ecx
test ecx, ecx
jle 0x418974
nop dword [eax]
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x450140]
xor edx, dword [ecx*4 + 0x450540]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x44fd40]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
mov dword [ebp - 0x2c], edx
movzx edx, cl
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x450540]
xor edx, dword [ecx*4 + 0x450140]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x44fd40]
mov ecx, ebx
xor edx, dword [eax + 4]
shr ecx, 8
mov dword [ebp - 0x30], edx
movzx edx, cl
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x450140]
shr ebx, 0x10
xor edx, dword [ecx*4 + 0x450540]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x44fd40]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x28]
shr ecx, 8
mov dword [ebp - 0x40], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x450140]
xor ebx, dword [ecx*4 + 0x450540]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x450940]
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x44fd40]
xor ebx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x450540]
xor edx, dword [ecx*4 + 0x450140]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x44fd40]
mov ecx, ebx
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x24], edx
movzx edx, cl
mov edx, dword [edx*4 + 0x450540]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x450140]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x44fd40]
xor edx, dword [eax + 0x14]
mov ecx, edx
mov dword [ebp - 0x34], edx
shr ecx, 0x10
mov dword [ebp - 0x54], ecx
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x50], ecx
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
mov dword [ebp - 0x20], edx
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x450540]
xor edx, dword [ecx*4 + 0x450140]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
movzx ecx, dl
shr edx, 8
movzx edx, dl
xor edi, dword [ecx*4 + 0x44fd40]
mov ecx, edi
mov dword [ebp - 0x28], edi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x450140]
mov esi, ecx
mov dword [ebp - 0x1c], ecx
mov edi, ecx
mov dword [ebp - 0x28], ecx
shr ecx, 0x10
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
shr esi, 8
mov dword [ebp - 0x44], esi
shr edi, 0x18
xor edx, dword [ecx*4 + 0x450540]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x450940]
movzx ecx, bl
mov ebx, dword [ebp - 0x34]
xor edx, dword [ecx*4 + 0x44fd40]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov ecx, edx
mov dword [ebp - 0x3c], edx
shr ecx, 0x10
mov esi, edx
mov dword [ebp - 0x30], ecx
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x48]
dec ecx
shr esi, 0x18
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x48], ecx
test ecx, ecx
jg 0x418710
mov ecx, ebx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
mov edx, dword [ebp - 0x2c]
movzx edx, dl
mov ebx, dword [ecx*4 + 0x450540]
xor ebx, dword [edx*4 + 0x450140]
mov edx, dword [ebp - 0x38]
movzx ecx, dl
xor ebx, dword [ecx*4 + 0x44fd40]
mov ecx, dword [ebp - 0x4c]
xor ebx, dword [ecx*4 + 0x450940]
mov ecx, edx
xor ebx, dword [eax]
shr ecx, 8
movzx ecx, cl
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ecx*4 + 0x450140]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
movzx edx, dl
xor ebx, dword [edx*4 + 0x450540]
xor ebx, dword [ecx*4 + 0x44fd40]
xor ebx, dword [edi*4 + 0x450940]
xor ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], ebx
movzx edx, dl
mov ebx, dword [ecx*4 + 0x450540]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
xor ebx, dword [edx*4 + 0x450140]
mov edx, dword [ebp - 0x38]
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x44fd40]
mov ecx, dword [ebp - 0x54]
xor ebx, dword [esi*4 + 0x450940]
mov edx, dword [edx*4 + 0x450940]
xor ebx, dword [eax + 8]
movzx ecx, cl
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ebx
xor edx, dword [ecx*4 + 0x450540]
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x450140]
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x44fd40]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 8], edx
mov dword [ebp - 0x44], edx
movzx ebx, byte [ecx + 0x44fc40]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x44fc40]
shl ecx, 8
xor ebx, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x44fc40]
xor ebx, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x44fc40]
xor ebx, ecx
mov ecx, dword [ebp - 0x34]
xor ebx, dword [eax + 0x10]
mov dword [ebp - 0x24], ebx
shr ecx, 0x18
movzx edi, byte [ecx + 0x44fc40]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shl edi, 8
push 0x20
movzx ecx, byte [ecx + 0x44fc40]
xor edi, ecx
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x44fc40]
xor edi, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x44fc40]
xor edi, ecx
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
xor edi, dword [eax + 0x14]
mov dword [ebp - 0x20], edi
movzx esi, byte [ecx + 0x44fc40]
mov ecx, edx
mov edx, dword [ebp - 0x30]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x44fc40]
shl ecx, 8
xor esi, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl esi, 8
shr edx, 0x10
movzx ecx, byte [ecx + 0x44fc40]
xor esi, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x44fc40]
xor esi, ecx
movzx ecx, dl
xor esi, dword [eax + 0x18]
mov dword [ebp - 0x1c], esi
movzx edx, byte [ecx + 0x44fc40]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x44fc40]
shl ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x44fc40]
xor edx, ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x44fc40]
xor edx, ecx
xor edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], edx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x24]
push eax
call fcn.004154c0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00427ca1
mov esp, ebp
pop ebp
ret