Function at 0x100c03c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.100c8250
push ebp
mov ebp, dword [esp + 0x30]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x28]
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 0x100c0697
jb 0x100c0406
cmp eax, 0xffffffe0
ja 0x100c0697
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], eax
lea eax, [esi + 0x40]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x60]
mov dword [esp + 0xc], eax
je 0x100c0435
push ecx
push eax
call fcn.100c16c0
add esp, 8
mov dword [esi + 0x16c], 0
jmp 0x100c0439
mov dword [esp + 0xc], eax
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
mov edx, dword [esi + 0x168]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], edx
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
push ebx
mov ebx, dword [esp + 0x34]
or ecx, eax
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0x34]
test edx, edx
je 0x100c04b5
test ebp, ebp
je 0x100c049c
mov cl, byte [edi]
dec ebp
mov al, byte [edx + esi + 0x10]
inc edi
xor al, cl
mov dword [esp + 0x3c], ebp
mov byte [ebx], al
inc ebx
xor byte [edx + esi + 0x40], cl
inc edx
and edx, 0xf
mov dword [esp + 0x18], edx
jne 0x100c0474
lea eax, [esi + 0x40]
jmp 0x100c04a8
mov eax, dword [esp + 0x14]
test edx, edx
jne 0x100c0608
lea ecx, [esi + 0x60]
push ecx
push eax
call fcn.100c16c0
add esp, 8
cmp ebp, 0xc00
jb 0x100c056a
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x28], edx
nop
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x20]
call fcn.100c1490
add esp, 0x10
mov dword [esp + 0x24], 0xc0
lea ebp, [esi + 0x10]
push dword [esp + 0x1c]
push ebp
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
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 [ebp]
xor eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
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 + 0x24], 1
mov dword [esp + 0x10], ecx
jne 0x100c04f1
mov ebp, dword [esp + 0x3c]
sub ebp, 0xc00
sub dword [esp + 0x28], 1
mov dword [esp + 0x3c], ebp
jne 0x100c04d0
mov eax, ebp
and eax, 0xfffffff0
je 0x100c0618
push eax
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x20]
call fcn.100c1490
add esp, 0x10
lea ecx, [esi + 0x10]
cmp ebp, 0x10
jb 0x100c061b
mov eax, ebp
shr eax, 4
mov dword [esp + 0x3c], eax
nop dword [eax]
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
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 [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x10], ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
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 + 0x3c], 1
jne 0x100c05a0
jmp 0x100c061b
pop edi
pop ebx
mov dword [esi + 0x168], edx
xor eax, eax
pop esi
pop ebp
add esp, 0x1c
ret
lea ecx, [esi + 0x10]
test ebp, ebp
je 0x100c0683
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x40]
inc ecx
add esp, 0xc
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
sub edi, ebx
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
mov ecx, dword [esp + 0x18]
add edx, ecx
shr eax, 8
mov byte [esi + 0xe], al
lea eax, [ecx + ebx]
add ecx, ebp
mov dword [esp + 0x3c], eax
mov esi, eax
mov dword [esp + 0x18], ecx
mov cl, byte [edi + esi]
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 ebp, 1
jne 0x100c0666
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x1c
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x1c
ret