Function at 0x1000b8d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
movzx ecx, byte [eax]
inc eax
movzx edx, byte [eax]
shl edx, 8
or ecx, edx
mov dword [ebp - 0x18], eax
inc eax
movzx edx, byte [eax]
shl edx, 0x10
or ecx, edx
inc eax
movzx edx, byte [eax]
shl edx, 0x18
or ecx, edx
inc eax
movzx edx, byte [eax]
inc eax
movzx esi, byte [eax]
shl esi, 8
or edx, esi
movzx esi, byte [eax + 2]
inc eax
movzx eax, byte [eax]
shl esi, 8
or esi, eax
shl esi, 0x10
or edx, esi
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp + 0xc], esi
js 0x1000b9f6
lea eax, [esi + 8]
shr eax, 3
mov dword [ebp - 0xc], eax
imul eax, eax, 0xfffffff8
add esi, eax
mov dword [ebp + 0xc], esi
movzx eax, byte [edi]
inc edi
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x10
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x10], eax
inc edi
mov dword [ebp - 0x20], eax
movzx eax, byte [edi]
inc edi
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x10
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x20]
inc edi
call fcn.1000a728
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 8]
mov byte [ebx], al
mov edx, eax
shr edx, 8
inc ebx
mov byte [ebx], dl
mov edx, eax
shr eax, 0x18
inc ebx
shr edx, 0x10
mov byte [ebx], dl
inc ebx
mov byte [ebx], al
inc ebx
mov byte [ebx], cl
inc ebx
mov eax, ecx
shr eax, 8
mov byte [ebx], al
inc ebx
mov eax, ecx
shr eax, 0x10
mov byte [ebx], al
mov eax, dword [ebp - 0x10]
inc ebx
shr ecx, 0x18
mov byte [ebx], cl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
inc ebx
dec dword [ebp - 0xc]
mov dword [ebp - 8], eax
jne 0x1000b949
mov ecx, dword [ebp - 4]
mov edx, eax
cmp dword [ebp + 0xc], 0xfffffff8
je 0x1000baac
movzx eax, byte [edi]
inc edi
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x10
or eax, ecx
inc edi
movzx ecx, byte [edi]
shl ecx, 0x18
or eax, ecx
inc edi
mov dword [ebp - 0x20], eax
movzx eax, byte [edi]
inc edi
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
movzx ecx, byte [edi + 2]
inc edi
movzx edx, byte [edi]
shl ecx, 8
or ecx, edx
shl ecx, 0x10
or ecx, eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
call fcn.1000a728
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
xor ecx, dword [ebp - 4]
xor eax, dword [ebp - 8]
lea esi, [ebx + edx + 8]
add edx, 7
cmp edx, 7
ja case.default.0x1000ba69
jmp dword [edx*4 + 0x1000bae7]
dec esi
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
dec esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
dec esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
dec esi
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov byte [esi - 1], cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov byte [eax], cl
mov eax, dword [ebp - 0x18]
mov ebx, ecx
shr ebx, 8
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
inc eax
mov byte [eax], bl
shr ecx, 0x18
inc eax
mov byte [eax], cl
inc eax
mov byte [eax], dl
mov ecx, edx
shr ecx, 8
inc eax
mov byte [eax], cl
mov ecx, edx
inc eax
pop edi
shr ecx, 0x10
shr edx, 0x18
pop esi
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebx
leave
ret