Function at 0x100c9990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x1016f480]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0xffffffff
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esi + 0x74], eax
lea ebx, [esi + 0x9c]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x84], eax
lea eax, [esi + 0x31c]
push eax
push ebx
mov dword [esp + 0x18], ebx
call fcn.100c6090
add esp, 8
cmp dword [esi + 0x64], 0
je 0x100c9bb8
cmp dword [esi + 0x68], 0
je 0x100c9a06
lea edx, [esp + 8]
mov ecx, ebx
call fcn.100cb960
mov eax, dword [esp + 8]
test eax, eax
je 0x100c9bb8
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [0x10170090], ebp
je 0x100c9bb7
xor ebx, ebx
push edi
nop dword [eax + eax]
mov ecx, dword [ebx + 0x101700a4]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100c9b66
lea ebp, [esi + 0x1dc]
mov edi, 0x10
lea edx, [ebx + 0x101700ac]
mov eax, ebp
nop dword [eax + eax]
mov ecx, dword [eax - 0x140]
lea eax, [eax + 0x14]
xor ecx, dword [edx - 4]
lea edx, [edx + 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [eax - 0x150]
xor ecx, dword [edx - 0x14]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax - 0x14c]
xor ecx, dword [edx - 0x10]
mov dword [eax - 0xc], ecx
mov ecx, dword [eax - 0x148]
xor ecx, dword [edx - 0xc]
mov dword [eax - 8], ecx
mov ecx, dword [eax - 0x144]
xor ecx, dword [edx - 8]
mov dword [eax - 4], ecx
sub edi, 1
jne 0x100c9a60
mov ecx, dword [ebx + 0x1017009c]
lea eax, [ecx*4 + 0xc7]
add eax, ecx
lea eax, [esi + eax*4]
cmp ecx, 0x3a
je 0x100c9ada
cmp ecx, 0x41
jne 0x100c9bc9
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100c8860
jmp 0x100c9aeb
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100c7760
mov ecx, dword [esi + 0xc]
add esp, 8
xor ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x1c]
or ecx, eax
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x2c]
or ecx, eax
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x28]
or ecx, eax
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x24]
or ecx, eax
je 0x100c9b91
cmp dword [esi + 0x6c], 0
je 0x100c9b5e
mov ecx, dword [esi + 0x98]
xor ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x90]
xor eax, dword [esi + 0x7c]
or ecx, eax
mov eax, dword [esi + 0x94]
xor eax, dword [esi + 0x80]
or ecx, eax
mov eax, dword [esi + 0x8c]
xor eax, dword [esi + 0x78]
or ecx, eax
mov eax, dword [esi + 0x88]
xor eax, dword [esi + 0x74]
or ecx, eax
je 0x100c9b91
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
inc ebp
imul ebx, ebp, 0x158
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x10170090], 0
jne 0x100c9a30
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1010765a
add esp, 0x24
ret
cmp dword [esi + 0x60], 0
mov dword [esi + 0x5c], 1
je 0x100c9bb6
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c50e0
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c50e0
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
xor ecx, esp
call fcn.1010765a
add esp, 0x24
ret
call fcn.1011491a
int3