Function at 0x100c9bd0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
mov eax, dword [0x10156440]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], edx
push esi
mov esi, ecx
test eax, eax
je 0x100c9e7d
mov ecx, dword [esi]
push edi
and ecx, 0x3f
mov edi, 0x40
sub edi, ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100c9c45
cmp eax, edi
jb 0x100c9c45
add dword [esi], edi
lea eax, [esi + 0x1c]
push edi
adc dword [esi + 4], 0
add eax, ecx
push edx
push eax
call fcn.100f63c0
add esp, 0xc
lea edx, [esi + 0x1c]
mov ecx, esi
call fcn.100c9990
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x34]
add edx, edi
sub eax, edi
mov dword [esp + 8], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0
push ebx
push ebp
cmp eax, 0x40
jb 0x100c9e5c
lea ebp, [esi + 0x9c]
lea ebx, [esi + 8]
add dword [esi], 0x40
lea ecx, [esi + 0x31c]
push ecx
adc dword [esi + 4], 0
mov ecx, ebx
mov eax, dword [ebx]
mov dword [esi + 0x74], eax
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]
push ebp
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x84], eax
call fcn.100c6090
add esp, 8
cmp dword [esi + 0x64], 0
je 0x100c9e3d
cmp dword [esi + 0x68], 0
je 0x100c9cb8
lea edx, [esp + 0x14]
mov ecx, ebp
call fcn.100cb960
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100c9e3d
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [0x10157050], ebx
je 0x100c9e3a
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [edi + 0x10157064]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100c9e1c
lea ebp, [esi + 0x1dc]
mov ebx, 0x10
lea edx, [edi + 0x1015706c]
mov ecx, ebp
nop dword [eax + eax]
mov eax, dword [ecx - 0x140]
lea ecx, [ecx + 0x14]
xor eax, dword [edx - 4]
lea edx, [edx + 0x14]
mov dword [ecx - 0x14], eax
mov eax, dword [ecx - 0x150]
xor eax, dword [edx - 0x14]
mov dword [ecx - 0x10], eax
mov eax, dword [ecx - 0x14c]
xor eax, dword [edx - 0x10]
mov dword [ecx - 0xc], eax
mov eax, dword [ecx - 0x148]
xor eax, dword [edx - 0xc]
mov dword [ecx - 8], eax
mov eax, dword [ecx - 0x144]
xor eax, dword [edx - 8]
mov dword [ecx - 4], eax
sub ebx, 1
jne 0x100c9d10
mov ecx, dword [edi + 0x1015705c]
lea eax, [ecx*4 + 0xc7]
add eax, ecx
lea eax, [esi + eax*4]
cmp ecx, 0x3a
je 0x100c9d8a
cmp ecx, 0x41
jne 0x100c9eb4
push eax
push ebp
lea edx, [esp + 0x28]
lea ecx, [esi + 0x88]
call fcn.100c8860
jmp 0x100c9d9b
push eax
push ebp
lea edx, [esp + 0x28]
lea ecx, [esi + 0x88]
call fcn.100c7760
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 8]
xor ecx, dword [esp + 0x2c]
add esp, 8
mov eax, dword [ebx]
xor eax, dword [esp + 0x20]
or ecx, eax
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x30]
or ecx, eax
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x2c]
or ecx, eax
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x28]
or ecx, eax
je 0x100c9e8d
cmp dword [esi + 0x6c], 0
je 0x100c9e14
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 0x100c9e8d
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
inc ebx
imul edi, ebx, 0x158
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x10157050], 0
jne 0x100c9ce0
lea ebp, [esi + 0x9c]
lea ebx, [esi + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub eax, 0x40
add edx, 0x40
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edx
cmp eax, 0x40
jae 0x100c9c59
test eax, eax
je 0x100c9e7a
add dword [esi], eax
push eax
adc dword [esi + 4], 0
mov eax, dword [esp + 0x20]
add eax, 0x1c
push edx
add eax, esi
push eax
call fcn.100f63c0
add esp, 0xc
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
call fcn.100f46b4
add esp, 0x28
ret
cmp dword [esi + 0x60], 0
lea ebp, [esi + 0x9c]
mov dword [esi + 0x5c], 1
je 0x100c9e3d
mov edx, ebp
mov ecx, ebx
call fcn.100c50e0
mov edx, ebp
mov ecx, ebx
call fcn.100c50e0
jmp 0x100c9e3d
call fcn.1010163a
int3