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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [edi + 0xc]
cmp dword [edi + 4], ecx
mov eax, dword [eax + 0xd8]
cmovl ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
mov edx, dword [edi + 8]
mov ecx, dword [edi]
cmp eax, 1
jne 0x6520d95d
cmp ecx, edx
cmovl ecx, edx
jmp 0x6520d964
cmp ecx, edx
cmovl edx, ecx
mov ecx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call dword [esp + 0x28]
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 0xc]
mov eax, dword [esi]
cmovl ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov eax, dword [eax + 0xd8]
mov dword [esp + 0x20], eax
call sym.Qt5Widgets.dll_public:_enum_Qt::LayoutDirection___thiscall_QWidget::layoutDirection_void_
mov ecx, dword [edi + 8]
mov edx, dword [edi]
cmp eax, 1
jne 0x6520d9b2
cmp edx, ecx
cmovl ecx, edx
jmp 0x6520d9b9
cmp edx, ecx
cmovl edx, ecx
mov ecx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call dword [esp + 0x28]
mov eax, dword [ebx + 0x1ac]
test eax, eax
je 0x6520e263
mov eax, dword [eax + 4]
test eax, eax
je 0x6520e263
cmp dword [ebx + 0x1b0], 0
je 0x6520e263
cmp dword [esp + 0x60], 0
jl 0x6520e263
cmp dword [esp + 0x64], 0
jl 0x6520e263
cmp dword [esp + 0x6c], 0
je 0x6520e263
cmp dword [esp + 0x70], 0
jl 0x6520e263
cmp dword [esp + 0x74], 0
jl 0x6520e263
cmp dword [esp + 0x7c], 0
je 0x6520e263
mov ecx, dword [ebx + 0x198]
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x94]
test byte [eax], 0x20
je 0x6520e263
mov ecx, dword [ebx + 0x198]
lea edx, [esp + 0x70]
push edx
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x94]
test byte [eax], 0x20
je 0x6520e263
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d4]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::sectionsMoved_void_const
mov ecx, dword [esi + 4]
mov byte [esp + 0x3f], al
mov ecx, dword [ecx + 0x2d0]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QHeaderView::sectionsMoved_void_const
lea ecx, [esp + 0x28]
mov byte [esp + 0x13], al
call dword [0x652b13b8]
cmp dword [ebx + 0x2ec], 0
je 0x6520de4f
push dword [esp + 0x70]
mov ecx, dword [ebx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x60]
mov ecx, dword [ebx + 0x2d4]
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x74]
mov ecx, dword [ebx + 0x2d0]
cmp eax, esi
cmovl esi, eax
mov dword [esp + 0x4c], esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x64]
mov ecx, dword [ebx + 0x2d0]
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x70]
mov ecx, dword [ebx + 0x2d4]
cmp eax, esi
cmovl esi, eax
mov dword [esp + 0x44], esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x60]
mov ecx, dword [ebx + 0x2d4]
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x74]
mov ecx, dword [ebx + 0x2d0]
cmp eax, esi
cmovl eax, esi
mov dword [esp + 0x50], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x64]
mov ecx, dword [ebx + 0x2d0]
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov ecx, eax
cmp ecx, esi
cmovl ecx, esi
mov dword [esp + 0x30], ecx
mov edi, dword [ebx + 0x2e8]
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], edi
mov esi, dword [edi]
mov dword [esp + 0x44], esi
cmp esi, edi
je 0x6520dd44
nop dword [eax]
mov eax, dword [esi + 8]
mov ecx, dword [ebx + 0x2d4]
mov dword [esp + 0x54], eax
push dword [eax]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
push dword [ecx + 4]
mov ecx, dword [ebx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x20], ecx
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x2d4]
push ecx
mov ecx, eax
mov dword [esp + 0x54], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
cmp dword [esp + 0x34], 1
mov ebx, eax
mov dword [esp + 0x5c], 1
jle 0x6520dc17
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
nop dword [eax]
mov ecx, esi
inc ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
cmp ebx, eax
jge 0x6520dc0f
push ebx
mov ecx, esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
inc edi
mov dword [esp + 0x20], eax
cmp edi, dword [esp + 0x34]
jl 0x6520dbf0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push dword [esp + 0x20]
mov ecx, dword [ebx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x34], ecx
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x2d0]
push ecx
mov ecx, eax
mov dword [esp + 0x60], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
cmp dword [esp + 0x20], 1
mov ebx, eax
mov dword [esp + 0x50], 1
jle 0x6520dc97
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
nop
mov ecx, esi
inc ebx
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::count_void_const
cmp ebx, eax
jge 0x6520dc8f
push ebx
mov ecx, esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
inc edi
mov dword [esp + 0x34], eax
cmp edi, dword [esp + 0x20]
jl 0x6520dc70
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push dword [esp + 0x34]
mov ecx, dword [ebx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
cmp edx, dword [esp + 0x4c]
jg 0x6520dd2a
cmp dword [esp + 0x58], ecx
jg 0x6520dd2a
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x48], ecx
jg 0x6520dd26
cmp dword [esp + 0x40], eax
jg 0x6520dd26
cmp edx, dword [esp + 0x48]
jge 0x6520dce0
mov dword [esp + 0x48], edx
mov dl, 1
mov byte [esp + 0x13], dl
jmp 0x6520dce4
mov dl, byte [esp + 0x13]
mov ebx, dword [esp + 0x58]
cmp ebx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
jge 0x6520dd00
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov dl, 1
mov byte [esp + 0x13], dl
cmp ecx, dword [esp + 0x4c]
jle 0x6520dd10
mov dl, 1
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x13], dl
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jg 0x6520de48
test dl, dl
jne 0x6520db60
jmp 0x6520dd2e
mov ecx, dword [esp + 0x30]
mov dl, byte [esp + 0x13]
mov esi, dword [esi]
mov dword [esp + 0x44], esi
cmp esi, edi
jne 0x6520db80
test dl, dl
jne 0x6520db60
mov edi, dword [esp + 0x4c]
mov eax, edi
mov esi, dword [esp + 0x40]
sub ecx, esi
sub eax, dword [esp + 0x48]
inc ecx
inc eax
imul ecx, eax
push ecx
lea ecx, [esp + 0x2c]
call dword [0x652b127c]
cmp esi, dword [esp + 0x30]
jg 0x6520e22d
nop
mov ecx, dword [ebx + 0x2d0]
push esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
cmp eax, edi
jg 0x6520de34
lea ecx, [ebx + 0x200]
mov dword [esp + 0x2c], ecx
nop word [eax + eax]
mov ecx, dword [ebx + 0x2d4]
push eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov ebx, dword [ebx + 0x198]
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edi, dword [edx + 0x2c]
call dword [0x652b1c0c]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x88]
mov ecx, ebx
push esi
push eax
call edi
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
call dword [0x652b1c1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call dword [0x652b1618]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b13c4]
mov ebx, dword [0x652b1c18]
lea ecx, [esp + 0x1c]
call ebx
lea ecx, [esp + 0x18]
call ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
inc eax
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp eax, edi
jle 0x6520dda0
mov esi, dword [esp + 0x40]
inc esi
mov dword [esp + 0x40], esi
cmp esi, dword [esp + 0x30]
jle 0x6520dd70
jmp 0x6520e22d
mov ecx, eax
jmp 0x6520db5c
cmp byte [esp + 0x3f], 0
je 0x6520e0c3
push dword [esp + 0x60]
mov ecx, dword [ebx + 0x2d4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
cmp byte [esp + 0x13], 0
je 0x6520dfb8
push dword [esp + 0x64]
mov ecx, dword [ebx + 0x2d0]
mov dword [esp + 0x18], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x70]
mov ecx, dword [ebx + 0x2d4]
mov esi, eax
mov dword [esp + 0x38], esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x74]
mov ecx, dword [ebx + 0x2d0]
mov edi, eax
mov dword [esp + 0x54], edi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov dword [esp + 0x44], eax
mov ecx, edi
sub ecx, dword [esp + 0x14]
sub eax, esi
inc ecx
inc eax
imul eax, ecx
lea ecx, [esp + 0x28]
push eax
call dword [0x652b127c]
cmp esi, dword [esp + 0x44]
jg 0x6520e22d
nop word [eax + eax]
mov ecx, dword [ebx + 0x2d0]
push esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
cmp eax, edi
jg 0x6520dfa4
lea ecx, [ebx + 0x200]
mov dword [esp + 0x2c], ecx
nop word [eax + eax]
mov ecx, dword [ebx + 0x2d4]
push eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov ebx, dword [ebx + 0x198]
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edi, dword [edx + 0x2c]
call dword [0x652b1c0c]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x88]
mov ecx, ebx
push esi
push eax
call edi
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
call dword [0x652b1c1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call dword [0x652b1618]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b13c4]
mov esi, dword [0x652b1c18]
lea ecx, [esp + 0x1c]
call esi
lea ecx, [esp + 0x18]
call esi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
inc eax
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp eax, edi
jle 0x6520df10
mov esi, dword [esp + 0x34]
inc esi
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x44]
jle 0x6520dee0
jmp 0x6520e22d
push dword [esp + 0x70]
mov ecx, dword [ebx + 0x2d4]
mov esi, eax
mov dword [esp + 0x24], esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov edi, eax
mov ecx, edi
mov dword [esp + 0x2c], edi
sub ecx, esi
inc ecx
push ecx
lea ecx, [esp + 0x2c]
call dword [0x652b127c]
cmp esi, edi
jg 0x6520e22d
lea eax, [ebx + 0x200]
mov dword [esp + 0x14], eax
jmp 0x6520e004
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x2d4]
push esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov edi, dword [esp + 0x24]
mov ebx, eax
mov edi, dword [edi + 0x198]
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x14]
call dword [0x652b1c0c]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x88]
mov ecx, edi
push ebx
push eax
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + 0x198]
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
call dword [0x652b1c0c]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x98]
mov ecx, edi
push ebx
push eax
call esi
mov ebx, dword [0x652b1c1c]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
call ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x20]
call ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b13c4]
mov ebx, dword [0x652b1c18]
lea ecx, [esp + 0x1c]
call ebx
lea ecx, [esp + 0x18]
call ebx
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x2c]
jle 0x6520e000
jmp 0x6520e22d
cmp byte [esp + 0x13], 0
je 0x6520e1e2
push dword [esp + 0x64]
mov ecx, dword [ebx + 0x2d0]
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
push dword [esp + 0x74]
mov ecx, dword [ebx + 0x2d0]
mov esi, eax
mov dword [esp + 0x18], esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::visualIndex_int_const
mov edi, eax
mov ecx, edi
mov dword [esp + 0x38], edi
sub ecx, esi
inc ecx
push ecx
lea ecx, [esp + 0x2c]
call dword [0x652b127c]
cmp esi, edi
jg 0x6520e22d
lea eax, [ebx + 0x200]
mov dword [esp + 0x2c], eax
jmp 0x6520e124
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x2d0]
push esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QHeaderView::logicalIndex_int_const
mov ebx, eax
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x198]
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2c]
lea ecx, [eax + 0x200]
call dword [0x652b1c0c]
push eax
push ebx
push dword [esp + 0x68]
lea eax, [esp + 0x9c]
mov ecx, edi
push eax
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edi, dword [eax + 0x198]
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
call dword [0x652b1c0c]
push eax
push ebx
push dword [esp + 0x78]
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
call esi
mov ebx, dword [0x652b1c1c]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
call ebx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x20]
call ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b13c4]
mov ebx, dword [0x652b1c18]
lea ecx, [esp + 0x1c]
call ebx
lea ecx, [esp + 0x18]
call ebx
mov esi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x38]
jle 0x6520e120
jmp 0x6520e22d
mov esi, dword [0x652b1c1c]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call esi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call esi
lea ecx, [esp + 0x18]
call dword [0x652b1280]
test al, al
jne 0x6520e21b
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b13c4]
mov esi, dword [0x652b1c18]
lea ecx, [esp + 0x1c]
call esi
lea ecx, [esp + 0x18]
call esi
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x1ac]
test eax, eax
je 0x6520e24a
mov eax, dword [eax + 4]
test eax, eax
je 0x6520e24a
mov ecx, dword [ecx + 0x1b0]
jmp 0x6520e24c
xor ecx, ecx
push dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 0x30]
lea ecx, [esp + 0x28]
call dword [0x652b1bf0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8