Function at 0x140192e60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xe0
mov r14d, dword [r8 + 8]
mov r15, r8
cmp r14d, 0x7e
jne 0x140192e90
call fcn.140199c80
jmp 0x14019313c
lea eax, [r14 - 0x200]
cmp eax, 0xe
jbe 0x140192eac
lea eax, [r14 - 0x100]
cmp eax, 9
ja 0x14019313c
mov rbx, qword [r8]
xor ebp, ebp
mov esi, ebp
test rbx, rbx
je 0x140192f03
mov rcx, rbx
call qword [sym.imp.Qt5Widgets.dll_public:_static_class_QWidget____ptr64___cdecl_QWidget::find_unsigned_long_long_unsigned___int64__]
mov rdi, rax
test rax, rax
je 0x140192ef0
lea rdx, str.QAxHostWidget
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QObject::inherits_char_const____ptr64_const___ptr64]
test al, al
je 0x140192ef0
mov rcx, qword [sym.imp.Qt5Widgets.dll_struct_QMetaObject_const_QWidget::staticMetaObject]
mov rdx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QObject____ptr64___cdecl_QMetaObject::cast_class_QObject____ptr64_const___ptr64]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rsi, rsi
je 0x140192eb3
jmp 0x140192f0c
test rsi, rsi
je 0x14019313c
mov rcx, rsi
call qword [sym.imp.Qt5Widgets.dll_public:_class_QWidget____ptr64___cdecl_QWidget::parentWidget_void_const___ptr64]
test rax, rax
je 0x14019313c
mov r8, qword [rax]
lea rdx, str.QAxWidget
mov rcx, rax
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r13, rax
test rax, rax
je 0x14019313c
mov rcx, rsi
call qword [sym.imp.Qt5Widgets.dll_public:_unsigned_long_long_unsigned___int64____cdecl_QWidget::winId_void_const___ptr64]
cmp qword [r15], rax
je 0x14019313c
lea ecx, [r14 - 0x100]
cmp ecx, 9
ja 0x140192fb5
mov rbx, qword [rsi + 0x38]
mov edi, 1
or byte [rbx + 0x38], 1
cmp qword [rbx + 0x58], rbp
je 0x140192f9c
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x140192f9c
mov rax, qword [rcx]
mov r8d, dword [r15 + 0x10]
mov edx, dword [r15 + 8]
call qword [rax + 0x178]
test al, al
je 0x140192f9c
mov rcx, qword [rbx + 0x58]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
test byte [rbx + 0x38], 1
je 0x14019313c
test edi, edi
jne 0x14019313c
mov al, 1
jmp 0x14019313e
mov eax, 0x200
mov edx, ebp
lea r8, [0x1409746b0]
cmp r14d, eax
je 0x140192fe7
mov rcx, rbp
nop dword [rax + rax]
test ax, ax
je 0x140192fe7
movzx eax, word [r8 + rcx*2 + 6]
add rcx, 3
add edx, 3
cmp eax, r14d
jne 0x140192fd0
movsxd rax, edx
cmp word [r8 + rax*2], bp
je 0x14019313c
lea eax, [rdx + 1]
cdqe
movzx r14d, word [r8 + rax*2]
movzx esi, word [r8 + rax*2 + 2]
cmp r14d, 5
jne 0x140193024
mov rax, qword [r13 + 0x28]
mov ecx, dword [rax + 8]
shr ecx, 2
test cl, 1
jne 0x140193022
test esi, esi
je 0x14019313c
mov esi, ebp
call qword [sym.imp.USER32.dll_GetMessagePos]
lea r8, [rsp + 0x40]
mov rdx, r13
movsx ecx, ax
shr eax, 0x10
mov dword [rsp + 0x40], ecx
cwde
lea rcx, [rsp + 0x120]
mov dword [rsp + 0x44], eax
call fcn.140199c90
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.Qt5Widgets.dll_public:_class_QPoint___cdecl_QWidget::mapFromGlobal_class_QPoint_const____ptr64____ptr64]
mov eax, dword [r15 + 0x10]
mov ebx, ebp
movd xmm0, dword [rsp + 0x120]
movd xmm1, dword [rsp + 0x124]
test al, 4
mov ecx, 0x2000000
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
cmovne ebx, ecx
movsd qword [rsp + 0x50], xmm0
movsd qword [rsp + 0x58], xmm1
movd xmm0, dword [rsp + 0x48]
movd xmm1, dword [rsp + 0x4c]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [rsp + 0x60], xmm0
movsd qword [rsp + 0x68], xmm1
test al, 8
je 0x1401930c2
bts ebx, 0x1a
mov ecx, SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401930d6
bts ebx, 0x1b
mov eax, dword [r15 + 0x10]
mov edi, 1
test al, 1
cmovne ebp, edi
test al, 0x10
je 0x1401930eb
or ebp, 4
test al, 2
je 0x1401930f2
or ebp, 2
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov edx, r14d
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], esi
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QMouseEvent::constructor_enum_QEvent::Type__class_QPointF_const____ptr64__class_QPointF_const____ptr64__enum_Qt::MouseButton__class_QFlags_enum_Qt::MouseButton___class_QFlags_enum_Qt::KeyboardModifier_____ptr64]
mov eax, 0xfffd
and word [rsp + 0x82], ax
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.Qt5Core.dll_private:_static_bool___cdecl_QCoreApplication::notifyInternal2_class_QObject____ptr64__class_QEvent____ptr64_]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Gui.dll_public_virtual:_void___cdecl_QMouseEvent::destructor_void____ptr64]
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret