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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov ecx, dword [ebx + 0xb0]
mov dword [esp + 0x2c], ebx
test cl, 2
je 0x6501e098
mov eax, dword [ebx + 0xb4]
mov esi, dword [ebx + 4]
mov dword [esp + 0x64], esi
cmp eax, 1
je 0x6501d80f
test eax, eax
je 0x6501d80f
xor edx, edx
jmp 0x6501d814
mov edx, 1
xor edi, edi
mov ebp, 0x7ffff
test dl, dl
cmovne ebp, edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
cmp eax, 1
je 0x6501d835
test eax, eax
je 0x6501d835
xor eax, eax
jmp 0x6501d83a
mov eax, 1
xor edx, edx
mov dword [esp + 0x28], edi
test al, al
mov dword [esp + 0x34], edi
mov eax, 0x7ffff
mov dword [esp + 0x38], edi
cmovne edx, eax
mov dword [esp + 0x30], edi
and ecx, 0xfffffffe
mov dword [esp + 0x40], edx
lea eax, [ebx + 0x70]
mov dword [ebx + 0xb0], ecx
mov ecx, eax
mov dword [esp + 0x80], edx
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov dword [esp + 0x6c], eax
call dword [0x652b85d8]
mov ebp, eax
lea ecx, [ebx + 0x74]
mov dword [esp + 0x84], ebp
call fcn.6501c2c0
push ebp
lea ecx, [esp + 0x1c]
call fcn.6501b8a0
mov eax, dword [esi + 4]
xor edi, edi
mov ecx, dword [eax + 0xb8]
mov dword [esp + 0x88], ecx
test ecx, ecx
jns 0x6501d8de
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x6501d8c6
cmp eax, 1
lea eax, [edi + 0x53]
jne 0x6501d8cb
mov eax, 0x52
push eax
push esi
call sym.Qt5Widgets.dll_int___cdecl_qSmartSpacing_class_QLayout_const___enum_QStyle::PixelMetric_
add esp, 8
mov dword [esp + 0x88], eax
mov ecx, eax
or esi, 0xffffffff
mov dword [esp + 0x7c], edi
mov dword [esp + 0x3c], esi
test ecx, ecx
jns 0x6501d905
mov ecx, dword [esp + 0x64]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x6501d905
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov dword [esp + 0x7c], eax
xor ebp, ebp
mov dword [esp + 0x44], ebp
cmp dword [esp + 0x84], edi
jle 0x6501dec8
mov dword [esp + 0x48], edi
jmp 0x6501d924
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
push ebp
call dword [0x652b85d0]
lea edx, [esp + 0x5c]
push edx
mov ebx, dword [eax]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx]
lea edx, [esp + 0x4c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx]
lea edx, [esp + 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
xor ebp, ebp
mov byte [esp + 0x27], al
test al, al
jne 0x6501da47
mov eax, dword [esp + 0x88]
test eax, eax
js 0x6501d98d
test esi, esi
cmovns ebp, eax
jmp 0x6501da1e
mov ecx, dword [ebx]
lea edx, [esp + 0x94]
push edx
mov esi, edi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
test ecx, ecx
js 0x6501da39
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xb4]
cmp ecx, 1
je 0x6501d9c8
cmp ecx, 3
jne 0x6501d9cc
mov edi, eax
jmp 0x6501d9d0
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x7c], ebp
je 0x6501da16
cmp ecx, 1
je 0x6501d9e3
mov dword [esp + 0x20], ebp
test ecx, ecx
jne 0x6501d9eb
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x64]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
mov ecx, dword [esp + 0x7c]
push eax
xor eax, eax
cmp byte [esp + 0x24], al
push 0
sete al
inc eax
push eax
push esi
push edi
call sym.Qt5Widgets.dll_public:_int___thiscall_QStyle::combinedLayoutSpacing_class_QFlags_enum_QSizePolicy::ControlType___class_QFlags_enum_QSizePolicy::ControlType___enum_Qt::Orientation__class_QStyleOption___class_QWidget__const
mov ebp, eax
xor eax, eax
test ebp, ebp
cmovs ebp, eax
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
test esi, esi
js 0x6501da3d
push esi
lea ecx, [esp + 0x1c]
call fcn.6501bcd0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [eax + 0x10], ebp
jmp 0x6501da57
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
jmp 0x6501da57
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov byte [esp + 0x1f], 1
test eax, eax
jne 0x6501da5c
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x26], 1
mov eax, dword [eax + 0xb4]
cmp eax, 1
je 0x6501dc13
test eax, eax
je 0x6501dc13
test byte [esp + 0x54], 2
jne 0x6501da8d
cmp dword [ebx + 4], 0
jg 0x6501da8d
xor al, al
jmp 0x6501da8f
mov al, 1
cmp byte [esp + 0x16], 0
mov byte [esp + 0x17], al
jne 0x6501daa3
mov byte [esp + 0x16], 0
test al, al
je 0x6501daa8
mov byte [esp + 0x16], 1
lea ecx, [esp + 0x5c]
call dword [0x652b8528]
mov ecx, dword [esp + 0x40]
add eax, ebp
add ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x4c]
call dword [0x652b8528]
add eax, ebp
lea ecx, [esp + 0x74]
add dword [esp + 0x34], eax
call dword [0x652b8528]
add eax, ebp
add dword [esp + 0x30], eax
cmp byte [esp + 0x1f], 0
jne 0x6501db34
mov ecx, dword [ebx]
mov esi, dword [esp + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, al
lea ecx, [esp + 0x5c]
push eax
and esi, 1
setne al
movzx eax, al
push eax
call dword [0x652b852c]
push eax
lea eax, [esp + 0x32]
push eax
lea eax, [esp + 0x25]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.65024390
mov eax, dword [esp + 0x80]
add esp, 0x18
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x4c]
call dword [0x652b852c]
cmp dword [esp + 0x28], eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
cmovge ecx, edx
mov eax, dword [ecx]
lea ecx, [esp + 0x74]
mov dword [esp + 0x28], eax
call dword [0x652b852c]
cmp dword [esp + 0x38], eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
cmovge ecx, edx
mov eax, dword [ecx]
lea ecx, [esp + 0x74]
mov dword [esp + 0x38], eax
call dword [0x652b8528]
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push ebp
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x5c]
mov dword [eax + 4], esi
call dword [0x652b8528]
push ebp
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x4c]
mov dword [eax + 8], esi
call dword [0x652b8528]
push ebp
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6501bcd0
push ebp
lea ecx, [esp + 0x1c]
mov dword [eax + 0xc], esi
call fcn.6501bcd0
mov cl, byte [esp + 0x17]
mov byte [eax + 0x14], cl
mov esi, dword [ebx + 4]
test esi, esi
jne 0x6501dda1
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
je 0x6501dd9e
mov ecx, dword [ebx]
lea eax, [esp + 0x98]
push eax
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QSizePolicy___thiscall_QWidget::sizePolicy_void_
movzx esi, byte [eax + 1]
jmp 0x6501dda1
test byte [esp + 0x54], 1
jne 0x6501dc24
cmp dword [ebx + 4], 0
jg 0x6501dc24
xor al, al
jmp 0x6501dc26
mov al, 1
cmp byte [esp + 0x15], 0
mov byte [esp + 0x17], al
jne 0x6501dc3a
mov byte [esp + 0x15], 0
test al, al
je 0x6501dc3f
mov byte [esp + 0x15], 1
lea ecx, [esp + 0x5c]
call dword [0x652b852c]
mov ecx, dword [esp + 0x58]
add eax, ebp
add ecx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x4c]
call dword [0x652b852c]
add eax, ebp
lea ecx, [esp + 0x74]
add dword [esp + 0x28], eax
call dword [0x652b852c]
add eax, ebp
add dword [esp + 0x38], eax
cmp byte [esp + 0x1f], 0
jne 0x6501dccb
mov ecx, dword [ebx]
mov esi, dword [esp + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movzx eax, al
lea ecx, [esp + 0x5c]
push eax
and esi, 2
setne al
movzx eax, al
push eax
call dword [0x652b8528]
push eax
lea eax, [esp + 0x32]
push eax
lea eax, [esp + 0x26]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.65024390
mov eax, dword [esp + 0x98]
add esp, 0x18
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x4c]
call dword [0x652b8528]
cmp dword [esp + 0x34], eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
cmovge ecx, edx
mov eax, dword [ecx]
lea ecx, [esp + 0x74]
mov dword [esp + 0x34], eax
call dword [0x652b8528]
cmp dword [esp + 0x30], eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
cmovge ecx, edx
mov eax, dword [ecx]
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], eax
call dword [0x652b852c]
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push ebp
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x5c]
mov dword [eax + 4], esi
call dword [0x652b852c]
push ebp
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6501bcd0
lea ecx, [esp + 0x4c]
mov dword [eax + 8], esi
call dword [0x652b852c]
push ebp
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6501bcd0
push ebp
lea ecx, [esp + 0x1c]
mov dword [eax + 0xc], esi
call fcn.6501bcd0
mov cl, byte [esp + 0x17]
mov byte [eax + 0x14], cl
mov esi, dword [ebx + 4]
test esi, esi
jne 0x6501dda1
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
je 0x6501dd9e
mov ecx, dword [ebx]
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QSizePolicy___thiscall_QWidget::sizePolicy_void_
movzx esi, byte [eax]
jmp 0x6501dda1
mov esi, dword [ebx + 4]
push ebp
lea ecx, [esp + 0x1c]
call fcn.6501bcd0
mov dword [eax], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
cmp eax, 1
je 0x6501de00
test eax, eax
je 0x6501de00
test dword [esi + 8], 0x7fffffff
jne 0x6501ddde
push 2
push 0
push 4
push 0x20
call dword [0x652b8658]
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
jmp 0x6501de00
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 8]
and eax, 0x7fffffff
push eax
push dword [esi + 4]
call fcn.6501cd80
mov esi, dword [esp + 0x18]
mov ecx, esi
call dword [0x652b865c]
mov ecx, dword [esp + 0x48]
mov dl, byte [esp + 0x27]
mov byte [eax + ecx + 0x15], dl
mov eax, dword [esi]
cmp eax, 1
je 0x6501de63
test eax, eax
je 0x6501de63
test dword [esi + 8], 0x7fffffff
jne 0x6501de41
push 2
push 0
push 4
push 0x20
call dword [0x652b8658]
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
jmp 0x6501de63
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 8]
and eax, 0x7fffffff
push eax
push dword [esi + 4]
call fcn.6501cd80
mov esi, dword [esp + 0x18]
mov ecx, esi
call dword [0x652b865c]
mov ecx, dword [esp + 0x48]
mov dword [eax + ecx + 0x10], 0
mov eax, dword [esp + 0x2c]
test byte [eax + 0xb0], 1
jne 0x6501de95
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x6501de95
xor ecx, ecx
jmp 0x6501de9a
mov ecx, 1
mov ebx, dword [esp + 0x2c]
inc ebp
add dword [esp + 0x48], 0x20
mov dword [esp + 0x44], ebp
mov eax, dword [ebx + 0xb0]
xor eax, ecx
and eax, 1
xor dword [ebx + 0xb0], eax
cmp ebp, dword [esp + 0x84]
jl 0x6501d920
jmp 0x6501decc
mov esi, dword [esp + 0x18]
cmp esi, dword [ebx + 0x74]
je 0x6501df20
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
call fcn.6501b7e0
mov edi, dword [ebx + 0x74]
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x74], eax
mov eax, dword [edi]
test eax, eax
je 0x6501df02
cmp eax, 0xffffffff
je 0x6501df20
or eax, 0xffffffff
lock xadd dword [edi], eax
setne al
test al, al
jne 0x6501df20
mov ecx, edi
call dword [0x652b865c]
mov ecx, edi
call dword [0x652b865c]
push 4
push 0x20
push edi
call dword [0x652b8654]
add esp, 0xc
push dword [esp + 0x34]
xor eax, eax
mov ecx, 2
cmp byte [esp + 0x1a], al
push dword [esp + 0x2c]
cmovne eax, ecx
xor ecx, ecx
cmp byte [esp + 0x1d], cl
setne cl
or eax, ecx
lea ecx, [esp + 0x54]
mov dword [ebx + 0xac], eax
call dword [0x652b8350]
add ebx, 0x8c
push ebx
mov ecx, dword [eax]
mov dword [ebx], ecx
lea ecx, [esp + 0x60]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x48]
push dword [esp + 0x64]
call dword [0x652b8350]
mov ecx, eax
call dword [0x652b8290]
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + 0x94]
push edx
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [esp + 0x78]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
lea eax, [esp + 0x50]
push eax
push ebx
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x40]
push dword [esp + 0x4c]
call dword [0x652b8350]
mov ecx, eax
call dword [0x652b8290]
mov ecx, eax
call dword [0x652b828c]
lea ebx, [ebp + 0xa4]
lea edi, [ebp + 0xa0]
mov ecx, dword [eax]
mov dword [ebp + 0x84], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
mov dword [ebp + 0x88], eax
lea eax, [ebp + 0xa8]
push eax
push ebx
push edi
add ebp, 0x9c
push ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QLayout::getContentsMargins_int___int___int___int__const
mov ecx, dword [ebx]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebp]
mov edi, dword [edi]
mov eax, dword [ebx + 0xa8]
add eax, edi
push eax
lea eax, [ecx + edx]
push eax
lea ecx, [esp + 0x94]
call dword [0x652b8350]
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebx + 0x8c]
call dword [0x652b8288]
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebx + 0x94]
call dword [0x652b8288]
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebx + 0x84]
call dword [0x652b8288]
and dword [ebx + 0xb0], 0xfffffffd
mov eax, dword [esi]
test eax, eax
je 0x6501e07a
cmp eax, 0xffffffff
je 0x6501e098
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x6501e098
mov ecx, esi
call dword [0x652b865c]
mov ecx, esi
call dword [0x652b865c]
push 4
push 0x20
push esi
call dword [0x652b8654]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret