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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101036b3
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x100c0b44
cmp eax, 1
je 0x100c03e5
cmp eax, 2
je 0x100c03e5
mov ebx, 1
mov dword [esp + 0x118], ebx
jmp 0x100c03ec
mov ebx, dword [esp + 0x118]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, dword [esp + 0x108]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
dec eax
mov dword [esp + 0x50], ebp
neg eax
sbb eax, eax
mov dword [esp + 0x4c], 0x10193d50
inc eax
mov dword [esp + 0x5c], eax
mov eax, 0x55555556
mov dword [esp + 0x100], ebp
imul ebx
mov ecx, edx
mov edi, 0xa
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
cmp ecx, 0xa
jl 0x100c0445
mov edi, ecx
cmp ecx, 3
jge 0x100c044f
mov ecx, 3
mov eax, ebx
mov dword [esp + 0x14], ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x124]
sar eax, 1
dec edx
imul edx, ecx
add edx, eax
add edx, edi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x120]
dec edx
imul edx, ecx
add edx, edi
lea edx, [ebx + edx*2]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x130]
dec edx
imul edx, ecx
add edx, eax
mov eax, dword [esp + 0x12c]
add edx, edi
dec eax
imul eax, ecx
add eax, edi
mov dword [esp + 0x60], edx
lea ecx, [ebx + eax*2]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x14]
xor edx, edx
test eax, eax
jne 0x100c04de
mov eax, dword [esp + 0x10c]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x20], ecx
jmp 0x100c0508
mov eax, dword [esp + 0x110]
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x100c07a6
cmp ebx, 5
jg 0x100c0692
lea ecx, [esp + 0x54]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push ebp
lea eax, [esp + 0x34]
push edx
push eax
call fcn.100bf990
push 0
lea ecx, [esp + 0x5c]
push 0
lea edx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x80]
push edi
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.100bf990
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add esp, 0x38
cmp ebx, 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 3
je 0x100c0587
cmp ebx, 5
jne 0x100c05b8
mov eax, ebp
lea ecx, [esp + 0x44]
cdq
and edx, 3
push 0
add eax, edx
push ecx
push 0
push 0
sar eax, 2
push eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.100bf990
add esp, 0x1c
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0x118]
lea ecx, [esp + 0x54]
push 0
push ecx
push 0
push 0
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.100bf990
push 0
lea edx, [esp + 0xd0]
push 0
lea eax, [esp + 0xcc]
push edx
push eax
lea ecx, [esp + 0x80]
push edi
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.100bf990
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x74]
add esp, 0x38
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x90]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x40]
push 5
push eax
push ecx
mov dword [esp + 0xb0], edx
call dword [sym.imp.GDI32.dll_LPtoDP]
push 2
lea edx, [esp + 0x94]
push 5
push edx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x50]
call fcn.100fbe81
lea eax, [esp + 0x4c]
push 1
push eax
mov ecx, esi
call fcn.100fbabf
lea ecx, [esp + 0x4c]
call fcn.100fbed8
jmp 0x100c07a2
cmp ebx, 6
je 0x100c0754
cmp ebx, 7
je 0x100c0754
cmp ebx, 8
je 0x100c06e2
cmp ebx, 9
je 0x100c06e2
mov eax, ebp
mov dword [esp + 0x10], 2
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
sub edx, eax
add eax, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
mov ebx, edx
mov dword [esp + 0x34], eax
sub ebx, edi
add edx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edx
jmp 0x100c07a2
lea eax, [esp + 0x88]
lea ecx, [esp + 0x80]
push eax
mov eax, ebp
cdq
sub eax, edx
push ecx
push 0
push 0
sar eax, 1
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.100bf990
push 0
lea ecx, [esp + 0x64]
push 0
lea edx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0xb4]
push edi
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.100bf990
push 0
lea edx, [esp + 0x78]
push 0
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xc8]
push edi
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.100bf990
add esp, 0x54
jmp 0x100c079a
push 0
lea eax, [esp + 0x40]
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x28]
push edi
lea eax, [esp + 0x34]
push edx
push eax
call fcn.100bf990
lea ecx, [esp + 0x60]
lea edx, [esp + 0x50]
push ecx
mov eax, ebp
push edx
push 0
cdq
sub eax, edx
push 0
sar eax, 1
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.100bf990
add esp, 0x38
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100c07c7
test edx, edx
mov dword [esp + 0x74], edx
jle 0x100c07e6
lea edx, [esp + 0x2c]
push 0x20
lea eax, [esp + 0xdc]
push edx
push eax
jmp 0x100c07de
test edx, edx
mov dword [esp + 0x78], edx
jle 0x100c07e6
lea ecx, [esp + 0x2c]
push 0x20
lea edx, [esp + 0xbc]
push ecx
push edx
call fcn.100e5c10
add esp, 0xc
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x100c04a8
mov ebp, dword [esp + 0x134]
mov eax, dword [esp + 0x118]
mov ebx, dword [esp + 0x114]
push 0
push ebp
push eax
push ebx
push esi
call fcn.100bfdf0
mov ecx, dword [esp + 0x120]
mov edi, eax
add esp, 0x14
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, esi
call fcn.100fb980
mov ecx, dword [esp + 0x110]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov ecx, esi
call fcn.100fb9cc
push 0
push ebx
push edi
push esi
call fcn.100bfee0
mov eax, dword [esp + 0x6c]
mov edi, 1
add esp, 0x10
cmp eax, edi
jne 0x100c087a
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x100c0883
push 0
mov ecx, esi
call fcn.100fb8bc
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x100c08b2
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x100c08b2
mov dword [esp + 0x4c], method.CGdiObject.virtual_0
mov dword [esp + 0x100], edi
jmp 0x100c0b3b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100c08e6
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0xd8]
push 0x20
lea eax, [esp + 0x30]
push edx
push eax
call fcn.100e5c10
mov edi, dword [esp + 0x128]
add esp, 0xc
jmp 0x100c0908
mov ebx, dword [esp + 0x78]
lea ecx, [esp + 0xb8]
push 0x20
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.100e5c10
mov edi, dword [esp + 0x134]
add esp, 0xc
test ebx, ebx
jle 0x100c0b16
push ebp
lea ecx, [esp + 0x68]
call fcn.100fbf3e
mov eax, ebp
lea ecx, [esp + 0x6c]
sub eax, 0xffffff
mov byte [esp + 0x100], 2
neg eax
sbb eax, eax
and eax, 0xffffff
push eax
call fcn.100fbf3e
mov ecx, dword [esi + 8]
push 2
push ecx
mov byte [esp + 0x108], 3
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.100fbe6c
mov edx, dword [esp + 0x118]
push ebp
push edx
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], eax
call fcn.100fbeee
lea eax, [esp + 0x54]
mov ecx, esi
push eax
mov byte [esp + 0x104], 4
call fcn.100fb48f
cmp edi, 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], 0
je 0x100c09b5
cmp edi, 5
je 0x100c09b5
cmp edi, 7
je 0x100c09b5
cmp edi, 9
je 0x100c09b5
cmp edi, 0xb
je 0x100c09b5
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.100fb48f
jmp 0x100c09c9
lea edx, [esp + 0x6c]
mov ecx, esi
push edx
call fcn.100fb48f
mov dword [esp + 0x28], 1
cmp edi, 0xa
je 0x100c0a8b
cmp edi, 0xb
je 0x100c0a94
cmp edi, 3
jne 0x100c0a20
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x84]
push ecx
push edx
mov ecx, esi
call fcn.100fb980
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.100fb9cc
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
mov ecx, esi
call fcn.100fb9cc
jmp 0x100c0ab2
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_BeginPath]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.100fb980
cmp ebx, 1
jle 0x100c0a61
lea edi, [esp + 0x34]
dec ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ecx
push eax
mov ecx, esi
call fcn.100fb9cc
add edi, 8
dec ebx
jne 0x100c0a4d
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.GDI32.dll_EndPath]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x100c0a7f
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_FillPath]
jmp 0x100c0ab2
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_StrokeAndFillPath]
jmp 0x100c0ab2
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edx
call fcn.100fb48f
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
call fcn.100fb48f
mov edi, 0x10193cb8
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x100], 5
call fcn.100fbed8
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x100], 6
call fcn.100fbed8
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 7
call fcn.100fbed8
mov byte [esp + 0x100], 0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x100c08ba
mov dword [esp + 0x4c], method.CGdiObject.virtual_0
mov dword [esp + 0x100], 8
lea ecx, [esp + 0x4c]
call fcn.100fbed8
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret