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

Disassembly:
sub esp, 0x40
push ebx
mov eax, ecx
push ebp
push esi
push edi
mov ebp, dword [eax + 4]
lea edi, [eax + 0x110]
mov ecx, edi
mov dword [esp + 0x10], eax
call dword [0x652b85d4]
test al, al
jne 0x6526df3d
mov ecx, dword [edi]
mov eax, dword [ecx]
cmp eax, 1
je 0x6526df29
test eax, eax
je 0x6526df29
push dword [ecx + 4]
mov ecx, edi
call fcn.6511c4b0
mov ecx, edi
call dword [0x652b85cc]
mov eax, dword [eax]
cmp eax, dword [esp + 0x54]
je 0x6526dff7
mov ebx, dword [esp + 0x58]
mov ecx, ebx
call dword [0x652b9fdc]
push 0
mov ecx, eax
call dword [0x652b85d0]
mov ecx, ebx
mov esi, eax
call dword [0x652b8b20]
push eax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call dword [0x652b8b00]
push eax
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x3c]
push eax
call dword [0x652b9ff8]
mov ecx, eax
call dword [0x652b8354]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.652692e0
mov edx, dword [0x652b845c]
mov ecx, dword [eax]
mov dword [eax], edx
mov edx, dword [edi]
mov dword [edi], ecx
mov eax, dword [edx]
test eax, eax
je 0x6526dfbc
cmp eax, 0xffffffff
je 0x6526dfca
or eax, 0xffffffff
lock xadd dword [edx], eax
setne al
test al, al
jne 0x6526dfca
mov esi, dword [0x652b85e8]
push edx
call esi
add esp, 4
jmp 0x6526dfd0
mov esi, dword [0x652b85e8]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
test ecx, ecx
je 0x6526dff1
cmp ecx, 0xffffffff
je 0x6526dff7
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6526dff7
mov eax, dword [esp + 0x54]
push eax
call esi
add esp, 4
push edi
lea ecx, [esp + 0x44]
xor bl, bl
call fcn.6523ec90
lea ecx, [esp + 0x40]
call dword [0x652b85cc]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
call dword [0x652b85c8]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x4c], eax
jmp 0x6526e030
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x48]
je 0x6526e0dd
mov esi, dword [esi]
test eax, eax
je 0x6526e0cb
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isEnabled_void_const
test al, al
je 0x6526e09f
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QFlags_enum_QGraphicsItem::GraphicsItemFlag____thiscall_QGraphicsItem::flags_void_
test byte [eax], 4
je 0x6526e09f
mov eax, dword [esi + 4]
test byte [eax + 0x110], 2
je 0x6526e09f
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isWidget_void_const
test al, al
je 0x6526e087
lea ecx, [esi - 8]
call sym.Qt5Widgets.dll_public:_enum_Qt::FocusPolicy___thiscall_QGraphicsWidget::focusPolicy_void_
test al, 2
je 0x6526e09f
mov ecx, ebp
mov bl, 1
call sym.Qt5Widgets.dll_public:_class_QGraphicsItem____thiscall_QGraphicsScene::focusItem_void_const
cmp esi, eax
je 0x6526e0c7
push 0
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QGraphicsItem::setFocus_enum_Qt::FocusReason_
jmp 0x6526e0c7
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
jne 0x6526e0c7
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10c]
test eax, 0x20000
jne 0x6526e0c7
test eax, 0x40000
jne 0x6526e0c5
xor eax, eax
jmp 0x6526e0cb
mov bl, 1
mov eax, dword [esp + 0x4c]
add dword [esp + 0x44], 4
xor eax, 1
mov dword [esp + 0x4c], eax
jne 0x6526e030
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
je 0x6526e0fe
cmp eax, 0xffffffff
je 0x6526e108
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6526e108
mov ecx, dword [esp + 0x40]
push ecx
call dword [0x652b85e8]
add esp, 4
mov eax, dword [esp + 0x10]
test dword [eax + 0x78], 0x200
jne 0x6526e127
test bl, bl
jne 0x6526e127
mov ecx, dword [ebp + 4]
push 1
push 0
push 0
call fcn.6526ee70
mov ecx, dword [esp + 0x58]
xor bh, bh
call dword [0x652b8394]
mov ecx, dword [edi]
mov byte [esp + 0x1c], al
mov dword [esp + 0x30], ecx
mov eax, dword [ecx]
test eax, eax
je 0x6526e153
cmp eax, 0xffffffff
je 0x6526e1a1
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x6526e1a1
push dword [ecx + 4]
lea ecx, [esp + 0x34]
call dword [0x652b85f0]
mov ecx, edi
call dword [0x652b85cc]
lea ecx, [esp + 0x30]
mov edi, eax
call dword [0x652b85c8]
lea ecx, [esp + 0x30]
mov esi, eax
call dword [0x652b85cc]
mov ecx, eax
cmp edi, ecx
je 0x6526e1a1
sub esi, ecx
sar esi, 2
test esi, esi
jle 0x6526e1a1
lea eax, [esi*4]
push eax
push edi
push ecx
call fcn.652b518a
add esp, 0xc
lea ecx, [esp + 0x30]
call dword [0x652b85cc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
call dword [0x652b85c8]
mov dword [esp + 0x38], eax
mov eax, 1
mov dword [esp + 0x3c], eax
jmp 0x6526e1d0
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x38]
je 0x6526e445
mov esi, dword [ecx]
mov dword [esp + 0x14], esi
test eax, eax
je 0x6526e433
mov edi, dword [esp + 0x58]
push edi
push esi
call fcn.65271140
add esp, 8
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::acceptTouchEvents_void_const
mov bl, al
mov ecx, edi
mov byte [esp + 0x20], bl
push dword [esp + 0x20]
call dword [0x652b8398]
mov ebp, dword [esp + 0x10]
test bl, bl
je 0x6526e22c
push edi
push esi
mov ecx, ebp
call fcn.6526dae0
test al, al
je 0x6526e22c
mov bh, 1
jmp 0x6526e22e
xor bh, bh
mov ecx, edi
mov byte [esp + 0x54], bh
call dword [0x652b8394]
mov bl, al
mov ecx, edi
mov byte [esp + 0x1c], bl
call dword [0x652b9fdc]
push 0
mov ecx, eax
call dword [0x652b85d0]
mov ecx, eax
call dword [0x652ba00c]
mov ecx, dword [ebp + 0x1dc]
add ebp, 0x1dc
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x6526e2bc
xor edx, edx
nop
cmp dword [ecx + 0xc], eax
jl 0x6526e27c
mov edx, ecx
mov ecx, dword [ecx + 4]
jmp 0x6526e27f
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x6526e270
test edx, edx
je 0x6526e2bc
cmp eax, dword [edx + 0xc]
jl 0x6526e2bc
cmp dword [edx + 0x10], ecx
je 0x6526e2bc
test bh, bh
je 0x6526e2a0
test bl, bl
je 0x6526e2a0
mov ecx, 1
jmp 0x6526e2a2
xor ecx, ecx
mov eax, dword [esi + 4]
shl ecx, 0x1c
xor ecx, dword [eax + 0x10c]
and ecx, 0x10000000
xor dword [eax + 0x10c], ecx
jmp 0x6526e2c2
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, 0xfffd
and word [edi + 0xa], ax
test bh, bh
je 0x6526e41c
test bl, bl
je 0x6526e41c
xor esi, esi
mov ecx, edi
mov dword [esp + 0x18], esi
call dword [0x652b9fdc]
mov ecx, eax
call dword [0x652b85d8]
test eax, eax
jle 0x6526e42b
lea esp, [esp]
mov ecx, edi
call dword [0x652b9fdc]
push esi
mov ecx, eax
call dword [0x652b85d0]
mov ecx, eax
call dword [0x652ba00c]
mov ecx, dword [ebp]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
cmp eax, 1
je 0x6526e3a2
test eax, eax
je 0x6526e3a2
call dword [0x652b8570]
mov ecx, dword [ebp]
mov esi, eax
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x6526e354
push esi
call fcn.6504cd10
lea ecx, [esi + 8]
mov dword [esi + 0xc], eax
push ecx
mov ecx, eax
call dword [0x652b8580]
mov ecx, dword [ebp]
mov eax, dword [ecx]
test eax, eax
je 0x6526e370
cmp eax, 0xffffffff
je 0x6526e393
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6526e393
mov edi, dword [ebp]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x6526e385
push 4
push eax
mov ecx, edi
call dword [0x652b8574]
push edi
call dword [0x652b856c]
mov edi, dword [esp + 0x5c]
add esp, 4
mov ecx, esi
mov dword [ebp], esi
call dword [0x652b857c]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x6526e3cc
xor ecx, ecx
mov edi, edi
cmp dword [eax + 0xc], ebx
jl 0x6526e3bc
mov ecx, eax
mov eax, dword [eax + 4]
jmp 0x6526e3bf
mov eax, dword [eax + 8]
test eax, eax
jne 0x6526e3b0
test ecx, ecx
je 0x6526e3cc
cmp ebx, dword [ecx + 0xc]
jge 0x6526e3ec
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
lea eax, [esp + 0x30]
push eax
call fcn.651c3cf0
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
add ecx, 0x10
inc esi
mov dword [esp + 0x18], esi
mov dword [ecx], eax
mov ecx, edi
call dword [0x652b9fdc]
mov ecx, eax
call dword [0x652b85d8]
cmp esi, eax
jl 0x6526e300
mov eax, dword [esp + 0x3c]
mov bh, byte [esp + 0x54]
jmp 0x6526e433
test esi, esi
je 0x6526e431
mov ecx, esi
call sym.Qt5Widgets.dll_public:_bool___thiscall_QGraphicsItem::isPanel_void_const
test al, al
je 0x6526e431
mov eax, dword [esp + 0x3c]
jmp 0x6526e433
xor eax, eax
add dword [esp + 0x34], 4
xor eax, 1
mov dword [esp + 0x3c], eax
jne 0x6526e1d0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
test ecx, ecx
je 0x6526e466
cmp ecx, 0xffffffff
je 0x6526e470
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6526e470
mov eax, dword [esp + 0x30]
push eax
call dword [0x652b85e8]
add esp, 4
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
call dword [0x652b8398]
pop edi
pop esi
pop ebp
mov al, bh
pop ebx
add esp, 0x40
ret 8