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

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edi
test dword [edi + 0x70], 0x300000
mov ebp, dword [edi + 4]
mov dword [esp + 0x60], ebp
je 0x65022443
mov ecx, dword [ebp + 4]
mov al, byte [ecx + 0x71]
cmp al, 0xff
jne 0x65021c28
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x65021c12
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov ecx, eax
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x56
call dword [eax + 0x74]
jmp 0x65021c2b
call sym.Qt5Widgets.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_
mov ecx, eax
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x56
call dword [eax + 0x74]
jmp 0x65021c2b
movzx eax, al
cmp eax, 2
mov byte [esp + 0x54], 0
lea ebx, [edi + 0x7c]
mov byte [esp + 0x4c], 0
sete byte [esp + 0x17]
mov ecx, ebp
test eax, eax
mov eax, dword [ebx]
sete byte [esp + 0x3b]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [eax + 4]
and dword [edi + 0x70], 0xfffcffff
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x68], eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
mov dword [esp + 0x18], eax
test eax, eax
je 0x65021c7e
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
mov dword [esp + 0x1c], eax
jmp 0x65021c82
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0xd0]
mov dword [esp + 0x44], eax
test eax, eax
jns 0x65021ca2
push 0x53
push ebp
call sym.Qt5Widgets.dll_int___cdecl_qSmartSpacing_class_QLayout_const___enum_QStyle::PixelMetric_
add esp, 8
mov dword [esp + 0x44], eax
cmp byte [esp + 0x17], 0
je 0x65021caf
mov dword [esp + 0x48], esi
jmp 0x65021ccf
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0xcc]
mov dword [esp + 0x48], eax
test eax, eax
jns 0x65021ccf
push 0x52
push ebp
call sym.Qt5Widgets.dll_int___cdecl_qSmartSpacing_class_QLayout_const___enum_QStyle::PixelMetric_
add esp, 8
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x30], esi
xor edx, edx
mov dword [esp + 0x2c], esi
xor ecx, ecx
mov dword [esp + 0x28], esi
xor ebp, ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], ebp
cmp dword [esp + 0x68], eax
jle 0x65022325
lea ecx, [ecx]
mov ecx, dword [ebx]
mov eax, dword [ecx]
cmp eax, 1
je 0x65021d49
test eax, eax
je 0x65021d49
test dword [ecx + 8], 0x7fffffff
jne 0x65021d2b
push 2
push 0
push 4
push 4
call dword [0x652b8658]
add esp, 0x10
mov dword [ebx], eax
jmp 0x65021d49
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, ebx
call fcn.650edd50
mov ecx, dword [ebx]
call dword [0x652b865c]
mov ecx, dword [ebx]
mov ebp, dword [eax + ebp*8]
mov eax, dword [ecx]
cmp eax, 1
je 0x65021d9d
test eax, eax
je 0x65021d9d
test dword [ecx + 8], 0x7fffffff
jne 0x65021d7f
push 2
push 0
push 4
push 4
call dword [0x652b8658]
add esp, 0x10
mov dword [ebx], eax
jmp 0x65021d9d
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, ebx
call fcn.650edd50
mov ecx, dword [ebx]
call dword [0x652b865c]
mov ebx, dword [esp + 0x5c]
mov ebx, dword [eax + ebx*8 + 4]
test ebp, ebp
jne 0x65021dcd
test ebx, ebx
je 0x65022303
cmp byte [ebx + 4], 0
je 0x65021e79
mov byte [esp + 0x64], 1
jmp 0x65021e7e
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x70]
and eax, 0xff
cmp eax, 0xff
jne 0x65021e0c
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x65021df8
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
jmp 0x65021dfd
call sym.Qt5Widgets.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_
mov ecx, eax
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x59
call dword [eax + 0x74]
push 0
push eax
push dword [esp + 0x4c]
push ebp
call fcn.65021b20
add esp, 0x10
cmp byte [ebp + 5], 0
je 0x65021e32
mov eax, dword [edi + 0x70]
and eax, 0xfffdffff
or eax, 0x10000
mov dword [edi + 0x70], eax
mov ecx, dword [ebp]
lea edx, [esp + 0x84]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esp + 0x84]
mov edx, 1
mov ecx, eax
and ecx, 2
mov ecx, dword [esp + 0x4c]
movzx ecx, cl
cmovne ecx, edx
and eax, edx
mov eax, dword [esp + 0x54]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
test ebx, ebx
je 0x65021f38
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x70]
and eax, 0xff
cmp eax, 0xff
jne 0x65021ebd
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QLayout::parentWidget_void_const
test eax, eax
je 0x65021ea9
mov ecx, eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
jmp 0x65021eae
call sym.Qt5Widgets.dll_public:_static_class_QStyle____cdecl_QApplication::style_void_
mov ecx, eax
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x59
call dword [eax + 0x74]
push dword [esp + 0x64]
push eax
push dword [esp + 0x4c]
push ebx
call fcn.65021b20
add esp, 0x10
test ebp, ebp
jne 0x65021edd
cmp byte [ebx + 4], 0
je 0x65021edd
xor eax, eax
jmp 0x65021ee1
mov eax, dword [esp + 0x48]
cmp byte [ebx + 5], 0
mov dword [ebx + 0x20], eax
je 0x65021efa
mov eax, dword [edi + 0x70]
and eax, 0xfffdffff
or eax, 0x10000
mov dword [edi + 0x70], eax
mov ecx, dword [ebx]
lea edx, [esp + 0xa0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esp + 0xa0]
mov ecx, eax
mov edx, dword [esp + 0x4c]
and ecx, 2
movzx ecx, dl
mov edx, 1
cmovne ecx, edx
and eax, edx
mov eax, dword [esp + 0x54]
movzx eax, al
cmovne eax, edx
mov byte [esp + 0x4c], cl
mov byte [esp + 0x54], al
cmp dword [esp + 0x48], 0
jl 0x65021f4a
cmp dword [esp + 0x44], 0
jge 0x65022211
cmp dword [esp + 0x1c], 0
je 0x65022211
test ebp, ebp
je 0x65021f6c
mov ecx, dword [ebp]
lea edx, [esp + 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea edi, [esp + 0x74]
jmp 0x65021f7e
mov dword [esp + 0x8c], 1
lea edi, [esp + 0x8c]
mov dword [esp + 0x34], edi
test ebx, ebx
je 0x65021f98
mov ecx, dword [ebx]
lea edx, [esp + 0x7c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [esp + 0x7c]
jmp 0x65021faa
mov dword [esp + 0x9c], 1
lea eax, [esp + 0x9c]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x50], eax
jge 0x650221c8
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x20]
je 0x6502208b
test eax, eax
cmovne esi, eax
test ebp, ebp
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x20]
cmovne esi, ebp
test eax, eax
je 0x65021ff0
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [esp + 0x6c]
jmp 0x65022002
mov dword [esp + 0x94], 1
lea eax, [esp + 0x94]
mov dword [esp + 0x34], eax
test esi, esi
je 0x6502201c
mov ecx, dword [esi]
lea edx, [esp + 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [esp + 0x70]
jmp 0x65022028
mov dword [esp + 0x78], 1
lea eax, [esp + 0x78]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x65022053
cmp dword [esp + 0x20], 0
je 0x65022053
push dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push 0
push 2
push dword [edi]
push dword [eax]
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 dword [ebp + 0x24], eax
mov edi, dword [esp + 0x18]
test ebx, ebx
je 0x650221c2
test esi, esi
mov esi, dword [esp + 0x1c]
je 0x650221d0
mov eax, dword [esp + 0x50]
mov ecx, esi
push edi
push 0
push 2
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [eax]
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 dword [ebx + 0x24], eax
jmp 0x650221d0
test esi, esi
mov ecx, eax
cmovne ecx, esi
test ecx, ecx
je 0x650220b2
mov ecx, dword [ecx]
lea edx, [esp + 0x80]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x80]
jmp 0x650220c4
mov dword [esp + 0x88], 1
lea edi, [esp + 0x88]
mov edi, dword [edi]
test eax, eax
je 0x650220e2
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea esi, [esp + 0x90]
jmp 0x650220f4
mov dword [esp + 0x98], 1
lea esi, [esp + 0x98]
mov esi, dword [esi]
test ebp, ebp
je 0x65022150
push dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push 0
push 2
push dword [eax]
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
test ebx, ebx
jne 0x6502214d
push dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x38]
push ebx
push 2
mov dword [esp + 0x2c], edi
push dword [eax]
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
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
cmp edi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
cmovge ecx, edx
mov eax, dword [ecx]
mov dword [ebp + 0x24], eax
jmp 0x650221cc
mov dword [ebp + 0x24], eax
test ebx, ebx
je 0x650221c8
mov eax, dword [esp + 0x50]
test ebp, ebp
jne 0x650221a6
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebp
push 2
push dword [eax]
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
push dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x54]
push ebp
push 2
mov dword [esp + 0x2c], edi
push dword [eax]
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
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
cmp edi, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
cmovge ecx, edx
mov eax, dword [ecx]
mov dword [ebx + 0x24], eax
jmp 0x650221cc
mov edi, dword [esp + 0x18]
push edi
push 0
push 2
push dword [eax]
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
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 dword [ebx + 0x24], eax
jmp 0x650221d0
mov esi, dword [esp + 0x1c]
jmp 0x650221d0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x48], 0
jge 0x65022211
cmp byte [esp + 0x17], 0
jne 0x65022211
test ebp, ebp
jne 0x650221ec
cmp byte [ebx + 4], 0
jne 0x650222b1
test ebx, ebx
je 0x65022211
push edi
push 0
push 1
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0x100
mov eax, esp
mov dword [eax], 0x40
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 dword [ebx + 0x20], eax
test ebp, ebp
je 0x650222b1
lea ecx, [ebp + 8]
call dword [0x652b852c]
cmp dword [esp + 0x30], eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
cmovge ecx, edx
mov eax, dword [ecx]
lea ecx, [ebp + 0x10]
mov dword [esp + 0x30], eax
call dword [0x652b852c]
cmp dword [esp + 0x58], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x58]
mov dword [esp + 0x10], eax
cmovge ecx, edx
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
test ebx, ebx
je 0x650222f9
lea ecx, [ebx + 8]
call dword [0x652b852c]
add eax, dword [ebx + 0x20]
lea ecx, [esp + 0x10]
cmp dword [esp + 0x2c], eax
lea esi, [esp + 0x2c]
mov dword [esp + 0x10], eax
cmovge ecx, esi
mov eax, dword [ecx]
lea ecx, [ebx + 0x10]
mov dword [esp + 0x2c], eax
call dword [0x652b852c]
add eax, dword [ebx + 0x20]
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
lea edx, [esp + 0x40]
mov dword [esp + 0x10], eax
cmovge ecx, edx
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
jmp 0x650222f9
test ebx, ebx
je 0x650222f9
lea ecx, [ebx + 8]
call dword [0x652b852c]
cmp dword [esp + 0x28], eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
cmovge ecx, edx
mov eax, dword [ecx]
lea ecx, [ebx + 0x10]
mov dword [esp + 0x28], eax
call dword [0x652b852c]
cmp dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x10], eax
cmovge ecx, edx
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, ebp
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x5c]
lea ebx, [edi + 0x7c]
inc ebp
mov dword [esp + 0x5c], ebp
cmp ebp, dword [esp + 0x68]
jl 0x65021d00
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
cmp byte [esp + 0x17], 0
je 0x65022383
cmp eax, dword [esp + 0x40]
lea esi, [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [edi + 0xa4], 0
cmovge ecx, esi
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x30]
cmp edx, dword [ecx]
mov edx, dword [esp + 0x2c]
cmovl eax, ecx
cmp dword [esp + 0x28], edx
lea ecx, [esp + 0x2c]
mov eax, dword [eax]
mov dword [edi + 0xa0], eax
lea eax, [esp + 0x28]
cmovge ecx, eax
lea eax, [esp + 0x30]
cmp esi, dword [ecx]
cmovl eax, ecx
mov eax, dword [eax]
mov dword [edi + 0x9c], eax
jmp 0x6502241b
cmp byte [esp + 0x3b], 0
lea eax, [ecx + edx]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x24]
je 0x650223d7
cmp eax, dword [esp + 0x24]
lea edx, [esp + 0x3c]
mov dword [edi + 0xa4], 0xffffff
cmovge ecx, edx
lea edx, [esp + 0x3c]
mov eax, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [edi + 0xa0], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
cmovge ecx, edx
mov eax, dword [ecx]
mov dword [edi + 0x9c], eax
jmp 0x6502241b
cmp eax, dword [esp + 0x24]
lea esi, [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
cmovge ecx, esi
cmp dword [esp + 0x28], ebx
mov esi, dword [esp + 0x30]
mov eax, dword [ecx]
lea ecx, [esp + 0x2c]
mov dword [edi + 0xa0], eax
lea eax, [esp + 0x28]
cmovge ecx, eax
lea eax, [esp + 0x30]
cmp esi, dword [ecx]
cmovl eax, ecx
mov eax, dword [eax]
mov dword [edi + 0x9c], eax
lea eax, [edx + ebx]
mov dword [edi + 0xa4], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
movzx ecx, al
and ecx, 1
movzx eax, dl
and eax, 1
add ecx, ecx
or ecx, eax
mov eax, dword [edi + 0x70]
shl ecx, 0x16
and eax, 0xff3fffff
or ecx, eax
mov dword [edi + 0x70], ecx
and dword [edi + 0x70], 0xffcfffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret