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

Disassembly:
sub esp, 0x188
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0
push edi
mov dword [esp + 0x2c], ebx
mov edi, dword [ebx + 4]
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x19c]
test eax, eax
je 0x651fd626
mov eax, dword [eax + 4]
test eax, eax
je 0x651fd626
cmp dword [edi + 0x1a0], 0
je 0x651fd626
push ebp
push esi
lea eax, [esp + 0x98]
mov ecx, edi
push eax
call fcn.651d93c0
mov ecx, dword [edi + 0x15c]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [esp + 0x20]
call dword [0x652b39bc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x13c]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x138]
mov ecx, dword [esp + 0x19c]
push 0
push esi
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [ecx + 0xc]
call dword [0x652b21a0]
push eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.651fb940
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
call sym.Qt5Widgets.dll_public:_class_QModelIndex___thiscall_QAbstractItemView::currentIndex_void_
lea ecx, [edi + 0x204]
call dword [0x652b1c0c]
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0x198]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1ac]
movups xmmword [esp + 0x60], xmm0
test eax, eax
je 0x651fce9d
mov eax, dword [eax + 4]
test eax, eax
je 0x651fce9d
mov eax, dword [edi + 0x1b0]
jmp 0x651fce9f
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x40], eax
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::hasFocus_void_const
test al, al
jne 0x651fcebd
mov ecx, dword [edi + 0x15c]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QWidget::hasFocus_void_const
test al, al
je 0x651fced7
cmp dword [esp + 0x50], 0
jl 0x651fced7
cmp dword [esp + 0x54], 0
jl 0x651fced7
cmp dword [esp + 0x5c], 0
mov byte [esp + 0x13], 1
jne 0x651fcedc
mov byte [esp + 0x13], 0
mov al, byte [edi + 0x25a]
mov ecx, ebx
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], eax
call sym.Qt5Widgets.dll_protected:_enum_QAbstractItemView::State___thiscall_QAbstractItemView::state_void_
mov esi, dword [edi + 0x2b0]
mov ebp, 0xfffffffe
mov dword [esp + 0x48], eax
mov ecx, ebx
mov al, byte [esp + 0x3c]
and al, 1
mov byte [esp + 0x12], 0
mov byte [esp + 0x1a], al
mov eax, dword [ebx + 4]
cmp dword [eax + 0x2c4], 1
jne 0x651fcf3a
mov esi, dword [esi + 0xc]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QAbstractScrollArea::viewport_void_const
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
lea ecx, [eax + 1]
jmp 0x651fcf53
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x70], eax
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QAbstractScrollArea::viewport_void_const
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x1c]
sub ecx, dword [eax + 0x14]
inc ecx
mov eax, dword [edi + 0x2b8]
cmp ecx, esi
cmovl ecx, esi
add eax, eax
sub ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
shl edx, 4
add edx, ecx
add edx, eax
lea ebx, [ecx + eax]
mov dword [esp + 0x70], edx
mov dword [esp + 0x24], ebx
cmp ebx, edx
je 0x651fd378
nop
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x178]
push ebx
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xd0]
movups xmm0, xmmword [eax]
mov eax, dword [esi + 4]
movups xmmword [esp + 0xa8], xmm0
cmp dword [eax + 0x2c4], 1
jne 0x651fcfe7
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xa8]
inc eax
cmp dword [esp + 0x2c], eax
cmovl eax, dword [esp + 0x38]
dec eax
add eax, dword [esp + 0xa8]
mov dword [esp + 0xb0], eax
jmp 0x651fd00e
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xac]
inc eax
cmp dword [esp + 0x2c], eax
cmovl eax, dword [esp + 0x38]
dec eax
add eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xa0], esi
test eax, eax
je 0x651fd042
push ebx
mov ecx, eax
call dword [0x652b1604]
mov esi, dword [esp + 0xa0]
test al, al
je 0x651fd042
or esi, 0x8000
mov dword [esp + 0xa0], esi
cmp byte [esp + 0x1a], 0
je 0x651fd090
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x11c]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x94]
mov esi, dword [esp + 0xa0]
mov eax, dword [eax]
and eax, 0x20
jne 0x651fd076
and esi, 0xfffffffe
mov dword [esp + 0xa0], esi
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0xc0]
sete cl
and eax, 0xfffffff0
or ecx, eax
mov dword [esp + 0xc0], ecx
cmp byte [esp + 0x13], 0
je 0x651fd0db
mov eax, dword [ebx]
cmp eax, dword [esp + 0x50]
jne 0x651fd0db
mov eax, dword [ebx + 8]
cmp eax, dword [esp + 0x58]
jne 0x651fd0db
mov eax, dword [ebx + 4]
cmp eax, dword [esp + 0x54]
jne 0x651fd0db
mov eax, dword [ebx + 0xc]
cmp eax, dword [esp + 0x5c]
jne 0x651fd0db
or esi, 0x100
cmp dword [esp + 0x48], 3
mov dword [esp + 0xa0], esi
jne 0x651fd0db
or esi, 0x400000
mov dword [esp + 0xa0], esi
mov eax, dword [esp + 0x60]
cmp eax, dword [ebx]
jne 0x651fd106
mov eax, dword [esp + 0x68]
cmp eax, dword [ebx + 8]
jne 0x651fd106
mov eax, dword [esp + 0x64]
cmp eax, dword [ebx + 4]
jne 0x651fd106
mov eax, dword [esp + 0x6c]
cmp eax, dword [ebx + 0xc]
jne 0x651fd106
or esi, 0x2000
jmp 0x651fd10c
and esi, 0xffffdfff
cmp byte [esp + 0x1b], 0
mov dword [esp + 0xa0], esi
je 0x651fd2dc
mov ebx, dword [ebx]
inc ebp
mov dword [esp + 0x4c], ebx
cmp ebx, ebp
je 0x651fd271
mov eax, dword [edi + 0x2f0]
cmp dword [eax + 0xc], 0
je 0x651fd283
xor eax, eax
test ebp, ebp
cmovs ebp, eax
cmp ebp, ebx
jge 0x651fd271
lea ecx, [edi + 0x200]
mov edi, dword [edi + 0x198]
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
call dword [0x652b1c0c]
push eax
push 0
push ebp
lea eax, [esp + 0x84]
mov ecx, edi
push eax
call esi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x198]
mov ebx, dword [eax + 4]
add ebx, 0x34
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x651fd22f
mov edi, dword [esp + 0x78]
xor edx, edx
shl edi, 4
add edi, dword [esp + 0x80]
add edi, dword [esp + 0x7c]
xor edi, dword [ecx + 0x1c]
mov eax, edi
div esi
mov eax, dword [ecx + 4]
lea esi, [eax + edx*4]
mov eax, dword [esi]
cmp eax, ecx
je 0x651fd22b
cmp edi, dword [eax + 4]
jne 0x651fd1ce
add eax, 8
lea ecx, [esp + 0x78]
push eax
call dword [0x652b1c28]
test al, al
jne 0x651fd1da
mov esi, dword [esi]
mov ecx, dword [ebx]
mov eax, dword [esi]
cmp eax, ecx
jne 0x651fd1b7
jmp 0x651fd1de
mov eax, dword [esi]
mov ecx, dword [ebx]
cmp eax, ecx
je 0x651fd22b
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x34]
call dword [0x652b1c1c]
mov edi, dword [esp + 0x14]
xor eax, eax
mov ecx, dword [edi + 0x2f0]
lea ebx, [edi + 0x2f0]
or dword [esp + 0x20], 1
cmp dword [ecx + 0x18], eax
je 0x651fd214
mov eax, dword [ecx + 0x1c]
xor eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.651c9700
mov eax, dword [eax]
cmp eax, dword [ebx]
je 0x651fd22f
mov bl, 1
jmp 0x651fd231
mov edi, dword [esp + 0x14]
xor bl, bl
mov eax, dword [esp + 0x20]
test al, 1
je 0x651fd24a
and eax, 0xfffffffe
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
call dword [0x652b1c18]
test bl, bl
jne 0x651fd257
cmp byte [esp + 0x12], bl
sete byte [esp + 0x12]
mov ebx, dword [esp + 0x4c]
lea ecx, [edi + 0x200]
inc ebp
cmp ebp, ebx
jl 0x651fd152
mov esi, dword [esp + 0xa0]
mov al, byte [esp + 0x12]
test al, al
je 0x651fd28d
or dword [esp + 0xec], 2
jmp 0x651fd295
mov al, bl
and al, 1
mov byte [esp + 0x12], al
jmp 0x651fd275
and dword [esp + 0xec], 0xfffffffd
mov ebp, dword [esp + 0x34]
mov eax, esi
and eax, 0xffff7fff
mov ecx, ebp
mov dword [esp + 0xa0], eax
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push ebp
lea ecx, [esp + 0x20]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0xa0]
push ecx
push 0x2d
mov ecx, eax
call dword [edx + 0x54]
cmp byte [esp + 0x12], 0
mov ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa0], esi
sete byte [esp + 0x12]
mov edi, dword [edi + 0x1a4]
mov esi, dword [ebx]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x651fd318
xor eax, eax
nop dword [eax]
cmp dword [ecx + 0xc], esi
jl 0x651fd2fc
mov eax, ecx
mov ecx, dword [ecx + 4]
jmp 0x651fd2ff
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x651fd2f0
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x1a4]
test eax, eax
je 0x651fd31c
cmp esi, dword [eax + 0xc]
jl 0x651fd31c
jmp 0x651fd320
mov ebx, dword [esp + 0x14]
mov edx, edi
xor eax, eax
test eax, eax
lea ecx, [edi + 8]
cmove eax, ecx
lea ecx, [edx + 8]
cmp eax, ecx
je 0x651fd455
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x651fd34a
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x651fd34a
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x14]
jmp 0x651fd350
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x98]
mov eax, dword [ecx]
push ebx
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x2c]
add ebx, 0x10
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x70]
jne 0x651fcf90
mov ecx, dword [edi + 0x2b0]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
cmp byte [edi + 0x318], 0
je 0x651fd59b
mov eax, dword [edi + 0x308]
cmp eax, dword [edi + 0x310]
jg 0x651fd59b
mov eax, dword [edi + 0x30c]
cmp eax, dword [edi + 0x314]
jg 0x651fd59b
lea ecx, [esp + 0x140]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOptionRubberBand::constructor_void_
mov ebp, dword [esp + 0x34]
lea ecx, [esp + 0x140]
push ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::init_class_QWidget_const__
mov ebx, dword [esp + 0x14]
mov edi, dword [edi + 4]
mov dword [esp + 0x170], 1
mov byte [esp + 0x174], 0
mov eax, dword [ebx + 0x308]
cmp eax, dword [ebx + 0x310]
jg 0x651fd4cd
mov eax, dword [ebx + 0x30c]
cmp eax, dword [ebx + 0x314]
jg 0x651fd4cd
movups xmm0, xmmword [ebx + 0x308]
mov ecx, edi
movups xmmword [esp + 0x60], xmm0
mov eax, dword [edi]
call dword [eax + 0x138]
mov edx, dword [edi]
mov esi, eax
mov ecx, edi
neg esi
call dword [edx + 0x13c]
neg eax
lea ecx, [esp + 0x60]
push eax
push esi
push eax
push esi
lea eax, [esp + 0x130]
push eax
call dword [0x652b2338]
jmp 0x651fd4dc
mov edi, dword [ebx + 0x1a8]
mov esi, dword [esp + 0x24]
mov ecx, dword [edi + 0xc]
mov esi, dword [esi + 4]
test ecx, ecx
je 0x651fd48e
xor eax, eax
nop dword [eax + eax]
cmp dword [ecx + 0xc], esi
jl 0x651fd47c
mov eax, ecx
mov ecx, dword [ecx + 4]
jmp 0x651fd47f
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x651fd470
mov edx, edi
test eax, eax
je 0x651fd48e
cmp esi, dword [eax + 0xc]
jge 0x651fd492
mov edx, edi
xor eax, eax
test eax, eax
lea ecx, [edi + 8]
cmove eax, ecx
lea ecx, [edx + 8]
cmp eax, ecx
jne 0x651fd333
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x19c]
test eax, eax
je 0x651fd34e
mov eax, dword [eax + 4]
test eax, eax
je 0x651fd34e
mov ecx, dword [edi + 0x1a0]
jmp 0x651fd350
movups xmm0, xmmword [ebx + 0x308]
movups xmmword [esp + 0x120], xmm0
mov eax, dword [ebx + 0x15c]
push 0x10
push 0x10
push 0xfffffffffffffff0
mov eax, dword [eax + 0x14]
push 0xfffffffffffffff0
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x14]
sub esi, edx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
sub ecx, eax
lea eax, [esp + 0x198]
mov dword [esp + 0xa0], ecx
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], esi
call dword [0x652b2338]
push eax
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x128]
call dword [0x652b2198]
movups xmm0, xmmword [esp + 0x130]
lea ecx, [esp + 0x1c]
movups xmmword [esp + 0x150], xmm0
call dword [0x652b398c]
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QStyle____thiscall_QWidget::style_void_const
push 0
lea ecx, [esp + 0x20]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x148]
push ecx
push 0x1d
mov ecx, eax
call dword [edx + 0x58]
lea ecx, [esp + 0x1c]
call dword [0x652b3988]
lea ecx, [esp + 0x140]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
mov eax, dword [esp + 0x28]
pop esi
pop ebp
mov eax, dword [eax]
test eax, eax
je 0x651fd5be
cmp eax, 0xffffffff
je 0x651fd5cf
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x651fd5cf
push 4
push 0x10
push dword [esp + 0x28]
call dword [0x652b2428]
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [0x652b39b8]
lea ecx, [esp + 0x110]
call dword [0x652b3de8]
lea ecx, [esp + 0x108]
call dword [0x652b2410]
lea ecx, [esp + 0x104]
call dword [0x652b3dd8]
lea ecx, [esp + 0xe8]
call dword [0x652b2340]
lea ecx, [esp + 0xd8]
call dword [0x652b2a2c]
lea ecx, [esp + 0x90]
call sym.Qt5Widgets.dll_public:_void___thiscall_QStyleOption::destructor_void_
pop edi
pop ebx
add esp, 0x188
ret 4