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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4447a6
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], eax
lea edi, [esp + 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0x154]
push eax
push ecx
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411d7c
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x88], eax
sub esp, 0x10
lea esi, [esp + 0x78]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x4c]
mov ecx, esi
call fcn.004213f7
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov ecx, ebx
push edi
push esi
call fcn.00413ab9
cmp dword [ebx + 0x4a8], 0
jle 0x411cef
mov eax, dword [ebx + 0x4b0]
mov ecx, dword [ebx + 0x4c8]
lea esi, [ebx + 0x154]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [esp + 0x58], eax
mov eax, dword [ebx + 0x4b4]
add dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x4b8]
sub dword [esp + 0x60], eax
mov eax, dword [ebx + 0x4bc]
sub dword [esp + 0x64], eax
test ecx, ecx
je 0x411c24
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x411c24
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [esp + 0x60], eax
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x411c49
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x411c49
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x64], eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x58]
push eax
push edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x411d9f
xor ecx, ecx
cmp dword [ebx + 0x4a8], ecx
jle 0x411ceb
mov eax, dword [ebx + 0x4a4]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc8]
test al, al
je 0x411cda
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411cda
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x411cda
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
lea eax, [ebx + 0x154]
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411cda
mov eax, dword [esi]
push edi
push dword [esp + 0x18]
mov ecx, esi
call dword [eax + 0x118]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x4a8]
jl 0x411c70
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x4c8]
test ecx, ecx
je 0x411d31
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x411d31
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411d31
mov ecx, dword [ebx + 0x4c8]
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x118]
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x411d73
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x411d73
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411d73
mov ecx, dword [ebx + 0x4cc]
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x118]
lea ecx, [esp + 0x3c]
call fcn.004213d4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00432b05
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x88], 1
sub esp, 0x10
lea esi, [esp + 0x78]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.004213f7
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x18], ecx
cmp dword [ebx + 0x4a8], ecx
jle 0x411ebb
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 0x4a4]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc8]
test al, al
je 0x411ea2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411ea2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
mov eax, dword [esi]
mov ecx, esi
je 0x411e7b
call dword [eax + 0x30]
push eax
lea eax, [ebx + 0x154]
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411ea2
push dword [esp + 0x38]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esi]
push edi
push dword [esp + 0x18]
mov ecx, esi
call dword [eax + 0x118]
push dword [esp + 0x34]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x411ea6
call dword [eax + 0x30]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x411ea2
mov eax, dword [esi]
push edi
push dword [esp + 0x18]
mov ecx, esi
call dword [eax + 0x118]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x4a8]
jl 0x411dea
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0
call fcn.004213d4
mov edi, dword [esp + 0x1c]
jmp 0x411cef