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

Disassembly:
sub esp, 0xf4
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x2c], ebp
cmp byte [ebp + 0x28], 0
je 0x6515fd0b
call fcn.65161170
mov ecx, dword [esp + 0x108]
call dword [0x652b8528]
mov ecx, dword [esp + 0x108]
push eax
call dword [0x652b852c]
push eax
push 0
push 0
lea ecx, [esp + 0x8c]
call dword [0x652b8500]
mov eax, dword [0x652b845c]
mov ecx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
push eax
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QToolBar::staticMetaObject
call dword [0x652b8604]
mov esi, eax
or edi, 0xffffffff
test esi, esi
jne 0x6515fd68
xor bl, bl
jmp 0x65160967
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
lea ecx, [esp + 0xac]
mov edi, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOptionToolBar::constructor_void_
lea eax, [esp + 0xac]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_protected:_void___thiscall_QToolBar::initStyleOption_class_QStyleOptionToolBar__const
mov ecx, ebp
call fcn.65160a20
test al, al
je 0x6515fdaf
mov eax, dword [edi]
lea ecx, [esp + 0xac]
push esi
push ecx
push 0x35
mov ecx, edi
call dword [eax + 0x6c]
mov dword [esp + 0x4c], eax
jmp 0x6515fdb7
mov dword [esp + 0x4c], 0
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QLayout::margin_void_const
mov ecx, ebp
mov dword [esp + 0x6c], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QLayout::spacing_void_const
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x30], eax
lea eax, [esp + 0xac]
push esi
push eax
push 0x39
call dword [edx + 0x6c]
mov ecx, esi
mov dword [esp + 0x74], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::Orientation___thiscall_QDialog::orientation_void_
mov ebx, eax
mov byte [esp + 0x1f], 1
lea eax, [esp + 0x54]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x80]
call dword [0x652b82c0]
mov ecx, eax
cmp ebx, 1
jne 0x6515fe16
call dword [0x652b852c]
jmp 0x6515fe1c
call dword [0x652b8528]
mov esi, dword [esp + 0x6c]
lea ecx, [esi + esi]
sub eax, ecx
mov dword [esp + 0x78], ecx
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
test eax, eax
jg 0x6515fe3c
xor bl, bl
jmp 0x65160958
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x6515fe48
call sym.Qt5Widgets.dll_public:_void___thiscall_QMenu::clear_void_
lea eax, [esp + 0x54]
mov byte [esp + 0x3c], 0
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x4c], 0
call dword [0x652b84f4]
mov ecx, eax
cmp ebx, 2
jne 0x6515fe76
call dword [0x652b8548]
jmp 0x6515fe7c
call dword [0x652b8544]
mov ebx, dword [esp + 0x2c]
add eax, esi
xor ebp, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ebp
lea esi, [ebx + 0x14]
mov ecx, esi
mov dword [esp + 0x50], esi
call dword [0x652b85d8]
test eax, eax
jle 0x651608d3
lea ecx, [ebx + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.6501b7e0
mov dword [esp + 0x40], ebp
xor bl, bl
xor ebp, ebp
mov byte [esp + 0x17], bl
mov ecx, esi
mov dword [esp + 0x34], ebp
or edi, 0xffffffff
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
call dword [0x652b85d8]
mov esi, dword [esp + 0x20]
cmp esi, eax
jge 0x65160101
mov ebx, esi
shl ebx, 5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6515ff3a
test ecx, ecx
je 0x6515ff3a
test dword [eax + 8], 0x7fffffff
jne 0x6515ff13
push 2
push 0
push 4
push 0x20
call dword [0x652b8658]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x6515ff3a
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
cmp byte [eax + ebx + 0x15], 0
jne 0x651600e3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6515ffa3
test ecx, ecx
je 0x6515ffa3
test dword [eax + 8], 0x7fffffff
jne 0x6515ff7c
push 2
push 0
push 4
push 0x20
call dword [0x652b8658]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x6515ffa3
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
mov ecx, dword [esp + 0x60]
xor edx, edx
mov esi, dword [esp + 0x30]
test ecx, ecx
cmove esi, edx
add esi, dword [eax + ebx + 0xc]
add esi, ebp
cmp edi, 0xffffffff
je 0x6515ffd1
mov edx, dword [esp + 0x38]
cmp esi, edx
jg 0x6516013e
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
cmp byte [eax + 0x10], 0
je 0x6516002a
push edi
lea ecx, [eax + 0x14]
call dword [0x652b85d0]
lea edx, [esp + 0xa4]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x28], 2
mov ecx, eax
jne 0x65160009
call dword [0x652b852c]
jmp 0x6516000f
call dword [0x652b8528]
mov ecx, eax
lea edx, [esp + 0x34]
cmp dword [esp + 0x34], ecx
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
cmovge eax, edx
mov eax, dword [eax]
mov dword [esp + 0x34], eax
cmp byte [esp + 0x17], 0
jne 0x65160046
push edi
lea ecx, [esp + 0x14]
call fcn.6501bcd0
mov byte [esp + 0x17], 0
cmp byte [eax + 0x14], 0
je 0x6516004b
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x10]
mov ebp, esi
mov ecx, dword [eax]
cmp ecx, 1
je 0x651600a3
test ecx, ecx
je 0x651600a3
test dword [eax + 8], 0x7fffffff
jne 0x6516007c
push 2
push 0
push 4
push 0x20
call dword [0x652b8658]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x651600a3
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
push edi
lea ecx, [esp + 0x14]
cmp byte [eax + ebx + 0x14], 0
je 0x651600c1
call fcn.6501bcd0
mov eax, dword [eax + 8]
jmp 0x651600d3
call fcn.6501bcd0
cmp dword [eax], 0
jle 0x651600d0
mov eax, dword [eax + 0xc]
jmp 0x651600d3
mov eax, dword [eax + 4]
add eax, dword [esp + 0x30]
add dword [esp + 0x5c], eax
inc dword [esp + 0x60]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
inc esi
mov dword [esp + 0x20], esi
add ebx, 0x20
call dword [0x652b85d8]
cmp esi, eax
jl 0x6515fee4
mov bl, byte [esp + 0x17]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6516019f
test ecx, ecx
je 0x6516019f
test dword [eax + 8], 0x7fffffff
jne 0x65160178
mov edi, dword [0x652b8658]
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x651601a5
mov eax, dword [esp + 0x3c]
mov ebx, 1
cmp dword [esp + 0x48], 0
movzx eax, al
cmove eax, ebx
mov bl, byte [esp + 0x17]
mov dword [esp + 0x3c], eax
cmp ecx, 1
jle 0x65160101
mov eax, dword [esp + 0x74]
add eax, ebp
mov ebp, dword [esp + 0x20]
add eax, dword [esp + 0x30]
cmp eax, edx
cmovg ebp, edi
mov dword [esp + 0x20], ebp
jmp 0x65160105
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov edi, dword [0x652b8658]
mov esi, ebp
mov ecx, eax
shl esi, 5
call dword [0x652b865c]
mov dword [eax + esi + 4], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6516020c
test ecx, ecx
je 0x6516020c
test dword [eax + 8], 0x7fffffff
jne 0x651601e5
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x6516020c
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
mov dword [eax + esi + 8], 0xffffff
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6516026e
test ecx, ecx
je 0x6516026e
test dword [eax + 8], 0x7fffffff
jne 0x65160247
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x6516026e
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
mov dword [eax + esi + 0xc], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x651602d0
test ecx, ecx
je 0x651602d0
test dword [eax + 8], 0x7fffffff
jne 0x651602a9
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x651602d0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
mov byte [eax + esi + 0x14], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x6516032f
test ecx, ecx
je 0x6516032f
test dword [eax + 8], 0x7fffffff
jne 0x65160308
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x6516032f
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
mov dword [eax + esi], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x65160390
test ecx, ecx
je 0x65160390
test dword [eax + 8], 0x7fffffff
jne 0x65160369
push 2
push 0
push 4
push 0x20
call edi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x65160390
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
mov edx, dword [esp + 0x38]
mov byte [eax + esi + 0x15], 1
test bl, bl
je 0x651603c4
mov eax, dword [esp + 0x5c]
cmp eax, edx
jge 0x651603c4
mov esi, edx
lea ecx, [esp + 0x10]
push ebp
xor bl, bl
sub esi, eax
call fcn.6501bcd0
mov edx, dword [esp + 0x38]
mov dword [eax + 8], esi
cmp byte [esp + 0x3c], 0
mov edi, dword [esp + 0x30]
je 0x651603d7
mov ecx, dword [esp + 0x74]
add ecx, edi
jmp 0x651603d9
xor ecx, ecx
mov esi, dword [esp + 0x40]
mov eax, edx
sub eax, ecx
push edi
push eax
xor eax, eax
test bl, bl
push 0
sete al
sub eax, esi
add eax, ebp
push eax
lea eax, [esp + 0x20]
push esi
push eax
call sym.Qt5Widgets.dll_void___cdecl_qGeomCalc_class_QVector_struct_QLayoutStruct____int__int__int__int__int_
add esp, 0x18
cmp esi, ebp
jge 0x65160753
mov ebx, esi
shl ebx, 5
lea esp, [esp]
mov ecx, dword [esp + 0x50]
push esi
call dword [0x652b85d0]
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x65160475
test ecx, ecx
je 0x65160475
test dword [eax + 8], 0x7fffffff
jne 0x6516044e
mov esi, dword [0x652b8658]
push 2
push 0
push 4
push 0x20
call esi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x6516047b
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov esi, dword [0x652b8658]
mov ecx, eax
call dword [0x652b865c]
cmp byte [eax + ebx + 0x15], 0
je 0x651604d4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [eax + 0x14]
test byte [eax + 6], 1
jne 0x6516073b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [ecx]
cmp ecx, 1
je 0x651604cb
test ecx, ecx
je 0x651604cb
push 1
push 0x7fffffff
lea ecx, [esp + 0x20]
call fcn.6511c530
jmp 0x65160739
lea ecx, [esp + 0x18]
jmp 0x65160733
lea ecx, [esp + 0x54]
call dword [0x652b8550]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x65160530
test ecx, ecx
je 0x65160530
test dword [eax + 8], 0x7fffffff
jne 0x65160509
push 2
push 0
push 4
push 0x20
call esi
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x65160530
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
cmp dword [esp + 0x28], 1
lea ecx, [esp + 0x54]
lea esi, [eax + ebx]
jne 0x6516054e
call dword [0x652b8218]
jmp 0x65160554
call dword [0x652b8214]
mov ecx, eax
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x6c]
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x28], 2
mov dword [ecx], eax
lea ecx, [esp + 0x54]
jne 0x65160576
call dword [0x652b8218]
jmp 0x6516057c
call dword [0x652b8214]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
lea ecx, [esp + 0x64]
call dword [0x652b8530]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x651605e2
test ecx, ecx
je 0x651605e2
test dword [eax + 8], 0x7fffffff
jne 0x651605bb
push 2
push 0
push 4
push 0x20
call dword [0x652b8658]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x651605e2
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
push ecx
push dword [eax + 4]
lea ecx, [esp + 0x1c]
call fcn.6501cd80
mov eax, dword [esp + 0x10]
mov ecx, eax
call dword [0x652b865c]
cmp dword [esp + 0x28], 1
lea ecx, [esp + 0x64]
lea esi, [eax + ebx]
jne 0x65160600
call dword [0x652b8274]
jmp 0x65160606
call dword [0x652b8270]
mov ecx, eax
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x2c]
mov dword [ecx], eax
cmp byte [esi + 0x10], 0
je 0x6516063e
cmp dword [esp + 0x28], 2
lea ecx, [esp + 0x64]
jne 0x65160630
call dword [0x652b8274]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x6516068c
call dword [0x652b8270]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x6516068c
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x80]
call dword [0x652b82c0]
cmp dword [esp + 0x28], 2
mov ecx, eax
jne 0x65160670
call dword [0x652b852c]
lea ecx, [esp + 0x64]
mov esi, eax
call dword [0x652b8274]
jmp 0x65160682
call dword [0x652b8528]
lea ecx, [esp + 0x64]
mov esi, eax
call dword [0x652b8270]
sub esi, dword [esp + 0x78]
mov dword [eax], esi
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x94]
call dword [0x652b82d4]
cmp dword [esp + 0x28], 1
jne 0x651606e6
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
lea eax, [esp + 0x80]
push eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
mov ecx, eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
push eax
lea eax, [esp + 0x100]
push eax
call sym.Qt5Widgets.dll_public:_static_class_QRect___cdecl_QStyle::visualRect_enum_Qt::LayoutDirection__class_QRect_const___class_QRect_const__
add esp, 0x10
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x8c], xmm0
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [eax + 0x14]
test byte [eax + 6], 1
je 0x6516073b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x24]
mov esi, eax
mov ecx, dword [ecx]
cmp ecx, 1
je 0x6516072f
test ecx, ecx
je 0x6516072f
push 1
push 0x7fffffff
lea ecx, [esp + 0x2c]
call fcn.6511c530
jmp 0x65160739
lea ecx, [esp + 0x24]
call dword [0x652b85e0]
mov dword [eax], esi
mov esi, dword [esp + 0x40]
add ebx, 0x20
inc esi
mov dword [esp + 0x40], esi
cmp esi, ebp
jl 0x65160410
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + 0x10], 0
je 0x651607c5
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
add eax, edi
add dword [esp + 0x44], eax
inc dword [esp + 0x48]
mov eax, dword [esi]
test eax, eax
je 0x6516078c
cmp eax, 0xffffffff
je 0x651607aa
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x651607aa
mov esi, dword [esp + 0x10]
mov ecx, esi
call dword [0x652b865c]
mov ecx, esi
call dword [0x652b865c]
push 4
push 0x20
push esi
call dword [0x652b8654]
add esp, 0xc
lea esi, [ebx + 0x14]
mov ecx, esi
call dword [0x652b85d8]
lea ecx, [ebx + 0x2c]
cmp ebp, eax
jl 0x6515fea6
jmp 0x651608d3
lea esi, [ebx + 0x14]
mov ecx, esi
call dword [0x652b85d8]
cmp ebp, eax
jge 0x65160894
jmp 0x651607e0
push ebp
mov ecx, esi
call dword [0x652b85d0]
mov edi, dword [eax]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x30]
mov eax, dword [eax + 0x14]
test byte [eax + 6], 1
jne 0x65160834
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [ecx]
cmp ecx, 1
je 0x65160825
test ecx, ecx
je 0x65160825
push 1
push 0x7fffffff
lea ecx, [esp + 0x20]
call fcn.6511c530
jmp 0x6516082f
lea ecx, [esp + 0x18]
call dword [0x652b85e0]
mov dword [eax], esi
lea esi, [ebx + 0x14]
cmp dword [ebx + 0x44], 0
je 0x65160883
push dword [edi + 0xc]
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QWidgetAction::staticMetaObject
call dword [0x652b8604]
mov ebx, eax
test ebx, ebx
je 0x65160862
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
mov ecx, ebx
mov esi, eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QWidgetAction::defaultWidget_void_const
cmp eax, esi
je 0x6516087b
mov ebx, dword [esp + 0x2c]
push dword [edi + 0xc]
mov ecx, dword [ebx + 0x44]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::addAction_class_QAction__
mov byte [esp + 0x1f], 0
lea esi, [ebx + 0x14]
jmp 0x65160883
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x50]
mov ecx, esi
inc ebp
call dword [0x652b85d8]
cmp ebp, eax
jl 0x651607e0
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x651608b5
cmp eax, 0xffffffff
je 0x651608d3
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x651608d3
mov esi, dword [esp + 0x10]
mov ecx, esi
call dword [0x652b865c]
mov ecx, esi
call dword [0x652b865c]
push 4
push 0x20
push esi
call dword [0x652b8654]
add esp, 0xc
cmp dword [ebx + 0x44], 0
je 0x651608e4
cmp byte [esp + 0x1f], 0
je 0x651608e4
xor al, al
jmp 0x651608e9
mov eax, 1
mov ecx, dword [ebx + 0x40]
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setEnabled_bool_
lea ecx, [esp + 0x24]
xor esi, esi
call dword [0x652b85d8]
test eax, eax
jle 0x65160923
push esi
lea ecx, [esp + 0x28]
call dword [0x652b85d0]
mov ecx, dword [eax]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::show_void_
lea ecx, [esp + 0x24]
inc esi
call dword [0x652b85d8]
cmp esi, eax
jl 0x65160902
lea ecx, [esp + 0x18]
xor esi, esi
call dword [0x652b85d8]
test eax, eax
jle 0x65160954
push esi
lea ecx, [esp + 0x1c]
call dword [0x652b85d0]
mov ecx, dword [eax]
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::hide_void_
lea ecx, [esp + 0x18]
inc esi
call dword [0x652b85d8]
cmp esi, eax
jl 0x65160933
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0xac]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
or edi, 0xffffffff
mov eax, dword [esp + 0x18]
mov esi, dword [0x652b85e8]
mov ecx, dword [eax]
test ecx, ecx
je 0x6516098d
cmp ecx, 0xffffffff
je 0x65160993
mov ecx, edi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x65160993
mov eax, dword [esp + 0x18]
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x651609b2
cmp ecx, 0xffffffff
je 0x651609b8
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x651609b8
mov eax, dword [esp + 0x24]
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xf4
ret 4