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

Disassembly:
sub esp, 0xd4
mov eax, dword [0x6540f630]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd8]
push esi
mov esi, ecx
mov dword [esp + 0x60], eax
push edi
movzx ecx, word [eax + 8]
mov dword [esp + 0x58], esi
mov edi, dword [esi + 4]
mov dword [esp + 0x68], edi
lea eax, [ecx - 1]
cmp eax, 0x80
ja case.0x651640e7.4
movzx eax, byte [eax + 0x65164c04]
jmp dword [eax*4 + 0x65164bd8]
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 0x130]
cmp eax, dword [ecx + 0xc]
jne case.0x651640e7.4
call sym.Qt5Widgets.dll_public:_static_class_QWidget____cdecl_QApplication::activePopupWidget_void_
push eax
push esi
call fcn.651655d0
add esp, 8
test al, al
jne case.0x651640e7.4
lea ecx, [edi + 0x130]
call dword [0x652b21fc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
shr eax, 1
test al, 1
jne case.0x651640e7.4
mov ecx, dword [edi + 0x128]
push 0
call fcn.65168040
jmp case.0x651640e7.4
mov eax, dword [esi + 0x14]
test byte [eax + 6], 1
je case.0x651640e7.4
cmp ecx, 0x11
mov ecx, dword [edi + 0x124]
sete al
movzx eax, al
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QAction::setChecked_bool_
mov ecx, dword [esp + 0x64]
cmp word [ecx + 8], 0x11
mov ecx, esi
sete al
movzx eax, al
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QToolBar::visibilityChanged_bool_
jmp case.0x651640e7.4
mov ecx, dword [edi + 0x128]
call fcn.65165c40
jmp case.0x651640e7.4
mov esi, dword [edi + 4]
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOptionToolBar::constructor_void_
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_protected:_void___thiscall_QToolBar::initStyleOption_class_QStyleOptionToolBar__const
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
lea ecx, [esp + 0x94]
push ecx
push 0x35
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x64]
mov esi, eax
lea eax, [esp + 0x48]
push eax
call dword [0x652b3d2c]
push 0
push eax
mov ecx, esi
call dword [0x652b2334]
test al, al
jne 0x65164220
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
mov esi, dword [esp + 0x58]
push dword [esp + 0x64]
mov ecx, esi
call sym.Qt5Widgets.dll_protected_virtual:_bool___thiscall_QWidget::event_class_QEvent__
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
xor ecx, esp
call fcn.652ae9bb
add esp, 0xd4
ret 4
mov esi, dword [esp + 0x64]
cmp dword [esi + 0x48], 1
jne 0x651642f4
mov ecx, dword [edi + 0x128]
call fcn.65167df0
test al, al
je 0x651642f4
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call dword [0x652b3d2c]
cmp dword [edi + 0x12c], 0
mov esi, dword [edi + 4]
mov dword [esp + 0x54], eax
jne 0x651642f4
push dword [edi + 8]
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QMainWindow::staticMetaObject
call dword [0x652b23e8]
push eax
call fcn.65104690
add esp, 4
cmp dword [eax + 0x42c], 0
jne 0x651642f4
push 0x10
call fcn.652ae448
mov edx, dword [esp + 0x58]
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [edi + 0x12c], eax
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, esi
mov eax, dword [edi + 0x12c]
mov byte [eax + 8], 0
mov eax, dword [edi + 0x12c]
mov byte [eax + 9], 0
mov eax, dword [edi + 0x12c]
mov dword [eax + 0xc], 0
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
cmp eax, 1
jne 0x651642f4
mov eax, dword [esi + 0x14]
mov edx, dword [edi + 0x12c]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
sub ecx, dword [edx]
mov eax, dword [edx + 4]
inc ecx
mov dword [edx], ecx
mov dword [edx + 4], eax
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
mov al, 1
jmp 0x65164207
cmp dword [edi + 0x12c], 0
je case.0x651640e7.4
mov esi, dword [edi + 4]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::releaseMouse_void_
mov eax, dword [edi + 0x12c]
cmp byte [eax + 8], 0
je 0x651643a8
mov ecx, esi
call dword [0x652b23a4]
push eax
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QMainWindow::staticMetaObject
call dword [0x652b23e8]
push eax
call fcn.65104690
mov ecx, dword [edi + 0x12c]
add esp, 4
mov dword [esp + 0x68], eax
push dword [ecx + 0xc]
mov ecx, eax
call fcn.6510b440
test al, al
jne 0x651643a8
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x10f], al
mov ecx, dword [esp + 0x68]
je 0x6516439a
push 0
call fcn.6510c010
movaps xmm0, xmmword [0x652b4bd0]
lea eax, [esp + 0x28]
push eax
push 0
push 1
mov ecx, edi
movups xmmword [esp + 0x34], xmm0
call fcn.651653c0
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::activateWindow_void_
jmp 0x651643a8
mov eax, dword [edi + 0x12c]
push dword [eax + 0xc]
call fcn.6510c960
push 0x10
push dword [edi + 0x12c]
call fcn.652ae47d
add esp, 8
mov dword [edi + 0x12c], 0
mov al, 1
jmp 0x65164207
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOptionToolBar::constructor_void_
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_protected:_void___thiscall_QToolBar::initStyleOption_class_QStyleOptionToolBar__const
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
lea ecx, [esp + 0x94]
push ecx
push 0x35
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x64]
mov esi, eax
lea eax, [esp + 0x48]
push eax
call dword [0x652b3028]
push 0
push eax
mov ecx, esi
call dword [0x652b2334]
test al, al
je 0x6516445b
push 9
lea ecx, [esp + 0x6c]
call dword [0x652b3a48]
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setCursor_class_QCursor_const__
lea ecx, [esp + 0x68]
call dword [0x652b3d4c]
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
jmp case.0x651640e7.4
mov esi, dword [esp + 0x58]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::unsetCursor_void_
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
jmp case.0x651640e7.4
cmp dword [edi + 0x12c], 0
mov esi, dword [edi + 4]
mov dword [esp + 0x70], esi
je 0x651641f8
push dword [edi + 8]
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QMainWindow::staticMetaObject
call dword [0x652b23e8]
mov dword [esp + 0x50], eax
test eax, eax
je case.0x651640e7.127
push eax
call fcn.65104690
add esp, 4
mov dword [esp + 0x58], eax
cmp dword [eax + 0x42c], 0
jne 0x65164610
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x20]
mov esi, dword [edi + 0x12c]
push eax
call dword [0x652b3d2c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
sub ecx, dword [esi + 4]
sub eax, dword [esi]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
call dword [0x652b2000]
mov esi, eax
call sym.Qt5Widgets.dll_public:_static_int___cdecl_QApplication::startDragDistance_void_
cmp esi, eax
mov esi, dword [esp + 0x70]
jle 0x65164610
mov eax, dword [edi + 0x12c]
mov al, byte [eax + 8]
mov byte [esp + 0x6f], al
mov eax, dword [esi + 0x14]
test byte [eax + 8], 1
jne 0x65164550
cmp dword [edi + 0x114], 2
mov ecx, dword [esp + 0x64]
jne 0x651645c9
call dword [0x652b2b38]
test eax, eax
js 0x65164550
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x64]
mov esi, dword [eax + 0x18]
sub esi, dword [eax + 0x10]
inc esi
call dword [0x652b2b38]
cmp eax, esi
jl 0x651645f3
mov esi, dword [edi + 4]
xor dl, dl
mov byte [esp + 0x77], dl
mov eax, dword [edi + 0x12c]
cmp byte [eax + 8], 0
jne 0x651645b2
push dword [edi + 8]
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QMainWindow::staticMetaObject
call dword [0x652b23e8]
push eax
call fcn.65104690
mov dl, byte [esp + 0x7b]
add esp, 4
test dl, dl
jne 0x6516459d
push 0
push esi
mov ecx, eax
call fcn.6510ddb0
mov ecx, dword [edi + 0x12c]
mov dl, byte [esp + 0x77]
test dl, dl
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x12c]
sete cl
mov byte [eax + 8], cl
mov eax, dword [edi + 0x12c]
mov byte [eax + 9], dl
mov esi, dword [esp + 0x70]
test dl, dl
jne 0x65164610
cmp byte [esp + 0x6f], dl
jne 0x65164610
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::grabMouse_void_
jmp 0x65164610
call dword [0x652b2b34]
test eax, eax
js 0x65164550
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x64]
mov esi, dword [eax + 0x1c]
sub esi, dword [eax + 0x14]
inc esi
call dword [0x652b2b34]
cmp eax, esi
jge 0x65164550
mov eax, dword [edi + 0x12c]
mov dl, 1
mov esi, dword [edi + 4]
mov byte [esp + 0x77], dl
cmp byte [eax + 9], 0
je 0x65164559
mov esi, dword [esp + 0x70]
mov eax, dword [edi + 0x12c]
cmp byte [eax + 8], 0
je 0x651646a5
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
call dword [0x652b3d28]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
test eax, eax
jne 0x6516464f
mov ecx, dword [edi + 0x12c]
mov eax, dword [ecx]
sub dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
sub dword [esp + 0x60], eax
jmp 0x65164670
mov edx, dword [edi + 0x12c]
mov eax, dword [esi + 0x14]
mov ecx, dword [edx]
sub ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
dec eax
add ecx, eax
mov eax, dword [edx + 4]
add dword [esp + 0x5c], ecx
neg eax
add dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::move_class_QPoint_const__
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x10]
push eax
call dword [0x652b3d28]
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [edi + 0x12c]
push dword [eax + 0xc]
call fcn.65109a30
mov al, 1
jmp 0x65164207
cmp byte [eax + 9], 0
je case.0x651640e7.127
mov ecx, dword [esi + 0x14]
mov edx, dword [eax + 4]
mov edi, dword [edi + 0x12c]
mov eax, dword [ecx + 0x18]
sub eax, dword [edi]
sub eax, dword [ecx + 0x10]
mov ecx, esi
inc eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
mov edi, dword [esp + 0x68]
cmp eax, 1
lea eax, [esp + 0x38]
je 0x651646e6
mov eax, dword [edi + 0x12c]
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapToGlobal_class_QPoint_const__
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x30]
push eax
call dword [0x652b3d28]
mov ecx, dword [eax]
sub ecx, dword [esp + 0x48]
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x4c]
cmp dword [edi + 0x114], 2
mov dword [esp + 0x68], ecx
mov ecx, esi
mov dword [esp + 0x54], eax
jne 0x6516473f
call sym.Qt5Widgets.dll__y_QWidget__QBEHXZ
mov ecx, dword [esp + 0x58]
mov edi, eax
add edi, dword [esp + 0x54]
push edi
push esi
call fcn.6510b340
mov al, 1
jmp 0x65164207
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
cmp eax, 1
jne 0x65164788
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
sub edi, dword [eax + 0x10]
mov eax, dword [esi + 0x14]
inc edi
mov esi, dword [eax + 0x18]
sub esi, dword [eax + 0x10]
inc esi
call sym.Qt5Widgets.dll__x_QWidget__QBEHXZ
mov ecx, dword [esp + 0x58]
sub edi, esi
sub edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
sub edi, eax
push edi
push esi
call fcn.6510b340
mov al, 1
jmp 0x65164207
mov ecx, esi
call sym.Qt5Widgets.dll__x_QWidget__QBEHXZ
mov ecx, dword [esp + 0x58]
mov edi, eax
add edi, dword [esp + 0x68]
push edi
push esi
call fcn.6510b340
mov al, 1
jmp 0x65164207
mov eax, dword [edi + 0x12c]
test eax, eax
je 0x65164b78
cmp byte [eax + 8], 0
je 0x65164b78
lea eax, [esp + 0x40]
push eax
call dword [0x652b3d48]
lea eax, [esp + 0x64]
push eax
call dword [0x652b3d74]
mov edi, dword [eax]
lea eax, [esp + 0x58]
push eax
call dword [0x652b2ce4]
movd xmm0, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x58]
cvtdq2pd xmm0, xmm0
mov esi, dword [eax]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
movsd qword [esp + 0x10], xmm0
movd xmm0, dword [esp + 0x4c]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapFromGlobal_class_QPoint_const__
push edi
push esi
push 0
movd xmm0, dword [eax]
lea ecx, [esp + 0x84]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x24], xmm0
movd xmm0, dword [eax + 4]
lea eax, [esp + 0x14]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x28]
push eax
push 5
movsd qword [esp + 0x38], xmm0
call dword [0x652b2b3c]
mov edi, dword [esp + 0x68]
cmp dword [edi + 0x12c], 0
mov esi, dword [edi + 4]
mov dword [esp + 0x70], esi
je 0x65164b69
push dword [edi + 8]
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QMainWindow::staticMetaObject
call dword [0x652b23e8]
mov dword [esp + 0x60], eax
test eax, eax
je 0x65164b69
push eax
call fcn.65104690
add esp, 4
mov dword [esp + 0x54], eax
cmp dword [eax + 0x42c], 0
jne 0x651649f1
mov esi, dword [edi + 0x12c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call dword [0x652b3d2c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
sub ecx, dword [esi + 4]
sub eax, dword [esi]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
call dword [0x652b2000]
mov esi, eax
call sym.Qt5Widgets.dll_public:_static_int___cdecl_QApplication::startDragDistance_void_
cmp esi, eax
mov esi, dword [esp + 0x70]
jle 0x651649f1
mov eax, dword [edi + 0x12c]
mov al, byte [eax + 8]
mov byte [esp + 0x6f], al
mov eax, dword [esi + 0x14]
test byte [eax + 8], 1
jne 0x65164931
cmp dword [edi + 0x114], 2
lea ecx, [esp + 0x78]
jne 0x651649aa
call dword [0x652b2b38]
test eax, eax
js 0x65164931
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x78]
mov esi, dword [eax + 0x18]
sub esi, dword [eax + 0x10]
inc esi
call dword [0x652b2b38]
cmp eax, esi
jl 0x651649d4
mov esi, dword [edi + 4]
xor dl, dl
mov byte [esp + 0x77], dl
mov eax, dword [edi + 0x12c]
cmp byte [eax + 8], 0
jne 0x65164993
push dword [edi + 8]
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QMainWindow::staticMetaObject
call dword [0x652b23e8]
push eax
call fcn.65104690
mov dl, byte [esp + 0x7b]
add esp, 4
test dl, dl
jne 0x6516497e
push 0
push esi
mov ecx, eax
call fcn.6510ddb0
mov ecx, dword [edi + 0x12c]
mov dl, byte [esp + 0x77]
test dl, dl
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x12c]
sete cl
mov byte [eax + 8], cl
mov eax, dword [edi + 0x12c]
mov byte [eax + 9], dl
mov esi, dword [esp + 0x70]
test dl, dl
jne 0x651649f1
cmp byte [esp + 0x6f], dl
jne 0x651649f1
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::grabMouse_void_
jmp 0x651649f1
call dword [0x652b2b34]
test eax, eax
js 0x65164931
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x78]
mov esi, dword [eax + 0x1c]
sub esi, dword [eax + 0x14]
inc esi
call dword [0x652b2b34]
cmp eax, esi
jge 0x65164931
mov eax, dword [edi + 0x12c]
mov dl, 1
mov esi, dword [edi + 4]
mov byte [esp + 0x77], dl
cmp byte [eax + 9], 0
je 0x6516493a
mov esi, dword [esp + 0x70]
mov eax, dword [edi + 0x12c]
cmp byte [eax + 8], 0
je 0x65164a8e
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x7c]
call dword [0x652b3d28]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
test eax, eax
jne 0x65164a30
mov ecx, dword [edi + 0x12c]
mov eax, dword [ecx]
sub dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
sub dword [esp + 0x60], eax
jmp 0x65164a51
mov edx, dword [edi + 0x12c]
mov eax, dword [esi + 0x14]
mov ecx, dword [edx]
sub ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
dec eax
add ecx, eax
mov eax, dword [edx + 4]
add dword [esp + 0x5c], ecx
neg eax
add dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::move_class_QPoint_const__
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call dword [0x652b3d28]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [edi + 0x12c]
push dword [eax + 0xc]
call fcn.65109a30
lea ecx, [esp + 0x78]
call dword [0x652b3d30]
jmp 0x651641f8
cmp byte [eax + 9], 0
je 0x65164b69
mov ecx, dword [esi + 0x14]
mov edx, dword [eax + 4]
mov edi, dword [edi + 0x12c]
mov eax, dword [ecx + 0x18]
sub eax, dword [edi]
sub eax, dword [ecx + 0x10]
mov ecx, esi
inc eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
mov edi, dword [esp + 0x68]
cmp eax, 1
lea eax, [esp + 0x48]
je 0x65164acf
mov eax, dword [edi + 0x12c]
push eax
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapToGlobal_class_QPoint_const__
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call dword [0x652b3d28]
mov ecx, dword [eax]
sub ecx, dword [esp + 0x38]
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x3c]
cmp dword [edi + 0x114], 2
mov dword [esp + 0x68], ecx
mov ecx, esi
mov dword [esp + 0x50], eax
jne 0x65164b18
call sym.Qt5Widgets.dll__y_QWidget__QBEHXZ
mov edi, eax
add edi, dword [esp + 0x50]
jmp 0x65164b5e
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
cmp eax, 1
jne 0x65164b51
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
sub edi, dword [eax + 0x10]
mov eax, dword [esi + 0x14]
inc edi
mov esi, dword [eax + 0x18]
sub esi, dword [eax + 0x10]
inc esi
call sym.Qt5Widgets.dll__x_QWidget__QBEHXZ
sub edi, esi
mov esi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
sub edi, eax
jmp 0x65164b5e
mov ecx, esi
call sym.Qt5Widgets.dll__x_QWidget__QBEHXZ
mov edi, eax
add edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
push edi
push esi
call fcn.6510b340
lea ecx, [esp + 0x78]
call dword [0x652b3d30]
jmp 0x651641f8
mov eax, dword [edi + 0x128]
cmp byte [eax + 0x10], 0
je case.0x651640e7.4
call sym.Qt5Widgets.dll_public:_static_class_QWidget____cdecl_QApplication::activePopupWidget_void_
push eax
lea ecx, [edi + 0x130]
push esi
mov dword [esp + 0x68], ecx
call fcn.651655d0
add esp, 8
test al, al
je 0x65164bba
mov ecx, dword [esp + 0x60]
push esi
push 0x1f4
call dword [0x652b2200]
jmp case.0x651640e7.4
lea ecx, [edi + 0x130]
call dword [0x652b21fc]
mov ecx, dword [edi + 0x128]
push 0
call fcn.65168040
jmp case.0x651640e7.4