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

Disassembly:
sub esp, 0x19c
mov eax, dword [0x6540f630]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1a8]
lea eax, [esp + 0xdc]
push esi
mov esi, ecx
mov dword [esp + 0x78], 0
push edi
push eax
mov dword [esp + 0x28], esi
mov ebx, dword [esi + 4]
mov ecx, ebx
mov dword [esp + 0x20], ebx
call fcn.651d93c0
mov eax, dword [ebx + 0x26c]
mov cl, byte [ebx + 0x2b0]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x270]
mov dword [esp + 0x58], eax
xor eax, eax
test cl, cl
mov byte [esp + 0x1b], cl
mov ecx, esi
setne al
mov dword [esp + 0x3c], eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push 0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x74]
lea ecx, [esp + 0xec]
push ecx
push 0x22
mov ecx, eax
call edx
push eax
lea eax, [esp + 0x19c]
push eax
call dword [0x652b2490]
mov esi, dword [ebx + 0x2b4]
lea eax, [esp + 0x1a0]
add esp, 8
lea ecx, [esp + 0x30]
push 1
push eax
call dword [0x652b34a4]
push 0x40
push 0x10
push esi
sub esp, 8
lea eax, [esp + 0x44]
xorps xmm0, xmm0
lea ecx, [esp + 0x94]
movsd qword [esp], xmm0
push eax
call dword [0x652b39cc]
lea ecx, [esp + 0x30]
call dword [0x652b3de8]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebx + 0x2d4]
mov ebx, dword [ebx + 0x2d0]
mov ecx, dword [esp + 0x24]
mov al, byte [esi + 0x25a]
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x13], al
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
mov ecx, dword [esi + 0x15c]
cmp eax, 1
sete byte [esp + 0x12]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [esp + 0x24]
call dword [0x652b39bc]
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
test eax, eax
je 0x6520bcce
mov ecx, edi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
test eax, eax
je 0x6520bcce
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x6520bcce
mov eax, dword [eax + 4]
test eax, eax
je 0x6520bcce
cmp dword [esi + 0x1a0], 0
je 0x6520bcce
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::length_void_const
movzx ecx, byte [esp + 0x12]
mov esi, eax
xor ecx, 1
sub esi, ecx
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_enum_Qt::PenStyle___thiscall_QTableView::gridStyle_void_
sub esi, eax
mov ecx, edi
mov dword [esp + 0x60], esi
call sym.Qt5Widgets.dll_public:_enum_Qt::PenStyle___thiscall_QTableView::gridStyle_void_
or esi, 0xffffffff
mov ecx, edi
sub esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::length_void_const
add eax, esi
mov ecx, edi
push 0
mov dword [esp + 0x88], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x4c], eax
mov edx, dword [ecx + 0x1c]
sub edx, dword [ecx + 0x14]
mov ecx, edi
inc edx
push edx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
mov edi, eax
cmp edi, 0xffffffff
jne 0x6520b52e
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x198]
add ecx, 0x200
mov eax, dword [edi]
mov esi, dword [eax + 0x38]
call dword [0x652b1c0c]
push eax
mov ecx, edi
call esi
lea edi, [eax - 1]
push 0
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
sub edx, dword [ecx + 0x10]
mov ecx, eax
inc edx
push edx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
cmp byte [esp + 0x12], 0
mov esi, eax
je 0x6520b55e
mov ecx, ebx
mov ebx, esi
mov esi, ecx
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
cmp esi, 0xffffffff
jne 0x6520b57d
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
lea esi, [eax - 1]
mov ecx, esi
mov eax, edi
sub ecx, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
inc ecx
inc eax
mov dword [esp + 0x88], ecx
imul eax, ecx
lea ecx, [esp + 0x38]
push 0
push eax
call dword [0x652b1a04]
push dword [esp + 0x58]
lea eax, [esp + 0x48]
push dword [esp + 0x60]
lea ecx, [ebp + 0x1c]
push eax
call dword [0x652b3b98]
mov ebp, dword [esp + 0x1c]
cmp dword [ebp + 0x2ec], 0
je 0x6520b5ed
push esi
push dword [esp + 0x54]
lea eax, [esp + 0x40]
mov ecx, ebp
push edi
push dword [esp + 0x58]
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.65209120
lea ecx, [esp + 0x44]
call dword [0x652b3ba4]
mov edi, eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], edi
call dword [0x652b3ba0]
mov dword [esp + 0xa0], eax
cmp edi, eax
je 0x6520bc04
movups xmm0, xmmword [edi]
mov edx, dword [esp + 0x84]
movups xmmword [esp + 0xa4], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
cmp eax, edx
cmovl edx, eax
cmp byte [esp + 0x12], 0
mov dword [esp + 0x70], edx
je 0x6520b66a
mov eax, dword [ebp + 0x15c]
mov edi, dword [esp + 0xac]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
sub eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xa4]
inc eax
cmp ecx, eax
cmovl ecx, eax
jmp 0x6520b686
mov ecx, dword [esp + 0x60]
mov edi, ecx
cmp dword [esp + 0xac], ecx
mov ecx, dword [esp + 0xa4]
cmovl edi, dword [esp + 0xac]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
cmp ecx, edi
jg 0x6520bbe8
cmp dword [esp + 0xa8], edx
jg 0x6520bbe8
push ecx
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
push edi
mov ecx, ebx
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
cmp byte [esp + 0x12], 0
mov edi, eax
mov dword [esp + 0x14], edi
je 0x6520b6cc
mov ecx, esi
mov esi, edi
mov edi, ecx
mov dword [esp + 0x14], ecx
xor eax, eax
cmp esi, 0xffffffff
cmovne eax, esi
mov dword [esp + 0x40], eax
cmp edi, 0xffffffff
jne 0x6520b6eb
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
lea edi, [eax - 1]
mov dword [esp + 0x14], edi
push dword [esp + 0x70]
mov ebp, dword [esp + 0x4c]
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x6520b70f
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
dec eax
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x11], bl
cmp byte [esp + 0x13], bl
je 0x6520b788
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::sectionsHidden_void_const
test al, al
je 0x6520b788
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_enum_Qt::PenStyle___thiscall_QTableView::gridStyle_void_
push ebx
mov ecx, ebp
mov edi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
push ebx
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionSize_int_const
mov esi, eax
cmp esi, edi
jg 0x6520b7bb
nop dword [eax]
cmp ebx, dword [esp + 0x28]
jge 0x6520b7b2
push ebx
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x6520b773
cmp byte [esp + 0x11], al
sete byte [esp + 0x11]
inc ebx
mov ecx, ebp
push ebx
mov dword [esp + 0x34], ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionSize_int_const
add esi, eax
cmp esi, edi
jle 0x6520b750
jmp 0x6520b7b2
push dword [esp + 0xa8]
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndexAt_int_const
mov ebx, eax
mov dword [esp + 0x30], ebx
test bl, 1
je 0x6520b7ad
cmp byte [esp + 0x13], 0
mov byte [esp + 0x11], 1
jne 0x6520b7b2
mov byte [esp + 0x11], 0
cmp ebx, 0xffffffff
je 0x6520bbe4
mov edi, dword [esp + 0x28]
cmp ebx, edi
jg 0x6520bbe4
mov ecx, ebx
mov eax, ebx
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], ecx
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov ebx, eax
mov ecx, ebp
push ebx
mov dword [esp + 0x90], ebx
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x6520ba09
mov esi, dword [esp + 0x24]
push ebx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionViewportPosition_int_const
mov ecx, dword [esi + 4]
add eax, dword [esp + 0x58]
push ebx
mov dword [esp + 0x98], eax
mov ecx, dword [ecx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionSize_int_const
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x14]
jg 0x6520b9f1
mov ebx, dword [esp + 0x88]
imul ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
sub ebx, dword [esp + 0x50]
add ebx, esi
test ebx, ebx
js 0x6520b9db
lea ecx, [esp + 0x38]
call dword [0x652b1278]
cmp ebx, eax
jge 0x6520b9d7
push ebx
lea ecx, [esp + 0x3c]
call dword [0x652b19f8]
test al, al
jne 0x6520b9d7
push ebx
lea ecx, [esp + 0x3c]
call dword [0x652b19f4]
mov ecx, dword [esp + 0x2c]
push esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov ecx, dword [esp + 0x2c]
mov ebp, eax
push ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x6520b9d7
mov esi, dword [esp + 0x24]
push ebp
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionViewportPosition_int_const
mov ecx, dword [esi + 4]
add eax, dword [esp + 0x5c]
push ebp
mov dword [esp + 0x94], eax
mov ecx, dword [ecx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionSize_int_const
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x198]
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
lea ecx, [eax + 0x200]
call dword [0x652b1c0c]
push eax
push ebp
push dword [esp + 0x94]
lea eax, [esp + 0xc0]
mov ecx, edi
push eax
call esi
cmp dword [esp + 0xb4], 0
jl 0x6520b9d3
cmp dword [esp + 0xb8], 0
jl 0x6520b9d3
cmp dword [esp + 0xc0], 0
je 0x6520b9d3
cmp byte [esp + 0x1b], 0
je 0x6520b955
cmp byte [esp + 0x12], 0
je 0x6520b955
mov eax, 1
jmp 0x6520b957
xor eax, eax
add eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x94]
dec ecx
mov dword [esp + 0xf4], eax
add eax, ecx
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x9c]
dec eax
mov dword [esp + 0xf8], ebp
add eax, ebp
cmp byte [esp + 0x13], 0
mov dword [esp + 0x100], eax
je 0x6520b9b5
cmp byte [esp + 0x11], 0
je 0x6520b9ad
or dword [esp + 0x138], 2
jmp 0x6520b9b5
and dword [esp + 0x138], 0xfffffffd
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.652097d0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
inc esi
inc ebx
mov dword [esp + 0x34], esi
cmp esi, eax
jle 0x6520b858
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
cmp byte [esp + 0x11], 0
jne 0x6520ba04
cmp byte [esp + 0x13], 0
mov byte [esp + 0x11], 1
jne 0x6520ba09
mov byte [esp + 0x11], 0
mov eax, dword [esp + 0x64]
inc dword [esp + 0x54]
inc eax
mov dword [esp + 0x64], eax
cmp eax, edi
jle 0x6520b7d7
cmp byte [esp + 0x1b], 0
je 0x6520bbe4
push edi
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
je 0x6520ba59
nop dword [eax]
dec edi
mov ecx, ebp
push edi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
push eax
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x6520ba40
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x20]
call dword [0x652b350c]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b3514]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call dword [0x652b35a0]
mov ebx, dword [esp + 0x30]
cmp ebx, edi
jg 0x6520bb1b
nop dword [eax]
push ebx
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov edi, eax
mov ecx, ebp
push edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x6520bb10
mov ecx, dword [esp + 0x24]
push edi
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionViewportPosition_int_const
mov esi, eax
mov eax, dword [esp + 0x24]
add esi, dword [esp + 0x58]
push edi
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc8], eax
mov ecx, dword [ecx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionSize_int_const
sub esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
add eax, esi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xc4]
push 1
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x24]
push eax
call dword [0x652b358c]
inc ebx
cmp ebx, dword [esp + 0x28]
jle 0x6520ba90
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
cmp eax, ebp
jg 0x6520bbcb
mov ebx, dword [esp + 0x2c]
nop
push eax
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov edi, eax
mov ecx, ebx
push edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::isSectionHidden_int_const
test al, al
jne 0x6520bbba
mov eax, dword [esp + 0x24]
push edi
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionViewportPosition_int_const
mov esi, eax
add esi, dword [esp + 0x5c]
cmp byte [esp + 0x12], 0
jne 0x6520bb7f
mov eax, dword [esp + 0x24]
push edi
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::sectionSize_int_const
sub eax, dword [esp + 0x3c]
add esi, eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x20]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xd4]
push 1
push eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe4], esi
call dword [0x652b358c]
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, ebp
jle 0x6520bb30
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call dword [0x652b35a0]
lea ecx, [esp + 0x74]
call dword [0x652b39c8]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x2c]
add edi, 0x10
mov dword [esp + 0x78], edi
cmp edi, dword [esp + 0xa0]
jne 0x6520b616
cmp byte [ebp + 0x209], 0
je 0x6520bc47
cmp dword [ebp + 0x1f0], 1
jne 0x6520bc47
mov ecx, dword [ebp + 0x15c]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x80], 1
call sym.Qt5Widgets.dll_public:_class_QCursor___thiscall_QWidget::cursor_void_
mov ecx, eax
call dword [0x652b3a3c]
cmp eax, 0xe
je 0x6520bc47
mov bl, 1
mov eax, 1
jmp 0x6520bc4d
mov eax, dword [esp + 0x7c]
xor bl, bl
test al, 1
je 0x6520bc5b
lea ecx, [esp + 0x48]
call dword [0x652b3d4c]
test bl, bl
je 0x6520bcba
push 0
push 1
lea ecx, [esp + 0x170]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::constructor_int__int_
push dword [ebp + 4]
lea ecx, [esp + 0x16c]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::init_class_QWidget_const__
movups xmm0, xmmword [ebp + 0x20c]
mov ecx, dword [ebp + 4]
movups xmmword [esp + 0x178], xmm0
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push dword [ebp + 4]
lea ecx, [esp + 0x24]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x170]
push ecx
push 0x2b
mov ecx, eax
call dword [edx + 0x54]
lea ecx, [esp + 0x168]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
lea ecx, [esp + 0x44]
call dword [0x652b3e6c]
lea ecx, [esp + 0x38]
call dword [0x652b19e4]
lea ecx, [esp + 0x20]
call dword [0x652b39b8]
lea ecx, [esp + 0x80]
call dword [0x652b39c8]
lea ecx, [esp + 0x164]
call dword [0x652b3de8]
lea ecx, [esp + 0x15c]
call dword [0x652b2410]
lea ecx, [esp + 0x158]
call dword [0x652b3dd8]
lea ecx, [esp + 0x13c]
call dword [0x652b2340]
lea ecx, [esp + 0x12c]
call dword [0x652b2a2c]
lea ecx, [esp + 0xe4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.652ae9bb
add esp, 0x19c
ret 4