Function at 0x100c06a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.100c8250
push ebx
mov ebx, dword [esp + 0x24]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x174]
mov dword [esp + 0x10], eax
mov eax, ebx
add eax, dword [edi + 0x38]
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x100c08fe
jb 0x100c06dc
cmp eax, 0xffffffe0
ja 0x100c08fe
cmp dword [edi + 0x16c], 0
lea edx, [edi + 0x40]
mov dword [edi + 0x38], eax
lea eax, [edi + 0x60]
mov dword [edi + 0x3c], ecx
mov dword [esp + 0xc], edx
je 0x100c070b
push eax
push edx
call fcn.100c16c0
add esp, 8
mov dword [edi + 0x16c], 0
jmp 0x100c070f
mov dword [esp + 0xc], edx
movzx ecx, byte [edi + 0xc]
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
push ebp
mov ebp, dword [esp + 0x24]
or ecx, eax
mov eax, dword [edi + 0x168]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], esi
test eax, eax
je 0x100c0797
nop
test ebx, ebx
je 0x100c077e
mov dl, byte [ebp]
lea ecx, [eax + edi]
mov al, byte [ecx + 0x10]
inc ebp
xor al, dl
dec ebx
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x10]
xor byte [ecx + 0x40], dl
inc eax
and eax, 0xf
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
jne 0x100c0750
lea ecx, [edi + 0x40]
jmp 0x100c078a
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x100c08ee
lea eax, [edi + 0x60]
push eax
push ecx
call fcn.100c16c0
add esp, 8
cmp ebx, 0xc00
jb 0x100c081c
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x24], edx
nop dword [eax]
push 0xc00
push ebp
lea eax, [edi + 0x60]
push eax
push dword [esp + 0x20]
call fcn.100c1490
push edi
push dword [esp + 0x2c]
push 0xc0
push esi
push ebp
call dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
add esp, 0x24
add ecx, 0xc0
add esi, 0xc00
mov eax, ecx
mov dword [esp + 0x30], ecx
shr eax, 0x18
add ebp, 0xc00
mov byte [edi + 0xc], al
sub ebx, 0xc00
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
sub dword [esp + 0x24], 1
mov byte [edi + 0xe], al
jne 0x100c07b0
mov dword [esp + 0x24], esi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x1c], eax
je 0x100c0884
push eax
mov esi, eax
lea eax, [edi + 0x60]
push ebp
push eax
push dword [esp + 0x20]
shr esi, 4
call fcn.100c1490
push edi
push dword [esp + 0x2c]
push esi
push dword [esp + 0x40]
push ebp
call dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
add esp, 0x24
add ecx, esi
mov esi, dword [esp + 0x24]
mov eax, ecx
mov dword [esp + 0x30], ecx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x1c]
add esi, eax
add ebp, eax
mov byte [edi + 0xf], cl
mov dword [esp + 0x24], esi
sub ebx, eax
test ebx, ebx
je 0x100c08ea
push dword [esp + 0x18]
lea eax, [edi + 0x10]
push eax
mov eax, dword [edi + 0x170]
push edi
call eax
mov ecx, dword [esp + 0x3c]
lea edx, [edi + 0x40]
sub ebp, dword [esp + 0x30]
inc ecx
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x18
add esp, 0xc
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x10]
add esi, eax
add edx, eax
add eax, ebx
mov dword [esp + 0x10], eax
mov cl, byte [esi + ebp]
lea edx, [edx + 1]
mov al, byte [edx - 0x31]
lea esi, [esi + 1]
xor byte [edx - 1], cl
xor al, cl
mov byte [esi - 1], al
sub ebx, 1
jne 0x100c08d1
mov eax, dword [esp + 0x10]
pop esi
pop ebp
mov dword [edi + 0x168], eax
xor eax, eax
pop edi
pop ebx
add esp, 0x10
ret
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret