Function at 0x10107910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
movzx edx, byte [esi + 3]
movzx ecx, byte [esi + 2]
mov eax, dword [edi + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 6]
mov dword [ebp - 0x24], edx
mov ebx, dword [eax]
xor ebx, edx
movzx edx, byte [esi + 7]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x24], ebx
movzx ecx, byte [esi + 5]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x2c], ebx
movzx ecx, byte [esi + 4]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 4]
xor ecx, edx
movzx edx, byte [esi + 0xb]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], ecx
movzx ecx, byte [esi + 0xa]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 8]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
xor ecx, edx
movzx edx, byte [esi + 0xf]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [esi + 0xe]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xc]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 0xc]
add eax, 0x10
xor ecx, edx
mov edx, ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
sar ecx, 1
dec ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x10107c26
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 + 0x102a6d90]
xor edx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x102a7590]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x102a6990]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x28]
mov ebx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
xor ebx, dword [edx*4 + 0x102a7590]
xor ebx, dword [ecx*4 + 0x102a6d90]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
mov edx, dword [ebp - 0x38]
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x102a6990]
xor ebx, dword [eax + 4]
mov edx, dword [edx*4 + 0x102a7590]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x34]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shr ebx, 0x10
xor edx, dword [ecx*4 + 0x102a6d90]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a6990]
xor edx, dword [eax + 8]
mov ecx, dword [ebp - 0x28]
shr ecx, 8
mov dword [ebp - 0x40], edx
mov dword [ebp - 0xc], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x102a6d90]
xor ebx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x102a7590]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x102a6990]
xor ebx, dword [eax + 0xc]
mov ecx, ebx
mov dword [ebp - 8], ebx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x40]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x102a6d90]
xor edx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x102a7590]
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a6990]
xor edx, dword [eax + 0x10]
mov dword [ebp - 0x2c], edx
mov ecx, ebx
shr ecx, 0x10
mov dword [ebp - 0x24], edx
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x102a7190]
xor edx, dword [ecx*4 + 0x102a6d90]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x102a7590]
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a6990]
xor edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x34], edx
mov edx, ebx
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
mov edx, dword [edx*4 + 0x102a7590]
xor edx, dword [ecx*4 + 0x102a6d90]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a7190]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x28]
movzx ecx, dl
shr edx, 8
movzx edx, dl
xor esi, dword [ecx*4 + 0x102a6990]
mov ecx, esi
mov dword [ebp - 0x28], esi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x102a6d90]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x102a7590]
movzx ecx, bl
mov ebx, dword [ebp - 0x2c]
xor edx, dword [ecx*4 + 0x102a6990]
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov ecx, dword [ebp - 0x44]
dec ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jg 0x10107a00
mov ecx, edx
mov edi, dword [ebp - 0x2c]
shr ecx, 8
lea esi, [eax + 0xc]
movzx edx, cl
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x102a6d90]
xor edx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x102a7590]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x102a6990]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x28]
mov ebx, dword [ecx*4 + 0x102a7190]
mov ecx, edi
shr ecx, 8
movzx ecx, cl
shr edx, 0x18
xor ebx, dword [edx*4 + 0x102a7590]
xor ebx, dword [ecx*4 + 0x102a6d90]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
movzx ecx, cl
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x102a6990]
xor ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], ebx
mov ebx, dword [edx*4 + 0x102a7590]
xor ebx, dword [ecx*4 + 0x102a6d90]
mov ecx, edi
mov edx, dword [ebp - 0x28]
shr ecx, 0x10
movzx ecx, cl
shr edi, 0x18
xor ebx, dword [ecx*4 + 0x102a7190]
movzx ecx, dl
shr edx, 8
movzx edx, dl
xor ebx, dword [ecx*4 + 0x102a6990]
mov ecx, dword [ebp - 0x34]
mov edx, dword [edx*4 + 0x102a6d90]
xor ebx, dword [eax + 8]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x44], ebx
xor edx, dword [ecx*4 + 0x102a7190]
mov ecx, dword [ebp - 0x38]
xor edx, dword [edi*4 + 0x102a7590]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x102a6990]
mov ecx, ebx
xor edx, dword [eax + 0xc]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x40], edx
mov dword [ebp - 8], edx
movzx ebx, byte [ecx + 0x102a6890]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x102a6890]
shl ecx, 8
xor ebx, ecx
mov ecx, edx
shl ebx, 8
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x102a6890]
xor ebx, ecx
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x102a6890]
xor ebx, ecx
mov ecx, dword [ebp - 0x44]
xor ebx, dword [eax + 0x10]
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
movzx ebx, byte [eax + 0x102a6890]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x102a6890]
xor ebx, eax
mov eax, dword [ebp - 0x3c]
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x102a6890]
xor ebx, eax
mov eax, dword [ebp - 0x30]
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x102a6890]
xor ebx, eax
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
movzx eax, al
xor ebx, dword [esi + 8]
mov dword [ebp - 0x20], ebx
movzx edx, byte [eax + 0x102a6890]
mov eax, dword [ebp - 0x40]
shr eax, 0x18
movzx eax, byte [eax + 0x102a6890]
shl eax, 8
xor edx, eax
mov eax, dword [ebp - 0x30]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x102a6890]
xor edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x102a6890]
xor edx, eax
mov eax, dword [ebp - 0x3c]
shr eax, 0x18
xor edx, dword [esi + 0xc]
mov dword [ebp - 0x1c], edx
movzx ecx, byte [eax + 0x102a6890]
mov eax, dword [ebp - 0x30]
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x102a6890]
xor ecx, eax
mov eax, dword [ebp - 0x44]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x102a6890]
xor ecx, eax
mov eax, dword [ebp - 0x40]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x102a6890]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
xor ecx, dword [esi + 0x10]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
mov byte [esi + 2], al
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ebx
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
shr eax, 8
mov byte [esi + 9], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xe], al
lea eax, [ebp - 0x24]
mov byte [esi + 4], bl
mov byte [esi + 8], dl
mov byte [esi + 0xc], cl
shr edx, 0x18
shr ecx, 0x18
push 0x20
shr ebx, 0x18
push eax
mov byte [esi + 7], bl
mov byte [esi + 0xb], dl
mov byte [esi + 0xf], cl
call fcn.101115e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.100e04a9
mov esp, ebp
pop ebp
ret