Function at 0x100c23a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x140
mov eax, dword [0x101366b4]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x150]
push ebx
push ebp
mov ebp, dword [esp + 0x154]
xor ebx, ebx
push esi
mov dword [esp + 0x38], eax
mov esi, ebx
mov eax, dword [esp + 0x168]
push edi
mov edi, dword [esp + 0x154]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
call fcn.10037eb0
push dword [esp + 0x168]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x168]
push eax
push ebp
push dword [esp + 0x164]
mov dword [esp + 0x48], ebx
push edi
call fcn.100c3b95
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x100c2916
push dword [esp + 0x24]
call fcn.101171f0
movzx eax, ax
cmp eax, 0x106
je 0x100c244f
cmp eax, 0x1002
jne 0x100c2916
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x5c], eax
pop eax
push 3
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
push ebp
push 0x10002450
push 0
push dword [esp + 0x16c]
push edi
call fcn.1003bab0
test eax, eax
jns 0x100c248a
or eax, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x100c292d
push 1
push edi
call fcn.10096bbb
test eax, eax
js 0x100c2916
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 1
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 2
push eax
push 0x100026f0
push dword [esp + 0x20]
push edi
call fcn.100280f0
test eax, eax
js 0x100c2916
cmp word [esp + 0x1c], 5
je 0x100c24e9
cmp word [esp + 0x1c], 6
je 0x100c24e9
push 4
pop eax
cmp word [esp + 0x1c], ax
jne 0x100c2916
push 0x44
pop ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea eax, [esp + 0x70]
push eax
push 0x1000272c
push dword [esp + 0x20]
push edi
call fcn.100280f0
test eax, eax
js 0x100c2916
cmp dword [esp + 0x20], ebp
jb 0x100c2916
or eax, 0xffffffff
cmp dword [esp + 0x6c], eax
jne 0x100c2916
cmp dword [esp + 0x70], 0x17e678a4
jne 0x100c2916
cmp byte [esp + 0x76], 0
jne 0x100c2916
push edi
call fcn.10106f5b
cmp byte [esp + 0x77], al
jne 0x100c2916
push dword [esp + 0x24]
call fcn.101171f0
cmp word [esp + 0x74], ax
jne 0x100c2916
mov eax, dword [esp + 0x164]
test eax, 0x2000
je 0x100c2585
cmp dword [esp + 0x78], esi
je 0x100c2585
and eax, 0xffffffef
xor ebx, ebx
mov dword [esp + 0x164], eax
cmp ebx, 2
ja 0x100c2916
add ebx, ebx
mov eax, dword [esp + ebx*8 + 0x7c]
mov ebp, dword [esp + ebx*8 + 0x80]
mov dword [esp + 0x34], eax
test eax, eax
je 0x100c2916
push 0
push 0x18
lea eax, [esp + 0xb8]
push eax
push 0x1000272c
push dword [esp + 0x24]
push edi
call fcn.1003c7e0
test eax, eax
js 0x100c2916
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.100ca9f1
test eax, eax
js 0x100c2916
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
push eax
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x64], 0x10
push eax
mov eax, dword [esp + 0x24]
push ebp
add eax, 0x18
mov dword [esp + 0x74], 1
push eax
push dword [esp + 0xc8]
push dword [esp + 0x2c]
push edi
call fcn.1003cec0
test eax, eax
js 0x100c2916
push 1
push 0
push edi
call fcn.10096c1a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov ebx, dword [esp + ebx*8 + 0x88]
and dword [esp + 0x38], esi
push 0x180000
mov ebp, dword [eax + 0x18]
push ecx
lea eax, [ebp + 0x18]
push eax
push ebx
mov dword [esp + 0x58], eax
call fcn.100cabe2
test eax, eax
js 0x100c2916
cmp dword [esp + 0x10], ebx
jne 0x100c2909
lea eax, [esp + 0x30]
push eax
push 0
push ebp
push dword [esp + 0x1c]
call fcn.100caa46
test eax, eax
js 0x100c2916
push dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add eax, 0x18
push eax
push ebp
push dword [esp + 0x3c]
call fcn.10092302
push dword [esp + 0x18]
call fcn.100cac4a
push dword [esp + 0x14]
and dword [esp + 0x1c], esi
push edi
call fcn.1003c120
mov esi, dword [esp + 0x10]
or eax, 0xffffffff
mov ebx, dword [esp + 0x158]
add esi, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
and dword [esi + 0x60], 0
test byte [esi + 4], 2
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], eax
je 0x100c26e2
xor edx, edx
jmp 0x100c26f2
mov eax, dword [esi + 0x48]
push 1
pop edx
push 0
test byte [eax + 0x2c], 4
pop eax
cmove edx, eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x24], edx
test al, 4
jne 0x100c270e
cmp dword [esi + 0x8c], 3
je 0x100c270e
xor ecx, ecx
jmp 0x100c2711
xor ecx, ecx
inc ecx
test al, 1
je 0x100c2723
cmp dword [esi + 0x8c], 3
je 0x100c2723
xor eax, eax
inc eax
jmp 0x100c2725
xor eax, eax
push ecx
push eax
push edx
push ebx
push dword [esp + 0x20]
call fcn.100c3b4a
mov edx, dword [esi + 0x40]
jmp 0x100c274d
mov eax, dword [edx]
cmp eax, 8
je 0x100c274a
mov ecx, dword [edx + 4]
mov eax, dword [eax*4 + 0x1000c728]
mov dword [ecx], eax
mov edx, dword [edx + 8]
test edx, edx
jne 0x100c2737
push edx
push dword [esp + 0x14]
call fcn.100c2189
test eax, eax
js 0x100c2916
imul ebp, dword [esi + 0x58], 0x118
mov ecx, dword [esi + 0x50]
add ebp, ecx
mov dword [esp + 0x40], ebp
cmp ecx, ebp
jae 0x100c2799
or edx, 0xffffffff
cmp dword [ecx + 0xb8], 0
mov eax, ebx
mov dword [ecx + 0x28], edx
cmovne eax, edx
mov dword [ecx + 0xac], eax
add ecx, 0x118
cmp ecx, ebp
jb 0x100c277a
test byte [esi + 4], 2
mov edx, dword [esi + 0x104]
mov eax, dword [esi + 0x108]
lea ebx, [edx + eax*4]
mov dword [esp + 0x30], ebx
je 0x100c27b7
mov eax, dword [esi + 0x4c]
jmp 0x100c27ba
mov eax, dword [esi + 0x48]
push 0
push dword [eax + 0x3c]
push dword [esp + 0x18]
call fcn.100c407c
and dword [esp + 0x34], 0
sub ebx, edx
add ebx, 3
xor eax, eax
shr ebx, 2
cmp edx, dword [esp + 0x30]
cmova ebx, eax
test ebx, ebx
je 0x100c2808
mov edi, dword [esp + 0x34]
push 4
pop ebp
push 0
push dword [edx]
push dword [esp + 0x18]
call fcn.100c407c
add edx, ebp
inc edi
cmp edi, ebx
jb 0x100c27e9
mov edi, dword [esp + 0x154]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esi + 0x50]
jmp 0x100c282f
mov eax, dword [ebx]
lea ecx, [esp + 0x40]
push 0
push 0
push ecx
push ebx
push edi
call dword [eax*4 + 0x1000a820]
test eax, eax
js 0x100c2909
add ebx, 0x118
cmp ebx, ebp
jb 0x100c280d
cmp dword [esp + 0x24], 0
je 0x100c2898
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x4ac]
test eax, eax
jle 0x100c2898
mov ecx, dword [ecx + 0x4a8]
mov edx, dword [ecx]
lea ebx, [ecx + eax*4]
cmp ecx, ebx
jae 0x100c2898
mov ebp, dword [esp + 0x48]
mov eax, dword [edx + 0x114]
mov eax, dword [eax + 0xac]
sub eax, dword [esp + 0x10]
cmp eax, ebp
ja 0x100c2909
cmp dword [edx + 0xb8], 0
mov eax, dword [esp + 0x158]
cmovne eax, dword [esp + 0x44]
push 4
mov dword [edx + 0xac], eax
pop eax
add ecx, eax
cmp ecx, ebx
jae 0x100c2898
mov edx, dword [ecx]
jmp 0x100c285a
mov eax, dword [esp + 0x28]
mov ebx, dword [esi + 0x24]
test eax, eax
jne 0x100c28d8
push 0
lea eax, [esp + 0xcc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
push 0x80
lea eax, [esp + 0xd4]
push eax
push 0
or eax, 0xffffffff
push eax
push edi
call fcn.100341c0
test eax, eax
js 0x100c2909
mov ecx, dword [esp + 0x2c]
jmp 0x100c28e5
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov dword [ebx + 4], ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [ebx]
call fcn.101180b0
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esi + 0x78]
jmp 0x100c296d
or dword [esi + 4], 0x40
push dword [esp + 0x10]
call fcn.100c61f1
or ebx, 0xffffffff
cmp dword [esp + 0x14], ebx
je 0x100c292d
push dword [esp + 0x14]
push edi
call fcn.1003c120
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x10], 0
je 0x100c293d
push dword [esp + 0x10]
call fcn.100cac4a
cmp dword [esp + 0x18], 0
je 0x100c294d
push dword [esp + 0x18]
call fcn.100cac4a
cmp dword [esp + 0x38], 1
jne 0x100c295e
push 1
push 0
push edi
call fcn.10096c1a
push edi
call fcn.100372a0
mov eax, dword [esp + 0x3c]
and dword [eax], 0
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x140
ret 0x1c