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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ed10
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4b39fc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x158]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
xor esi, esi
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440ae4
mov edi, dword [ebp + 8]
mov dword [esp + 0x88], esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
lea esi, [esp + 0x54]
mov dword [eax + 0xc], ecx
call fcn.0042ef30
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add esp, 0x10
push edx
push eax
push edi
mov ecx, ebx
call fcn.00422650
mov eax, dword [ebx + 0x558]
test eax, eax
jle 0x440780
mov edx, dword [ebx]
mov edx, dword [edx + 0x16c]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x158]
mov ecx, dword [ebx + 0x15c]
mov edx, dword [ebx + 0x160]
mov esi, dword [ebx + 0x164]
add eax, dword [esp + 0x34]
add ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x3c]
sub esi, dword [esp + 0x40]
cmp dword [ebx + 0x584], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
je 0x44067e
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x44067e
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
call edx
sub dword [esp + 0x2c], eax
cmp dword [ebx + 0x588], 0
je 0x4406af
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x4406af
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
sub dword [esp + 0x30], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x440828
cmp dword [ebx + 0x558], eax
mov dword [esp + 0x10], eax
jle 0x440780
mov eax, dword [ebx + 0x554]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, dword [ebp + 0x10]
je 0x4407ee
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x44076b
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44076b
mov eax, dword [esi]
mov edx, dword [eax + 0x120]
mov ecx, esi
call edx
test al, al
je 0x44076b
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
mov ecx, esi
call edx
push eax
lea eax, [ebx + 0x158]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44076b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x144]
push eax
push ecx
push edi
mov ecx, esi
call edx
test al, al
je 0x4409f9
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [ebx + 0x558]
mov dword [esp + 0x10], eax
jl 0x4406db
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebx + 0x584], 0
je 0x440a5a
mov ecx, dword [ebx + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x440a5a
mov ecx, dword [ebp + 0x10]
cmp dword [ebx + 0x584], ecx
jne 0x440a1c
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push edi
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call esi
mov eax, dword [esp + 0x58]
push eax
call esi
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov ecx, dword [esp + 0x58]
push ecx
call esi
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [esp + 0x88], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
lea esi, [esp + 0x70]
mov dword [eax + 0xc], ecx
call fcn.0042ef30
add esp, 0x10
cmp dword [ebx + 0x558], 0
mov dword [esp + 0x10], 0
jle 0x440971
mov edx, dword [ebx + 0x554]
mov eax, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
cmp esi, dword [ebp + 0x10]
je 0x44099e
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x44095c
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44095c
mov eax, dword [esi]
mov edx, dword [eax + 0x120]
mov ecx, esi
call edx
mov ecx, esi
test al, al
je 0x440923
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
call edx
push eax
lea eax, [ebx + 0x158]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44095c
mov ecx, dword [esp + 0x78]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x144]
push eax
push ecx
push edi
mov ecx, esi
call edx
test al, al
je 0x4409f0
mov eax, dword [esp + 0x74]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x44095c
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
call eax
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44095c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
mov eax, dword [eax + 0x144]
push ecx
push edx
push edi
mov ecx, esi
call eax
test al, al
je 0x4409f0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [ebx + 0x558]
mov dword [esp + 0x10], eax
jl 0x440871
mov byte [esp + 0x88], 0
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
push esi
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [esp + 0x74]
push eax
call esi
jmp 0x440786
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov ebx, dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
push ecx
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov edx, dword [esp + 0x74]
push edx
call esi
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
push edi
push eax
call ebx
push edi
call esi
mov ecx, dword [esp + 0x58]
push ecx
call esi
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [esp + 0x60]
call fcn.0042ef00
lea esi, [esp + 0x44]
call fcn.0042ef00
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440a5a
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
push edx
mov edx, dword [ebp + 0xc]
push edx
push edi
call eax
test al, al
je 0x4409f9
cmp dword [ebx + 0x588], 0
je 0x440aca
mov ecx, dword [ebx + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x440aca
mov ecx, dword [ebp + 0x10]
cmp dword [ebx + 0x588], ecx
je 0x4407ba
mov ecx, dword [ebx + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440aca
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebx + 0x588]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x144]
push ecx
push edx
push edi
mov ecx, ebx
call eax
test al, al
je 0x4409f9
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
push edi
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call esi
mov edx, dword [esp + 0x58]
push edx
call esi
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc