Function at 0x100c0910
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.100c8250
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x100c0bfb
jb 0x100c0956
cmp eax, 0xffffffe0
ja 0x100c0bfb
cmp dword [esi + 0x16c], 0
lea edx, [esi + 0x60]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x40]
mov dword [esi + 0x3c], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
je 0x100c098c
push edx
push eax
call fcn.100c16c0
add esp, 8
mov dword [esi + 0x16c], 0
lea edx, [esi + 0x60]
jmp 0x100c0994
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x168]
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0x30]
test ecx, ecx
je 0x100c0a0b
nop
test ebp, ebp
je 0x100c09f6
mov al, byte [ecx + esi + 0x10]
dec ebp
xor al, byte [edi]
inc edi
mov byte [ebx], al
inc ebx
xor byte [ecx + esi + 0x40], al
inc ecx
and ecx, 0xf
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ecx
jne 0x100c09d0
lea edx, [esi + 0x60]
jmp 0x100c09fe
test ecx, ecx
jne 0x100c0beb
lea eax, [esi + 0x40]
push edx
push eax
call fcn.100c16c0
add esp, 8
lea ecx, [esi + 0x10]
cmp ebp, 0xc00
jb 0x100c0ad1
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x24], edx
nop dword [eax + eax]
mov ebp, 0xc0
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
add esp, 0xc
inc ecx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub ebp, 1
jne 0x100c0a35
push 0xc00
lea eax, [ebx - 0xc00]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.100c1490
mov ebp, dword [esp + 0x48]
lea ecx, [esi + 0x10]
sub ebp, 0xc00
add esp, 0x10
sub dword [esp + 0x24], 1
mov dword [esp + 0x38], ebp
jne 0x100c0a30
lea ecx, [esi + 0x10]
mov edx, ebp
and edx, 0xfffffff0
mov dword [esp + 0x24], edx
je 0x100c0b70
cmp ebp, 0x10
jb 0x100c0b5a
mov eax, ebp
shr eax, 4
mov dword [esp + 0x38], eax
nop
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
add esp, 0xc
inc ecx
sub ebp, 0x10
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x38], 1
jne 0x100c0af0
mov edx, dword [esp + 0x24]
push edx
mov eax, ebx
sub eax, edx
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.100c1490
add esp, 0x10
test ebp, ebp
je 0x100c0bd7
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
add esp, 0xc
inc ecx
sub edi, ebx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
lea ecx, [esi + 0x40]
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x10]
add ecx, eax
lea edx, [eax + ebx]
add eax, ebp
mov dword [esp + 0x10], eax
nop dword [eax + eax]
mov al, byte [edi + edx]
lea edx, [edx + 1]
xor al, byte [ecx - 0x30]
lea ecx, [ecx + 1]
mov byte [edx - 1], al
xor byte [ecx - 1], al
sub ebp, 1
jne 0x100c0bc0
mov eax, dword [esp + 0x10]
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x18
ret
pop edi
pop ebx
mov dword [esi + 0x168], ecx
xor eax, eax
pop esi
pop ebp
add esp, 0x18
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret