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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x398
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push edi
mov edi, ecx
mov ecx, esi
push eax
mov dword [esp + 0x1c], edi
call sym.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::MouseButton____thiscall_QGraphicsSceneMouseEvent::buttons_void_
test byte [eax], 1
je 0x65241e13
mov ecx, dword [edi + 4]
test byte [ecx + 0x10c], 1
je 0x65241e13
mov eax, dword [0x652b21d4]
mov edi, dword [0x652b22d4]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], edi
test ecx, ecx
je 0x652416b1
lea eax, [esp + 0x14]
push eax
call sym.Qt5Widgets.dll_public:_class_QList_class_QGraphicsItem_____thiscall_QGraphicsScene::selectedItems_void_
mov ecx, dword [0x652b22d4]
mov edx, dword [eax]
mov dword [eax], ecx
mov eax, dword [edi]
mov dword [esp + 0x34], edx
test eax, eax
je 0x6524156f
cmp eax, 0xffffffff
je 0x6524157d
or eax, 0xffffffff
lock xadd dword [edi], eax
setne al
test al, al
jne 0x6524157d
push edi
mov edi, dword [0x652b23cc]
call edi
add esp, 4
jmp 0x65241583
mov edi, dword [0x652b23cc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x652415a4
cmp eax, 0xffffffff
je 0x652415ad
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x652415ad
push dword [esp + 0x14]
call edi
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 4]
add eax, 0xb4
push eax
call fcn.65239ac0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], edi
cmp dword [eax + 0xc], 0
jne 0x65241694
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov esi, dword [ecx + 8]
add esi, 4
lea edi, [edi + eax*4]
add edi, 0x10
lea esi, [ecx + esi*4]
cmp esi, edi
je 0x65241649
nop dword [eax]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 4]
movsd xmm0, qword [eax + 0x58]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [eax + 0x60]
lea eax, [esp + 0x1c]
push eax
movsd qword [esp + 0x3c], xmm0
call fcn.6523a320
movsd xmm0, qword [esp + 0x40]
add esi, 4
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [eax + 8], xmm0
cmp esi, edi
jne 0x65241600
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x10]
movsd xmm0, qword [eax + 0x58]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [eax + 0x60]
lea eax, [esp + 0x1c]
push eax
movsd qword [esp + 0x3c], xmm0
call fcn.6523a320
movsd xmm0, qword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 8]
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [eax + 8], xmm0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax + 4]
add ecx, 0xb4
call fcn.65239ac0
xor eax, eax
mov ecx, esi
mov dword [esp + 0x30], eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QWidgetLineControl::end_void_const
test eax, eax
je 0x652416e1
mov ecx, esi
call sym.Qt5Widgets.dll_public:_int___thiscall_QWidgetLineControl::end_void_const
mov ecx, eax
call dword [0x652b23a4]
push eax
mov ecx, sym.Qt5Widgets.dll_struct_QMetaObject_const_QGraphicsView::staticMetaObject
call dword [0x652b23e8]
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
sub ecx, edx
mov dword [esp + 0x1c], 0
mov byte [esp + 0xf], 0
js 0x65241daf
xor eax, eax
cmp eax, ecx
jge 0x65241714
add eax, edx
mov edi, dword [edi + eax*4 + 0x10]
mov dword [esp + 0x5c], edi
cmp edi, dword [esp + 0x18]
jne 0x6524172c
jmp 0x6524171c
mov edi, dword [esp + 0x18]
mov dword [esp + 0x5c], edi
cmp byte [esp + 0xf], 0
jne 0x65241daf
mov byte [esp + 0xf], 1
mov eax, dword [edi + 4]
test byte [eax + 0x10c], 1
je 0x65241d92
mov esi, dword [eax + 0x7c]
test esi, esi
je 0x65241797
mov eax, dword [esi + 4]
test byte [eax + 0x10c], 1
je 0x6524175e
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
jne 0x65241d92
mov eax, dword [esi + 4]
mov esi, dword [eax + 0x7c]
test esi, esi
je 0x65241794
mov eax, dword [esi + 4]
test byte [eax + 0x10c], 1
je 0x65241783
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
jne 0x65241d92
push esi
call fcn.6523ac00
add esp, 4
test al, al
jne 0x65241d92
mov eax, dword [edi + 4]
test dword [eax + 0x108], 0x40000
je 0x65241991
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1e0]
push eax
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsView::viewportTransform_void_
push eax
lea eax, [esp + 0x194]
mov ecx, edi
push eax
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsItem::deviceTransform_class_QTransform_const__
push 0
lea ecx, [esp + 0x144]
push ecx
mov ecx, eax
call dword [0x652b3a94]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x100]
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QGraphicsSceneContextMenuEvent::screenPos_void_
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0x10c]
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapFromGlobal_class_QPoint_const__
mov esi, dword [0x652b2b30]
lea ecx, [esp + 0x140]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0xc0], xmm0
movd xmm0, dword [eax + 4]
lea eax, [esp + 0xc0]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x234]
push eax
movsd qword [esp + 0xd0], xmm0
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 4]
cmp dword [ecx + 0x84], 0
jne 0x65241879
movsd xmm1, qword [ecx + 0x60]
movsd xmm0, qword [eax]
addsd xmm1, qword [eax + 8]
addsd xmm0, qword [ecx + 0x58]
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x80], xmm0
jmp 0x65241896
lea eax, [esp + 0x1e0]
push eax
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsItemPrivate::transformToParent_void_
push dword [esp + 0x20]
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call esi
movaps xmm0, xmmword [esp + 0x80]
lea eax, [esp + 0x110]
mov ecx, dword [ebp + 8]
push 1
push eax
movaps xmmword [esp + 0x48], xmm0
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QGraphicsSceneMouseEvent::buttonDownScreenPos_enum_Qt::MouseButton_
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0x11c]
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapFromGlobal_class_QPoint_const__
lea ecx, [esp + 0x140]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0xd0], xmm0
movd xmm0, dword [eax + 4]
lea eax, [esp + 0xd0]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x244]
push eax
movsd qword [esp + 0xe0], xmm0
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 4]
cmp dword [ecx + 0x84], 0
jne 0x65241938
movsd xmm1, qword [ecx + 0x60]
movsd xmm0, qword [ecx + 0x58]
addsd xmm1, qword [eax + 8]
addsd xmm0, qword [eax]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
jmp 0x65241952
lea eax, [esp + 0x1e0]
push eax
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsItemPrivate::transformToParent_void_
push dword [esp + 0x20]
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call esi
movaps xmm0, xmmword [esp + 0x70]
movaps xmmword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x60], xmm1
jmp 0x65241cff
test byte [eax + 0x10c], 0x20
je 0x65241bc4
lea ecx, [esp + 0x190]
call dword [0x652b3e50]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x65241a05
push 0
lea eax, [esp + 0x144]
push eax
call fcn.6523d230
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x190], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x1a0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x1b0], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esp + 0x1c0], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [esp + 0x1d0], xmm0
mov eax, dword [edi + 4]
movups xmm0, xmmword [eax + 0x58]
sub esp, 0x10
lea ecx, [esp + 0x1a0]
movups xmmword [esp], xmm0
call dword [0x652b3a90]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x118]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::ensureSceneTransformRecursive_class_QGraphicsItem___
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x30]
movups xmm0, xmmword [eax + 0x90]
movups xmmword [esp + 0x140], xmm0
movups xmm0, xmmword [eax + 0xa0]
movups xmmword [esp + 0x150], xmm0
movups xmm0, xmmword [eax + 0xb0]
movups xmmword [esp + 0x160], xmm0
movups xmm0, xmmword [eax + 0xc0]
movups xmmword [esp + 0x170], xmm0
movups xmm0, xmmword [eax + 0xd0]
lea eax, [esp + 0x300]
push eax
movups xmmword [esp + 0x184], xmm0
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsView::viewportTransform_void_
push eax
lea eax, [esp + 0x354]
push eax
lea ecx, [esp + 0x148]
call dword [0x652b27e4]
push 0
lea ecx, [esp + 0x2b4]
push ecx
mov ecx, eax
call dword [0x652b3a94]
push eax
lea eax, [esp + 0x1e4]
push eax
lea ecx, [esp + 0x198]
call dword [0x652b27e4]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x128]
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QGraphicsSceneContextMenuEvent::screenPos_void_
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0x124]
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapFromGlobal_class_QPoint_const__
mov esi, dword [0x652b2b30]
lea ecx, [esp + 0x1e0]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0xb0], xmm0
movd xmm0, dword [eax + 4]
lea eax, [esp + 0xb0]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x254]
push eax
movsd qword [esp + 0xc0], xmm0
call esi
mov ecx, dword [ebp + 8]
push 1
movsd xmm0, qword [eax]
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [eax + 8]
lea eax, [esp + 0x13c]
push eax
movsd qword [esp + 0x40], xmm0
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QGraphicsSceneMouseEvent::buttonDownScreenPos_enum_Qt::MouseButton_
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0x134]
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapFromGlobal_class_QPoint_const__
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0xe0], xmm0
movd xmm0, dword [eax + 4]
cvtdq2pd xmm0, xmm0
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x2a4]
push eax
lea ecx, [esp + 0x1e8]
movsd qword [esp + 0xf0], xmm0
call esi
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x40], xmm0
jmp 0x65241cff
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x260]
push eax
call sym.Qt5Widgets.dll_public:_class_QPointF___thiscall_QGraphicsSceneMoveEvent::newPos_void_
push eax
lea eax, [esp + 0x274]
mov ecx, edi
push eax
call sym.Qt5Widgets.dll_public:_class_QPointF___thiscall_QGraphicsItem::mapFromScene_class_QPointF_const__
mov ecx, dword [edi + 4]
mov esi, eax
cmp dword [ecx + 0x84], 0
jne 0x65241c1f
movsd xmm1, qword [ecx + 0x60]
movsd xmm0, qword [ecx + 0x58]
addsd xmm1, qword [esi + 8]
addsd xmm0, qword [esi]
mov esi, dword [0x652b2b30]
movsd qword [esp + 0xa8], xmm1
movsd qword [esp + 0xa0], xmm0
jmp 0x65241c3f
lea eax, [esp + 0x2b0]
push eax
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsItemPrivate::transformToParent_void_
push esi
mov esi, dword [0x652b2b30]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call esi
movaps xmm0, xmmword [esp + 0xa0]
lea eax, [esp + 0x280]
mov ecx, dword [ebp + 8]
push 1
push eax
movaps xmmword [esp + 0x48], xmm0
call sym.Qt5Widgets.dll_public:_class_QPointF___thiscall_QGraphicsSceneMouseEvent::buttonDownScenePos_enum_Qt::MouseButton_
push eax
lea eax, [esp + 0x294]
mov ecx, edi
push eax
call sym.Qt5Widgets.dll_public:_class_QPointF___thiscall_QGraphicsItem::mapFromScene_class_QPointF_const__
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x84], 0
jne 0x65241ca5
movsd xmm1, qword [ecx + 0x60]
movsd xmm0, qword [eax]
addsd xmm1, qword [eax + 8]
addsd xmm0, qword [ecx + 0x58]
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm0
jmp 0x65241cc2
lea eax, [esp + 0x2b0]
push eax
call sym.Qt5Widgets.dll_public:_class_QTransform___thiscall_QGraphicsItemPrivate::transformToParent_void_
push dword [esp + 0x20]
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
call esi
movaps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x60], xmm0
mov esi, dword [esp + 0x10]
cmp dword [esi + 0xc], 0
je 0x65241d36
xor eax, eax
cmp dword [esi + 0x18], eax
je 0x65241d15
mov eax, dword [esi + 0x1c]
xor eax, edi
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.6500dd30
mov eax, dword [eax]
cmp eax, esi
je 0x65241d36
movsd xmm1, qword [eax + 0x10]
movsd xmm2, qword [eax + 0x18]
jmp 0x65241d3c
xorps xmm1, xmm1
xorps xmm2, xmm2
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0xf0]
addsd xmm0, xmm1
mov ecx, edi
push eax
subsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0xf4], xmm0
movsd xmm0, qword [esp + 0x3c]
addsd xmm0, xmm2
subsd xmm0, qword [esp + 0x44]
movsd qword [esp + 0xfc], xmm0
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setPos_class_QPointF_const__
mov eax, dword [edi + 4]
test byte [eax + 0x10c], 2
je 0x65241d92
push 1
mov ecx, edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setSelected_bool_
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
sub ecx, edx
cmp eax, ecx
jle 0x65241700
mov ecx, dword [esp + 0x10]
add ecx, 8
mov eax, dword [ecx]
test eax, eax
je 0x65241dd0
or edx, 0xffffffff
cmp eax, edx
je 0x65241de2
mov eax, edx
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x65241de2
mov ecx, dword [esp + 0x10]
push sym.Qt5Widgets.dll_public:_void___thiscall_QStyleHintReturn::destructor_void_
call dword [0x652b2364]
or edx, 0xffffffff
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [esp + 0x34]
test ecx, ecx
je 0x65241e01
cmp ecx, 0xffffffff
je 0x65241e1c
lock xadd dword [eax], edx
dec edx
setne cl
test cl, cl
jne 0x65241e1c
push eax
call dword [0x652b23cc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 0xfffb
and word [esi + 0xa], ax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4