Function at 0x10114620
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.10101f10
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x34]
push edi
je 0x10114854
mov ch, byte [eax + 1]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x14], eax
xor ebx, ebx
or edx, ecx
movzx ecx, byte [eax + 1]
inc eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 1]
inc eax
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 1]
inc eax
mov bh, byte [eax + 1]
inc eax
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
or ecx, ebx
xor ebx, ebx
mov bh, byte [eax + 2]
inc eax
mov bl, byte [eax]
shl ebx, 0x10
or ecx, ebx
mov ebx, dword [esp + 0x30]
add ebx, 0xfffffff8
mov dword [esp + 0x3c], ecx
js 0x10114757
lea ebp, [ebx + 8]
shr ebp, 3
mov eax, ebp
neg eax
lea ecx, [ebx + eax*8]
mov dword [esp + 0x30], ecx
movzx eax, byte [edi]
xor ecx, ecx
mov ch, byte [edi + 1]
inc edi
xor ebx, ebx
push 1
or eax, ecx
movzx ecx, byte [edi + 1]
shl ecx, 0x10
or eax, ecx
inc edi
movzx ecx, byte [edi + 1]
inc edi
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [edi + 1]
inc edi
mov bh, byte [edi + 1]
inc edi
xor eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
or ecx, ebx
movzx ebx, byte [edi + 1]
inc edi
shl ebx, 0x10
or ecx, ebx
movzx ebx, byte [edi + 1]
inc edi
shl ebx, 0x18
or ecx, ebx
xor ecx, edx
mov edx, dword [esp + 0x38]
push edx
push eax
inc edi
mov dword [esp + 0x2c], ecx
call fcn.101140e0
mov eax, dword [esp + 0x28]
mov byte [esi], al
add esp, 0xc
inc esi
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
inc esi
mov ecx, eax
shr ecx, 0x10
mov byte [esi], cl
inc esi
mov edx, eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x20]
inc esi
mov byte [esi], al
inc esi
mov ebx, eax
shr ebx, 8
mov byte [esi], bl
inc esi
mov ebx, eax
shr ebx, 0x10
mov byte [esi], bl
mov ecx, eax
inc esi
shr eax, 0x18
mov byte [esi], al
inc esi
dec ebp
mov dword [esp + 0x3c], ecx
jne 0x101146a5
mov ebx, dword [esp + 0x30]
cmp ebx, 0xfffffff8
je 0x10114813
lea eax, [edi + ebx + 8]
add ebx, 7
xor ebp, ebp
xor edi, edi
cmp ebx, 7
ja case.default.0x10114770
jmp dword [ebx*4 + 0x10114a94]
movzx ebp, byte [eax - 1]
dec eax
shl ebp, 0x18
movzx edi, byte [eax - 1]
dec eax
shl edi, 0x10
or ebp, edi
dec eax
xor ebx, ebx
mov bh, byte [eax]
or ebp, ebx
movzx edi, byte [eax - 1]
dec eax
or ebp, edi
movzx edi, byte [eax - 1]
dec eax
shl edi, 0x18
movzx ebx, byte [eax - 1]
dec eax
shl ebx, 0x10
or edi, ebx
dec eax
xor ebx, ebx
mov bh, byte [eax]
or edi, ebx
movzx eax, byte [eax - 1]
or edi, eax
xor ebp, ecx
mov ecx, dword [esp + 0x34]
xor edi, edx
push 1
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
call fcn.101140e0
mov eax, dword [esp + 0x28]
mov byte [esi], al
add esp, 0xc
inc esi
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
inc esi
mov ecx, eax
shr ecx, 0x10
mov byte [esi], cl
inc esi
mov edx, eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x20]
inc esi
mov byte [esi], al
mov ebx, eax
shr ebx, 8
inc esi
mov byte [esi], bl
mov ebx, eax
inc esi
shr ebx, 0x10
mov ecx, eax
shr eax, 0x18
mov byte [esi], bl
mov byte [esi + 1], al
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov byte [eax], dl
mov eax, edx
shr eax, 8
mov byte [esi], al
inc esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
shr edx, 0x18
mov byte [esi + 1], dl
inc esi
inc esi
mov byte [esi], cl
inc esi
mov edx, ecx
shr edx, 8
mov byte [esi], dl
inc esi
mov eax, ecx
shr eax, 0x10
pop edi
mov byte [esi], al
shr ecx, 0x18
mov byte [esi + 1], cl
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ch, byte [eax + 1]
movzx ebx, byte [eax]
lea esi, [eax + 1]
movzx edx, byte [esi + 1]
or ebx, ecx
mov dword [esp + 0x14], esi
inc esi
movzx eax, byte [esi + 1]
shl edx, 0x10
or ebx, edx
inc esi
movzx ecx, byte [esi + 1]
shl eax, 0x18
or ebx, eax
inc esi
inc esi
xor edx, edx
mov dh, byte [esi]
mov edi, dword [esp + 0x2c]
xor eax, eax
mov ah, byte [esi + 2]
or ecx, edx
inc esi
mov al, byte [esi]
mov esi, dword [esp + 0x28]
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], eax
js 0x10114988
lea ecx, [eax + 8]
shr ecx, 3
mov dword [esp + 0x18], ecx
neg ecx
lea ecx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
movzx ebp, byte [esi]
xor edx, edx
mov dh, byte [esi + 1]
inc esi
movzx eax, byte [esi + 1]
shl eax, 0x10
push 0
or ebp, edx
inc esi
movzx ecx, byte [esi + 1]
or ebp, eax
inc esi
movzx eax, byte [esi + 1]
shl ecx, 0x18
or ebp, ecx
inc esi
xor edx, edx
mov dh, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
shl ecx, 0x10
mov dword [esp + 0x20], ebp
or eax, edx
inc esi
movzx edx, byte [esi + 1]
or eax, ecx
inc esi
shl edx, 0x18
or eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
inc esi
call fcn.101140e0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, ebx
mov ebx, dword [esp + 0x20]
xor eax, ecx
mov ecx, dword [esp + 0x3c]
mov byte [edi], al
xor ecx, ebx
inc edi
mov edx, eax
shr edx, 8
mov byte [edi], dl
mov edx, eax
shr edx, 0x10
mov byte [edi + 1], dl
inc edi
shr eax, 0x18
mov byte [edi + 1], al
inc edi
inc edi
mov byte [edi], cl
inc edi
mov eax, ecx
shr eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x10]
inc edi
mov edx, ecx
shr edx, 0x10
mov byte [edi], dl
inc edi
shr ecx, 0x18
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov byte [edi], cl
inc edi
dec eax
mov ebx, ebp
mov dword [esp + 0x18], eax
jne 0x101148c0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
cmp eax, 0xfffffff8
je 0x10114a53
movzx ebp, byte [esi]
xor ecx, ecx
mov ch, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
shl edx, 0x10
push 0
or ebp, ecx
inc esi
movzx eax, byte [esi + 1]
or ebp, edx
inc esi
shl eax, 0x18
or ebp, eax
movzx eax, byte [esi + 1]
inc esi
xor ecx, ecx
mov ch, byte [esi + 1]
inc esi
xor edx, edx
mov dh, byte [esi + 2]
mov dword [esp + 0x20], ebp
or eax, ecx
inc esi
lea ecx, [esp + 0x20]
mov dl, byte [esi]
shl edx, 0x10
or eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.101140e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
xor ebx, eax
mov eax, dword [esp + 0x48]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 0xc
xor eax, esi
cmp ecx, 7
ja case.default.0x10114a0a
jmp dword [ecx*4 + 0x10114ab4]
dec edi
mov edx, eax
shr edx, 0x18
mov byte [edi], dl
dec edi
mov ecx, eax
shr ecx, 0x10
mov byte [edi], cl
dec edi
mov edx, eax
shr edx, 8
mov byte [edi], dl
dec edi
mov byte [edi], al
dec edi
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
dec edi
mov ecx, ebx
shr ecx, 0x10
mov byte [edi], cl
dec edi
mov edx, ebx
shr edx, 8
mov byte [edi], dl
mov byte [edi - 1], bl
mov eax, dword [esp + 0x10]
mov ebx, ebp
mov dword [esp + 0x3c], eax
mov ecx, eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov byte [edx], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax], dl
shr ebx, 0x18
mov byte [eax + 1], bl
inc eax
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
pop edi
mov edx, ecx
inc eax
pop esi
shr edx, 0x10
shr ecx, 0x18
pop ebp
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
add esp, 0x14
ret