Function at 0x10018360
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2b4
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x2b0], eax
movups xmm0, xmmword [esp + 0x2c4]
mov edx, dword [esp + 0x2bc]
movq xmm1, qword [esp + 0x2d4]
mov eax, dword [esp + 0x2dc]
push ebx
push ebp
mov ebp, dword [esp + 0x2c0]
mov ebx, ecx
mov ecx, dword [esp + 0x2e8]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x28], edx
movq qword [esp + 0x64], xmm1
mov dword [esp + 0x6c], eax
push esi
push edi
movups xmmword [esp + 0x5c], xmm0
cmp ecx, 0x20002
jne 0x100184a5
movups xmmword [esp + 0xd4], xmm0
push 0x12
psrldq xmm0, 8
movd eax, xmm0
movq qword [esp + 0xe8], xmm1
mov ecx, eax
and ecx, 8
shl ecx, 0x17
mov esi, ecx
or esi, 0x2000000
and al, 4
cmove esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1001841a
or esi, 0x8000000
mov edx, dword [esp + 0xd8]
cmp edx, 0x20a
je 0x1001843a
cmp edx, 0x20e
je 0x1001843a
mov ecx, dword [esp + 0xdc]
jmp 0x10018447
mov eax, dword [esp + 0xdc]
shr eax, 0x10
movsx ecx, ax
cmp edx, 0x20e
je 0x1001845c
mov edi, 2
test esi, 0x8000000
je 0x10018461
mov edi, 1
cmp edx, 0x20e
jne 0x1001846b
neg ecx
movsx eax, word [esp + 0xe0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xe0]
shr eax, 0x10
push esi
cwde
push edi
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xcc]
push ecx
push eax
push ebp
call fcn.100181d0
add esp, 0x14
jmp 0x1001969f
mov eax, dword [esp + 0x68]
movsx esi, word [esp + 0x68]
shr eax, 0x10
and ecx, 0x40000
movsx edi, ax
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x2d0], ecx
jne 0x1001851f
push edx
call fcn.100068e0
add esp, 4
test al, al
je 0x10018504
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x290]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x298]
sub esi, dword [esp + 0x50]
mov dword [esp + 0x50], esi
jmp 0x10018508
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2d0]
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], edi
test ecx, ecx
je 0x10018558
lea eax, [esp + 0x34]
mov dword [esp + 0x34], esi
push eax
push edx
lea eax, [esp + 0x10c]
mov dword [esp + 0x40], edi
push eax
call fcn.10006ad0
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
jmp 0x100185ab
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
call fcn.100068e0
mov esi, dword [esp + 0x34]
add esp, 4
test al, al
je 0x1001858f
lea eax, [esp + 0x2a0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2a8]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x60], 0x200
mov byte [esp + 0x2b], 0
jne 0x100185fe
cmp ecx, dword [0x1011c600]
jne 0x100185ce
cmp eax, dword [0x1011c604]
jne 0x100185ce
mov dl, 1
jmp 0x100185d0
xor dl, dl
cmp dword [esp + 0x64], 0
mov dword [0x1011c600], ecx
mov dword [0x1011c604], eax
jne 0x100185fe
mov eax, dword [ebx]
test eax, eax
je 0x100185f9
mov eax, dword [eax + 4]
test eax, eax
je 0x100185f9
cmp dword [ebx + 4], 0
je 0x100185f9
test dl, dl
je 0x100185fe
mov byte [esp + 0x2b], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1011f564]
mov dword [esp + 0x3c], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1011c60c]
cmp eax, dword [ecx + 4]
jg 0x100196bc
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cdq
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0xff515700
jne 0x1001865c
and eax, 0x80
or eax, 0
je 0x1001865c
cmp byte [0x1011c608], 0
mov dword [esp + 0x3c], 1
je 0x100189cd
lea eax, [esp + 0x4c]
push eax
call fcn.100164d0
mov ecx, dword [esp + 0x64]
add esp, 4
mov eax, dword [esp + 0x64]
cmp ecx, 0x200
ja 0x100186fd
je 0x100186f6
add ecx, 0xffffff60
cmp ecx, 9
ja case.0x10018708.522
jmp dword [ecx*4 + 0x10019700]
mov esi, 0xad
jmp 0x1001876a
mov esi, 0xae
mov edi, 1
jmp 0x1001876c
mov esi, 0xaf
mov edi, 1
jmp 0x1001876c
mov esi, 0xae
mov edi, 4
jmp 0x1001876c
mov esi, 0xaf
mov edi, 4
jmp 0x1001876c
mov esi, 0xae
mov edi, 2
jmp 0x1001876c
mov esi, 0xaf
mov edi, 2
jmp 0x1001876c
mov esi, 5
jmp 0x1001876a
add ecx, 0xfffffdff
cmp ecx, 0xc
ja case.0x10018708.522
jmp dword [ecx*4 + 0x10019728]
mov esi, 2
lea edi, [esi - 1]
jmp 0x1001876c
mov esi, 3
lea edi, [esi - 2]
jmp 0x1001876c
mov esi, 2
lea edi, [esi + 2]
jmp 0x1001876c
mov esi, 3
lea edi, [esi + 1]
jmp 0x1001876c
mov esi, 2
mov edi, esi
jmp 0x1001876c
mov esi, 3
lea edi, [esi - 1]
jmp 0x1001876c
mov esi, 2
mov edi, eax
shr edi, 0x10
dec edi
neg edi
sbb edi, edi
and edi, 8
add edi, 8
jmp 0x1001876c
mov esi, 3
jmp 0x1001874f
xor esi, esi
xor edi, edi
lea ecx, [esi - 0xad]
mov dword [esp + 0x1c], esi
cmp ecx, 3
ja 0x10018801
push 0x17
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
push 1
setne byte [esp + 0x17]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100187ad
movzx eax, byte [esp + 0x13]
inc eax
mov dword [esp + 0x18], eax
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100187c7
movzx eax, byte [esp + 0x13]
xor eax, 1
inc eax
or dword [esp + 0x18], eax
push 4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100187d9
or dword [esp + 0x18], 4
push 5
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100187eb
or dword [esp + 0x18], 8
push 6
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov eax, dword [esp + 0x18]
jns 0x1001883f
or eax, 0x10
jmp 0x1001883b
mov ecx, eax
and ecx, 1
mov edx, ecx
or edx, 4
and al, 0x10
mov eax, dword [esp + 0x64]
cmove edx, ecx
mov ecx, edx
or ecx, 2
and al, 2
mov eax, dword [esp + 0x64]
cmove ecx, edx
mov edx, ecx
or edx, 8
and al, 0x20
cmove edx, ecx
mov ecx, dword [esp + 0x64]
mov eax, edx
or eax, 0x10
and cl, 0x40
cmove eax, edx
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x24], 0xae
mov edx, dword [sym.imp.Qt5Gui.dll_public:_static_bool___cdecl_QWindowSystemInterface::handleFrameStrutMouseEvent_class_QWindow___class_QPointF_const___class_QPointF_const___class_QFlags_enum_Qt::MouseButton___enum_Qt::MouseButton__enum_QEvent::Type__class_QFlags_enum_Qt::KeyboardModifier___enum_Qt::MouseEventSource_]
jne 0x1001894f
cmp esi, 0xad
je 0x10018863
cmp esi, 5
jne 0x1001894f
mov ecx, dword [ebx + 0x28]
test eax, ecx
jne 0x1001894f
movd xmm0, dword [esp + 0x34]
push dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push dword [esp + 0x50]
cmp esi, 0xad
jne 0x100188e6
movsd qword [esp + 0x14c], xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
push 0xaf
push ecx
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x16c]
movsd qword [esp + 0x164], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push eax
push ebp
movsd qword [esp + 0x174], xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x17c], xmm0
call edx
jmp 0x10018942
movsd qword [esp + 0x16c], xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
push 3
push ecx
push eax
lea eax, [esp + 0x178]
push eax
lea eax, [esp + 0x18c]
movsd qword [esp + 0x184], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push eax
push ebp
movsd qword [esp + 0x194], xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x19c], xmm0
call sub.Qt5Gui.dll_public:_static_bool___cdecl_QWindowSystemInterface::handleMouseEvent_struct_QWindowSystemInterface::DefaultDelivery__class_QWindow___class_QPointF_const___class_QPointF_const___class_QFlags_enum_Qt::MouseButton___enum_Qt::MouseButton__enum_QEvent::Type__class_QFlags_enum_Qt::KeyboardModifier___enum_Qt::MouseEventSource_
mov edx, dword [sym.imp.Qt5Gui.dll_public:_static_bool___cdecl_QWindowSystemInterface::handleFrameStrutMouseEvent_class_QWindow___class_QPointF_const___class_QPointF_const___class_QFlags_enum_Qt::MouseButton___enum_Qt::MouseButton__enum_QEvent::Type__class_QFlags_enum_Qt::KeyboardModifier___enum_Qt::MouseEventSource_]
add esp, 0x20
mov eax, dword [esp + 0x18]
lea ecx, [esi - 0xad]
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], edi
cmp ecx, 3
ja 0x100189d4
movd xmm0, dword [esp + 0x34]
push dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push dword [esp + 0x50]
movsd qword [esp + 0x18c], xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
push esi
push edi
push eax
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x1ac]
movsd qword [esp + 0x1a4], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push eax
push ebp
movsd qword [esp + 0x1b4], xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x1bc], xmm0
call edx
add esp, 0x20
xor al, al
jmp 0x100196a1
cmp dword [esp + 0x60], 0x2a3
mov eax, dword [esp + 0xbc]
mov dword [eax], 0
jne 0x10018d2d
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10018bef
mov eax, dword [ebx + 8]
test eax, eax
je 0x10018a1b
mov eax, dword [eax + 4]
test eax, eax
je 0x10018a1b
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x30], ecx
jmp 0x10018a23
mov dword [esp + 0x30], 0
mov eax, dword [ebx]
test eax, eax
je 0x10018a39
mov eax, dword [eax + 4]
test eax, eax
je 0x10018a39
mov eax, dword [ebx + 4]
mov dword [esp + 0x3c], eax
jmp 0x10018a41
mov dword [esp + 0x3c], 0
call fcn.1000f930
lea ecx, [esp + 0x204]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xbc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebugStateSaver::constructor_class_QDebug__]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
push str.MouseEvent_
mov byte [eax + 0x14], 0
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push str.Type
mov eax, dword [eax]
mov dword [esp + 0x7c], eax
inc dword [eax + 0xc]
lea eax, [esp + 0x7c]
push dword [sym.imp.Qt5Core.dll_struct_QMetaObject_const_QEvent::staticMetaObject]
push esi
mov esi, dword [sym.imp.Qt5Core.dll_class_QDebug___cdecl_qt_QMetaEnum_debugOperator_class_QDebug___int__struct_QMetaObject_const___char_const__]
push eax
lea eax, [esp + 0x58]
push eax
call esi
add esp, 0x14
lea ecx, [esp + 0x78]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push 0x100d7e74
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push str.MouseButtons
mov eax, dword [eax]
mov dword [esp + 0x80], eax
inc dword [eax + 0xc]
lea eax, [esp + 0x80]
push dword [sym.imp.Qt5Core.dll_struct_QMetaObject_const_QObject::staticQtMetaObject]
push edi
push eax
lea eax, [esp + 0x90]
push eax
call esi
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x90]
add esp, 0x14
call esi
push 0x29
lea ecx, [esp + 0x84]
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_]
lea ecx, [esp + 0x80]
call esi
lea ecx, [esp + 0x48]
call esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::constructor_class_QDebug__]
lea ecx, [esp + 0xb8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebugStateSaver::destructor_void_]
lea ecx, [esp + 0x44]
call esi
push ebp
push 0x100da008
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov edi, dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0x8c]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call edi
add esp, 0xc
mov ecx, eax
push dword [esp + 0x3c]
push str.previous_window_under_mouse
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0xc8]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call edi
add esp, 0xc
mov ecx, eax
push dword [esp + 0x30]
push str.tracked_window
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0xbc]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call edi
add esp, 0xc
lea ecx, [esp + 0xb4]
call esi
lea ecx, [esp + 0xc0]
call esi
lea ecx, [esp + 0x84]
call esi
lea ecx, [esp + 0x2c]
call esi
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
test eax, eax
je 0x10018c05
mov eax, dword [eax + 4]
test eax, eax
je 0x10018c05
mov eax, dword [esi + 4]
jmp 0x10018c07
xor eax, eax
cmp ebp, eax
jne 0x1001969f
mov eax, dword [ebx]
test eax, eax
je 0x10018c21
mov eax, dword [eax + 4]
test eax, eax
je 0x10018c21
mov eax, dword [ebx + 4]
jmp 0x10018c23
xor eax, eax
test eax, eax
mov ecx, ebx
cmove ecx, esi
mov eax, dword [ecx]
test eax, eax
je 0x10018c3c
mov eax, dword [eax + 4]
test eax, eax
je 0x10018c3c
mov edi, dword [ecx + 4]
jmp 0x10018c3e
xor edi, edi
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10018cbb
call fcn.1000f930
lea ecx, [esp + 0x218]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push edi
push str.Generating_leave_event_for
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0x90]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x94]
add esp, 0xc
call ebp
lea ecx, [esp + 0x8c]
call ebp
push edi
call sub.Qt5Gui.dll_public:_static_void___cdecl_QWindowSystemInterface::handleLeaveEvent_struct_QWindowSystemInterface::DefaultDelivery__class_QWindow__
mov ecx, dword [esi]
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
or esi, 0xffffffff
test ecx, ecx
je 0x10018cf1
mov eax, esi
lock xadd dword [ecx], eax
add eax, esi
jne 0x10018cf1
test ecx, ecx
je 0x10018cf1
push ecx
call fcn.100d431e
add esp, 4
mov ecx, dword [ebx]
mov dword [ebx], 0
mov dword [ebx + 4], 0
test ecx, ecx
je 0x1001969f
lock xadd dword [ecx], esi
lea eax, [esi - 1]
test eax, eax
jne 0x1001969f
test ecx, ecx
je 0x1001969f
push ecx
call fcn.100d431e
add esp, 4
jmp 0x1001969f
mov ecx, ebp
call dword [sym.imp.Qt5Gui.dll_public:_class_QPlatformWindow____thiscall_QWindow::handle_void_const]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
cmp eax, 0x201
je 0x10018e23
cmp eax, 0x203
je 0x10018e23
mov al, byte [esp + 0x18]
and al, 1
cmp byte [ebx + 0x1c], 0
jne 0x10018e1a
test al, al
je 0x10018e27
call dword [sym.imp.USER32.dll_GetCapture]
mov esi, dword [esp + 0x24]
cmp eax, dword [esi + 0x40]
je 0x10018e12
mov ecx, esi
call fcn.100024f0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x88]
or dword [esi + 0x60], 1
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10018e12
call fcn.1000f930
lea ecx, [esp + 0x27c]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push ebp
push str.Automatic_mouse_capture_for_missing_buttondown_event
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0x98]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x9c]
add esp, 0xc
call esi
lea ecx, [esp + 0x94]
call esi
mov dword [ebx + 0x20], ebp
jmp 0x1001969f
test al, al
jne 0x10018e27
mov byte [ebx + 0x1c], al
jmp 0x10018e27
mov byte [ebx + 0x1c], 1
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x24]
cmp eax, dword [ecx + 0x40]
jne 0x10018e47
lea eax, [esp + 0x34]
push 5
push eax
call fcn.100158a0
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x10018e7c
nop dword [eax + eax]
lea eax, [esp + 0x100]
mov ecx, ebp
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QFlags_enum_Qt::WindowType____thiscall_QWindow::flags_void_]
test dword [eax], 0x80000
je 0x10018e78
mov ecx, ebp
call dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QWindow::parent_void_const]
mov ebp, eax
test ebp, ebp
jne 0x10018e50
jmp 0x10018e7c
test ebp, ebp
jne 0x10018ed7
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1fc]
add ecx, 8
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0
push eax
lea ecx, [esp + 0x1f4]
mov dword [esp + 0xd8], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QRect::constructor_class_QPoint_const___class_QSize_const__]
push 0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1f4]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QRect::contains_class_QPoint_const___bool_const]
test al, al
cmovne ebp, dword [esp + 0x14]
cmp dword [esp + 0x60], 0x200
jne 0x10019046
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [esp + 0x10c]
push 0
push 0x20e
push 0x200
push dword [esp + 0x68]
push eax
call esi
test eax, eax
je 0x10019042
nop dword [eax]
cmp dword [esp + 0x110], 0x200
jne 0x10019042
push 0
push 0x109
push 0x100
push 0
lea eax, [esp + 0x138]
push eax
call esi
test eax, eax
je 0x10018f9a
nop dword [eax]
mov eax, dword [esp + 0x138]
cmp eax, dword [esp + 0x11c]
jae 0x10018f9a
mov eax, dword [esp + 0x134]
and eax, 0xc0000000
cmp eax, 0x40000000
jne 0x10019042
mov eax, dword [esp + 0x12c]
push 1
push eax
push eax
push 0
lea eax, [esp + 0x138]
push eax
call esi
push 0
push 0x109
push 0x100
push 0
lea eax, [esp + 0x138]
push eax
call esi
test eax, eax
jne 0x10018f40
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
mov dword [esp + 0x64], eax
movsx eax, cx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
shr ecx, 0x10
movsx eax, cx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
push eax
mov dword [esp + 0x30], eax
call fcn.100068e0
add esp, 4
test al, al
je 0x10018ff7
lea eax, [esp + 0x2b0]
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2b8]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_ClientToScreen]
push 1
push 0x200
push 0x200
push dword [esp + 0x68]
lea eax, [esp + 0x11c]
push eax
call esi
push 0
push 0x20e
push 0x200
push dword [esp + 0x68]
lea eax, [esp + 0x11c]
push eax
call esi
test eax, eax
jne 0x10018f10
mov esi, dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x24]
cmp eax, dword [ecx + 0x40]
je 0x10019144
cmp esi, 2
je 0x10019067
cmp esi, 4
jne 0x10019144
mov eax, dword [ecx]
push 1
call dword [eax + 0x88]
mov eax, dword [esp + 0x24]
or dword [eax + 0x60], 1
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x100190fe
call fcn.1000f930
lea ecx, [esp + 0x22c]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, eax
mov eax, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push str.Automatic_mouse_capture
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
mov dword [ecx], edx
inc dword [edx + 0xc]
call eax
add esp, 0xc
lea ecx, [esp + 0x98]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x9c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, dword [esp + 0x14]
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QWindow::isTopLevel_void_const]
test al, al
jne 0x10019204
mov ecx, dword [esp + 0x14]
push str.QWidgetWindow
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QObject::inherits_char_const__const]
test al, al
jne 0x10019204
call dword [sym.imp.Qt5Gui.dll_public:_static_class_QWindow____cdecl_QGuiApplication::focusWindow_void_]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x10019204
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QWindow::requestActivate_void_]
jmp 0x10019204
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x24]
cmp eax, dword [ecx + 0x40]
jne 0x10019204
test byte [ecx + 0x60], 1
je 0x10019204
cmp esi, 3
jne 0x10019204
cmp dword [esp + 0x18], 0
jne 0x10019204
mov eax, dword [ecx]
push 0
call dword [eax + 0x88]
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x10019204
call fcn.1000f930
lea ecx, [esp + 0x240]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
mov eax, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push str.Releasing_automatic_mouse_capture
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0xa8]
push eax
mov eax, dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
mov dword [ecx], edx
inc dword [edx + 0xc]
call eax
add esp, 0xc
lea ecx, [esp + 0xa0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0xa4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
call dword [sym.imp.USER32.dll_GetCapture]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp eax, dword [edx + 0x40]
sete byte [esp + 0x12]
jne 0x10019225
mov byte [esp + 0x13], 1
cmp ebp, ecx
jne 0x1001922a
mov byte [esp + 0x13], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x1001923d
mov eax, dword [eax + 4]
test eax, eax
je 0x1001923d
mov eax, dword [ebx + 0xc]
jmp 0x1001923f
xor eax, eax
cmp ecx, eax
je 0x100192bb
cmp byte [esp + 0x13], 0
jne 0x100192bb
mov eax, dword [esp + 0x30]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0xf4], 0x10
mov dword [esp + 0xf8], 2
mov dword [esp + 0x100], 0xffffffff
call dword [sym.imp.USER32.dll_TrackMouseEvent]
test eax, eax
jne 0x100192a7
push eax
push eax
push eax
lea ecx, [esp + 0x260]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
push str.TrackMouseEvent_failed.
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const]
add esp, 8
push dword [esp + 0x14]
lea ecx, [ebx + 8]
call fcn.10017d10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x12], 0
je 0x100192cc
test byte [edx + 0x60], 1
jne 0x100195d7
mov eax, dword [ebx]
test eax, eax
je 0x1001930c
mov eax, dword [eax + 4]
test eax, eax
je 0x1001930c
cmp dword [ebx + 4], 0
je 0x1001930c
mov eax, dword [ebx]
test eax, eax
je 0x100192f1
mov eax, dword [eax + 4]
test eax, eax
je 0x100192f1
mov eax, dword [ebx + 4]
jmp 0x100192f3
xor eax, eax
cmp eax, ebp
je 0x1001930c
cmp byte [esp + 0x12], 0
je 0x10019356
push ebx
push ecx
call fcn.10017bf0
add esp, 8
test al, al
jne 0x10019356
mov dl, byte [esp + 0x12]
mov ecx, dword [esp + 0x14]
test dl, dl
je 0x1001945d
cmp dword [ebx + 0x20], ecx
je 0x1001945d
mov eax, dword [ebx]
test eax, eax
je 0x1001945d
mov eax, dword [eax + 4]
test eax, eax
je 0x1001945d
cmp dword [ebx + 4], 0
je 0x1001945d
push ecx
push ebx
call fcn.10017c20
add esp, 8
test al, al
je 0x10019455
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x100193fa
mov eax, dword [ebx]
test eax, eax
je 0x10019381
mov eax, dword [eax + 4]
test eax, eax
je 0x10019381
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
jmp 0x10019389
mov dword [esp + 0x2c], 0
call fcn.1000f930
lea ecx, [esp + 0x268]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push dword [esp + 0x2c]
mov ecx, eax
push str.Synthetic_leave_for
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0xb0]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
add esp, 0xc
lea ecx, [esp + 0xa8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0xac]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, dword [ebx]
test eax, eax
je 0x1001940c
mov eax, dword [eax + 4]
test eax, eax
je 0x1001940c
mov eax, dword [ebx + 4]
jmp 0x1001940e
xor eax, eax
push eax
call sub.Qt5Gui.dll_public:_static_void___cdecl_QWindowSystemInterface::handleLeaveEvent_struct_QWindowSystemInterface::DefaultDelivery__class_QWindow__
add esp, 4
cmp byte [esp + 0x13], 0
je 0x10019455
mov ecx, dword [ebx + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
test ecx, ecx
je 0x1001944c
or eax, 0xffffffff
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x1001944c
test ecx, ecx
je 0x1001944c
push ecx
call fcn.100d431e
add esp, 4
mov ecx, dword [esp + 0x24]
call fcn.100024f0
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x12]
test ebp, ebp
je 0x10019481
mov eax, dword [ebx]
test eax, eax
je 0x10019473
mov eax, dword [eax + 4]
test eax, eax
je 0x10019473
mov eax, dword [ebx + 4]
jmp 0x10019475
xor eax, eax
cmp eax, ebp
je 0x10019481
test dl, dl
je 0x100194a4
cmp ebp, ecx
je 0x100194a4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100195cf
cmp ecx, eax
je 0x100195cf
test ebp, ebp
je 0x100195cf
cmp ebp, eax
je 0x100195cf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], 0
call fcn.1000f930
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x1001952d
call fcn.1000f930
lea ecx, [esp + 0xd4]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push ebp
push str.Entering
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push ecx
mov ecx, esp
mov edx, dword [eax]
lea eax, [esp + 0xb8]
push eax
mov dword [ecx], edx
inc dword [edx + 0xc]
call dword [sym.imp.Qt5Gui.dll_class_QDebug___cdecl_operator___class_QDebug__class_QWindow_const__]
add esp, 0xc
lea ecx, [esp + 0xb0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push ebp
call fcn.1000ad30
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
je 0x1001956a
mov ecx, dword [eax]
mov edx, dword [ecx + 0x68]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
call fcn.100024f0
movd xmm0, dword [esp + 0x34]
lea eax, [esp + 0x1a4]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x1b8]
push eax
push ebp
movsd qword [esp + 0x1b0], xmm0
movd xmm0, dword [esp + 0x44]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x1b8], xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x1c0], xmm0
movd xmm0, dword [esp + 0x54]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x1c8], xmm0
call sub.Qt5Gui.dll_public:_static_void___cdecl_QWindowSystemInterface::handleEnterEvent_struct_QWindowSystemInterface::DefaultDelivery__class_QWindow___class_QPointF_const___class_QPointF_const__
add esp, 0xc
push ebp
mov ecx, ebx
call fcn.10017d10
cmp byte [esp + 0x2b], 0
jne 0x1001965c
test esi, esi
je 0x1001965c
movd xmm0, dword [esp + 0x34]
lea eax, [esp + 0x1d4]
push dword [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push dword [esp + 0x50]
movsd qword [esp + 0x1dc], xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
push esi
push edi
push dword [esp + 0x28]
movsd qword [esp + 0x1f0], xmm0
movd xmm0, dword [esp + 0x64]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x1dc]
push eax
push dword [esp + 0x30]
movsd qword [esp + 0x1e4], xmm0
movd xmm0, dword [esp + 0x74]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x1ec], xmm0
call sub.Qt5Gui.dll_public:_static_bool___cdecl_QWindowSystemInterface::handleMouseEvent_struct_QWindowSystemInterface::DefaultDelivery__class_QWindow___class_QPointF_const___class_QPointF_const___class_QFlags_enum_Qt::MouseButton___enum_Qt::MouseButton__enum_QEvent::Type__class_QFlags_enum_Qt::KeyboardModifier___enum_Qt::MouseEventSource_
add esp, 0x20
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp byte [esp + 0x12], al
cmovne eax, ecx
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x60]
cmp eax, 0x20c
je 0x10019685
cmp eax, 0x20b
je 0x10019685
cmp eax, 0x20d
jne 0x1001969f
push ecx
mov eax, esp
mov dword [eax], 0
call dword [sym.imp.Qt5Gui.dll_public:_static_bool___cdecl_QWindowSystemInterface::flushWindowSystemEvents_class_QFlags_enum_QEventLoop::ProcessEventsFlag__]
add esp, 4
test al, al
je 0x100189cd
mov al, 1
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d4904
add esp, 0x2b4
ret 0x2c
push 0x1011c60c
call fcn.100d4810
add esp, 4
cmp dword [0x1011c60c], 0xffffffff
jne 0x10018626
mov ecx, dword [0x1011bd30]
call fcn.1000c210
shr eax, 5
not al
and al, 1
push 0x1011c60c
mov byte [0x1011c608], al
call fcn.100d47c6
add esp, 4
jmp 0x10018626