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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140108040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x47], eax
lea eax, [r14 + 1]
xchg byte [0x1401080f0], al
lea rcx, [rbp - 9]
mov qword [rbp + 7], rcx
lea rax, [rbp + 0x3f]
mov qword [rbp + 0xf], rax
lea ecx, [r14 + 0x10]
call fcn.1400c4180
movups xmm0, xmmword [rbp + 7]
movdqu xmmword [rax], xmm0
mov qword [rbp - 1], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140009d04]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x1400099c4
mov al, byte [0x1401f4a80]
test al, al
jne 0x14000998c
mov dil, byte [rbp - 0x19]
mov rbx, qword [rbp - 1]
jmp 0x140009969
lea rcx, [0x140108100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400099b8
cmp dword [0x14010814c], 0x7fffffff
je 0x1400099a2
lea rcx, [rbp + 0x37]
call fcn.140008cd0
mov rcx, qword [rax]
mov qword [0x1401f4a88], rcx
lea rcx, [0x140108100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1401f4aef], r14b
je 0x140009969
cmp byte [0x1401f4ae3], r14b
je 0x140009958
mov ecx, dword [0x1401f39dc]
test ecx, ecx
je 0x14000988e
sub ecx, 1
je 0x140009874
cmp ecx, 1
jne 0x1400098aa
mov byte [0x1401f39e8], cl
jmp 0x1400098b8
mov ecx, dword [0x1401f39d8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401f39e8], al
jmp 0x1400098b0
mov ecx, dword [0x1401f39d8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400098aa
cmp byte [0x1401f39e8], r14b
sete al
jmp 0x140009886
mov al, byte [0x1401f39e8]
test al, al
je 0x140009943
test sil, sil
jne 0x1400098fe
test dil, dil
je 0x1400098e0
test rbx, rbx
je 0x1400098e0
mov rcx, qword [0x1401f4b08]
test rcx, rcx
je 0x1400098e0
mov rax, rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rcx
jmp 0x140009902
mov sil, 1
lea rcx, [rbp + 0x27]
call fcn.14000e780
mov rax, qword [rbp + 0x27]
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x2f]
mov qword [rbp - 0x11], rax
jmp 0x140009902
mov rax, qword [rbp - 0x11]
test rax, rax
je 0x140009943
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x11]
call fcn.14000f0c4
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1400f5e3c]
jbe 0x140009943
mov rbx, qword [rbp - 0x11]
test sil, sil
je 0x140009933
mov rcx, rbx
call fcn.140009034
mov rax, qword [rbp - 9]
mov qword [0x1401f4b08], rax
mov dil, 1
jmp 0x140009958
mov sil, r14b
mov dil, r14b
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
mov qword [0x1401f4b08], r14
mov qword [rbp - 1], 1
lea rcx, [rbp - 1]
call fcn.140008d94
mov al, byte [0x1401080f1]
test al, al
jne 0x1400097f9
mov eax, 1
xchg byte [0x1401080f1], al
mov cl, byte [0x1401f4a80]
test cl, cl
je 0x140009969
mov eax, r14d
xchg byte [0x1401080f0], al
cmp dword [rbp + 0x1f], r14d
je 0x1400099d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14010814c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1f], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400c4160
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret