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

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x28], edi
call sym.Qt5Widgets.dll_public:_enum_Qt::MouseButton___thiscall_QGraphicsSceneMouseEvent::button_void_
cmp eax, 1
jne 0x65248f93
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x10c]
and eax, 0xfffff
test al, 2
je 0x65248f93
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::KeyboardModifier____thiscall_QGraphicsSceneMouseEvent::modifiers_void_
push 1
mov ecx, esi
mov eax, dword [eax]
shr eax, 0x1a
and eax, 0xffffff01
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
call sym.Qt5Widgets.dll_public:_class_QPointF___thiscall_QGraphicsSceneMouseEvent::buttonDownScenePos_enum_Qt::MouseButton_
mov ecx, dword [esp + 0x3c]
mov esi, eax
lea eax, [esp + 8]
push eax
call sym.Qt5Widgets.dll_public:_class_QPointF___thiscall_QGraphicsSceneMoveEvent::newPos_void_
movsd xmm2, qword [0x652bfb30]
xorps xmm3, xmm3
movsd xmm0, qword [eax]
subsd xmm0, qword [esi]
comisd xmm0, xmm3
jae 0x65248e1a
xorpd xmm0, xmm2
movsd xmm1, qword [0x652bfad8]
comisd xmm1, xmm0
jb 0x65248f8f
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [esi + 8]
comisd xmm0, xmm3
jae 0x65248e40
xorpd xmm0, xmm2
comisd xmm1, xmm0
jb 0x65248f8f
cmp byte [esp + 0x30], 0
je 0x65248e66
mov ecx, edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
sete al
movzx eax, al
push eax
jmp 0x65248f88
mov eax, dword [edi + 4]
mov byte [esp + 0x37], 0
mov esi, dword [eax + 0x78]
mov dword [esp + 0x30], esi
test esi, esi
je 0x65248f86
mov eax, dword [esi + 4]
inc dword [eax + 0xb0]
mov eax, dword [edi + 4]
test dword [eax + 0x108], 0x200
je 0x65248f34
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2c]
push eax
add ecx, 0xb4
mov dword [esp + 0x30], edi
call fcn.652a24c0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x18]
add eax, 0xb4
push eax
call fcn.6523ec40
mov esi, dword [esp + 0x24]
test esi, esi
je 0x65248f04
mov edi, dword [esp + 0x1c]
mov edi, edi
cmp edi, dword [esp + 0x20]
je 0x65248f00
test esi, esi
je 0x65248eef
mov ecx, dword [edi + 8]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
jne 0x65248eea
xor esi, esi
jmp 0x65248eef
mov byte [esp + 0x37], 1
push edi
call dword [0x652b836c]
add esp, 4
mov edi, eax
xor esi, 1
jne 0x65248ed0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
lea edx, [ecx + 8]
test eax, eax
je 0x65248f25
cmp eax, 0xffffffff
je 0x65248f30
or eax, 0xffffffff
lock xadd dword [edx], eax
setne al
test al, al
jne 0x65248f30
push sym.Qt5Widgets.dll_public:_void___thiscall_QStyleHintReturn::destructor_void_
call dword [0x652b8564]
mov esi, dword [esp + 0x30]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::clearSelection_void_
mov eax, dword [edi + 4]
test dword [eax + 0x108], 0x200
je 0x65248f6b
mov ecx, dword [esi + 4]
lea eax, [esp + 0x36]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
lea eax, [esp + 0x34]
add ecx, 0xb4
push eax
call fcn.651fe120
mov eax, dword [esi + 4]
dec dword [eax + 0xb0]
cmp byte [esp + 0x37], 0
je 0x65248f86
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x78]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::selectionChanged_void_
push 1
mov ecx, edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setSelected_bool_
mov esi, dword [esp + 0x3c]
mov eax, dword [edi + 4]
cmp dword [eax + 0x78], 0
je 0x65248fc1
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::MouseButton____thiscall_QGraphicsSceneMouseEvent::buttons_void_
cmp dword [eax], 0
jne 0x65248fc1
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax + 4]
add ecx, 0xc0
call fcn.651b7860
pop edi
pop esi
add esp, 0x30
ret 4