Function at 0x100cd0b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.101632f0
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
je 0x100cd329
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
mov esi, dword [esp + 0x2c]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
mov edi, dword [esp + 0x28]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
js 0x100cd204
lea ebp, [ecx + 8]
shr ebp, 3
mov eax, ebp
neg eax
lea ecx, [ecx + eax*8]
mov dword [esp + 0x14], ecx
jmp 0x100cd150
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
movzx ecx, byte [edi + 4]
shl eax, 8
or edx, eax
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 ecx, eax
movzx eax, byte [edi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
or ecx, eax
xor ecx, dword [esp + 0x10]
push 1
push dword [esp + 0x38]
lea eax, [esp + 0x24]
xor edx, ebx
push eax
add edi, 8
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
call fcn.100cc9f0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov byte [esi], bl
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 3], al
mov byte [esi + 4], dl
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 7], al
add esp, 0xc
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
jne 0x100cd150
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
cmp ecx, 0xfffffff8
je 0x100cd2ec
mov edx, dword [esp + 0x14]
add ecx, 8
add edx, 7
add ecx, edi
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], edx
cmp edx, 7
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
ja case.default.0x100cd232
mov ebp, dword [esp + 0x14]
jmp dword [ebp*4 + 0x100cd57c]
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]
dec ecx
or edi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x18
mov dword [esp + 0x30], eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or dword [esp + 0x30], eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or dword [esp + 0x30], eax
movzx eax, byte [ecx - 1]
or dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
xor eax, ebx
push 1
push dword [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
xor edi, edx
push eax
mov dword [esp + 0x2c], edi
call fcn.100cc9f0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov byte [esi], bl
mov ebp, dword [esp + 0x48]
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, edx
shr eax, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
add esp, 0xc
shr eax, 0x18
mov byte [esi + 7], al
mov eax, dword [esp + 0x38]
pop edi
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], dl
mov eax, edx
shr eax, 8
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 5], al
shr edx, 0x18
pop esi
mov byte [ebp + 6], dl
pop ebp
pop ebx
add esp, 0x14
ret
movzx ecx, byte [eax]
lea esi, [eax + 1]
mov edx, esi
mov edi, dword [esp + 0x30]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx + 3]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x3c]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
or edx, ecx
add edi, 0xfffffff8
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], edx
js 0x100cd470
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 0x100cd3b0
movzx eax, byte [ebx + 1]
movzx edi, byte [ebx]
movzx esi, byte [ebx + 4]
shl eax, 8
or edi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
or esi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
push 0
push dword [esp + 0x38]
or esi, eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], edi
add ebx, 8
mov dword [esp + 0x2c], esi
call fcn.100cc9f0
mov ecx, dword [esp + 0x28]
xor ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
xor edx, dword [esp + 0x48]
mov byte [ebp], cl
mov eax, ecx
shr eax, 8
mov byte [ebp + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 2], al
shr ecx, 0x18
mov byte [ebp + 3], cl
mov byte [ebp + 4], dl
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 6], al
mov byte [ebp + 7], dl
add esp, 0xc
add ebp, 8
dec dword [esp + 0x30]
mov ecx, edi
mov edx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edx
jne 0x100cd3b0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x100cd474
mov ecx, dword [esp + 0x10]
cmp edi, 0xfffffff8
je 0x100cd53f
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
or ecx, eax
movzx eax, byte [ebx + 5]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], ecx
movzx ecx, byte [ebx + 7]
shl eax, 8
or edx, eax
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
push 0
push dword [esp + 0x38]
shl ecx, 0x10
or edx, ecx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
call fcn.100cc9f0
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
xor edx, dword [esp + 0x1c]
xor ebx, dword [esp + 0x48]
lea ecx, [ebp + 8]
add ecx, edi
add edi, 7
add esp, 0xc
cmp edi, 7
ja case.default.0x100cd4fa
jmp dword [edi*4 + 0x100cd59c]
dec ecx
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 8
mov byte [ecx], al
dec ecx
mov byte [ecx], bl
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 + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
pop edi
mov byte [eax], cl
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
shr ecx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov eax, edx
shr eax, 8
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 5], al
shr edx, 0x18
mov byte [esi + 6], dl
pop esi
pop ebp
pop ebx
add esp, 0x14
ret