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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4450cd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
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 + 0x4c], eax
mov dword [esp + 0x18], eax
lea edi, [esp + 0x50]
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 + 0x54]
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x42817e
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x90], eax
sub esp, 0x10
lea esi, [esp + 0x5c]
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
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov ecx, ebx
push edi
push esi
call fcn.00413ab9
mov ecx, dword [ebx + 0x4d4]
test ecx, ecx
je 0x427e85
mov eax, dword [ecx + 0x30]
xor edx, edx
push edx
push edx
push edx
push edi
push edx
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x2c]
lea edi, [esp + 0x74]
push edi
push edx
push esi
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x34]
push edx
mov dword [esp + 0x8c], eax
mov ecx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx]
push edx
push 1
call dword [eax + 0x10]
cmp byte [ebx + 0x4d8], 0
mov edi, dword [esp + 0x1c]
je 0x427e85
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
and dword [esp + 0x5c], 0
or dword [esp + 0x3c], 0xffffffff
or dword [esp + 0x40], 0xffffffff
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x4d4]
mov ecx, ebx
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
call dword [eax + 0x1c]
mov edx, dword [esi]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x44]
push ecx
push 1
xor ecx, ecx
push ecx
push ecx
push dword [eax + 8]
mov ecx, esi
push 1
call dword [edx + 0x44]
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
cmp dword [esp + 0x5c], eax
jg 0x427e85
mov ecx, ebx
call fcn.00412deb
cmp dword [ebx + 0x4a8], 0
jle 0x4280e7
mov eax, dword [ebx + 0x4b0]
mov ecx, dword [ebx + 0x4c8]
lea esi, [ebx + 0x154]
lea edi, [esp + 0x3c]
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 + 0x3c], eax
mov eax, dword [ebx + 0x4b4]
add dword [esp + 0x40], eax
mov eax, dword [ebx + 0x4b8]
sub dword [esp + 0x44], eax
mov eax, dword [ebx + 0x4bc]
sub dword [esp + 0x48], eax
test ecx, ecx
je 0x427eed
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x427eed
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [esp + 0x44], eax
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x427f12
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x427f12
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x48], eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x427fbd
xor ecx, ecx
cmp dword [ebx + 0x4a8], ecx
jle 0x4280e7
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 0x427fa7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x427fa7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x427fa7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
lea eax, [ebx + 0x154]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x427fa7
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 0x427f3d
jmp 0x4280e7
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x90], 1
sub esp, 0x10
lea esi, [esp + 0x5c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x70]
movsd dword es:[edi], dword [esi]
call fcn.004213f7
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x18], ecx
cmp dword [ebx + 0x4a8], ecx
jle 0x4280d2
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 0x4280bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4280bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
mov eax, dword [esi]
mov ecx, esi
je 0x428096
call dword [eax + 0x30]
push eax
lea eax, [ebx + 0x154]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4280bd
push dword [esp + 0x78]
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 + 0x74]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x4280bd
call dword [eax + 0x30]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4280bd
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 0x428006
lea ecx, [esp + 0x60]
mov byte [esp + 0x90], 0
call fcn.004213d4
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x4c8]
test ecx, ecx
je 0x42812f
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x42812f
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x428133
mov ecx, dword [ebx + 0x4c8]
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x118]
jmp 0x428133
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x428175
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x428175
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
push edi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428175
mov ecx, dword [ebx + 0x4cc]
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x118]
lea ecx, [esp + 0x20]
call fcn.004213d4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00432b05
mov esp, ebp
pop ebp
ret 8