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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472db8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x48d034]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x43a76b
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [ebx + 0x350]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a76b
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], edx
lea esi, [esp + 0x78]
mov dword [eax + 0xc], ecx
call fcn.004543f0
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
mov eax, edi
push eax
mov ecx, ebx
call fcn.004339f0
cmp dword [ebx + 0x410], 0
je 0x43a0e0
mov eax, dword [ebx + 0x410]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x38]
push 0
push 0
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x2c]
push 0
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x34]
push ecx
push 0
lea ecx, [esp + 0x50]
push ecx
push 0
mov ecx, edi
push ecx
push 0
mov dword [esp + 0x68], edx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
push 1
mov ecx, eax
call edx
cmp byte [ebx + 0x414], 0
je 0x43a0e0
mov ecx, dword [ebx + 0x3e4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x410]
add eax, ecx
mov dword [esp + 0x18], eax
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
mov esi, dword [edx + 0xc]
mov edx, dword [eax + 0x110]
mov ecx, ebx
call edx
mov eax, dword [eax + 0x148]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push 0
push 0
push eax
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
cmp dword [esp + 0x14], eax
jg 0x43a0e0
mov eax, ebx
call fcn.00433840
mov eax, dword [ebx + 0x3bc]
test eax, eax
je 0x43a68a
mov ecx, dword [ebx + 0x3c0]
sub ecx, eax
sar ecx, 2
je 0x43a68a
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x90], 1
mov eax, dword [ebx + 0x350]
mov ecx, dword [ebx + 0x354]
mov edx, dword [ebx + 0x358]
mov esi, dword [ebx + 0x35c]
add eax, dword [ebx + 0x3cc]
add ecx, dword [ebx + 0x3d0]
sub edx, dword [ebx + 0x3d4]
sub esi, dword [ebx + 0x3d8]
cmp dword [ebx + 0x3e4], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
je 0x43a185
mov ecx, dword [ebx + 0x3e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x43a185
mov ecx, dword [ebx + 0x3e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
sub dword [esp + 0x44], eax
cmp dword [ebx + 0x3e8], edi
je 0x43a1b5
mov ecx, dword [ebx + 0x3e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x43a1b5
mov ecx, dword [ebx + 0x3e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
call eax
sub dword [esp + 0x48], eax
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x43a37f
xor edi, edi
jmp 0x43a1e0
mov ecx, dword [ebx + 0x3bc]
test ecx, ecx
je 0x43a2ec
mov eax, dword [ebx + 0x3c0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x43a2ec
test ecx, ecx
je 0x43a214
mov eax, dword [ebx + 0x3c0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x43a219
call fcn.0045cf3a
mov ecx, dword [ebx + 0x3bc]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
mov dword [esp + 0x18], esi
call eax
test al, al
je 0x43a2e4
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a2e4
test byte [esi + 0x284], 8
je 0x43a27d
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x20]
call fcn.00429290
add edi, 1
jmp 0x43a1e0
mov edx, dword [esi]
mov eax, dword [edx + 0x11c]
mov ecx, esi
call eax
test al, al
jne 0x43a2ad
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
jne 0x43a2ad
mov edx, dword [esi]
mov eax, dword [edx + 0x124]
mov ecx, esi
call eax
test al, al
je 0x43a2e4
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
push eax
lea eax, [ebx + 0x350]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a2e4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x98]
push eax
push ecx
mov ecx, esi
call edx
add edi, 1
jmp 0x43a1e0
xor edi, edi
mov edi, edi
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43a675
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x43a675
mov esi, dword [ecx + edi*4]
mov eax, dword [esi]
mov edx, dword [eax + 0x11c]
mov ecx, esi
call edx
test al, al
jne 0x43a340
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
test al, al
jne 0x43a340
mov eax, dword [esi]
mov edx, dword [eax + 0x124]
mov ecx, esi
call edx
test al, al
je 0x43a377
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
push eax
lea eax, [ebx + 0x350]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a377
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x98]
push eax
push ecx
mov ecx, esi
call edx
add edi, 1
jmp 0x43a2f0
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov edi, dword [ebp + 8]
mov byte [esp + 0x90], 2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
lea esi, [esp + 0x5c]
mov dword [eax + 0xc], edx
call fcn.004543f0
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [ebx + 0x3bc]
test ecx, ecx
je 0x43a551
mov eax, dword [ebx + 0x3c0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x43a551
test ecx, ecx
je 0x43a414
mov eax, dword [ebx + 0x3c0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x43a419
call fcn.0045cf3a
mov eax, dword [ebx + 0x3bc]
mov esi, dword [eax + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
mov dword [esp + 0x18], esi
call eax
test al, al
je 0x43a545
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a545
test byte [esi + 0x284], 8
je 0x43a481
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x20]
call fcn.00429290
add edi, 1
mov dword [esp + 0x14], edi
jmp 0x43a3e0
mov edx, dword [esi]
mov eax, dword [edx + 0x11c]
mov ecx, esi
call eax
test al, al
jne 0x43a4f2
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
jne 0x43a4f2
mov edx, dword [esi]
mov eax, dword [edx + 0x124]
mov ecx, esi
call eax
test al, al
jne 0x43a4f2
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a545
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x98]
push ecx
push edx
mov ecx, esi
call eax
add edi, 1
mov dword [esp + 0x14], edi
jmp 0x43a3e0
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
push eax
lea eax, [ebx + 0x350]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a545
mov edx, dword [esp + 0x64]
mov edi, dword [ebp + 8]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
push ecx
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x60]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, dword [esp + 0x14]
add edi, 1
mov dword [esp + 0x14], edi
jmp 0x43a3e0
xor edi, edi
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x43a63f
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x43a63f
mov esi, dword [ecx + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x11c]
mov ecx, esi
call eax
test al, al
jne 0x43a5e4
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
jne 0x43a5e4
mov edx, dword [esi]
mov eax, dword [edx + 0x124]
mov ecx, esi
call eax
test al, al
jne 0x43a5e4
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a637
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x98]
push ecx
push edx
mov ecx, esi
call eax
add edi, 1
jmp 0x43a553
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
push eax
lea eax, [ebx + 0x350]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a637
mov edx, dword [esp + 0x64]
mov edi, dword [ebp + 8]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
push ecx
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x60]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, dword [esp + 0x14]
add edi, 1
jmp 0x43a553
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x43a662
mov esi, dword [esp + 0x64]
test esi, esi
je 0x43a662
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43a675
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov byte [esp + 0x90], 0
je 0x43a68a
push ecx
call fcn.0045ca7a
add esp, 4
cmp dword [ebx + 0x3e4], 0
je 0x43a6e2
mov ecx, dword [ebx + 0x3e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x43a6e2
mov ecx, dword [ebx + 0x3e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb0]
call eax
mov esi, dword [ebp + 0xc]
push eax
push esi
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a6e5
mov ecx, dword [ebx + 0x3e4]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x98]
push esi
push eax
call edx
jmp 0x43a6e5
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x3e8], 0
je 0x43a73a
mov ecx, dword [ebx + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x43a73a
mov ecx, dword [ebx + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb0]
call edx
push eax
push esi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43a73a
mov ebx, dword [ebx + 0x3e8]
mov edx, dword [ebx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x98]
push esi
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x43a75c
mov esi, dword [esp + 0x80]
test esi, esi
je 0x43a75c
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x43a76b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8