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

Disassembly:
push 0xffffffffffffffff
push 0x10104168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ecx + 0x154]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100d1167
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd8]
mov ebp, dword [esp + 0xd0]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0xd8]
mov ebx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
add eax, edi
sub ecx, ebx
mov dword [esp + 0xac], eax
add ecx, ebp
mov eax, esi
mov dword [esp + 0xa8], ecx
mov ebx, dword [esp + 0xd0]
push 2
mov ecx, dword [eax]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xa8], edi
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.GDI32.dll_LPtoDP]
xor eax, eax
mov dword [esp + 0x10], 0x101947a0
mov dword [esp + 0x14], eax
lea edx, [esp + 0x18]
mov dword [esp + 0xc8], eax
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x14]
call fcn.100fbe81
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ecx
mov eax, dword [ecx + 0x188]
test eax, eax
je 0x100d0e44
mov dword [esp + 0x74], 0x64
jmp 0x100d0e51
mov edx, dword [ecx + 0x154]
mov edx, dword [edx + 0x20]
mov dword [esp + 0x74], edx
test eax, eax
je 0x100d0e5f
mov dword [esp + 0x78], 0x64
jmp 0x100d0e6c
mov eax, dword [ecx + 0x154]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov eax, dword [ecx + 0x180]
mov edx, esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x48], 0x10194788
mov eax, dword [edx]
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
mov edx, dword [edx + 0xc]
sub eax, ebp
mov ebp, dword [esi + 4]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x88], edx
sub ebp, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov ecx, dword [ecx + 0x154]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xcc], 1
call fcn.100d6940
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x180]
lea ecx, [esp + 0x3c]
push edx
call fcn.100fbf3e
mov eax, dword [esp + 0x50]
mov byte [esp + 0xc8], 2
mov dword [esp + 0x38], eax
xor edi, edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x100d10c1
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
cmp edi, 2
mov esi, dword [ecx + edx*4]
jne 0x100d0f3a
mov ecx, dword [esp + 0x2c]
push esi
call fcn.100d0790
test eax, eax
je 0x100d10ac
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x2718
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0xa0]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0xb0]
mov dword [esp + 0xb8], ecx
push eax
mov dword [esp + 0xc0], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100d10ac
lea ecx, [esi + 0xc]
push ebp
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
test edi, edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
jne 0x100d108d
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0x101947a0
mov edx, dword [esi]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x5c]
push eax
push ecx
push 0x271e
mov ecx, esi
mov byte [esp + 0xd4], 3
call dword [edx + 0x14]
lea edx, [esp + 0x30]
test edx, edx
je 0x100d106a
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100d106a
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
neg eax
sbb eax, eax
push 4
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x30], method.CGdiObject.virtual_0
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 4
call fcn.100fbed8
mov byte [esp + 0xc8], 2
jmp 0x100d10ac
mov edx, edi
mov eax, dword [esi]
dec edx
lea ecx, [esp + 0x5c]
neg edx
sbb edx, edx
push 0
and edx, 4
push ecx
add edx, 0x2715
mov ecx, esi
push edx
call dword [eax + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x100d0f18
test edi, edi
jne 0x100d1106
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x34]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
mov edx, dword [esp + 0x14]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x10]
neg ecx
sbb ecx, ecx
push eax
mov eax, dword [ebx + 4]
and ecx, edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_FillRgn]
mov edx, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [edx + 0x20]
inc edi
cmp edi, 3
jl 0x100d0f04
mov esi, 0x10194794
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc8], 5
call fcn.100fbed8
mov dword [esp + 0x48], 0x10194788
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xc8], 6
test eax, eax
je 0x100d114b
push eax
call fcn.100f4d9f
add esp, 4
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc8], 7
call fcn.100fbed8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
add esp, 0xbc
ret 0x10