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

Disassembly:
sub esp, 0x44
cmp byte [esp + 0x4c], 0
push ebx
mov bl, byte [esp + 0x4c]
push ebp
push esi
push edi
mov edi, ecx
movzx ecx, bl
mov ebp, dword [edi + 0x118]
mov edx, dword [edi + 0x108]
mov dword [esp + 0x10], ebp
je 0x6524a4dc
mov eax, ecx
and edx, 0xffffffbf
xor eax, 1
shl eax, 6
or eax, edx
mov dword [edi + 0x108], eax
jmp 0x6524a4de
mov eax, edx
shr eax, 5
and eax, 1
cmp eax, ecx
je 0x6524aa78
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x6524a507
test bl, bl
je 0x6524a507
mov eax, dword [eax + 4]
test byte [eax + 0x108], 0x20
je 0x6524aa78
mov eax, dword [ebp]
push ecx
lea ecx, [esp + 0x18]
mov esi, dword [eax + 0x80]
call dword [0x652b1e58]
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push 2
lea eax, [esp + 0x2c]
push eax
call esi
lea ecx, [esp + 0x14]
call dword [0x652b235c]
lea ecx, [esp + 0x24]
call dword [0x652b1fb0]
mov edx, dword [edi + 0x108]
mov bl, al
mov ecx, edx
movzx esi, bl
shr ecx, 5
and ecx, 1
mov byte [esp + 0x58], bl
cmp ecx, esi
je 0x6524aa6e
mov bh, byte [esp + 0x60]
and edx, 0xffffffdf
shl esi, 5
or edx, esi
mov dword [edi + 0x108], edx
test bh, bh
je 0x6524a5dc
push 2
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call sym.Qt5Widgets.dll_public:_class_QVariant___thiscall_QGraphicsItemPrivate::extra_enum_QGraphicsItemPrivate::Extra_
push eax
call fcn.652383e0
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
call dword [0x652b235c]
test esi, esi
je 0x6524a5a2
mov ecx, esi
call fcn.65243960
cmp dword [edi + 0x78], 0
je 0x6524a5dc
mov ecx, edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively_void_
mov eax, dword [edi + 0x78]
xorps xmm0, xmm0
push 0
push 0
push 0
mov ecx, dword [eax + 4]
lea eax, [esp + 0x40]
push 1
push 0
push eax
push dword [edi + 0x118]
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x60], xmm0
call fcn.65261b90
mov ecx, dword [edi + 0x118]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::hasFocus_void_const
mov esi, dword [edi + 0x78]
mov byte [esp + 0x5c], al
test bl, bl
jne 0x6524a73e
test esi, esi
je 0x6524a66e
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
add ecx, 0xf0
call fcn.651b4b30
test al, al
je 0x6524a61b
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::ungrabMouse_void_
mov esi, dword [edi + 0x78]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
add ecx, 0xf4
mov ebx, esi
call fcn.651b4b30
test al, al
je 0x6524a63e
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::ungrabKeyboard_void_
mov ebx, dword [edi + 0x78]
mov eax, dword [ebp + 4]
mov esi, ebx
mov eax, dword [eax + 0x10c]
shr eax, 0xe
test al, 1
je 0x6524a66a
cmp dword [edi + 0x100], 0
je 0x6524a66a
push dword [edi + 0x118]
mov ecx, dword [ebx + 4]
call fcn.65261750
mov esi, dword [edi + 0x78]
mov bh, byte [esp + 0x60]
cmp byte [esp + 0x5c], 0
je 0x6524a71c
test esi, esi
je 0x6524a71c
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsScene::focusItem_void_const
test dword [edi + 0x108], 0x1000000
mov edx, eax
je 0x6524a70f
mov ecx, dword [edx + 4]
mov ecx, dword [ecx + 0x10c]
shr ecx, 0xe
test cl, 1
jne 0x6524a70f
mov esi, dword [edi + 0x118]
cmp edx, esi
je 0x6524a6f7
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x6524a70f
nop
mov ecx, dword [eax + 4]
test byte [ecx + 0x10b], 1
jne 0x6524a6d5
mov eax, dword [ecx + 0x7c]
test eax, eax
jne 0x6524a6c0
jmp 0x6524a70f
lea edx, [eax - 8]
lea eax, [edx + 8]
neg edx
sbb edx, edx
and edx, eax
je 0x6524a70f
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x10c]
shr eax, 0xe
test al, 1
jne 0x6524a70f
cmp edx, esi
jne 0x6524a6b5
lea eax, [esi - 8]
neg esi
push 1
sbb esi, esi
and esi, eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
call eax
test al, al
jne 0x6524a71c
push dword [esp + 0x64]
mov ecx, edi
push 0
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::clearFocusHelper_bool__bool_
mov ecx, dword [edi + 0x118]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
je 0x6524a7ab
mov ecx, dword [edi + 0x118]
push 0
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setSelected_bool_
jmp 0x6524a7ab
or dword [edi + 0x10c], 0x500000
test esi, esi
je 0x6524a7ab
test dword [edi + 0x108], 0x1000000
je 0x6524a77f
mov esi, dword [edi + 0x118]
lea eax, [esi - 8]
neg esi
sbb esi, esi
and esi, eax
mov ecx, esi
call sym.Qt5Widgets.dll_public:_enum_Qt::WindowType___thiscall_QGraphicsWidget::windowType_void_
cmp eax, 9
jne 0x6524a77f
mov ecx, dword [edi + 0x78]
push esi
mov ecx, dword [ecx + 4]
call fcn.65256ab0
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x10c]
shr eax, 0xe
test al, 1
je 0x6524a7ab
cmp dword [edi + 0x100], 0
je 0x6524a7ab
mov ecx, dword [edi + 0x78]
push 0
push dword [edi + 0x118]
mov ecx, dword [ecx + 4]
call fcn.6525c2a0
test bh, bh
je 0x6524a7ca
mov eax, dword [edi + 0x10c]
test eax, 0x80010
je 0x6524a7c3
test eax, 0x400
je 0x6524a7ca
mov byte [esp + 0x60], 1
jmp 0x6524a7cf
mov byte [esp + 0x60], 0
lea eax, [edi + 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 0x6524a84d
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x60]
cmp byte [esp + 0x58], 0
mov ecx, dword [edx]
je 0x6524a826
mov eax, dword [ecx + 4]
test byte [eax + 0x108], 0x40
jne 0x6524a83e
push dword [esp + 0x64]
mov ecx, dword [ecx + 4]
push ebp
push 0
push ebx
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::setVisibleHelper_bool__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 0x6524a811
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x6524a86a
cmp eax, 0xffffffff
je 0x6524a877
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6524a877
push dword [esp + 0x14]
call dword [0x652b23cc]
add esp, 4
cmp dword [edi + 0x78], 0
mov ebx, dword [esp + 0x10]
je 0x6524a8e0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10c]
shr eax, 0xe
test al, 1
mov al, byte [esp + 0x58]
je 0x6524a8e4
test al, al
je 0x6524a8ca
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x6524a8e4
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isActive_void_const
test al, al
je 0x6524a8e0
mov eax, dword [ebx + 4]
or dword [eax + 0x110], 4
mov eax, dword [ebx + 4]
or dword [eax + 0x110], 8
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x6524a8e0
push ebx
jmp 0x6524a8db
mov ecx, ebx
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isActive_void_const
test al, al
je 0x6524a8e0
push dword [edi + 0x7c]
mov ecx, dword [edi + 0x78]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::setActivePanel_class_QGraphicsItem__
mov al, byte [esp + 0x58]
cmp dword [edi + 0x78], 0
je 0x6524aa1c
test al, al
je 0x6524a9de
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x6524a916
nop dword [eax]
mov eax, dword [eax + 4]
test dword [eax + 0x10c], 0x8000
jne 0x6524a940
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x6524a900
mov esi, dword [edi + 0xf4]
test esi, esi
je 0x6524a99e
mov ecx, dword [edi + 0x78]
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsScene::focusItem_void_const
cmp esi, eax
je 0x6524a99e
mov ecx, dword [edi + 0x78]
push 7
push esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::setFocusItem_class_QGraphicsItem___enum_Qt::FocusReason_
jmp 0x6524aa1c
mov esi, dword [eax + 0xf8]
mov ecx, dword [edi + 0x118]
cmp ecx, esi
je 0x6524a95a
push esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isAncestorOf_class_QGraphicsItem_const__const
test al, al
je 0x6524a916
mov eax, dword [esi + 4]
cmp dword [eax + 0xf8], 0
je 0x6524a994
nop word [eax + eax]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xf8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x108]
shr eax, 5
test al, 1
je 0x6524a994
cmp dword [edx + 0xf8], 0
mov esi, ecx
jne 0x6524a970
mov ecx, dword [esi + 4]
push 0
jmp 0x6524aa13
test dword [edi + 0x10c], 0x8000
je 0x6524aa1c
mov ecx, dword [edi + 0x78]
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsScene::focusItem_void_const
test eax, eax
jne 0x6524aa1c
mov eax, dword [edi + 0x78]
mov ecx, ebx
mov eax, dword [eax + 4]
push dword [eax + 0xcc]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isAncestorOf_class_QGraphicsItem_const__const
test al, al
je 0x6524aa1c
mov ecx, dword [edi + 0x118]
push 0
mov ecx, dword [ecx + 4]
jmp 0x6524aa13
cmp byte [esp + 0x5c], 0
je 0x6524aa1c
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x6524aa1c
nop dword [eax]
mov ecx, dword [eax + 4]
test dword [ecx + 0x10c], 0x8000
jne 0x6524aa08
mov eax, dword [ecx + 0x7c]
test eax, eax
jne 0x6524a9f0
jmp 0x6524aa1c
test byte [ecx + 0x108], 0x20
je 0x6524aa1c
push 1
push 1
push 7
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::setFocusHelper_enum_Qt::FocusReason__bool__bool_
mov ecx, dword [edi + 0x118]
lea edx, [esp + 0x24]
push edx
push 0xc
lea edx, [esp + 0x3c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x80]
lea ecx, [esp + 0x34]
call dword [0x652b235c]
test dword [edi + 0x10c], 0x1000000
je 0x6524aa6e
mov ecx, dword [edi + 0x118]
push 0
push 2
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 dword [0x652b235c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10