Function at 0x6000ba40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
push 8
pop ebx
push ebx
push dword [esi]
call fcn.60010cb5
push ebx
push dword [esi]
mov edi, eax
mov ebp, 0xff00ff00
and edi, ebp
call fcn.60010ca3
and eax, 0xff00ff
or eax, edi
mov edi, dword [esp + 0x30]
xor eax, dword [edi]
push ebx
push dword [esi + 4]
mov dword [esp + 0x38], eax
call fcn.60010cb5
push ebx
push dword [esi + 4]
mov dword [esp + 0x48], eax
and dword [esp + 0x48], ebp
call fcn.60010ca3
mov ebx, eax
and ebx, 0xff00ff
or ebx, dword [esp + 0x48]
push 8
xor ebx, dword [edi + 4]
push dword [esi + 8]
mov dword [esp + 0x50], ebx
call fcn.60010cb5
push 8
push dword [esi + 8]
mov dword [esp + 0x48], eax
and dword [esp + 0x48], ebp
call fcn.60010ca3
mov ebp, eax
and ebp, 0xff00ff
or ebp, dword [esp + 0x48]
push 8
xor ebp, dword [edi + 8]
push dword [esi + 0xc]
mov dword [esp + 0x50], ebp
call fcn.60010cb5
push 8
push dword [esi + 0xc]
mov dword [esp + 0x54], eax
and dword [esp + 0x54], 0xff00ff00
call fcn.60010ca3
mov edx, ebx
mov esi, 0xff
mov ecx, ebp
shr ecx, 8
and ecx, esi
mov ebx, dword [ecx*4 + 0x3da3368]
mov ecx, dword [esp + 0x60]
and eax, 0xff00ff
or eax, dword [esp + 0x54]
shr edx, 0x10
xor eax, dword [edi + 0xc]
shr ecx, 0x18
and edx, esi
xor ebx, dword [edx*4 + 0x3da2f68]
mov edx, ebp
xor ebx, dword [ecx*4 + 0x3da2b68]
mov ecx, eax
and ecx, esi
xor ebx, dword [ecx*4 + 0x3da3768]
mov ecx, eax
xor ebx, dword [edi + 0x10]
shr ecx, 8
add esp, 0x40
and ecx, esi
mov dword [esp + 0x10], eax
shr edx, 0x10
mov ebp, dword [ecx*4 + 0x3da3368]
mov ecx, dword [esp + 0x28]
and edx, esi
xor ebp, dword [edx*4 + 0x3da2f68]
mov edx, dword [esp + 0x20]
shr ecx, 0x18
xor ebp, dword [ecx*4 + 0x3da2b68]
mov ecx, edx
and ecx, esi
xor ebp, dword [ecx*4 + 0x3da3768]
shr eax, 0x10
and eax, esi
mov ecx, edx
shr ecx, 8
and ecx, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [eax*4 + 0x3da2f68]
mov eax, dword [esp + 0x20]
xor ecx, dword [eax*4 + 0x3da3368]
mov eax, dword [esp + 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x3da2b68]
mov eax, dword [esp + 0x28]
xor ebp, dword [edi + 0x14]
and eax, esi
xor ecx, dword [eax*4 + 0x3da3768]
mov eax, dword [esp + 0x28]
xor ecx, dword [edi + 0x18]
shr eax, 8
shr edx, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x3da3368]
and edx, esi
xor eax, dword [edx*4 + 0x3da2f68]
mov edx, dword [esp + 0x10]
shr edx, 0x18
xor eax, dword [edx*4 + 0x3da2b68]
mov edx, dword [esp + 0x18]
and edx, esi
xor eax, dword [edx*4 + 0x3da3768]
mov edx, dword [esp + 0x24]
xor eax, dword [edi + 0x1c]
sar edx, 1
add edi, 0x20
dec edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
je 0x6000be00
mov eax, ecx
shr eax, 8
and eax, esi
mov eax, dword [eax*4 + 0x3da3368]
mov edx, ebp
shr edx, 0x10
and edx, esi
xor eax, dword [edx*4 + 0x3da2f68]
mov edx, ebx
shr edx, 0x18
xor eax, dword [edx*4 + 0x3da2b68]
mov edx, dword [esp + 0x10]
and edx, esi
xor eax, dword [edx*4 + 0x3da3768]
mov edx, ecx
xor eax, dword [edi]
shr edx, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
shr eax, 8
and edx, esi
and eax, esi
mov eax, dword [eax*4 + 0x3da3368]
xor eax, dword [edx*4 + 0x3da2f68]
mov edx, ebp
shr edx, 0x18
xor eax, dword [edx*4 + 0x3da2b68]
mov edx, ebx
and edx, esi
xor eax, dword [edx*4 + 0x3da3768]
mov edx, ebx
xor eax, dword [edi + 4]
shr edx, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
shr eax, 0x10
and edx, esi
and eax, esi
mov eax, dword [eax*4 + 0x3da2f68]
xor eax, dword [edx*4 + 0x3da3368]
mov edx, ecx
shr edx, 0x18
xor eax, dword [edx*4 + 0x3da2b68]
shr ebx, 0x10
and ebx, esi
mov edx, ebp
and edx, esi
xor eax, dword [edx*4 + 0x3da3768]
shr ebp, 8
xor eax, dword [edi + 8]
and ebp, esi
mov edx, dword [ebp*4 + 0x3da3368]
xor edx, dword [ebx*4 + 0x3da2f68]
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x3da2b68]
mov ebx, dword [esp + 0x28]
and ecx, esi
xor edx, dword [ecx*4 + 0x3da3768]
shr ebx, 0x10
xor edx, dword [edi + 0xc]
mov ecx, eax
shr ecx, 8
and ecx, esi
mov ecx, dword [ecx*4 + 0x3da3368]
and ebx, esi
xor ecx, dword [ebx*4 + 0x3da2f68]
mov ebx, dword [esp + 0x20]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x3da2b68]
mov ebx, edx
and ebx, esi
xor ecx, dword [ebx*4 + 0x3da3768]
mov ebp, eax
xor ecx, dword [edi + 0x10]
mov dword [esp + 0x10], edx
mov ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, esi
shr ebp, 0x10
mov ecx, dword [ecx*4 + 0x3da3368]
and ebp, esi
xor ecx, dword [ebp*4 + 0x3da2f68]
mov ebp, dword [esp + 0x28]
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x3da2b68]
mov ebp, dword [esp + 0x20]
shr edx, 0x10
and ebp, esi
xor ecx, dword [ebp*4 + 0x3da3768]
and edx, esi
xor ecx, dword [edi + 0x14]
mov edx, dword [edx*4 + 0x3da2f68]
mov ebp, ecx
mov ecx, dword [esp + 0x20]
shr ecx, 8
and ecx, esi
xor edx, dword [ecx*4 + 0x3da3368]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x3da2b68]
mov ecx, dword [esp + 0x28]
and ecx, esi
xor edx, dword [ecx*4 + 0x3da3768]
mov ecx, dword [esp + 0x20]
xor edx, dword [edi + 0x18]
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
shr edx, 8
and edx, esi
mov edx, dword [edx*4 + 0x3da3368]
and ecx, esi
xor edx, dword [ecx*4 + 0x3da2f68]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x3da2b68]
mov ecx, dword [esp + 0x14]
and eax, esi
xor edx, dword [eax*4 + 0x3da3768]
add edi, 0x20
xor edx, dword [edi - 4]
dec dword [esp + 0x24]
mov dword [esp + 0x10], edx
jne 0x6000bc16
mov eax, edx
shr ecx, 8
and ecx, esi
mov ecx, dword [ecx*4 + 0x3da3b68]
mov edx, ebp
shr edx, 0x10
and edx, esi
mov edx, dword [edx*4 + 0x3da3b68]
and ecx, 0xff00
and edx, 0xff0000
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x3da3b68]
and eax, esi
movzx eax, byte [eax*4 + 0x3da3b68]
and ecx, 0xff000000
xor edx, ecx
xor edx, eax
xor edx, dword [edi]
push 8
push edx
mov dword [esp + 0x28], edx
call fcn.60010cb5
push 8
push dword [esp + 0x2c]
mov dword [esp + 0x38], eax
and dword [esp + 0x38], 0xff00ff00
call fcn.60010ca3
mov ecx, dword [esp + 0x3c]
and eax, 0xff00ff
or eax, dword [esp + 0x38]
push 8
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
shr ecx, 8
shr eax, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x3da3b68]
and eax, esi
mov eax, dword [eax*4 + 0x3da3b68]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, ebp
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x3da3b68]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx*4 + 0x3da3b68]
xor eax, ecx
xor eax, dword [edi + 4]
push eax
mov dword [esp + 0x40], eax
call fcn.60010cb5
push 8
push dword [esp + 0x44]
mov dword [esp + 0x40], eax
and dword [esp + 0x40], 0xff00ff00
call fcn.60010ca3
mov ecx, dword [esp + 0x4c]
and eax, 0xff00ff
or eax, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
shr eax, 0x10
mov ecx, ebx
shr ecx, 8
and ecx, esi
mov ecx, dword [ecx*4 + 0x3da3b68]
and eax, esi
mov eax, dword [eax*4 + 0x3da3b68]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [esp + 0x34]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x3da3b68]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebp
and ecx, esi
movzx ecx, byte [ecx*4 + 0x3da3b68]
xor eax, ecx
xor eax, dword [edi + 8]
push 8
push eax
mov dword [esp + 0x40], eax
call fcn.60010cb5
push 8
push dword [esp + 0x44]
mov dword [esp + 0x58], eax
and dword [esp + 0x58], 0xff00ff00
call fcn.60010ca3
mov ecx, dword [esp + 0x5c]
and eax, 0xff00ff
or eax, dword [esp + 0x58]
shr ebx, 0x10
mov dword [ecx + 8], eax
and ebx, esi
mov ebx, dword [ebx*4 + 0x3da3b68]
shr ebp, 8
and ebp, esi
mov eax, dword [ebp*4 + 0x3da3b68]
and eax, 0xff00
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [esp + 0x40]
shr eax, 0x18
mov eax, dword [eax*4 + 0x3da3b68]
and eax, 0xff000000
xor ebx, eax
mov eax, dword [esp + 0x44]
and eax, esi
movzx eax, byte [eax*4 + 0x3da3b68]
xor ebx, eax
xor ebx, dword [edi + 0xc]
push 8
push ebx
call fcn.60010cb5
mov esi, eax
push 8
push ebx
and esi, 0xff00ff00
call fcn.60010ca3
mov ecx, dword [esp + 0x6c]
add esp, 0x40
pop edi
and eax, 0xff00ff
or eax, esi
pop esi
pop ebp
mov dword [ecx + 0xc], eax
pop ebx
add esp, 0xc
ret