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

Disassembly:
sub esp, 0x44
cmp byte [esp + 0x4c], 0
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x4c]
push ebp
mov dword [esp + 8], ebx
movzx ebp, cl
mov edx, dword [ebx + 0x108]
je 0x65247177
mov eax, ebp
and edx, 0xfffffeff
xor eax, 1
shl eax, 8
or eax, edx
mov dword [ebx + 0x108], eax
jmp 0x65247179
mov eax, edx
shr eax, 7
and eax, 1
cmp eax, ebp
je 0x65247404
push esi
push edi
test cl, cl
jne 0x6524728d
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x652471ac
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsScene::mouseGrabberItem_void_const
mov ecx, dword [ebx + 0x118]
cmp eax, ecx
jne 0x652471ac
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::ungrabMouse_void_
mov ecx, dword [ebx + 0x118]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::hasFocus_void_const
test al, al
je 0x65247271
mov ecx, dword [ebx + 0x78]
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsScene::focusItem_void_const
test dword [ebx + 0x108], 0x1000000
mov esi, eax
je 0x6524725f
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x10c]
shr ecx, 0xe
test cl, 1
jne 0x6524725f
mov ecx, dword [ebx + 0x118]
push esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isAncestorOf_class_QGraphicsItem_const__const
test al, al
je 0x6524725f
mov edx, dword [ebx + 0x118]
cmp esi, edx
je 0x65247247
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x6524725f
nop
mov ecx, dword [eax + 4]
test byte [ecx + 0x10b], 1
jne 0x65247225
mov eax, dword [ecx + 0x7c]
test eax, eax
jne 0x65247210
jmp 0x6524725f
lea esi, [eax - 8]
lea eax, [esi + 8]
neg esi
sbb esi, esi
and esi, eax
je 0x6524725f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10c]
shr eax, 0xe
test al, 1
jne 0x6524725f
cmp esi, edx
jne 0x65247204
lea eax, [edx - 8]
neg edx
push 1
sbb edx, edx
and edx, eax
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x48]
call eax
test al, al
jne 0x65247271
mov ecx, dword [ebx + 0x118]
push 0
push 1
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::clearFocusHelper_bool__bool_
mov ecx, dword [ebx + 0x118]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
je 0x6524728d
mov ecx, dword [ebx + 0x118]
push 0
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setSelected_bool_
mov edi, dword [ebx + 0x118]
lea ecx, [esp + 0x14]
push ebp
mov eax, dword [edi]
mov esi, dword [eax + 0x80]
call dword [0x652b1e58]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 3
lea eax, [esp + 0x2c]
push eax
call esi
mov edi, dword [0x652b235c]
lea ecx, [esp + 0x14]
call edi
lea ecx, [esp + 0x24]
call dword [0x652b1fb0]
movzx ecx, al
mov eax, dword [ebx + 0x108]
shl ecx, 7
and eax, 0xffffff7f
or eax, ecx
cmp byte [esp + 0x60], 0
mov dword [ebx + 0x108], eax
je 0x65247309
mov ecx, dword [ebx + 0x118]
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::update_class_QRectF_const__
lea eax, [ebx + 0x80]
push eax
lea ecx, [esp + 0x18]
call fcn.65001bf0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
add edx, 4
lea edx, [ecx + edx*4]
mov dword [esp + 0x18], edx
mov esi, dword [ecx + 0xc]
add esi, 4
mov dword [esp + 0x20], 1
lea esi, [ecx + esi*4]
mov dword [esp + 0x1c], esi
cmp edx, esi
je 0x65247384
mov ebx, dword [esp + 0x58]
mov ecx, dword [edx]
test bl, bl
je 0x6524735c
mov eax, dword [ecx + 4]
test dword [eax + 0x108], 0x100
jne 0x65247371
mov ecx, dword [ecx + 4]
push 1
push 0
push ebx
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::setEnabledHelper_bool__bool__bool_
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add edx, 4
mov dword [esp + 0x18], edx
cmp edx, esi
jne 0x65247347
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x652473a1
cmp eax, 0xffffffff
je 0x652473ae
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x652473ae
push dword [esp + 0x14]
call dword [0x652b23cc]
add esp, 4
mov ecx, dword [ebx + 0x118]
lea edx, [esp + 0x24]
push edx
push 0xd
lea edx, [esp + 0x3c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x80]
lea ecx, [esp + 0x34]
call edi
test dword [ebx + 0x10c], 0x1000000
je 0x652473fc
mov ecx, dword [ebx + 0x118]
push 0
push 3
push sym.Qt5Widgets.dll_struct_QMetaObject_const_QGraphicsObject::staticMetaObject
lea eax, [ecx - 8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call dword [0x652b23d8]
add esp, 0x10
lea ecx, [esp + 0x24]
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc