Function at 0x10148b00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.101ebae0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
movzx edx, byte [edi + 1]
movzx eax, byte [edi]
movzx esi, byte [edi + 4]
movzx ecx, byte [edi + 7]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or esi, eax
mov dword [esp + 0x20], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov eax, dword [esp + 0x24]
shl ecx, 0x10
or esi, ecx
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1c], esi
je 0x10148d31
add eax, 0xfffffff8
mov dword [esp + 0x38], eax
js 0x10148c5a
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
shr edi, 3
mov eax, edi
neg eax
lea ecx, [ecx + eax*8]
mov dword [esp + 0x38], ecx
jmp 0x10148b97
mov esi, dword [esp + 0x1c]
movzx eax, byte [ebp + 1]
movzx edx, byte [ebp]
movzx ecx, byte [ebp + 4]
push dword [esp + 0x30]
shl eax, 8
or edx, eax
movzx eax, byte [ebp + 2]
push dword [esp + 0x30]
shl eax, 0x10
push dword [esp + 0x30]
or edx, eax
movzx eax, byte [ebp + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [ebp + 5]
xor edx, dword [esp + 0x2c]
shl eax, 8
or ecx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [ebp + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebp + 7]
shl eax, 0x18
add ebp, 8
or ecx, eax
lea eax, [esp + 0x1c]
xor ecx, esi
push eax
mov dword [esp + 0x24], ecx
call fcn.1014af30
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, edx
shr eax, 8
mov byte [ebx], dl
mov byte [ebx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 3], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 6], al
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 4], cl
mov byte [ebx + 7], al
add ebx, 8
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
sub edi, 1
jne 0x10148b93
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
jmp 0x10148c5e
mov ecx, dword [esp + 0x1c]
cmp eax, 0xfffffff8
je 0x10148ef7
lea ecx, [ebp + 8]
xor esi, esi
add ecx, eax
xor edi, edi
add eax, 7
cmp eax, 7
ja case.default.0x10148c78
jmp dword [eax*4 + 0x10148f54]
movzx esi, byte [ecx - 1]
dec ecx
shl esi, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or esi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or esi, eax
movzx eax, byte [ecx - 1]
dec ecx
or esi, eax
movzx edi, byte [ecx - 1]
dec ecx
shl edi, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or edi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or edi, eax
movzx eax, byte [ecx - 1]
or edi, eax
push dword [esp + 0x30]
xor esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push dword [esp + 0x30]
xor edi, edx
mov dword [esp + 0x1c], esi
push dword [esp + 0x30]
mov dword [esp + 0x1c], edi
push eax
call fcn.1014af30
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, edx
shr eax, 8
mov byte [ebx], dl
mov byte [ebx + 1], al
mov eax, edx
mov edi, dword [esp + 0x34]
shr eax, 0x10
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 3], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 6], al
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 4], cl
mov byte [ebx + 7], al
jmp 0x10148ef7
lea ecx, [eax - 8]
mov dword [esp + 0x38], ecx
test ecx, ecx
js 0x10148e13
shr eax, 3
mov dword [esp + 0x24], eax
neg eax
lea ecx, [ecx + eax*8]
mov dword [esp + 0x38], ecx
movzx eax, byte [ebp + 1]
movzx edi, byte [ebp]
movzx esi, byte [ebp + 4]
push dword [esp + 0x30]
shl eax, 8
or edi, eax
movzx eax, byte [ebp + 2]
push dword [esp + 0x30]
shl eax, 0x10
push dword [esp + 0x30]
or edi, eax
movzx eax, byte [ebp + 3]
shl eax, 0x18
or edi, eax
movzx eax, byte [ebp + 5]
shl eax, 8
or esi, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [ebp + 6]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebp + 7]
shl eax, 0x18
add ebp, 8
or esi, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], esi
call fcn.101489f0
mov ecx, dword [esp + 0x20]
add esp, 0x10
xor ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, ecx
xor edx, dword [esp + 0x1c]
mov byte [ebx], cl
shr eax, 8
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 2], al
mov eax, edx
shr eax, 8
mov byte [ebx + 5], al
mov eax, edx
mov byte [ebx + 4], dl
shr ecx, 0x18
shr edx, 0x18
shr eax, 0x10
mov byte [ebx + 3], cl
mov ecx, esi
mov byte [ebx + 7], dl
mov edx, edi
mov byte [ebx + 6], al
add ebx, 8
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
jne 0x10148d50
mov edi, dword [esp + 0x34]
jmp 0x10148e17
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x38], 0xfffffff8
je 0x10148ef7
movzx eax, byte [ebp + 1]
movzx esi, byte [ebp]
movzx edx, byte [ebp + 4]
push dword [esp + 0x30]
movzx ecx, byte [ebp + 7]
push dword [esp + 0x30]
shl eax, 8
push dword [esp + 0x30]
or esi, eax
shl ecx, 8
movzx eax, byte [ebp + 2]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebp + 3]
shl eax, 0x18
or esi, eax
movzx eax, byte [ebp + 5]
shl eax, 8
or edx, eax
mov dword [esp + 0x1c], esi
movzx eax, byte [ebp + 6]
or ecx, eax
lea eax, [esp + 0x1c]
shl ecx, 0x10
or edx, ecx
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], edx
call fcn.101489f0
mov ebp, dword [esp + 0x48]
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, dword [esp + 0x20]
xor edx, dword [esp + 0x1c]
lea ecx, [ebp + 8]
add ebp, 7
mov dword [esp + 0x24], eax
add ecx, ebx
cmp ebp, 7
ja case.default.0x10148eaa
jmp dword [ebp*4 + 0x10148f74]
dec ecx
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x24]
dec ecx
mov byte [ecx], dl
dec ecx
shr eax, 0x18
mov byte [ecx], al
mov eax, dword [esp + 0x24]
dec ecx
shr eax, 0x10
mov byte [ecx], al
mov eax, dword [esp + 0x24]
dec ecx
shr eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x24]
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x34]
mov edx, esi
mov esi, ecx
mov byte [edi], dl
shr esi, 8
mov eax, ecx
mov dword [esp + 0x20], esi
mov ebx, ecx
mov esi, edx
shr ebx, 0x10
shr esi, 0x18
mov dword [esp + 0x1c], esi
mov esi, edx
shr esi, 0x10
mov dword [esp + 0x34], esi
mov esi, edx
shr eax, 0x18
shr esi, 8
mov edx, esi
mov dword [esp + 0x24], esi
mov byte [edi + 1], dl
mov edx, dword [esp + 0x34]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], dl
mov byte [edi + 4], cl
mov ecx, dword [esp + 0x20]
mov byte [edi + 5], cl
mov byte [edi + 6], bl
mov byte [edi + 7], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret