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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10103ba8
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
mov ebp, dword [esp + 0xf0]
push esi
mov esi, ecx
push edi
test dword [esi + 4], 0x10000000
jne 0x100c948e
mov ebx, dword [esp + 0xf0]
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
sub eax, edx
cmp eax, 0x14
jge 0x100c90fd
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
sub ecx, edx
mov dword [esp + 0x18], 0
cmp ecx, 0x14
jl 0x100c9105
mov dword [esp + 0x18], 1
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push 2
call fcn.100c7570
cmp word [esp + 0x1c], 0
mov dword [esp + 0x54], eax
jbe 0x100c934f
mov edi, dword [esp + 0xec]
lea ecx, [esp + 0x78]
push edi
call fcn.100fbbd9
lea eax, [esp + 0x78]
mov ecx, edi
push eax
mov dword [esp + 0xe8], 0
call fcn.100d06a0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov edi, dword [sym.imp.GDI32.dll_DPtoLP]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x48]
push 1
push eax
push ecx
mov dword [esp + 0x58], edx
call edi
mov edx, ebx
push 2
mov eax, dword [edx]
mov dword [esp + 0x6c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x70], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x6c]
push edx
push eax
mov dword [esp + 0x80], ecx
call edi
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x68]
sub eax, edx
mov dword [esp + 0x60], ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x10]
sar eax, 1
add eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x18]
sub eax, edx
lea ecx, [esp + 0x20]
cdq
sub eax, edx
push ecx
sar eax, 1
add edi, eax
mov eax, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.100fbb70
mov eax, dword [esp + 0x20]
xor edi, edi
cmp word [esp + 0x1c], di
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*2]
mov dword [esp + 0x38], eax
jbe 0x100c933b
lea ecx, [esp + 0x50]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, esi
call fcn.100c88b0
cmp dword [esp + 0x28], 3
je 0x100c9326
lea edx, [esp + 0x30]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, esi
call fcn.100c7940
mov edx, dword [eax]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
mov eax, dword [eax + 4]
push ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x64]
push edx
push eax
call fcn.100bec50
mov ecx, dword [esp + 0x34]
add esp, 0xc
test ecx, ecx
je 0x100c9290
cmp dword [esp + 0x18], 1
jne 0x100c9326
cmp ecx, 1
je 0x100c929a
cmp ecx, 2
jne 0x100c92f4
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x100c92b2
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x100c92c7
cmp eax, 0x1fff
jne 0x100c92c7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x100c92df
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x14], eax
jmp 0x100c92f4
cmp eax, 0x1fff
jne 0x100c92f4
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x20]
cmp eax, edx
jg 0x100c9326
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x24]
cmp eax, edx
jle 0x100c93ad
mov ecx, dword [esp + 0x1c]
add edi, 4
and ecx, 0xffff
cmp edi, ecx
jl 0x100c921b
lea ecx, [esp + 0x78]
mov dword [esp + 0xe4], 0xffffffff
call fcn.100fbc4b
mov eax, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x94]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.100c8910
mov ebx, dword [ebp]
xor ecx, ecx
lea edi, [esp + 0x98]
mov edx, dword [edi - 4]
mov eax, ebx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x100c939f
mov eax, dword [ebp + 4]
mov edx, dword [edi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jle 0x100c93eb
inc ecx
add edi, 8
cmp ecx, 9
jl 0x100c937d
jmp 0x100c948e
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x100c93ba
mov dword [eax], ecx
mov eax, dword [esp + 0x100]
test eax, eax
je 0x100c93cb
mov edx, dword [esp + 0x50]
mov dword [eax], edx
shr edi, 2
lea ecx, [esp + 0x78]
mov esi, edi
mov dword [esp + 0xe4], 0xffffffff
call fcn.100fbc4b
mov eax, esi
jmp 0x100c94f7
cmp ecx, 8
jne 0x100c941b
test byte [esi + 4], 0x40
je 0x100c948e
cmp dword [esp + 0x18], 1
jne 0x100c948e
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
cmp dword [eax + 8], 8
je 0x100c948e
mov eax, 0xfffffff5
jmp 0x100c94f7
test cl, 1
je 0x100c9427
cmp dword [esp + 0x18], 1
jne 0x100c948e
test ecx, ecx
jne 0x100c9435
mov eax, 0xfffffffd
jmp 0x100c94f7
cmp ecx, 1
jne 0x100c9444
mov eax, 0xfffffff9
jmp 0x100c94f7
cmp ecx, 2
jne 0x100c9453
mov eax, 0xfffffffc
jmp 0x100c94f7
cmp ecx, 3
jne 0x100c9462
mov eax, 0xfffffff6
jmp 0x100c94f7
cmp ecx, 4
jne 0x100c9471
mov eax, 0xfffffffa
jmp 0x100c94f7
cmp ecx, 5
jne 0x100c947d
mov eax, 0xfffffff8
jmp 0x100c94f7
sub ecx, 6
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 0xfffffffb
mov eax, ecx
jmp 0x100c94f7
mov eax, dword [ebp]
mov edi, dword [esp + 0xf0]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 8]
mov ebp, dword [edi]
add eax, ebp
mov ebp, dword [edi + 4]
cdq
sub eax, edx
mov dword [esp + 0x44], ecx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
add eax, ebp
lea ecx, [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esi + 0x24]
sar eax, 1
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
neg edx
push edx
push eax
push ecx
call fcn.100bec50
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
add esp, 0xc
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_PtInRect]
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 0xfffffffe
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 0x18