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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
push edi
lea edi, [esi + 0x7c]
mov ebp, dword [esi + 4]
mov ecx, ebp
mov eax, dword [eax + 4]
cdq
sub eax, edx
mov dword [esp + 0x3c], ebp
sar eax, 1
mov dword [esp + 0x20], eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x6501e92f
mov ecx, eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x6501e93b
call dword [0x652b9e68]
mov ebx, eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
jne 0x6501e970
mov ecx, dword [eax + 4]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x6501e95a
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
jmp 0x6501e95f
call sym.Qt5Widgets.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_
mov ecx, eax
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x5a
call dword [eax + 0x74]
mov ecx, eax
cmp ebx, 1
jne 0x6501e98f
test cl, 0x10
je 0x6501e98f
mov eax, ecx
mov edx, ecx
shr eax, 1
and edx, ebx
and eax, ebx
add edx, edx
or eax, edx
and ecx, 0xffffffec
or eax, ecx
jmp 0x6501e994
mov eax, ecx
and eax, 0xffffffef
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
call dword [0x652b84e8]
sub eax, dword [esi + 0xb8]
mov ecx, dword [esp + 0x10]
test cl, 6
je 0x6501e9d1
test eax, eax
jle 0x6501e9d1
mov dword [esp + 0x18], eax
test cl, 4
je 0x6501e9d1
mov ebx, eax
sar ebx, 1
mov dword [esp + 0x18], ebx
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x20], ebp
jle 0x6501ecf8
mov esi, dword [0x652b8658]
mov ecx, dword [edi]
mov eax, dword [ecx]
cmp eax, 1
je 0x6501ea2c
test eax, eax
je 0x6501ea2c
test dword [ecx + 8], 0x7fffffff
jne 0x6501ea0e
push 2
push 0
push 4
push 4
call esi
add esp, 0x10
mov dword [edi], eax
jmp 0x6501ea2c
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, edi
call fcn.650edd50
mov ecx, dword [edi]
call dword [0x652b865c]
mov ecx, dword [edi]
mov ebx, dword [eax + ebp*8]
mov eax, dword [ecx]
cmp eax, 1
je 0x6501ea7c
test eax, eax
je 0x6501ea7c
test dword [ecx + 8], 0x7fffffff
jne 0x6501ea5e
push 2
push 0
push 4
push 4
call esi
add esp, 0x10
mov dword [edi], eax
jmp 0x6501ea7c
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, edi
call fcn.650edd50
mov ecx, dword [edi]
call dword [0x652b865c]
mov ebp, dword [eax + ebp*8 + 4]
mov dword [esp + 0x2c], ebp
test ebx, ebx
je 0x6501ec1e
mov ecx, dword [esp + 0xa4]
mov esi, dword [ebx + 0x2c]
mov ecx, dword [ecx]
call dword [0x652b865c]
mov ecx, dword [ebx]
lea edx, [esp + 0x34]
shl esi, 5
push edx
mov ebp, dword [eax + esi + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x20], ebp
call dword [eax + 0x10]
test byte [esp + 0x34], 2
jne 0x6501eb0c
lea ecx, [ebx + 0x18]
call dword [0x652b8528]
mov esi, eax
lea ecx, [ebx + 0x10]
mov dword [esp + 0x38], esi
call dword [0x652b8528]
lea ecx, [eax*8]
sub ecx, eax
mov eax, ecx
lea ecx, [esp + 0x30]
cdq
and edx, 3
add eax, edx
lea edx, [esp + 0x38]
sar eax, 2
cmp eax, esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
cmovge ecx, edx
cmp ebp, dword [ecx]
cmovge eax, ecx
mov ebp, dword [eax]
lea ecx, [ebx + 0x10]
call dword [0x652b852c]
cmp dword [ebx + 0x34], eax
lea esi, [ebx + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
cmovl ecx, esi
push ebp
push dword [ecx]
lea ecx, [esp + 0x48]
call dword [0x652b8350]
mov ecx, dword [esp + 0xa8]
call dword [0x652b84fc]
mov ebp, eax
mov eax, dword [esp + 0x3c]
add ebp, dword [ebx + 0x30]
add ebp, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x6501eb82
mov ecx, dword [eax + 4]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x6501eb6c
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
jmp 0x6501eb71
call sym.Qt5Widgets.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_
mov ecx, eax
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x5b
call dword [eax + 0x74]
mov ecx, eax
cmp dword [esp + 0x14], 1
jne 0x6501eba5
test cl, 0x10
je 0x6501eba5
mov eax, ecx
mov edx, ecx
shr eax, 1
and edx, 1
and eax, 1
add edx, edx
or eax, edx
and ecx, 0xffffffec
or eax, ecx
jmp 0x6501ebaa
mov eax, ecx
and eax, 0xffffffef
test al, 2
je 0x6501ebbe
lea ecx, [esp + 0x40]
call dword [0x652b852c]
mov ecx, dword [esi]
sub ecx, eax
add ebp, ecx
mov eax, dword [esp + 0xa4]
mov esi, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [0x652b865c]
shl esi, 5
lea ecx, [esp + 0x48]
push dword [eax + esi + 0x18]
push ebp
call dword [0x652b854c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x68]
call dword [0x652b82d4]
push eax
push dword [esp + 0xac]
lea eax, [esp + 0x88]
push dword [esp + 0x1c]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov ecx, dword [ebx]
add esp, 0x10
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x6501ecdf
mov ebx, dword [esp + 0xa4]
mov esi, dword [ebp + 0x2c]
mov ecx, dword [ebx]
call dword [0x652b865c]
shl esi, 5
lea ecx, [esp + 0x24]
push dword [eax + esi + 0x1c]
push dword [ebp + 0x34]
call dword [0x652b8350]
mov ecx, dword [ebx]
mov esi, dword [ebp + 0x2c]
call dword [0x652b865c]
mov ebx, dword [esp + 0xa8]
mov ecx, ebx
shl esi, 5
push dword [eax + esi + 0x18]
call dword [0x652b84fc]
add eax, dword [ebp + 0x30]
lea ecx, [esp + 0x54]
add eax, dword [esp + 0x1c]
push eax
call dword [0x652b854c]
lea esi, [ebp + 0x18]
mov ecx, esi
call dword [0x652b82d8]
test al, al
je 0x6501ecab
push esi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b828c]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b82d4]
push eax
push ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x98]
push ebx
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov ecx, dword [ebp]
add esp, 0x10
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [0x652b8658]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, dword [esp + 0x20]
jl 0x6501e9e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8