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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
movzx eax, byte [ecx + 0x28]
mov byte [esp + 0x37], al
test al, al
jne 0x665df328
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, ecx
call method.QLayout.parentWidget___const
mov ecx, sym.Qt5Widgets.dll_QToolBar::staticMetaObject
mov dword [esp], eax
call dword [0x66a20320]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x665df316
mov ecx, eax
call method.QWidget.style___const
lea ecx, [esp + 0x78]
mov esi, eax
call method.QStyleOptionToolBar.QStyleOptionToolBar__
lea eax, [esp + 0x78]
mov ecx, ebx
mov dword [esp], eax
call method.QToolBar.initStyleOption_QStyleOptionToolBar__const
mov ecx, ebp
sub esp, 4
call fcn.665df010
mov dword [esp + 0x48], 0
test al, al
jne 0x665dfb80
mov dword [esp], ebp
lea ecx, [esp + 0x68]
call method.QLayout.contentsMargins___const
mov ecx, ebp
sub esp, 4
mov eax, dword [esp + 0x68]
lea edi, [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
call method.QLayout.spacing___const
mov ecx, esi
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp], 0x39
call dword [eax + 0x70]
mov ecx, ebx
sub esp, 0xc
mov dword [esp + 0x5c], eax
call method.QToolBar.orientation___const
lea ecx, [esp + 0x78]
mov dword [ebp + 0x20], 0
mov edi, eax
mov eax, dword [esi]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp + 8], ebx
mov dword [esp], 0x35
call dword [eax + 0x70]
sub esp, 0xc
cmp edi, 2
je 0x665dfc00
mov dword [ebp + 0x24], eax
mov eax, dword [esi]
lea ecx, [ebp + 0x24]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x78]
mov dword [esp + 0x40], ecx
mov ecx, esi
lea esi, [ebp + 0x1c]
mov dword [esp + 4], ebx
mov dword [esp], 0x35
call dword [eax + 0x70]
sub esp, 0xc
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esi], eax
mov word [ebp + 0x29], bx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
sub eax, edx
lea esi, [eax + 1]
test esi, esi
jle 0x665dfd18
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [eax + 4], esi
shl esi, 5
mov dword [esp + 0x64], eax
add eax, dword [eax + 0xc]
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
call fcn.6678ef30
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
sub eax, edx
test eax, eax
jle 0x665dfd08
mov dword [esp + 0x14], edi
mov edi, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 0
jmp 0x665df71b
test dword [eax + 8], 0x7fffffff
jne 0x665df970
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [esp + 0x64], eax
mov edx, eax
mov ebp, dword [esp + 0x18]
shl ebp, 5
lea ecx, [edx + ebp]
add ecx, dword [edx + 0xc]
cmp dword [esp + 0x14], 1
mov dword [ecx + 4], esi
je 0x665df8e8
mov esi, dword [esp + 0x2c]
mov edx, dword [edx]
cmp edx, 1
jbe 0x665df9d0
test dword [eax + 8], 0x7fffffff
jne 0x665df918
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [esp + 0x64], eax
mov edx, eax
lea ecx, [edx + ebp]
add ecx, dword [edx + 0xc]
cmp dword [esp + 0x14], 1
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x28]
cmovne esi, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
mov edx, dword [edx]
cmp edx, 1
jbe 0x665df8a3
test dword [eax + 8], 0x7fffffff
jne 0x665df880
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [esp + 0x64], eax
mov edx, eax
mov esi, dword [esp + 0x1c]
lea ecx, [edx + ebp]
add ecx, dword [edx + 0xc]
mov dword [ecx + 0xc], esi
mov edx, dword [edx]
cmp edx, 1
jbe 0x665df8b0
test dword [eax + 8], 0x7fffffff
jne 0x665df948
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [esp + 0x64], eax
mov edx, eax
movzx ecx, byte [esp + 0x35]
lea eax, [edx + ebp]
add eax, dword [edx + 0xc]
cmp dword [esp + 0x14], 1
mov byte [eax + 0x14], cl
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x34]
je 0x665df8c0
call eax
mov ecx, eax
call method.QWidget.sizePolicy___const
movzx ebx, ah
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
cmp edx, 1
jbe 0x665df873
test dword [eax + 8], 0x7fffffff
jne 0x665df850
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [esp + 0x64], eax
mov edx, eax
lea ecx, [edx + ebp]
add ecx, dword [edx + 0xc]
mov dword [ecx], ebx
mov edx, dword [edx]
cmp edx, 1
jbe 0x665df6f0
test dword [eax + 8], 0x7fffffff
jne 0x665df9a0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov dword [esp + 0x64], eax
movzx ebx, byte [esp + 0x36]
add ebp, eax
add ebp, dword [eax + 0xc]
mov ecx, eax
add dword [esp + 0x18], 1
mov byte [ebp + 0x15], bl
mov ebx, dword [edi + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
sub esi, edx
cmp esi, ebp
jle 0x665dfa68
add edx, dword [esp + 0x18]
mov ebx, dword [ebx + edx*4 + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov ecx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov dword [esp + 0x2c], edx
call dword [eax + 0xc]
mov ecx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edx
call dword [eax + 8]
mov ecx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov ebp, edx
call dword [eax + 0x14]
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
cmp edx, 0x665deaf0
jne 0x665dfa20
movzx edx, byte [esp + 0x37]
mov ecx, dword [ebx + 0xc]
mov byte [esp + 0x36], dl
test ecx, ecx
je 0x665df78a
call method.QAction.isVisible___const
xor eax, 1
mov byte [esp + 0x36], al
mov eax, dword [ebx]
mov ecx, esi
mov esi, dword [esp + 0x14]
movzx edx, byte [edi + 0x29]
test ecx, esi
setne byte [esp + 0x35]
movzx ecx, byte [esp + 0x35]
test dl, dl
cmove edx, ecx
mov ecx, ebx
mov byte [edi + 0x29], dl
call dword [eax + 0x34]
test eax, eax
je 0x665df7ca
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov ecx, eax
call method.QWidget.sizePolicy___const
test eax, 0x20000
je 0x665df7ca
mov byte [edi + 0x2b], 1
cmp byte [esp + 0x36], 0
jne 0x665df825
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x665df9e8
cmp dword [esp + 0x14], 1
je 0x665dfa30
mov eax, dword [esp + 0x24]
add dword [edi + 0x24], eax
cmp dword [esp + 0x14], 2
jne 0x665dfa37
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
cmp dword [edi + 0x20], eax
cmovge eax, dword [edi + 0x20]
mov dword [esi], eax
add dword [edi + 0x1c], ebp
mov edx, dword [edi + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, edx
mov esi, dword [esp + 0x3c]
cmovl eax, edx
add dword [esp + 0x38], 1
mov dword [esi], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x14], 1
mov edx, dword [eax]
cmovne esi, ebp
cmp edx, 1
ja 0x665df4f0
mov edx, eax
jmp 0x665df528
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667cad20
sub esp, 8
mov eax, dword [esp + 0x64]
mov edx, eax
jmp 0x665df6ab
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667cad20
sub esp, 8
mov eax, dword [esp + 0x64]
mov edx, eax
jmp 0x665df5e8
mov edx, eax
jmp 0x665df638
call eax
mov ecx, eax
call method.QWidget.sizePolicy___const
movzx ebx, al
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
cmp edx, 1
ja 0x665df673
mov edx, eax
jmp 0x665df6ab
mov esi, dword [esp + 0x30]
mov edx, dword [edx]
cmp edx, 1
ja 0x665df552
mov esi, dword [esp + 0x30]
lea ecx, [eax + ebp]
add ecx, dword [eax + 0xc]
mov edx, eax
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
jmp 0x665df5a5
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667cad20
sub esp, 8
mov eax, dword [esp + 0x64]
mov edx, eax
jmp 0x665df58a
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667cad20
sub esp, 8
mov edx, dword [esp + 0x64]
jmp 0x665df638
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667cad20
sub esp, 8
mov eax, dword [esp + 0x64]
mov edx, eax
jmp 0x665df528
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
and eax, 0x7fffffff
mov dword [esp], eax
call fcn.667cad20
sub esp, 8
mov eax, dword [esp + 0x64]
jmp 0x665df6f0
mov esi, dword [esp + 0x2c]
lea ecx, [eax + ebp]
add ecx, dword [eax + 0xc]
mov edx, eax
mov dword [ecx + 8], esi
jmp 0x665df5a5
cmp dword [esp + 0x14], 2
je 0x665dfb58
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
cmp dword [edi + 0x24], eax
cmovge eax, dword [edi + 0x24]
cmp dword [esp + 0x14], 1
mov dword [esi], eax
mov eax, dword [esp + 0x44]
mov edx, dword [edi + 0x1c]
jne 0x665dfa54
add eax, dword [esp + 0x20]
add dword [edi + 0x18], eax
mov eax, ebp
jmp 0x665df815
mov ecx, ebx
call edx
mov byte [esp + 0x36], al
mov eax, dword [ebx]
jmp 0x665df78a
mov eax, dword [esp + 0x28]
add dword [edi + 0x20], eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
cmp dword [edi + 0x24], eax
cmovge eax, dword [edi + 0x24]
mov dword [esi], eax
xor eax, eax
cmp dword [esp + 0x14], 1
mov edx, dword [edi + 0x1c]
je 0x665dfa12
add eax, ebp
add edx, eax
mov eax, ebp
mov dword [edi + 0x1c], edx
jmp 0x665df815
mov edx, dword [esp + 0x38]
mov ebp, edi
mov edi, dword [esp + 0x14]
test edx, edx
sete byte [esp + 0x37]
cmp dword [ebp + 0x2c], eax
je 0x665dfabb
mov edx, dword [eax]
test edx, edx
je 0x665dfc38
cmp edx, 0xffffffff
je 0x665dfa91
lock add dword [eax], 1
mov ebx, dword [esp + 0x64]
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x2c], ebx
mov edx, dword [eax]
test edx, edx
je 0x665dfcb0
cmp edx, 0xffffffff
je 0x665dfab4
lock sub dword [eax], 1
je 0x665dfcb0
mov ecx, dword [esp + 0x64]
mov ebx, dword [ebp + 0x14]
movzx eax, byte [esp + 0x37]
mov byte [ebp + 0x2a], al
cmp edi, 1
je 0x665dfbf0
lea eax, [ebp + 0x24]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add edx, dword [esp + 0x48]
mov esi, dword [esp + 0x54]
add esi, dword [esp + 0x58]
mov dword [eax], edx
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
mov edx, dword [esp + 0x4c]
add dword [ebp + 0x20], esi
add edx, dword [esp + 0x50]
add dword [ebp + 0x24], edx
cmp eax, 1
jle 0x665dfb0f
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
add ebx, dword [esp + 0x5c]
add dword [eax], ebx
cmp edi, 1
je 0x665dfbe0
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 0x1c]
add eax, dword [esp + 0x48]
mov dword [ebx], eax
mov byte [ebp + 0x28], 0
add dword [ebp + 0x18], esi
add dword [ebp + 0x1c], edx
mov eax, dword [ecx]
test eax, eax
je 0x665dfbb0
cmp eax, 0xffffffff
je 0x665dfb3f
lock sub dword [ecx], 1
je 0x665dfbb0
lea ecx, [esp + 0x78]
call method.QStyleOption.QStyleOption__
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
cmp dword [edi + 0x20], eax
cmovge eax, dword [edi + 0x20]
mov dword [esi], eax
mov eax, dword [esp + 0x44]
add eax, ebp
add dword [edi + 0x1c], eax
jmp 0x665df80e
mov eax, dword [esi]
lea edi, [esp + 0x78]
mov dword [esp + 8], ebx
mov ecx, esi
mov dword [esp + 4], edi
mov dword [esp], 0x35
call dword [eax + 0x70]
sub esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x665df380
mov eax, dword [esp + 0x64]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x20
mov dword [esp], eax
call dword [0x66a1f9d8]
lea ecx, [esp + 0x78]
call method.QStyleOption.QStyleOption__
jmp 0x665dfb48
mov eax, dword [ebp + 0x18]
lea ebx, [ebp + 0x18]
jmp 0x665dfb1e
lea eax, [ebp + 0x20]
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x665dfad6
mov dword [ebp + 0x20], eax
mov eax, dword [esi]
lea ecx, [ebp + 0x20]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x78]
mov dword [esp + 0x40], ecx
mov ecx, esi
lea esi, [ebp + 0x18]
mov dword [esp + 4], ebx
mov dword [esp], 0x35
call dword [eax + 0x70]
sub esp, 0xc
mov dword [esp + 0x3c], esi
jmp 0x665df454
mov eax, dword [esp + 0x64]
cmp byte [eax + 0xb], 0
js 0x665dfcd0
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp], 0x20
call dword [0x66a1f9e0]
mov ebx, eax
test dword [ebx + 8], 0x7fffffff
je 0x665dfa95
mov eax, dword [esp + 0x64]
mov ecx, dword [ebx + 0xc]
mov edx, dword [eax + 4]
add ecx, ebx
add eax, dword [eax + 0xc]
mov dword [esp + 4], eax
shl edx, 5
mov dword [esp], ecx
mov dword [esp + 8], edx
call fcn.6678ef40
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
jmp 0x665dfa95
mov dword [esp + 8], 4
mov dword [esp + 4], 0x20
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x665dfab4
mov eax, dword [eax + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
and eax, 0x7fffffff
mov dword [esp], 0x20
mov dword [esp + 8], eax
call dword [0x66a1f9e0]
or byte [eax + 0xb], 0x80
mov ebx, eax
jmp 0x665dfc6c
mov eax, dword [esp + 0x64]
mov ecx, eax
jmp 0x665dfa79
mov ecx, dword [0x66a1f9dc]
mov dword [esp + 0x64], ecx
jmp 0x665df4c3