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

Disassembly:
sub esp, 0xac
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x10], ebx
push esi
mov esi, dword [ebx + 4]
test ebp, ebp
jne 0x6525f398
push str.QGraphicsScene::addItem:_cannot_add_null_item
push 0
push 0
push 0
lea ecx, [esp + 0x40]
call dword [0x652b8668]
push eax
call dword [0x652b8664]
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 4
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x78]
cmp ecx, ebx
jne 0x6525f3a9
push str.QGraphicsScene::addItem:_item_has_already_been_added_to_this_scene
jmp 0x6525f372
test ecx, ecx
je 0x6525f3b3
push ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::removeItem_class_QGraphicsItem__
push edi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push 1
push eax
call fcn.6526b820
push eax
lea ecx, [esp + 0x40]
call dword [0x652b8224]
mov eax, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
push 0xb
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call dword [eax + 0x80]
lea ecx, [esp + 0x34]
call dword [0x652b855c]
lea eax, [esp + 0x5c]
push eax
call fcn.6526adb0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x6525f428
test edi, edi
je 0x6525fa47
mov ecx, dword [ebp + 4]
cmp dword [ecx + 0x78], edi
je 0x6525fa47
push ebp
mov ecx, edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::addItem_class_QGraphicsItem__
jmp 0x6525fa47
mov eax, dword [ebp + 4]
test dword [eax + 0x110], 0x400
jne 0x6525f5ad
mov eax, dword [esi + 0xb8]
cmp dword [eax + 4], 0
jne 0x6525f58d
push dword [esi + 0x48]
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax]
mov ecx, eax
call dword [0x652b72ec]
push 0
push 0
lea ecx, [esp + 0x84]
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x28], eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x30], eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0xbc]
mov dword [esp + 0x34], eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0x94]
mov dword [esp + 0x38], eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0xb4]
mov dword [esp + 0x2c], eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x24], eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0x8c]
mov ebp, eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0x74]
mov ebx, eax
call dword [0x652b83dc]
push 0
push 0
lea ecx, [esp + 0x3c]
mov edi, eax
call dword [0x652b83dc]
mov ecx, dword [esp + 0x20]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x30]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x3c]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x48]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x44]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x44]
push dword [ecx + 4]
push dword [ecx]
push dword [ebp + 4]
push dword [ebp]
push dword [ebx + 4]
push dword [ebx]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0xa0]
push dword [eax]
push 2
push ebx
call dword [0x652b72e0]
mov ebp, dword [esp + 0xc0]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc0]
push eax
lea ecx, [esi + 0xb8]
call fcn.65080ce0
mov eax, dword [ebp + 4]
or dword [eax + 0x110], 0x100
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x6525f5c8
mov eax, dword [eax + 4]
cmp dword [eax + 0x78], ebx
je 0x6525f5c8
push 0
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setParentItem_class_QGraphicsItem__
mov eax, dword [ebp + 4]
push ebp
mov dword [eax + 0x78], edi
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [ebp + 4]
cmp dword [eax + 0x7c], 0
jne 0x6525f5e8
push ebp
mov ecx, esi
call fcn.6526beb0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x48]
call dword [0x652b84dc]
push eax
push ebp
mov ecx, esi
call fcn.65269ca0
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0xb4]
or ecx, 2
inc dword [esi + 0xb0]
mov dword [esi + 0x78], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
test ecx, 0x1000
je 0x6525f643
push ebp
mov ecx, esi
call fcn.65269100
test al, al
je 0x6525f643
and dword [esi + 0x78], 0xffffefff
mov ecx, esi
call fcn.65264cf0
mov ecx, dword [esi + 0x78]
test ecx, 0x2000
je 0x6525f675
mov eax, dword [ebp + 4]
test dword [eax + 0x108], 0x8000
je 0x6525f675
and ecx, 0xffffdfff
mov dword [esi + 0x78], ecx
test ecx, 0x1000
je 0x6525f675
mov ecx, esi
call fcn.65264cf0
mov ecx, dword [esi + 0x78]
test ecx, 0x10000
je 0x6525f69f
mov eax, dword [ebp + 4]
test dword [eax + 0x10c], 0x8000000
je 0x6525f69f
and ecx, 0xfffeffff
mov dword [esi + 0x78], ecx
mov ecx, esi
call fcn.65264da0
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x14]
push eax
add ecx, 0x104
call fcn.65038100
push eax
lea ecx, [esp + 0x38]
call fcn.6502ff90
lea ecx, [esp + 0x14]
call fcn.651123f0
mov edx, dword [esp + 0x40]
test edx, edx
je 0x6525f6fd
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x3c]
je 0x6525f6fd
mov eax, dword [ecx]
test edx, edx
je 0x6525f6ed
push dword [eax]
mov ecx, esi
push ebp
call fcn.652682f0
mov ecx, dword [esp + 0x38]
xor edx, edx
add ecx, 4
xor edx, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
jne 0x6525f6d1
lea ecx, [esp + 0x34]
call fcn.651123f0
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
je 0x6525f72e
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xb4]
call fcn.651fe120
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isWidget_void_const
test al, al
je 0x6525f75b
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isVisible_void_const
test al, al
je 0x6525f75b
lea edi, [ebp - 8]
mov ecx, edi
call sym.Qt5Widgets.dll_public:_enum_Qt::WindowType___thiscall_QGraphicsWidget::windowType_void_
cmp eax, 9
jne 0x6525f75b
push edi
mov ecx, esi
call fcn.6525fbd0
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x6525f786
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isVisible_void_const
test al, al
je 0x6525f786
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_enum_Qt::Orientation___thiscall_QGraphicsLinearLayout::orientation_void_
test eax, eax
je 0x6525f786
push 0
push ebp
mov ecx, esi
call fcn.65264f40
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isWidget_void_const
test al, al
je 0x6525f816
cmp dword [esi + 0xe0], 0
lea eax, [ebp - 8]
jne 0x6525f7a9
mov dword [esi + 0xe0], eax
jmp 0x6525f816
lea edi, [eax + 8]
mov ecx, edi
call sym.Qt5Widgets.dll_public:_class_QGraphicsWidget____thiscall_QGraphicsItem::parentWidget_void_const
test eax, eax
jne 0x6525f816
mov ecx, edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
jne 0x6525f816
mov eax, dword [esi + 0xe0]
lea edx, [ebp - 8]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x14c]
mov eax, dword [edi + 0xc]
mov dword [eax + 0x148], edx
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x14c]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0xe0]
mov dword [ecx + 0x148], eax
mov eax, dword [esi + 0xe0]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x14c]
mov dword [ecx + 0x14c], eax
mov eax, dword [ebp + 4]
mov dword [eax + 0x14c], edi
mov ecx, dword [ebp + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::ensureSortedChildren_void_
mov ecx, dword [ebp + 4]
xor edi, edi
lea ecx, [ecx + 0x80]
call dword [0x652b85d8]
test eax, eax
jle 0x6525f85e
mov ecx, dword [ebp + 4]
push edi
sub ecx, 0xffffff80
call dword [0x652b85d0]
mov ecx, ebx
mov eax, dword [eax]
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::addItem_class_QGraphicsItem__
mov ecx, dword [ebp + 4]
inc edi
lea ecx, [ecx + 0x80]
call dword [0x652b85d8]
cmp edi, eax
jl 0x6525f833
mov edi, dword [ebp + 4]
lea ecx, [esi + 0x140]
mov ebx, dword [edi]
call dword [0x652ba1ec]
push eax
mov ecx, edi
call dword [ebx + 0x10]
mov edi, dword [ebp + 4]
lea ecx, [esi + 0x148]
mov ebx, dword [edi]
add ebx, 0x14
call dword [0x652b9c80]
push eax
mov ecx, edi
call dword [ebx]
dec dword [esi + 0xb0]
mov edi, dword [esp + 0x18]
jne 0x6525f8bc
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0xc], ecx
je 0x6525f8bc
push 0
push 2
push sym.Qt5Widgets.dll_struct_QMetaObject_const_QGraphicsScene::staticMetaObject
push edi
call dword [0x652b85f4]
add esp, 0x10
mov eax, dword [ebp]
lea ecx, [esp + 0x5c]
push ecx
push 0x10
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebp
call dword [eax + 0x80]
lea ecx, [esp + 0x6c]
call dword [0x652b855c]
cmp dword [esi + 0xf0], 0
mov bl, 1
jne 0x6525f910
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x110]
test al, 4
je 0x6525f907
and al, 8
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [esi + 0xf0], eax
cmp dword [esi + 0xf0], 0
je 0x6525f943
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x6525f943
cmp dword [esi + 0xf0], 1
jne 0x6525f931
mov ecx, dword [edi + 4]
push 0
push ebp
call fcn.6526e4b0
jmp 0x6525f933
xor bl, bl
mov dword [esi + 0xf0], 0
test bl, bl
je 0x6525f98f
jmp 0x6525f956
mov eax, dword [ebp + 4]
cmp dword [eax + 0x7c], 0
jne 0x6525f956
mov dword [esi + 0xf0], 0
cmp dword [esi + 0xe8], 0
jne 0x6525f98f
cmp dword [esi + 0xe4], 0
jne 0x6525f98f
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x6525f98f
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xec], 0
jle 0x6525f989
push 0
push ebp
call fcn.6526e4b0
jmp 0x6525f98f
mov dword [esi + 0xe8], ebp
mov eax, dword [ebp + 4]
test dword [eax + 0x10c], 0x10000
je 0x6525f9e7
lea eax, [esp + 0x13]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc4]
call fcn.651fe120
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x6525f9e7
jmp 0x6525f9d0
mov eax, dword [ecx + 4]
or dword [eax + 0x110], 0x80
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x6525f9d0
cmp dword [esi + 0xd4], 0
jne 0x6525fa13
cmp ebp, dword [esi + 0xd8]
je 0x6525fa13
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsItem::focusItem_void_const
cmp eax, ebp
jne 0x6525fa13
push 7
mov ecx, ebp
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsItem::focusItem_void_const
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setFocus_enum_Qt::FocusReason_
add esi, 0x134
xor edi, edi
mov ecx, esi
call dword [0x652b85d8]
test eax, eax
jle 0x6525fa47
push edi
mov ecx, esi
call dword [0x652b85d0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsViewPrivate::updateInputMethodSensitivity_void_
mov ecx, esi
inc edi
call dword [0x652b85d8]
cmp edi, eax
jl 0x6525fa27
lea ecx, [esp + 0x5c]
call dword [0x652b855c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 4