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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4cd3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4f96c0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x4f96c0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x154]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push ecx
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x24], esi
movdqa xmmword [esp + 0x60], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440bbe
mov dword [esp + 0x90], 0
lea eax, [esp + 0x64]
movdqa xmm0, xmmword [esp + 0x54]
movdqa xmmword [esp + 0x44], xmm0
xorps xmm0, xmm0
push eax
push esi
movdqu xmmword [esp + 0x6c], xmm0
call dword [sym.imp.GDI32.dll_GetClipBox]
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea eax, [esp + 0x64]
push eax
call esi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x44]
push eax
call esi
push 1
push eax
push dword [esp + 0x20]
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
movdqu xmm0, xmmword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov ecx, edi
mov esi, dword [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x40], eax
movdqu xmmword [esp + 0x30], xmm0
call fcn.0043e450
mov ecx, dword [edi + 0x4d4]
test ecx, ecx
je 0x440862
mov eax, dword [ecx + 0x30]
lea edx, [esp + 0x64]
push 0
push 0
push 0
push esi
push 0
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x38]
push edx
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0x2c]
push 0
push dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x8c], eax
mov ecx, dword [ecx + 0xc]
push 0
push 0
push 0
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
cmp byte [edi + 0x4d8], 0
je 0x440862
mov ecx, dword [edi + 0x4c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
call eax
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x64]
add eax, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov ecx, edi
mov eax, dword [edi + 0x4d4]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov esi, dword [eax + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push 1
push 0
push 0
push dword [eax + 8]
mov ecx, esi
push 1
call dword [edx + 0x44]
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
cmp dword [esp + 0x20], eax
jg 0x44085e
mov ecx, edi
call fcn.0043cbd0
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x4a8], 0
jle 0x440b04
movdqu xmm0, xmmword [edi + 0x154]
mov ecx, dword [edi + 0x4c8]
movd eax, xmm0
movdqa xmmword [esp + 0x44], xmm0
add eax, dword [edi + 0x4b0]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x4b4]
add dword [esp + 0x48], eax
mov eax, dword [edi + 0x4b8]
sub dword [esp + 0x4c], eax
mov eax, dword [edi + 0x4bc]
sub dword [esp + 0x50], eax
test ecx, ecx
je 0x4408d2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4408d2
mov ecx, dword [edi + 0x4c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
call eax
sub dword [esp + 0x4c], eax
mov ecx, dword [edi + 0x4cc]
test ecx, ecx
je 0x4408fb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4408fb
mov ecx, dword [edi + 0x4cc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
sub dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push esi
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x4409c2
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a8], ecx
jle 0x440b04
jmp 0x440930
mov eax, dword [edi + 0x4a4]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4409a8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x30]
call eax
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4409a8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4409a8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x30]
call eax
push eax
lea eax, [edi + 0x154]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4409a8
push dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x1c]
call dword [eax + 0x118]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x4a8]
jl 0x440930
jmp 0x440b04
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x64]
sub esp, 0x10
mov byte [esp + 0xa0], 1
movdqu xmm0, xmmword [esp + 0x64]
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.00441800
mov esi, dword [esp + 0x8c]
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a8], ecx
jle 0x440ae2
mov eax, dword [edi + 0x4a4]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x440ac9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x30]
call eax
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440ac9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
je 0x440aa0
call eax
push eax
lea eax, [edi + 0x154]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440ac9
push dword [esp + 0x7c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x1c]
call dword [eax + 0x118]
push dword [esp + 0x78]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x440ac9
call eax
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440ac9
push dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x1c]
call dword [eax + 0x118]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x4a8]
jl 0x440a02
mov esi, dword [esp + 0x7c]
push esi
mov byte [esp + 0x94], 0
push dword [esp + 0x78]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x78]
call esi
mov ecx, dword [edi + 0x4c8]
test ecx, ecx
je 0x440b53
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x440b53
mov ecx, dword [edi + 0x4c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440b57
mov ecx, dword [edi + 0x4c8]
push esi
push dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x118]
jmp 0x440b57
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x4cc]
test ecx, ecx
je 0x440ba0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x440ba0
mov ecx, dword [edi + 0x4cc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push eax
push esi
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440ba0
mov ecx, dword [edi + 0x4cc]
push esi
push dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x118]
mov esi, dword [esp + 0x40]
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x3c]
call esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004a79be
mov esp, ebp
pop ebp
ret 8