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

Disassembly:
sub esp, 0x98
push esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x90], ecx
push edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x90], edi
test esi, esi
jne 0x6525604b
push esi
push esi
push esi
lea ecx, [esp + 0x34]
call dword [0x652b2438]
push str.QGraphicsScene::addItem:_cannot_add_null_item
push eax
call dword [0x652b2434]
add esp, 8
pop edi
pop esi
add esp, 0x98
ret 4
lea eax, [esi + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
cmp eax, ecx
jne 0x65256088
push 0
push 0
push 0
lea ecx, [esp + 0x34]
call dword [0x652b2438]
push str.QGraphicsScene::addItem:_item_has_already_been_added_to_this_scene
push eax
call dword [0x652b2434]
add esp, 8
pop edi
pop esi
add esp, 0x98
ret 4
test eax, eax
je 0x6525609b
push esi
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::removeItem_class_QGraphicsItem__
mov ecx, dword [esp + 0x94]
mov eax, dword [esi]
push 1
mov dword [esp + 0x9c], ecx
mov esi, dword [eax + 0x80]
lea eax, [esp + 0x9c]
push eax
call fcn.652634d0
push eax
lea ecx, [esp + 0x78]
call dword [0x652b1fa8]
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0x6c]
push eax
push 0xb
lea eax, [esp + 0x44]
push eax
call esi
lea ecx, [esp + 0x6c]
call dword [0x652b235c]
lea eax, [esp + 0x3c]
push eax
call fcn.65253cf0
mov ecx, dword [esp + 0x98]
add esp, 4
mov dword [esp + 0x80], eax
cmp eax, ecx
je 0x6525613f
test eax, eax
je 0x65256949
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx]
cmp dword [ecx + 0x78], eax
je 0x65256949
push dword [esp + 0xa4]
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::addItem_class_QGraphicsItem__
lea ecx, [esp + 0x3c]
call dword [0x652b235c]
pop edi
pop esi
add esp, 0x98
ret 4
mov esi, dword [esp + 0x9c]
mov eax, dword [esi]
test dword [eax + 0x110], 0x400
jne 0x65256264
mov eax, dword [edi + 0xac]
lea edx, [edi + 0xac]
cmp dword [eax + 4], 0
jne 0x652561c8
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
push dword [edi + 0x38]
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call dword [0x652b121c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 2
push dword [esp + 0xf0]
lea ecx, [esp + 0xac]
call dword [0x652b1208]
lea edx, [edi + 0xac]
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
inc eax
mov dword [esp + 0x84], eax
cmp ecx, 1
je 0x652561ef
test ecx, ecx
jne 0x652561fe
mov ecx, dword [esp + 0x98]
cmp ecx, eax
jb 0x65256207
mov edx, dword [edx]
jmp 0x65256235
mov ecx, dword [esp + 0x98]
cmp ecx, eax
sbb eax, eax
and eax, 8
cmp dword [esp + 0x84], ecx
mov ecx, dword [edx]
jbe 0x6525621d
mov ecx, dword [ecx + 4]
inc ecx
jmp 0x65256226
mov ecx, dword [ecx + 8]
and ecx, 0x7fffffff
push eax
push ecx
mov ecx, edx
call fcn.65007b70
mov edx, dword [edi + 0xac]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xa4]
mov dword [eax + edx], ecx
mov eax, dword [edi + 0xac]
mov ecx, dword [esp + 0x94]
inc dword [eax + 4]
mov eax, dword [esi]
or dword [eax + 0x110], 0x100
mov edx, dword [esi]
mov esi, dword [esp + 0xa4]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x6525628e
mov eax, dword [eax + 4]
cmp dword [eax + 0x78], ecx
je 0x6525628e
push 0
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setParentItem_class_QGraphicsItem__
mov eax, dword [esp + 0x9c]
mov edx, dword [eax]
mov eax, dword [esp + 0x80]
mov dword [edx + 0x78], eax
mov ecx, dword [edi + 0x40]
push esi
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
cmp dword [eax + 0x7c], 0
jne 0x652562b8
push esi
mov ecx, edi
call fcn.65263d50
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push esi
mov ecx, edi
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
call fcn.65261b90
mov ecx, dword [edi + 0x68]
lea eax, [edi + 0xa8]
inc dword [edi + 0xa4]
or ecx, 2
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x7c], eax
mov eax, dword [eax]
mov dword [edi + 0x68], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
test ecx, 0x1000
je 0x6525632d
push dword [esi]
lea ecx, [esp + 0x8f]
call fcn.65254af0
test al, al
je 0x6525632d
and dword [edi + 0x68], 0xffffefff
mov ecx, edi
call fcn.6525c060
mov edx, dword [edi + 0x68]
mov ecx, edx
test edx, 0x2000
je 0x65256363
mov eax, dword [esi]
test dword [eax + 0x108], 0x8000
je 0x65256363
and ecx, 0xffffdfff
mov dword [edi + 0x68], ecx
test ecx, 0x1000
je 0x65256363
mov ecx, edi
call fcn.6525c060
mov ecx, dword [edi + 0x68]
test ecx, 0x10000
je 0x65256415
mov eax, dword [esi]
test dword [eax + 0x10c], 0x8000000
je 0x65256415
and ecx, 0xfffeffff
lea eax, [edi + 0x12c]
mov dword [edi + 0x68], ecx
lea ecx, [esp + 0x5c]
push eax
call fcn.65001bf0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
add eax, 4
lea ecx, [edx + eax*4]
mov dword [esp + 0x60], ecx
mov eax, dword [edx + 0xc]
add eax, 4
mov dword [esp + 0x68], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x64], eax
cmp ecx, eax
je 0x652563eb
mov ecx, dword [ecx]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QAbstractScrollArea::viewport_void_const
push 1
push 0x79
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setAttribute_enum_Qt::WidgetAttribute__bool_
mov ecx, dword [esp + 0x60]
add ecx, 4
mov dword [esp + 0x60], ecx
cmp ecx, dword [esp + 0x64]
jne 0x652563c4
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
test eax, eax
je 0x65256408
cmp eax, 0xffffffff
je 0x65256415
mov eax, dword [esp + 0x5c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x65256415
push dword [esp + 0x5c]
call dword [0x652b23cc]
add esp, 4
mov ecx, dword [esi]
lea eax, [esp + 0x8c]
push eax
add ecx, 0x104
call fcn.652401d0
mov eax, dword [esp + 0x8c]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
add esi, 4
add edi, 4
lea esi, [eax + esi*4]
lea edi, [eax + edi*4]
mov dword [esp + 0x58], edi
cmp esi, edi
je 0x65256547
mov eax, dword [esp + 0x90]
add eax, 0x1e8
mov dword [esp + 0x84], eax
mov eax, dword [esi]
push 0
mov eax, dword [eax]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x84], eax
call fcn.6500f020
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x84]
add esp, 4
push eax
call fcn.65254a10
mov edx, dword [eax]
lea ecx, [edx + 1]
mov dword [eax], ecx
test edx, edx
jne 0x6525653c
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x6c]
add eax, 0x12c
push eax
call fcn.65001bf0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 8]
add eax, 4
lea ecx, [edx + eax*4]
mov dword [esp + 0x70], ecx
mov eax, dword [edx + 0xc]
add eax, 4
mov dword [esp + 0x78], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x74], eax
cmp ecx, eax
je 0x65256512
mov edi, dword [esp + 0x98]
mov ecx, dword [ecx]
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QAbstractScrollArea::viewport_void_const
push 0
push edi
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::grabGesture_enum_Qt::GestureType__class_QFlags_enum_Qt::GestureFlag__
mov ecx, dword [esp + 0x70]
add ecx, 4
mov dword [esp + 0x70], ecx
cmp ecx, dword [esp + 0x74]
jne 0x652564e8
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x58]
mov eax, dword [edx]
test eax, eax
je 0x6525652f
cmp eax, 0xffffffff
je 0x6525653c
mov eax, dword [esp + 0x6c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6525653c
push dword [esp + 0x6c]
call dword [0x652b23cc]
add esp, 4
add esi, 4
cmp esi, edi
jne 0x65256462
mov esi, dword [esp + 0xa4]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
je 0x6525656f
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.6504baa0
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isWidget_void_const
test al, al
je 0x652565a5
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isVisible_void_const
test al, al
je 0x652565a5
lea edi, [esi - 8]
mov ecx, edi
call sym.Qt5Widgets.dll_public:_enum_Qt::WindowType___thiscall_QGraphicsWidget::windowType_void_
cmp eax, 9
jne 0x652565a5
push edi
mov edi, dword [esp + 0x94]
mov ecx, edi
call fcn.65256ab0
jmp 0x652565ac
mov edi, dword [esp + 0x90]
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x652565d7
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isVisible_void_const
test al, al
je 0x652565d7
mov ecx, esi
call sym.Qt5Widgets.dll_public:_enum_Qt::Orientation___thiscall_QGraphicsLinearLayout::orientation_void_
test eax, eax
je 0x652565d7
push 0
push esi
mov ecx, edi
call fcn.6525c2a0
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isWidget_void_const
test al, al
je 0x65256689
cmp dword [edi + 0xd4], 0
lea eax, [esi - 8]
mov dword [esp + 0x98], eax
jne 0x65256604
mov dword [edi + 0xd4], eax
jmp 0x65256689
add eax, 8
mov ecx, eax
mov dword [esp + 0x7c], eax
call sym.Qt5Widgets.dll_public:_class_QGraphicsWidget____thiscall_QGraphicsItem::parentWidget_void_const
test eax, eax
jne 0x65256689
mov ecx, dword [esp + 0x7c]
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
jne 0x65256689
mov eax, dword [edi + 0xd4]
mov edx, dword [esp + 0x98]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14c]
mov eax, dword [esi + 0xc]
mov dword [eax + 0x148], edx
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x14c]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0xd4]
mov dword [ecx + 0x148], eax
mov eax, dword [edi + 0xd4]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x14c]
mov dword [ecx + 0x14c], eax
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x14c], esi
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::ensureSortedChildren_void_
mov eax, dword [esp + 0x9c]
mov edx, dword [eax]
mov ecx, dword [edx + 0x80]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
test eax, eax
jle 0x652566f6
mov esi, dword [esp + 0x9c]
xor edi, edi
nop dword [eax]
mov eax, dword [ecx + 8]
add eax, edi
push dword [ecx + eax*4 + 0x10]
mov ecx, dword [esp + 0x98]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsScene::addItem_class_QGraphicsItem__
mov edx, dword [esi]
inc edi
mov ecx, dword [edx + 0x80]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
cmp edi, eax
jl 0x652566c0
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0xa4]
mov eax, dword [edx]
mov ecx, edx
push dword [edi + 0x13c]
call dword [eax + 0x10]
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov eax, dword [edi + 0x144]
shr eax, 4
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
add dword [edi + 0xa4], 0xffffffff
jne 0x6525674c
mov eax, dword [edi + 0xa8]
mov ecx, dword [esp + 0x54]
cmp dword [eax + 0xc], ecx
je 0x6525674c
push 0
push 2
push sym.Qt5Widgets.dll_struct_QMetaObject_const_QGraphicsScene::staticMetaObject
push dword [esp + 0xa0]
call dword [0x652b23d8]
add esp, 0x10
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push 0x10
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x80]
lea ecx, [esp + 0x2c]
call dword [0x652b235c]
mov eax, dword [edi + 0xe4]
mov byte [esp + 0xa7], 1
test eax, eax
jne 0x652567a7
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x110]
test al, 4
je 0x652567e8
and al, 8
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [edi + 0xe4], eax
test eax, eax
je 0x652567e8
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x652567e8
cmp dword [edi + 0xe4], 1
jne 0x652567d6
mov eax, dword [esp + 0x94]
push 0
push esi
mov ecx, dword [eax + 4]
call fcn.652667e0
mov al, byte [esp + 0xa7]
jmp 0x652567d8
xor al, al
mov dword [edi + 0xe4], 0
test al, al
je 0x65256841
jmp 0x65256801
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
cmp dword [eax + 0x7c], 0
jne 0x65256801
mov dword [edi + 0xe4], 0
cmp dword [edi + 0xdc], 0
jne 0x65256841
cmp dword [edi + 0xd8], 0
jne 0x65256841
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x65256841
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0xe0], 0
jle 0x6525683b
push 0
push esi
call fcn.652667e0
jmp 0x65256841
mov dword [edi + 0xdc], esi
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
test dword [eax + 0x10c], 0x10000
je 0x652568a7
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], esi
push eax
lea eax, [esp + 0x94]
push eax
lea ecx, [edi + 0xb8]
call fcn.6504baa0
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x652568a7
nop dword [eax + eax]
mov eax, dword [ecx + 4]
or dword [eax + 0x110], 0x80
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x65256890
cmp dword [edi + 0xc8], 0
jne 0x652568d3
cmp esi, dword [edi + 0xcc]
je 0x652568d3
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsItem::focusItem_void_const
cmp eax, esi
jne 0x652568d3
mov ecx, esi
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsItem::focusItem_void_const
push 7
mov ecx, eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setFocus_enum_Qt::FocusReason_
mov ecx, edi
call fcn.65269810
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
test eax, eax
je 0x65256901
cmp eax, 0xffffffff
je 0x65256949
mov eax, dword [esp + 0x8c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x65256949
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa4], ecx
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
add edi, 4
add esi, 4
lea edi, [ecx + edi*4]
lea esi, [ecx + esi*4]
cmp esi, edi
je 0x6525693f
sub esi, 4
push 4
push dword [esi]
call fcn.652ae47d
add esp, 8
cmp esi, edi
jne 0x65256925
mov ecx, dword [esp + 0xa4]
push ecx
call dword [0x652b23cc]
add esp, 4
lea ecx, [esp + 0x3c]
call dword [0x652b235c]
pop edi
pop esi
add esp, 0x98
ret 4