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

Disassembly:
push 0xffffffffffffffff
push 0x10103f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
mov ebp, ecx
push eax
push 3
mov dword [esp + 0x48], ebp
call fcn.100c7570
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
jne 0x100cde1b
mov eax, dword [ebp + 0xe4]
test eax, eax
jl 0x100cde1b
lea ecx, [eax*8]
sub ecx, eax
mov edx, dword [ecx*4 + 0x101b48c4]
mov dword [esp + 0x20], edx
mov ebx, edx
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push 4
call fcn.100c7570
mov esi, dword [esp + 0x130]
mov dword [esp + 0x4c], eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esi + 4]
push 6
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.100fbe6c
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x48]
cmp eax, 5
je 0x100cdf58
cmp eax, 2
jne 0x100cde71
mov eax, dword [ebp + 0x50]
jmp 0x100cdf4d
cmp eax, 1
je 0x100cdf4a
mov eax, 0xffffff
push 0xff
push 0xc0
push eax
call fcn.100bf100
add esp, 0xc
push eax
push 0
push 2
lea ecx, [esp + 0x88]
call fcn.100fbeee
lea ecx, [esp + 0x7c]
mov dword [esp + 0x128], 0
push ecx
mov ecx, dword [esi + 4]
call fcn.100fb48f
mov ecx, dword [esi + 4]
push 5
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0xdc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 4]
push 1
call fcn.100fb56b
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov edi, dword [esi + 0xc]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ebp + 0x10]
sar eax, 1
add ecx, eax
mov eax, dword [ebp + 0x18]
sub eax, edx
mov dword [esp + 0x6c], ecx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [esp + 0x70], edi
mov ax, word [ebx]
test ax, ax
mov dword [esp + 0x18], eax
je 0x100ce525
cmp ax, 0xa
je 0x100cdf62
cmp dword [esp + 0x138], 1
jne 0x100ce509
cmp ax, 0x19
jne 0x100ce509
jmp 0x100ce002
mov eax, dword [ebp + 0x4c]
cmp eax, 0x7fffffff
jne 0x100cde7f
mov eax, 0xc0c0c0
jmp 0x100cde92
xor eax, eax
xor ecx, ecx
mov ax, word [ebx + 6]
mov cx, word [ebx + 8]
mov dword [esp + 0x94], eax
lea edx, [esp + 0x64]
mov dword [esp + 0x98], ecx
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0x10c]
push eax
push ecx
mov ecx, ebp
call fcn.100c7940
mov edi, dword [eax]
xor ecx, ecx
mov cx, word [ebx + 4]
mov edx, dword [eax + 4]
xor eax, eax
mov ax, word [ebx + 2]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x64]
mov dword [esp + 0xa8], edx
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x11c]
push ecx
push edx
mov ecx, ebp
call fcn.100c7940
mov edx, dword [esp + 0xa8]
mov ecx, eax
push edx
push edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x50]
call fcn.100fe0d3
jmp 0x100ce056
xor ecx, ecx
xor eax, eax
mov cx, word [ebx + 4]
mov ax, word [ebx + 2]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x8c]
push ecx
lea eax, [esp + 0x114]
push edx
push eax
mov ecx, ebp
call fcn.100c7940
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
xor eax, eax
mov ax, word [ebx + 0xa]
mov dword [esp + 0x34], edx
mov ecx, dword [eax*4 + 0x101b54c4]
mov dword [esp + 0x4c], ecx
mov eax, 0xa
cmp word [esp + 0x18], ax
jne 0x100ce08b
cmp dword [esp + 0x134], 1
jne 0x100ce08b
mov eax, dword [ebp + 0x24]
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
call fcn.100c1a00
add esp, 0x10
jmp 0x100ce509
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x100ce509
cmp word [esp + 0x18], ax
jne 0x100ce0cc
mov al, byte [edx]
test al, al
je 0x100ce509
cmp al, byte [ebx + 0x12]
je 0x100ce0cb
lea edi, [edx + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [edx + ecx + 2]
lea edx, [edx + ecx + 2]
test al, al
jne 0x100ce0a8
jmp 0x100ce509
inc edx
mov eax, edx
mov dword [esp + 0x1c], edx
test eax, eax
je 0x100ce509
lea edi, [ebp + 0xa0]
push 0x3c
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.100e5c10
mov ecx, dword [ebp + 0x24]
mov eax, 0xe10
sub eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov eax, dword [edi]
add esp, 0xc
cmp cx, 0xa
mov dword [esp + 0xac], eax
jne 0x100ce12e
xor edi, edi
mov di, word [ebx + 0xe]
cdq
idiv edi
mov dword [esp + 0xac], eax
xor edi, edi
cmp eax, edi
jne 0x100ce13f
mov dword [esp + 0xac], 1
mov eax, dword [ebp + 0xa4]
cmp cx, 0xa
mov dword [esp + 0xb0], eax
jne 0x100ce199
xor ecx, ecx
mov cx, word [ebx + 0xe]
cdq
idiv ecx
mov dword [esp + 0xb0], eax
mov ax, word [ebx + 0x10]
test al, 1
je 0x100ce172
mov byte [esp + 0xc0], 1
test al, 2
je 0x100ce181
mov dword [esp + 0xbc], 0x2bc
test al, 4
je 0x100ce18d
mov byte [esp + 0xc1], 1
test al, 8
je 0x100ce199
mov byte [esp + 0xc2], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0x10193ec8
lea edx, [esp + 0xac]
mov byte [esp + 0x128], 1
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x3c]
call fcn.100fbe81
mov ecx, dword [esi + 4]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
call fcn.100f50a3
mov eax, dword [esi + 4]
lea ecx, [esp + 0x84]
push 6
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x13c], 2
call fcn.100c2160
add esp, 0x14
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], 0x10193e58
push edi
push edi
push edi
push edi
mov byte [esp + 0x138], 3
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edx, dword [esi + 4]
mov dword [esp + 0x60], eax
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
mov edi, eax
dec edi
neg edi
sbb edi, edi
inc edi
cmp word [esp + 0x18], 0xa
jne 0x100ce36e
mov edx, dword [ebp + 0x24]
lea ecx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x104]
push edx
lea ecx, [esp + 0x100]
push eax
lea edx, [esp + 0xfc]
push ecx
lea eax, [esp + 0xf8]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.100bedd0
mov eax, dword [esi + 4]
add esp, 0x1c
lea edx, [esp + 0xe8]
mov eax, dword [eax + 8]
push 4
push edx
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
push 2
lea ecx, [esp + 0xec]
push 4
push ecx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x48]
call fcn.100fbe81
mov ecx, dword [esi + 4]
lea edx, [esp + 0x44]
push 1
push edx
call fcn.100fbabf
mov ax, word [ebp + 0xe0]
test ax, ax
jne 0x100ce2d8
xor eax, eax
mov ax, word [ebx + 0xa]
jmp 0x100ce2dd
and eax, 0xffff
test eax, eax
je 0x100ce2f1
cmp eax, 1
jne 0x100ce2ec
mov eax, dword [esp + 0x50]
jmp 0x100ce314
cmp eax, 2
jne 0x100ce30a
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100ce314
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov bp, word [ebp + 0xe2]
mov dword [esp + 0x10], eax
test bp, bp
jne 0x100ce32c
xor eax, eax
mov ax, word [ebx + 0xc]
jmp 0x100ce334
and ebp, 0xffff
mov eax, ebp
test eax, eax
je 0x100ce34f
cmp eax, 1
jne 0x100ce34a
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
jmp 0x100ce3e8
cmp eax, 2
jne 0x100ce368
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100ce3e4
mov eax, dword [esp + 0x5c]
jmp 0x100ce3de
xor eax, eax
mov ax, word [ebx + 6]
test eax, eax
je 0x100ce38c
cmp eax, 1
jne 0x100ce387
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
jmp 0x100ce3ab
cmp eax, 2
jne 0x100ce39d
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x30]
sar ecx, 1
jmp 0x100ce3a5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x10], eax
xor eax, eax
mov ax, word [ebx + 8]
test eax, eax
je 0x100ce3c9
cmp eax, 1
jne 0x100ce3c4
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
jmp 0x100ce3e8
cmp eax, 2
jne 0x100ce3da
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x34]
sar ecx, 1
jmp 0x100ce3e2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov ebx, eax
mov cl, byte [eax]
cmp cl, 0xd
je 0x100ce3fd
test cl, cl
jne 0x100ce471
mov ebp, eax
sub ebp, ebx
test ebp, ebp
jle 0x100ce44d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], edx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.100bec50
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 4]
add esp, 0xc
mov edx, dword [ecx]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x80]
push eax
call dword [edx + 0x5c]
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x100ce47b
mov cl, byte [eax + 1]
lea ebx, [eax + 1]
cmp cl, 0xa
jne 0x100ce45e
inc ebx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
lea ecx, [edx + ecx + 6]
mov dword [esp + 0x14], ecx
inc eax
mov dword [esp + 0x1c], eax
jmp 0x100ce3f2
cmp edi, 1
jne 0x100ce494
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x60]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x100ce49e
mov ecx, dword [esi + 4]
push 0
call fcn.100fb8bc
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x88]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edi, 0x10193d74
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x128], 4
call fcn.100fbed8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 1
call fcn.100f5035
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x128], 5
call fcn.100fbed8
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x18]
push eax
call fcn.100c25f0
lea ecx, [ebx + eax*2 + 2]
add esp, 4
mov dword [esp + 0x20], ecx
mov ebx, ecx
jmp 0x100cdf17
mov esi, dword [esi + 4]
push 0xffffffffffffffff
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x20]
mov dword [esp + 0x7c], 0x10193d74
lea ecx, [esp + 0x7c]
mov dword [esp + 0x128], 6
call fcn.100fbed8
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0xc