Function at 0x1400019e0
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
lea rdx, str.Creating_interception_context
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.interception.dll_interception_create_context]
mov qword [0x140006708], rax
lea rdx, str.Setting_mouse_filter
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xc
mov dword [0x140006710], ecx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rsi, [0x140001020]
call qword [sym.imp.interception.dll_interception_is_mouse]
test eax, eax
je 0x140001b91
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001b91
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001b91
movdqa xmm0, xmm6
psrldq xmm0, 8
movd ebx, xmm0
test ebx, ebx
je 0x140001b19
lea rdx, str.Joining_existing_input_thread
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp ebx, eax
je 0x140001c24
movdqa xmmword [rsp + 0x50], xmm6
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001c47
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
psrldq xmm0, 8
movd ebx, xmm0
lea rdx, str.Starting_new_input_simulation_thread
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 8
call fcn.140001fd0
mov qword [rax], rsi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140001f70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001bb3
test ebx, ebx
jne 0x140001bac
xorps xmm0, xmm0
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm6
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140001bc3
mov ecx, dword [0x140006710]
jmp 0x140001a75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.X_key_pressed__exiting_loop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movdqa xmm0, xmm6
psrldq xmm0, 8
movd ebx, xmm0
test ebx, ebx
je 0x140001c64
lea rdx, str.Joining_input_thread_before_exiting
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp ebx, eax
jne 0x140001c30
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movdqa xmmword [rsp + 0x30], xmm6
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140001c53
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
psrldq xmm0, 8
movd ebx, xmm0
lea rdx, str.Destroying_interception_context
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001ea0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [0x140006708]
call qword [sym.imp.interception.dll_interception_destroy_context]
nop
test ebx, ebx
je 0x140001ca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001fb0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rdi
ret