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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x47fcd0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x49d4b0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x49d4b0]
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 0x431ede
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.0042f770
mov ecx, dword [edi + 0x4d4]
test ecx, ecx
je 0x431b82
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 0x431b82
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 0x431b7e
mov ecx, edi
call fcn.0042def0
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x4a8], 0
jle 0x431e24
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 0x431bf2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x431bf2
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 0x431c1b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x431c1b
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 0x431ce2
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a8], ecx
jle 0x431e24
jmp 0x431c50
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 0x431cc8
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 0x431cc8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x431cc8
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 0x431cc8
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 0x431c50
jmp 0x431e24
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.00432b20
mov esi, dword [esp + 0x8c]
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a8], ecx
jle 0x431e02
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 0x431de9
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 0x431de9
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 0x431dc0
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 0x431de9
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 0x431de9
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 0x431de9
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 0x431d22
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 0x431e73
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x431e73
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 0x431e77
mov ecx, dword [edi + 0x4c8]
push esi
push dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x118]
jmp 0x431e77
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x4cc]
test ecx, ecx
je 0x431ec0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x431ec0
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 0x431ec0
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.0045f8b2
mov esp, ebp
pop ebp
ret 8