Function at 0x100fbca0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.101637b0
cmp dword [esp + 0x2c], 0
push ebx
push ebp
push esi
push edi
je 0x100fbee6
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
movzx eax, byte [esi + 1]
movzx edx, byte [esi]
movzx ecx, byte [esi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi + 7]
shl eax, 0x18
or ecx, eax
add ebp, 0xfffffff8
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ebp
js 0x100fbde7
lea eax, [ebp + 8]
shr eax, 3
mov dword [esp + 0x14], eax
neg eax
lea ebp, [ebp + eax*8]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x14]
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
movzx ecx, byte [ebx + 4]
shl eax, 8
or edx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
push dword [esp + 0x34]
or edx, eax
movzx eax, byte [ebx + 5]
xor edx, dword [esp + 0x14]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
or ecx, eax
xor ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
add ebx, 8
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
call fcn.100fc300
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov byte [edi], dl
mov eax, edx
shr eax, 8
mov byte [edi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], al
mov byte [edi + 4], cl
mov eax, ecx
shr eax, 8
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + 7], al
add esp, 8
add edi, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], ecx
dec ebp
jne 0x100fbd33
mov ebp, dword [esp + 0x30]
cmp ebp, 0xfffffff8
je 0x100fbead
mov eax, dword [esp + 0x30]
lea ecx, [ebp + 8]
add ecx, ebx
add eax, 7
xor ebx, ebx
xor ebp, ebp
cmp eax, 7
ja case.default.0x100fbe05
jmp dword [eax*4 + 0x100fc138]
movzx ebx, byte [ecx - 1]
dec ecx
shl ebx, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or ebx, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or ebx, eax
movzx eax, byte [ecx - 1]
dec ecx
or ebx, eax
movzx ebp, byte [ecx - 1]
dec ecx
shl ebp, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or ebp, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or ebp, eax
movzx eax, byte [ecx - 1]
or ebp, eax
push dword [esp + 0x34]
xor ebx, dword [esp + 0x40]
lea eax, [esp + 0x20]
xor ebp, edx
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
call fcn.100fc300
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov byte [edi], dl
mov eax, edx
shr eax, 8
mov byte [edi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], al
mov eax, ecx
shr eax, 8
mov byte [edi + 4], cl
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, ecx
add esp, 8
shr eax, 0x18
mov byte [edi + 7], al
mov byte [esi], dl
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
shr edx, 0x18
mov byte [esi + 3], dl
mov byte [esi + 4], cl
mov eax, ecx
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
pop edi
mov byte [esi + 6], al
shr ecx, 0x18
mov byte [esi + 7], cl
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
mov ebp, dword [esp + 0x28]
or ecx, eax
movzx eax, byte [ebx + 5]
shl eax, 8
or edx, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
or edx, eax
add edi, 0xfffffff8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
js 0x100fc026
mov ebx, dword [esp + 0x2c]
lea eax, [edi + 8]
shr eax, 3
mov dword [esp + 0x30], eax
neg eax
lea edi, [edi + eax*8]
mov dword [esp + 0x18], edi
jmp 0x100fbf60
movzx eax, byte [ebp + 1]
movzx edi, byte [ebp]
movzx esi, byte [ebp + 4]
shl eax, 8
or edi, eax
movzx eax, byte [ebp + 2]
shl eax, 0x10
or edi, eax
movzx eax, byte [ebp + 3]
push dword [esp + 0x34]
shl eax, 0x18
or edi, eax
movzx eax, byte [ebp + 5]
shl eax, 8
or esi, eax
movzx eax, byte [ebp + 6]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebp + 7]
shl eax, 0x18
or esi, eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], edi
add ebp, 8
mov dword [esp + 0x28], esi
call fcn.100fc180
mov ecx, dword [esp + 0x24]
xor ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
xor edx, dword [esp + 0x18]
mov byte [ebx], cl
mov eax, ecx
shr eax, 8
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 2], al
shr ecx, 0x18
mov byte [ebx + 3], cl
mov byte [ebx + 4], dl
mov eax, edx
shr eax, 8
mov byte [ebx + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
add esp, 8
add ebx, 8
dec dword [esp + 0x30]
mov ecx, edi
mov edx, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], edx
jne 0x100fbf60
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
jmp 0x100fc02a
mov esi, dword [esp + 0x2c]
cmp edi, 0xfffffff8
je 0x100fc0fe
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp]
movzx edx, byte [ebp + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [ebp + 2]
push dword [esp + 0x34]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebp + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebp + 5]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
movzx ecx, byte [ebp + 7]
shl eax, 8
or edx, eax
movzx eax, byte [ebp + 6]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
or edx, ecx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edx
call fcn.100fc180
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, dword [esp + 0x18]
xor edx, dword [esp + 0x44]
lea ecx, [edi + 8]
add edi, 7
add esp, 8
add ecx, esi
mov dword [esp + 0x30], eax
cmp edi, 7
ja case.default.0x100fc0b3
jmp dword [edi*4 + 0x100fc158]
dec ecx
shr eax, 0x18
mov byte [ecx], al
mov eax, dword [esp + 0x30]
dec ecx
shr eax, 0x10
mov byte [ecx], al
mov eax, dword [esp + 0x30]
dec ecx
shr eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x30]
dec ecx
mov byte [ecx], al
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 byte [ecx - 1], dl
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov byte [ebx], cl
mov eax, ecx
shr eax, 8
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 2], al
shr ecx, 0x18
mov byte [ebx + 3], cl
mov byte [ebx + 4], dl
mov eax, edx
shr eax, 8
mov byte [ebx + 5], al
pop edi
mov eax, edx
shr eax, 0x10
pop esi
mov byte [ebx + 6], al
shr edx, 0x18
pop ebp
mov byte [ebx + 7], dl
pop ebx
add esp, 0x14
ret