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

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
mov eax, ecx
push esi
mov dword [esp + 0xc], eax
cmp dword [ebx], 0
mov esi, dword [eax + 4]
jl 0x65220fd3
cmp dword [ebx + 4], 0
jl 0x65220fd3
mov eax, dword [ebx + 0xc]
cmp eax, dword [esi + 0x198]
jne 0x65220fd3
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x65220fd3
mov eax, dword [eax + 4]
test eax, eax
je 0x65220fd3
cmp dword [esi + 0x1a0], 0
je 0x65220fd3
mov eax, dword [ebx]
mov ecx, dword [esi + 0x2e0]
push ebp
push edi
or edi, 0xffffffff
mov dword [esp + 0x1c], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
mov ebp, eax
mov ecx, ebx
lea eax, [esp + 0x38]
test ebp, ebp
push eax
sete byte [esp + 0x17]
call dword [0x652b1c38]
mov ebx, dword [esp + 0x14]
test ebp, ebp
je 0x65220de2
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
je 0x65220de2
mov ecx, dword [esi + 0x2e0]
push 0
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
mov edi, eax
jmp 0x65220df4
mov ecx, dword [esi + 0x198]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ebp, eax
mov ecx, ebx
dec ebp
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
cmp eax, 1
jne 0x65220e0d
xor ebx, ebx
cmp edi, 0xffffffff
cmovne ebp, edi
mov edi, ebp
jmp 0x65220e17
xor eax, eax
mov ebx, ebp
cmp edi, 0xffffffff
cmove edi, eax
cmp ebx, edi
mov eax, edi
mov ecx, esi
cmovge eax, ebx
or ebp, 0xffffffff
mov dword [esp + 0x18], eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x18], ebp
call fcn.651d93c0
mov eax, dword [esp + 0x78]
add eax, 0xfffffffe
cmp ebx, edi
mov dword [esp + 0x80], eax
cmovge ebx, edi
cmp ebx, dword [esp + 0x18]
jg 0x65220f7a
cmp byte [esp + 0x13], 0
je 0x65220e5d
mov edi, ebx
jmp 0x65220e6b
mov ecx, dword [esi + 0x2e0]
push ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov edi, eax
mov ecx, dword [esi + 0x2e0]
push edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x65220f6f
mov ecx, dword [esi + 0x198]
lea edx, [esp + 0x38]
push edx
push edi
push dword [esp + 0x24]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
call dword [eax + 0x2c]
cmp dword [esp + 0x28], 0
jl 0x65220f6f
cmp dword [esp + 0x2c], 0
jl 0x65220f6f
cmp dword [esp + 0x34], 0
je 0x65220f6f
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.651d1ad0
mov ecx, dword [eax]
test ecx, ecx
je 0x65220f3f
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x65220f3b
mov ebp, dword [eax + 4]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x65220f3b
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x1cc]
call fcn.65208e80
test al, al
je 0x65220f3b
mov eax, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + 4]
cmp edi, eax
cmovl edi, eax
lea eax, [esp + 0x50]
push eax
call sym.Qt5Widgets.dll_public:_class_QSize___thiscall_QWidget::minimumSize_void_
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 4]
lea eax, [esp + 0x58]
push eax
call sym.Qt5Widgets.dll_public:_class_QSize___thiscall_QWidget::maximumSize_void_
mov eax, dword [eax + 4]
cmp eax, edi
cmovl edi, eax
cmp ebp, edi
cmovl ebp, edi
jmp 0x65220f3f
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.651d02c0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call edx
mov eax, dword [eax + 4]
cmp ebp, eax
cmovl ebp, eax
mov dword [esp + 0x14], ebp
inc ebx
cmp ebx, dword [esp + 0x18]
jle 0x65220e52
lea ecx, [esp + 0xe8]
call dword [0x652b3de8]
lea ecx, [esp + 0xe0]
call dword [0x652b2410]
lea ecx, [esp + 0xdc]
call dword [0x652b3dd8]
lea ecx, [esp + 0xc0]
call dword [0x652b2340]
lea ecx, [esp + 0xb0]
call dword [0x652b2a2c]
lea ecx, [esp + 0x68]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
add esp, 0xdc
ret 4
pop esi
xor eax, eax
pop ebx
add esp, 0xdc
ret 4