Function at 0x14003f970
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400743f8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov ebp, dword [r8 + 8]
mov r14, r8
cmp ebp, 0x7e
jne 0x14003f9b3
call fcn.140044af0
jmp 0x14003fc51
lea eax, [rbp - 0x200]
cmp eax, 0xe
jbe 0x14003f9cd
lea eax, [rbp - 0x100]
cmp eax, 9
ja 0x14003fc51
mov rbx, qword [r8]
xor r15d, r15d
mov esi, r15d
test rbx, rbx
je 0x14003fc51
mov rcx, rbx
call qword [sym.imp.WsAP_FilmoraX.dll_Ordinal_3368]
mov rdi, rax
test rax, rax
je 0x14003fa17
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 0x14003fa17
mov rcx, qword [sym.imp.WsAP_FilmoraX.dll_Ordinal_8773]
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 0x14003f9d6
mov rcx, rsi
call qword [sym.imp.WsAP_FilmoraX.dll_Ordinal_7806]
test rax, rax
je 0x14003fc51
mov rcx, qword [rax]
lea rdx, str.QAxWidget
mov r8, qword [rcx + 8]
mov rcx, rax
call r8
mov rdi, rax
test rax, rax
je 0x14003fc51
mov rcx, rsi
call qword [sym.imp.WsAP_FilmoraX.dll_Ordinal_7786]
cmp qword [r14], rax
je 0x14003fc51
lea ecx, [rbp - 0x100]
cmp ecx, 9
ja 0x14003fad3
mov rbx, qword [rsi + 0x38]
mov edi, 1
or byte [rbx + 0x38], 1
cmp qword [rbx + 0x58], r15
je 0x14003faba
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x14003faba
mov rax, qword [rcx]
mov r8d, dword [r14 + 0x10]
mov edx, dword [r14 + 8]
call qword [rax + 0x178]
test al, al
je 0x14003faba
mov rcx, qword [rbx + 0x58]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
test byte [rbx + 0x38], 1
je 0x14003fc51
test edi, edi
jne 0x14003fc51
mov al, 1
jmp 0x14003fc53
mov eax, 0x200
lea r8, [0x140059530]
mov edx, r15d
cmp ebp, eax
je 0x14003fb06
mov rcx, r15
nop dword [rax]
test ax, ax
je 0x14003fb06
movzx eax, word [r8 + rcx*2 + 6]
add rcx, 3
add edx, 3
cmp eax, ebp
jne 0x14003faf0
movsxd rax, edx
cmp word [r8 + rax*2], r15w
je 0x14003fc51
movzx esi, word [r8 + rax*2 + 2]
movzx edx, word [r8 + rax*2 + 4]
cmp esi, 5
jne 0x14003fb3f
mov rax, qword [rdi + 0x28]
mov ecx, dword [rax + 8]
shr ecx, 2
test cl, 1
jne 0x14003fb3c
test edx, edx
je 0x14003fc51
cmp esi, 5
cmovne r15d, edx
call qword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
lea r8, [rsp + 0x48]
shr eax, 0x10
mov rdx, rdi
cwde
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x4c], eax
call fcn.140044b00
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x50]
call qword [sym.imp.WsAP_FilmoraX.dll_Ordinal_2276]
mov eax, dword [r14 + 0x10]
mov ecx, eax
and ecx, 4
shl ecx, 0x17
mov ebx, ecx
bts ebx, 0x1a
and al, 8
cmove ebx, ecx
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14003fba8
bts ebx, 0x1b
mov r8d, dword [r14 + 0x10]
lea r9, [rsp + 0x58]
movd xmm0, dword [rsp + 0x40]
mov ecx, r8d
movd xmm1, dword [rsp + 0x44]
and ecx, 1
mov eax, r8d
mov dword [rsp + 0x30], ebx
cvtdq2pd xmm0, xmm0
mov edx, ecx
or edx, 4
and al, 0x10
cmove edx, ecx
lea rcx, [rsp + 0x80]
cvtdq2pd xmm1, xmm1
mov eax, edx
or eax, 2
and r8b, 2
lea r8, [rsp + 0x68]
cmove eax, edx
mov edx, esi
movsd qword [rsp + 0x58], xmm0
movd xmm0, dword [rsp + 0x50]
movsd qword [rsp + 0x60], xmm1
movd xmm1, dword [rsp + 0x54]
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
cvtdq2pd xmm1, xmm1
movsd qword [rsp + 0x68], xmm0
movsd qword [rsp + 0x70], xmm1
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]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QCoreApplication::sendEvent_class_QObject____ptr64__class_QEvent____ptr64_]
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Gui.dll_public_virtual:_void___cdecl_QMouseEvent::destructor_void____ptr64]
xor al, al
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140046ea0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret