Function at 0x4310a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x481340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x5c], 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 - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [eax + 0xc]
xor ebx, ecx
mov ecx, ebx
mov dword [ebp - 0x20], ebx
shr ecx, 8
mov dword [ebp - 0x34], ecx
mov ecx, ebx
shr ecx, 0x18
mov dword [ebp - 0x54], ecx
mov ecx, ebx
shr ecx, 0x10
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 0x10]
xor ecx, dword [edx + 8]
mov ebx, ecx
mov dword [ebp - 0x1c], ecx
shr ebx, 0x10
mov dword [ebp - 0x44], ebx
mov ebx, ecx
shr ebx, 8
mov dword [ebp - 0x48], ebx
mov ebx, ecx
shr ebx, 0x18
mov dword [ebp - 0x50], ebx
mov ebx, dword [eax + 0x14]
add eax, 0x18
xor ebx, dword [edx + 0xc]
mov edx, ebx
mov dword [ebp - 0x4c], ecx
shr edx, 8
mov dword [ebp - 0x30], edx
mov edx, ebx
mov edi, dword [esi]
shr edx, 0x10
mov dword [ebp - 0x2c], edx
mov edx, ebx
sar edi, 1
shr edx, 0x18
dec edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], edx
test edi, edi
jle 0x4313c3
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
movzx edx, dl
mov ebx, dword [ecx*4 + 0x4826d8]
xor ebx, dword [edx*4 + 0x4822d8]
mov edx, dword [ebp - 0x3c]
movzx ecx, dl
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x481ed8]
mov edx, dword [edx*4 + 0x482ad8]
xor ebx, dword [esi*4 + 0x482ad8]
xor ebx, dword [eax]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x40]
xor edx, dword [ecx*4 + 0x4826d8]
mov ecx, dword [ebp - 0x48]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4822d8]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x481ed8]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x2c], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x4826d8]
xor ebx, dword [edx*4 + 0x482ad8]
mov edx, dword [ebp - 0x30]
movzx ecx, dl
xor ebx, dword [ecx*4 + 0x4822d8]
mov ecx, dword [ebp - 0x4c]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x481ed8]
mov ecx, dword [ebp - 0x40]
xor ebx, dword [eax + 8]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], ebx
mov ebx, dword [edx*4 + 0x4826d8]
xor ebx, dword [ecx*4 + 0x4822d8]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x481ed8]
mov ecx, dword [ebp - 0x50]
xor ebx, dword [ecx*4 + 0x482ad8]
mov ecx, dword [ebp - 0x30]
xor ebx, dword [eax + 0xc]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4826d8]
xor edx, dword [ecx*4 + 0x4822d8]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x482ad8]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x481ed8]
mov ecx, ebx
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], edx
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4826d8]
xor edx, dword [ecx*4 + 0x4822d8]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x482ad8]
mov ecx, dword [ebp - 0x2c]
dec edi
movzx ecx, cl
xor edx, dword [ecx*4 + 0x481ed8]
xor edx, dword [eax + 0x14]
mov ecx, edx
mov dword [ebp - 0x40], edx
shr ecx, 0x10
mov dword [ebp - 0x58], ecx
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x54], ecx
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x34], ecx
mov ecx, ebx
shr ecx, 8
mov dword [ebp - 0x20], edx
movzx edx, cl
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4822d8]
xor edx, dword [ecx*4 + 0x4826d8]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x482ad8]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x481ed8]
xor edx, dword [eax + 0x18]
mov ecx, edx
mov dword [ebp - 0x4c], edx
shr ecx, 0x18
mov dword [ebp - 0x50], ecx
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x48], ecx
mov ecx, edx
shr ecx, 0x10
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x28]
shr ecx, 8
mov dword [ebp - 0x1c], edx
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x4822d8]
xor edx, dword [ecx*4 + 0x4826d8]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x482ad8]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x481ed8]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov ecx, edx
mov dword [ebp - 0x38], edx
shr ecx, 8
mov esi, edx
mov dword [ebp - 0x30], ecx
mov ecx, edx
shr ecx, 0x10
shr esi, 0x18
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
test edi, edi
jg 0x431184
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
jmp 0x4313c5
mov esi, edx
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
mov edx, dword [ebp - 0x34]
movzx edx, dl
mov ebx, dword [ecx*4 + 0x4826d8]
xor ebx, dword [edx*4 + 0x4822d8]
mov edx, dword [ebp - 0x3c]
movzx ecx, dl
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x481ed8]
mov edx, dword [edx*4 + 0x482ad8]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor ebx, dword [esi*4 + 0x482ad8]
xor ebx, dword [eax]
mov dword [ebp - 0x14], ebx
xor edx, dword [ecx*4 + 0x4826d8]
mov ecx, dword [ebp - 0x48]
movzx ecx, cl
mov dword [ebp - 0x28], ebx
xor edx, dword [ecx*4 + 0x4822d8]
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x481ed8]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
mov ebx, dword [ecx*4 + 0x4826d8]
mov ecx, dword [ebp - 0x4c]
movzx ecx, cl
movzx edx, dl
xor ebx, dword [edx*4 + 0x4822d8]
xor ebx, dword [ecx*4 + 0x481ed8]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x482ad8]
xor ebx, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx*4 + 0x4822d8]
xor ebx, dword [edx*4 + 0x4826d8]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
mov edx, dword [ebp - 0x54]
xor ebx, dword [ecx*4 + 0x481ed8]
mov ecx, dword [ebp - 0x50]
xor ebx, dword [ecx*4 + 0x482ad8]
xor ebx, dword [eax + 0xc]
mov ecx, ebx
mov dword [ebp - 0x38], ebx
shr ecx, 0x18
mov dword [ebp - 8], ebx
movzx ebx, byte [ecx + 0x481dd8]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x481dd8]
xor ebx, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x481dd8]
xor ebx, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x481dd8]
xor ebx, ecx
mov ecx, dword [ebp - 0x38]
xor ebx, dword [eax + 0x10]
mov dword [ebp - 0x24], ebx
shr ecx, 0x10
movzx ecx, cl
push 0x20
movzx edi, byte [ecx + 0x481dd8]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x481dd8]
shl ecx, 8
xor edi, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x481dd8]
xor edi, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x481dd8]
xor edi, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edi, dword [eax + 0x14]
mov dword [ebp - 0x20], edi
movzx esi, byte [ecx + 0x481dd8]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x481dd8]
xor esi, ecx
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x481dd8]
xor esi, ecx
movzx ecx, dl
shr edx, 0x18
shl esi, 8
movzx ecx, byte [ecx + 0x481dd8]
movzx edx, byte [edx + 0x481dd8]
xor esi, ecx
mov ecx, dword [ebp - 0x34]
xor esi, dword [eax + 0x18]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
mov dword [ebp - 0x1c], esi
movzx ecx, byte [ecx + 0x481dd8]
xor edx, ecx
mov ecx, dword [ebp - 0x28]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x481dd8]
xor edx, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x481dd8]
xor edx, ecx
xor edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x5c]
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.0042f390
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00446e61
mov esp, ebp
pop ebp
ret