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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
cmp byte [esp + 0x74], 0
mov dword [esp + 0x18], eax
mov esi, edi
je 0x66704a5a
mov eax, edi
xor eax, 1
and eax, 1
mov edx, eax
movzx eax, byte [ecx + 0x101]
and eax, 0xfffffffe
or eax, edx
mov byte [ecx + 0x101], al
movzx eax, byte [ebx + 0x100]
mov edx, edi
shr al, 7
cmp al, dl
je 0x66704bc3
test dl, dl
je 0x66704c08
mov eax, dword [ebx + 0x110]
mov edx, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, edi
lea ecx, [esp + 0x30]
movzx edi, al
mov ebp, dword [edx + 0x84]
mov dword [esp], edi
call dword [0x66a20168]
sub esp, 4
lea eax, [esp + 0x30]
lea edi, [esp + 0x20]
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp], eax
call ebp
mov ebp, dword [0x66a2016c]
sub esp, 0xc
lea ecx, [esp + 0x30]
call ebp
mov ecx, edi
call dword [0x66a20748]
shl eax, 7
mov edx, eax
movzx eax, byte [ebx + 0x100]
and eax, 0x7f
or eax, edx
cmp byte [esp + 0x18], 0
mov byte [ebx + 0x100], al
jne 0x66704cb0
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x30], eax
mov edx, dword [eax]
test edx, edx
je 0x66704c90
cmp edx, 0xffffffff
jne 0x66704c80
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
lea ecx, [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x3c], 1
lea eax, [ecx + eax*4]
lea edx, [ecx + edx*4]
mov ecx, esi
movzx ecx, cl
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
cmp eax, edx
je 0x66704b83
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, esi
test al, al
je 0x66704b53
test byte [ecx + 0x101], 1
jne 0x66704b72
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call method.QGraphicsItemPrivate.setEnabledHelper_bool__bool__bool_
sub esp, 0xc
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x34], eax
cmp dword [esp + 0x38], eax
jne 0x66704b3f
lea ecx, [esp + 0x30]
call fcn.667c4720
mov eax, dword [ebx + 0x110]
lea ecx, [esp + 0x30]
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0xd
mov dword [esp], eax
call dword [edx + 0x84]
sub esp, 0xc
lea ecx, [esp + 0x30]
call ebp
test byte [ebx + 0x107], 1
jne 0x66704bd0
mov ecx, edi
call ebp
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebx + 0x110]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
lea edx, [eax - 8]
test eax, eax
mov dword [esp + 4], sym.Qt5Widgets.dll_QGraphicsObject::staticMetaObject
cmovne eax, edx
mov dword [esp], eax
call dword [0x66a1fa94]
jmp 0x66704bbf
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x66704d20
call method.QGraphicsScene.mouseGrabberItem___const
mov ecx, dword [ebx + 0x110]
cmp ecx, eax
je 0x66704cf0
call method.QGraphicsItem.hasFocus___const
test al, al
jne 0x66704d33
mov ebp, dword [ebx + 0x110]
jmp 0x66704c42
mov ebp, eax
mov ecx, ebp
call method.QGraphicsItem.group___const
test eax, eax
jne 0x66704c40
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x110]
test byte [edx + 0x101], 2
je 0x66704a7c
mov dword [esp], 0
mov ecx, eax
call method.QGraphicsItem.setSelected_bool_
sub esp, 4
jmp 0x66704a76
lock add dword [eax], 1
jmp 0x66704b0f
lea eax, [ebx + 0x78]
lea ecx, [esp + 0x30]
mov dword [esp], eax
call fcn.666f1c10
sub esp, 4
jmp 0x66704b0f
lea eax, [esp + 0x30]
mov ecx, dword [ebx + 0x110]
pxor xmm0, xmm0
mov dword [esp], eax
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x48], xmm0
call fcn.666ffa80
sub esp, 4
jmp 0x66704af5
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x667f7a38
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov ecx, eax
call fcn.66721180
sub esp, 8
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [ebx + 0x110]
call method.QGraphicsItem.hasFocus___const
test al, al
je 0x66704c33
mov ecx, dword [ebx + 0x70]
call method.QGraphicsScene.focusItem___const
test byte [ebx + 0x103], 1
mov ecx, dword [ebx + 0x110]
mov ebp, eax
je 0x66704d58
mov eax, dword [eax + 4]
test byte [eax + 0x105], 0x40
je 0x66704d77
mov ecx, dword [ecx + 4]
mov dword [esp + 4], 0
mov dword [esp], 1
call method.QGraphicsItemPrivate.clearFocusHelper_bool__bool_
sub esp, 8
jmp 0x66704c33
cmp ebp, ecx
je 0x66704d58
mov dword [esp], ebp
call fcn.666f5a30
mov ecx, dword [ebx + 0x110]
sub esp, 4
test al, al
je 0x66704d58
cmp ecx, ebp
je 0x66704dbe
mov eax, dword [ebp + 4]
mov ebp, dword [eax + 0x74]
test ebp, ebp
jne 0x66704da7
jmp 0x66704d58
mov ebp, dword [edx + 0x74]
test ebp, ebp
je 0x66704d58
mov edx, dword [ebp + 4]
test byte [edx + 0x103], 1
je 0x66704da0
test byte [edx + 0x105], 0x40
je 0x66704d90
jmp 0x66704d58
test ecx, ecx
je 0x667f7a48
mov eax, dword [ecx - 8]
lea edx, [ecx - 8]
mov dword [esp], 1
mov ecx, edx
call dword [eax + 0x78]
sub esp, 4
test al, al
jne 0x66704c33
mov ecx, dword [ebx + 0x110]
jmp 0x66704d58
call fcn.667f7646
mov ecx, dword [ebx + 0x110]
jmp 0x66704c26
mov eax, dword [class.QBoxLayout]
ud2