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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov dword [esp + 0x14], esi
test ebx, ebx
jne 0x6501ae5a
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
shr eax, 5
test al, 1
je 0x6501ae5a
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
call dword [0x652b9eb0]
lea ecx, [esp + 0x20]
call dword [0x652b8528]
push eax
lea ecx, [esp + 0x24]
call dword [0x652b852c]
push eax
push ebx
push ebx
lea ecx, [esp + 0x48]
call dword [0x652b8500]
mov esi, dword [esp + 0x74]
mov ecx, esi
call dword [0x652b82d0]
test al, al
jne 0x6501ae3d
push esi
lea ecx, [esp + 0x3c]
call dword [0x652b82b8]
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x38]
push 0
push eax
call dword [0x652ba124]
mov eax, dword [esp + 0x6c]
pop esi
pop ebx
add esp, 0x60
ret 0xc
lea ecx, [esp + 0xc]
call dword [0x652ba25c]
test ebx, ebx
je 0x6501ae9d
mov ecx, dword [ebx + 4]
lea ecx, [ecx + 0xc]
call dword [0x652b85d4]
test al, al
je 0x6501ae9d
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xc]
push eax
call dword [0x652ba258]
lea ecx, [esp + 0xc]
call dword [0x652ba254]
mov eax, dword [esp + 0x6c]
pop esi
pop ebx
add esp, 0x60
ret 0xc
mov ecx, dword [esp + 0x74]
push ebp
call dword [0x652b82d0]
test al, al
sete byte [esp + 0x74]
add esi, 0x1c
mov ecx, esi
mov dword [esp + 0x20], esi
call dword [0x652b85d8]
mov ebp, dword [0x652ba254]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x6501b095
push edi
lea esp, [esp]
push eax
mov ecx, esi
call dword [0x652b85d0]
mov edi, dword [eax]
mov esi, dword [edi + 4]
test dword [esi + 0x110], 0x20000
je 0x6501b07d
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x6501b07d
add ecx, 0x3c
call dword [0x652b82dc]
test al, al
jne 0x6501b07d
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x6501b07d
test ebx, ebx
je 0x6501af3f
push edi
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::isAncestorOf_class_QWidget_const__const
test al, al
je 0x6501b07d
mov ecx, dword [esi + 0x40]
add ecx, 0x3c
call dword [0x652b8528]
mov ecx, dword [esi + 0x40]
push eax
add ecx, 0x3c
call dword [0x652b852c]
push eax
push 0
push 0
lea ecx, [esp + 0x50]
call dword [0x652b8500]
test ebx, ebx
je 0x6501af6f
mov ebp, ebx
jmp 0x6501af75
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax]
lea ecx, [esp + 0x38]
call dword [0x652b8550]
push eax
push ebp
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapTo_class_QWidget_const___class_QPoint_const__
cmp byte [esp + 0x78], 0
je 0x6501afcb
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
neg eax
push eax
mov eax, dword [esp + 0x2c]
neg eax
push eax
call dword [0x652b854c]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
call dword [0x652b84f0]
push eax
lea ecx, [esp + 0x44]
call dword [0x652b82b8]
lea ecx, [esp + 0x40]
call dword [0x652b82d0]
test al, al
jne 0x6501b077
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QRect___thiscall_QWidgetPrivate::clipRect_void_
push eax
lea ecx, [esp + 0x44]
call dword [0x652b82b8]
lea ecx, [esp + 0x40]
call dword [0x652b82d0]
test al, al
jne 0x6501b077
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call dword [0x652ba124]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidgetPrivate::clipToEffectiveMask_class_QRegion__const
lea ecx, [esp + 0x10]
call dword [0x652ba120]
test al, al
je 0x6501b03b
mov ebp, dword [0x652ba254]
lea ecx, [esp + 0x10]
call ebp
jmp 0x6501b07d
push 1
push 0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidgetPrivate::subtractOpaqueSiblings_class_QRegion___bool___bool_const
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call dword [0x652b9ef8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call dword [0x652b9edc]
mov ebp, dword [0x652ba254]
lea ecx, [esp + 0x10]
call ebp
jmp 0x6501b07d
mov ebp, dword [0x652ba254]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jl 0x6501aee0
pop edi
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
call dword [0x652ba258]
lea ecx, [esp + 0x10]
call ebp
mov eax, dword [esp + 0x70]
pop ebp
pop esi
pop ebx
add esp, 0x60
ret 0xc