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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [esp + 0x54]
and edx, 0xfffff
cmp edx, eax
je 0x65247bc5
mov ecx, dword [edi]
push eax
mov esi, dword [ecx + 0x80]
lea ecx, [esp + 0x24]
call dword [0x652b1e58]
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 0x15
lea eax, [esp + 0x38]
push eax
call esi
push 0
mov ecx, eax
call dword [0x652b20c0]
mov ebx, dword [0x652b235c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], eax
call ebx
lea ecx, [esp + 0x20]
call ebx
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 0x10c]
and ecx, 0xfffff
cmp ecx, eax
je 0x65247bc5
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x65247629
mov ecx, dword [ecx + 4]
cmp dword [ecx + 0x3c], 0xffffffff
je 0x65247629
mov ecx, dword [ecx + 0x40]
lea edx, [esp + 0x54]
push edx
push 0x15
push edi
mov eax, dword [ecx]
call dword [eax + 0x60]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x10c]
xor edx, eax
test dl, 0x3a
je 0x65247646
push 1
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::updatePaintedViewBoundingRects_bool_
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x54]
mov ebp, dword [esi + 0x10c]
mov ecx, ebp
xor ecx, eax
mov dword [esp + 0x14], ebp
and ecx, 0xfffff
xor ecx, ebp
mov dword [esi + 0x10c], ecx
mov eax, dword [edi + 4]
test byte [eax + 0x10c], 4
jne 0x65247685
mov ecx, edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::hasFocus_void_const
test al, al
je 0x65247685
mov ecx, dword [edi + 4]
push 0
push 1
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::clearFocusHelper_bool__bool_
mov eax, dword [edi + 4]
test byte [eax + 0x10c], 2
jne 0x652476a5
mov ecx, edi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isSelected_void_const
test al, al
je 0x652476a5
push 0
mov ecx, edi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setSelected_bool_
mov eax, ebp
xor eax, dword [esp + 0x54]
test al, 0x10
je 0x6524776b
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x7c]
shr eax, 4
and al, 1
test ecx, ecx
je 0x652476fd
mov ecx, dword [ecx + 4]
test dword [ecx + 0x108], 0x20000
jne 0x652476ec
test byte [ecx + 0x10c], 0x10
jne 0x652476ec
and dword [esi + 0x108], 0xfffdffff
jmp 0x65247707
or dword [esi + 0x108], 0x20000
mov byte [esp + 0x10], 1
jmp 0x6524770b
and dword [esi + 0x108], 0xffe0ffff
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x80]
xor ebx, ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x65247754
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x80]
push 0
push ebp
push 2
mov ecx, dword [eax + 8]
add ecx, ebx
push 0x10
mov ecx, dword [eax + ecx*4 + 0x10]
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::updateAncestorFlag_enum_QGraphicsItem::GraphicsItemFlag__enum_QGraphicsItemPrivate::AncestorFlag__bool__bool_
mov eax, dword [esi + 0x80]
inc ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp ebx, ecx
jl 0x65247721
mov ebp, dword [esp + 0x14]
mov eax, dword [edi + 4]
push 1
or dword [eax + 0x110], 0x1000
mov ecx, dword [edi + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::markParentDirty_bool_
mov eax, ebp
xor eax, dword [esp + 0x54]
test eax, 0x80000
je 0x65247826
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x7c]
shr eax, 0x13
and al, 1
test ecx, ecx
je 0x652477c9
mov ecx, dword [ecx + 4]
test dword [ecx + 0x108], 0x100000
jne 0x652477b8
test dword [ecx + 0x10c], 0x80000
jne 0x652477b8
and dword [esi + 0x108], 0xffefffff
jmp 0x652477d3
or dword [esi + 0x108], 0x100000
mov byte [esp + 0x10], 1
jmp 0x652477d7
and dword [esi + 0x108], 0xffe0ffff
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x80]
xor ebx, ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x65247826
mov ebp, dword [esp + 0x10]
nop dword [eax]
mov eax, dword [esi + 0x80]
push 0
push ebp
push 0x10
mov ecx, dword [eax + 8]
add ecx, ebx
push 0x80000
mov ecx, dword [eax + ecx*4 + 0x10]
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::updateAncestorFlag_enum_QGraphicsItem::GraphicsItemFlag__enum_QGraphicsItemPrivate::AncestorFlag__bool__bool_
mov eax, dword [esi + 0x80]
inc ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp ebx, ecx
jl 0x652477f0
mov ebp, dword [esp + 0x14]
mov eax, ebp
xor eax, dword [esp + 0x54]
test al, 0x20
je 0x652478d5
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x7c]
shr eax, 5
and al, 1
test ecx, ecx
je 0x6524787e
mov ecx, dword [ecx + 4]
test dword [ecx + 0x108], 0x40000
jne 0x6524786d
test byte [ecx + 0x10c], 0x20
jne 0x6524786d
and dword [esi + 0x108], 0xfffbffff
jmp 0x65247888
or dword [esi + 0x108], 0x40000
mov byte [esp + 0x10], 1
jmp 0x6524788c
and dword [esi + 0x108], 0xffe0ffff
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x80]
xor ebx, ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x652478d5
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x80]
push 0
push ebp
push 4
mov ecx, dword [eax + 8]
add ecx, ebx
push 0x20
mov ecx, dword [eax + ecx*4 + 0x10]
mov ecx, dword [ecx + 4]
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItemPrivate::updateAncestorFlag_enum_QGraphicsItem::GraphicsItemFlag__enum_QGraphicsItemPrivate::AncestorFlag__bool__bool_
mov eax, dword [esi + 0x80]
inc ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp ebx, ecx
jl 0x652478a2
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov eax, ebp
xor eax, edx
test eax, 0x2000
je 0x65247916
mov ecx, dword [edi + 4]
mov eax, edx
or eax, 0x100
and edx, 0xfffffeff
xorps xmm0, xmm0
comisd xmm0, xmmword [ecx + 0x68]
cmova edx, eax
mov dword [esp + 0x54], edx
mov eax, dword [ecx + 0x10c]
xor eax, edx
and eax, 0xfffff
xor dword [ecx + 0x10c], eax
mov eax, ebp
xor eax, dword [esp + 0x54]
test eax, 0x100
je 0x6524794a
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x6524793c
mov eax, dword [ecx + 4]
or dword [eax + 0x108], 0x20000000
jmp 0x6524794a
mov eax, dword [eax + 0x78]
test eax, eax
je 0x6524794a
mov eax, dword [eax + 4]
or dword [eax + 0x68], 0x20
mov eax, ebp
xor eax, dword [esp + 0x54]
test eax, 0x1000
je 0x65247969
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x65247969
mov ecx, dword [ecx + 4]
call fcn.65269810
mov ecx, dword [esp + 0x54]
mov eax, ebp
xor eax, ecx
test eax, 0x4000
je 0x65247b31
mov eax, dword [edi + 4]
shr ecx, 0xe
and cl, 1
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x100], 0
je 0x652479b6
mov eax, dword [eax + 0x78]
test eax, eax
je 0x652479b6
mov eax, dword [eax + 4]
test cl, cl
mov ecx, eax
je 0x652479ac
push 0
push edi
call fcn.6525c2a0
jmp 0x652479b2
push edi
call fcn.65261750
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 4]
test dword [eax + 0x108], 0x1000000
je 0x65247b31
test cl, cl
jne 0x652479dc
mov ecx, edi
call sym.Qt5Widgets.dll_public:_class_QGraphicsWidget____thiscall_QGraphicsItem::parentWidget_void_const
test eax, eax
je 0x65247b31
lea esi, [edi - 8]
mov ecx, esi
lea ebp, [esi + 8]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x148]
mov ebx, eax
mov dword [esp + 0x1c], eax
add eax, 8
neg ebx
sbb ebx, ebx
and ebx, eax
je 0x65247a3f
cmp ebx, ebp
je 0x65247a3f
mov ecx, dword [ebp + 4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QGraphicsItemPrivate::depth_void_const
mov ecx, dword [ebx + 4]
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QGraphicsItemPrivate::depth_void_const
cmp eax, esi
jl 0x65247a38
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x65247a38
cmp eax, ebp
je 0x65247adc
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x65247a26
lea esi, [edi - 8]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0x18], 0
je 0x65247af2
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + 0x14c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 0x148]
mov eax, dword [edx + 0xc]
mov dword [eax + 0x148], ecx
mov eax, dword [ecx + 0xc]
mov dword [eax + 0x14c], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x14c], ebx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x148], esi
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x148]
lea eax, [ebx + 8]
neg ebx
sbb ebx, ebx
and ebx, eax
je 0x65247ad1
cmp ebx, edi
je 0x65247ad1
mov ecx, dword [ebx + 4]
call sym.Qt5Widgets.dll_public:_int___thiscall_QGraphicsItemPrivate::depth_void_const
mov ecx, dword [edi + 4]
mov esi, eax
call sym.Qt5Widgets.dll_public:_int___thiscall_QGraphicsItemPrivate::depth_void_const
cmp esi, eax
jl 0x65247ace
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x65247ace
nop dword [eax]
cmp eax, edi
je 0x65247b2d
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x65247ac0
lea esi, [edi - 8]
mov eax, dword [esi + 0xc]
mov dword [eax + 0x148], esi
jmp 0x65247b2d
mov eax, dword [esp + 0x1c]
lea esi, [edi - 8]
cmp eax, esi
je 0x65247a3b
mov ecx, eax
jmp 0x652479e4
mov ecx, edi
call sym.Qt5Widgets.dll_public:_class_QGraphicsWidget____thiscall_QGraphicsItem::parentWidget_void_const
mov ebp, eax
test ebp, ebp
je 0x65247b2d
mov ecx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [ecx + 0x148]
mov dword [ecx + 0x148], esi
mov ecx, dword [edx + 0xc]
mov dword [ecx + 0x14c], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x14c], ebp
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x148], edx
mov ebp, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x65247b8d
mov eax, dword [esp + 0x54]
and ebp, 0x10000
and eax, 0x10000
cmp eax, ebp
je 0x65247b62
mov ecx, dword [ecx + 4]
push edi
test eax, eax
je 0x65247b5d
call fcn.65263d00
jmp 0x65247b62
call fcn.65269040
mov eax, dword [edi + 4]
xorps xmm0, xmm0
push 0
push 0
push 0
mov eax, dword [eax + 0x78]
push 0
push 1
mov ecx, dword [eax + 4]
lea eax, [esp + 0x44]
push eax
push edi
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x5c], xmm0
call fcn.65261b90
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push dword [esp + 0x54]
mov esi, dword [eax + 0x80]
call dword [0x652b1e58]
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 0x16
lea eax, [esp + 0x38]
push eax
call esi
mov esi, dword [0x652b235c]
lea ecx, [esp + 0x30]
call esi
lea ecx, [esp + 0x20]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4