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

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test byte [ebx + 0x114], 1
mov ebp, dword [ebx + 4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebp
je 0x6513c2fa
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov ecx, dword [ebp + 0x14]
mov esi, eax
add ecx, 0x10
call dword [0x652b84e8]
mov edx, dword [esi]
mov ecx, esi
push ebp
push 0
push 0x21
mov edi, eax
call dword [edx + 0x6c]
add eax, eax
mov dword [esp + 0x20], 0xffffffff
sub edi, eax
mov eax, dword [ebx + 0x14c]
mov dword [esp + 0x14], edi
test eax, eax
je 0x6513bb1d
cmp dword [eax + 4], 0
je 0x6513bb1d
cmp dword [ebx + 0x150], 0
jne 0x6513bb42
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x6513bde9
cmp dword [eax + 4], 0
je 0x6513bde9
cmp dword [ebx + 0x158], 0
je 0x6513bde9
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov ecx, ebp
mov esi, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push ebp
push 0
push 0x21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
mov edx, dword [esi]
mov ecx, esi
push ebp
push 0
push 0x23
mov edi, eax
call dword [edx + 0x6c]
add edi, eax
mov ecx, ebp
mov dword [esp + 0x24], edi
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov ecx, ebp
mov esi, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov edx, dword [esi]
mov ecx, esi
push ebp
push 0
push 0x24
mov edi, eax
call dword [edx + 0x6c]
mov edx, dword [edi]
mov ecx, edi
push ebp
push 0
push 0x21
mov esi, eax
call dword [edx + 0x6c]
add esi, eax
mov eax, dword [ebx + 0x14c]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x6513bce3
cmp dword [eax + 4], 0
je 0x6513bce3
cmp dword [ebx + 0x150], 0
je 0x6513bce3
test eax, eax
je 0x6513bbdb
cmp dword [eax + 4], 0
je 0x6513bbdb
mov eax, dword [ebx + 0x150]
jmp 0x6513bbdd
xor eax, eax
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x6513bce3
mov eax, dword [ebx + 0x14c]
test eax, eax
je 0x6513bc06
cmp dword [eax + 4], 0
je 0x6513bc06
mov ecx, dword [ebx + 0x150]
jmp 0x6513bc08
xor ecx, ecx
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x30]
lea ecx, [esp + 0x30]
call dword [0x652b852c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
sub edi, eax
call dword [0x652b852c]
mov ecx, dword [ebp + 0x14]
add ecx, 0x10
mov dword [esp + 0x20], eax
call dword [0x652b84e4]
mov ecx, dword [ebx + 0x14c]
mov esi, eax
test ecx, ecx
je 0x6513bc56
cmp dword [ecx + 4], 0
je 0x6513bc56
mov ecx, dword [ebx + 0x150]
jmp 0x6513bc58
xor ecx, ecx
mov ecx, dword [ecx + 0x14]
add ecx, 0x10
call dword [0x652b84e4]
sub esi, eax
lea ecx, [esp + 0x28]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x20]
call dword [0x652b854c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
call dword [0x652b82d4]
push eax
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
call sym.Qt5Widgets.dll_public:_class_QRect___thiscall_QWidget::rect_void_
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
push eax
lea eax, [esp + 0x5c]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov eax, dword [ebx + 0x14c]
add esp, 0x10
test eax, eax
je 0x6513bcd5
cmp dword [eax + 4], 0
je 0x6513bcd5
mov ecx, dword [ebx + 0x150]
lea eax, [esp + 0x50]
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
jmp 0x6513bce7
lea eax, [esp + 0x50]
xor ecx, ecx
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
jmp 0x6513bce7
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x6513bde9
cmp dword [eax + 4], 0
je 0x6513bde9
cmp dword [ebx + 0x158], 0
je 0x6513bde9
test eax, eax
je 0x6513bd1e
cmp dword [eax + 4], 0
je 0x6513bd1e
mov eax, dword [ebx + 0x158]
jmp 0x6513bd20
xor eax, eax
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x6513bde9
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x6513bd49
cmp dword [eax + 4], 0
je 0x6513bd49
mov ecx, dword [ebx + 0x158]
jmp 0x6513bd4b
xor ecx, ecx
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x30]
lea ecx, [esp + 0x30]
call dword [0x652b852c]
mov ecx, dword [ebp + 0x14]
sub edi, eax
add ecx, 0x10
call dword [0x652b84e8]
push dword [esp + 0x24]
lea ecx, [esp + 0x34]
mov esi, eax
call dword [0x652b852c]
sub esi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
sub esi, eax
push esi
call dword [0x652b854c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b82d4]
push eax
lea eax, [esp + 0x64]
mov ecx, ebp
push eax
call sym.Qt5Widgets.dll_public:_class_QRect___thiscall_QWidget::rect_void_
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
push eax
lea eax, [esp + 0x5c]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
mov eax, dword [ebx + 0x154]
add esp, 0x10
test eax, eax
je 0x6513bddd
cmp dword [eax + 4], 0
je 0x6513bddd
mov ecx, dword [ebx + 0x158]
jmp 0x6513bddf
xor ecx, ecx
lea eax, [esp + 0x50]
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
push dword [esp + 0x20]
mov ecx, ebx
push edi
call fcn.65138430
mov ecx, dword [ebx + 0x120]
test ecx, ecx
je 0x6513be2f
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x6513be1b
mov eax, dword [ebx + 0x120]
test eax, eax
je 0x6513be1b
push eax
call fcn.652b517e
add esp, 4
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 0
test byte [ebx + 0x114], 1
je 0x6513bfbf
mov eax, dword [ebx + 0x118]
lea edi, [ebx + 0x118]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x6513be74
nop
mov ecx, dword [edi]
cmp esi, dword [ecx + 4]
jb 0x6513be5b
xor eax, eax
jmp 0x6513be64
call dword [0x652b865c]
mov eax, dword [eax + esi*4]
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsWidget::releaseShortcut_int_
mov eax, dword [edi]
inc esi
cmp esi, dword [eax + 4]
jl 0x6513be50
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, 0
and ecx, 0x7fffffff
jge 0x6513be8d
xor ecx, ecx
mov eax, 8
push eax
push ecx
push 0
mov ecx, edi
call fcn.650edd50
lea esi, [ebx + 0xf8]
mov ecx, esi
mov dword [esp + 0x30], esi
call dword [0x652b85d8]
mov ecx, dword [edi]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
and ecx, 0x7fffffff
cmp eax, ecx
jle 0x6513bed7
push ecx
mov ecx, esp
push eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi]
push dword [eax + 4]
call fcn.650edd50
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
mov edx, dword [ecx]
cmp edx, 1
je 0x6513bee4
test edx, edx
jne 0x6513beeb
or dword [ecx + 8], 0x80000000
xor ebp, ebp
test eax, eax
jle 0x6513bfbf
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], 8
push 1
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push ebp
call dword [0x652b85d0]
mov ecx, dword [eax]
call sym.Qt5Widgets.dll_public:_class_QString___thiscall_QAction::text_void_
push eax
lea eax, [esp + 0x1c]
push eax
call dword [0x652b931c]
add esp, 8
mov ecx, ebx
push eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QWidget::grabShortcut_class_QKeySequence_const___enum_Qt::ShortcutContext_
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
and edx, 0x7fffffff
lea eax, [esi + 1]
cmp eax, edx
seta al
mov byte [esp + 0x13], al
cmp ecx, 1
je 0x6513bf58
test ecx, ecx
jne 0x6513bf5c
test al, al
je 0x6513bf79
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, cl
lea ecx, [esi + 1]
cmovne eax, dword [esp + 0x24]
cmovne edx, ecx
push eax
push edx
push esi
mov ecx, edi
call fcn.650edd50
mov esi, dword [edi]
mov ecx, esi
call dword [0x652b865c]
mov ecx, dword [esi + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x6513bf93
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi]
lea ecx, [esp + 0x14]
inc dword [eax + 4]
call dword [0x652ba1e0]
lea ecx, [esp + 0x28]
call dword [0x652b8638]
mov esi, dword [esp + 0x30]
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x6513bf01
mov ebx, dword [esp + 0x38]
and dword [ebx + 0x114], 0xfffffffe
lea ebp, [ebx + 0x16c]
mov ecx, dword [ebp]
mov esi, dword [0x652b845c]
mov edi, dword [0x652b85e8]
mov dword [ebp], esi
mov eax, dword [ecx]
test eax, eax
je 0x6513bff8
or edx, 0xffffffff
cmp eax, edx
je 0x6513c001
mov eax, edx
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6513c001
push ecx
call edi
add esp, 4
or edx, 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x6513c018
cmp eax, 0xffffffff
je 0x6513c01e
lock xadd dword [esi], edx
dec edx
setne al
test al, al
jne 0x6513c01e
push esi
call edi
add esp, 4
push 0
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.65139de0
lea ecx, [ebx + 0xf8]
mov dword [esp + 0x20], 0
call dword [0x652b85d8]
test eax, eax
jle 0x6513c15a
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 0x11c]
call dword [0x652b865c]
mov esi, eax
add esi, dword [esp + 0x14]
mov ecx, esi
call dword [0x652b82cc]
test al, al
je 0x6513c07f
push 0
push esi
lea ecx, [esp + 0x48]
call dword [0x652b82b4]
test al, al
je 0x6513c0a2
mov esi, dword [esp + 0x20]
lea ecx, [ebx + 0xf8]
add dword [esp + 0x14], 0x10
inc esi
mov dword [esp + 0x20], esi
call dword [0x652b85d8]
cmp esi, eax
jl 0x6513c050
jmp 0x6513c15a
push 1
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
call fcn.65139de0
lea ecx, [ebx + 0xf8]
xor edi, edi
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x40], xmm0
call dword [0x652b85d8]
test eax, eax
jle 0x6513c15a
mov dword [esp + 0x14], edi
mov ecx, dword [ebx + 0x11c]
call dword [0x652b865c]
mov esi, eax
add esi, dword [esp + 0x14]
mov ecx, esi
call dword [0x652b82cc]
test al, al
je 0x6513c140
push 0
push esi
lea ecx, [esp + 0x48]
call dword [0x652b82b4]
test al, al
jne 0x6513c140
push edi
lea ecx, [ebx + 0xf8]
call dword [0x652b85d0]
mov ecx, dword [ebp]
mov esi, eax
mov ecx, dword [ecx]
cmp ecx, 1
je 0x6513c134
test ecx, ecx
je 0x6513c134
push 1
push 0x7fffffff
mov ecx, ebp
call fcn.6511c530
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x6513c140
mov esi, dword [esi]
mov ecx, ebp
call dword [0x652b85e0]
mov dword [eax], esi
add dword [esp + 0x14], 0x10
lea ecx, [ebx + 0xf8]
inc edi
call dword [0x652b85d8]
cmp edi, eax
jl 0x6513c0d4
mov ecx, ebp
call dword [0x652b85d8]
mov ecx, dword [ebx + 0x15c]
test eax, eax
jle 0x6513c2ea
call sym.Qt5Widgets.dll_public:_class_QMenu____thiscall_QToolButton::menu_void_const
mov esi, eax
test esi, esi
jne 0x6513c1a6
push 0x18
call fcn.652b5178
add esp, 4
test eax, eax
je 0x6513c198
push dword [esp + 0x18]
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QMenu::constructor_class_QWidget__
mov esi, eax
jmp 0x6513c19a
xor esi, esi
mov ecx, dword [ebx + 0x15c]
push esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QToolButton::setMenu_class_QMenu__
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QMenu::clear_void_
push ecx
mov ecx, dword [ebp]
mov edi, esp
mov dword [esp + 0x3c], edi
mov dword [edi], ecx
mov eax, dword [ecx]
test eax, eax
je 0x6513c1cf
cmp eax, 0xffffffff
je 0x6513c219
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x6513c219
push dword [ecx + 4]
mov ecx, edi
call dword [0x652b85f0]
mov ecx, ebp
call dword [0x652b85cc]
mov ecx, edi
mov ebp, eax
call dword [0x652b85c8]
mov ecx, dword [esp + 0x3c]
mov edi, eax
call dword [0x652b85cc]
mov ecx, eax
cmp ebp, ecx
je 0x6513c219
sub edi, ecx
sar edi, 2
test edi, edi
jle 0x6513c219
lea eax, [edi*4]
push eax
push ebp
push ecx
call fcn.652b518a
add esp, 0xc
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::addActions_class_QList_class_QAction___
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push ebp
push 0
push 0x23
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
mov ecx, ebp
mov dword [esp + 0x20], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
cmp eax, 1
jne 0x6513c274
mov ecx, dword [ebx + 0x15c]
lea eax, [esp + 0x38]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, eax
call dword [0x652b852c]
mov esi, 1
lea ecx, [esp + 0x40]
sub esi, eax
call dword [0x652b8284]
add eax, esi
jmp 0x6513c27e
lea ecx, [esp + 0x40]
call dword [0x652b827c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
call dword [0x652b84e4]
mov ecx, dword [esp + 0x20]
mov edi, eax
add ecx, ecx
lea eax, [esp + 0x38]
sub edi, ecx
mov ecx, dword [ebx + 0x15c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, eax
call dword [0x652b852c]
mov esi, dword [ebx + 0x15c]
lea ecx, [esp + 0x70]
push edi
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [0x652b8500]
push eax
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
mov ecx, dword [ebx + 0x15c]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::show_void_
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::updateGeometry_void_
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::hide_void_
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::updateGeometry_void_
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret