Function at 0x14005a7a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400c8040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
cmp byte [0x1401e7694], 0
je 0x14005aa3c
call fcn.140059d60
mov rbx, rax
mov rcx, rax
call fcn.14005a0e0
mov edi, eax
lea rdx, [rbp + 0x2f]
mov rcx, rbx
call fcn.140059eb0
nop
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x11]
call fcn.140009b40
mov rcx, rax
call fcn.14005a170
cmp byte [0x1401e77bd], 0
jne 0x14005a814
cmp eax, 1
je 0x14005a81d
cmp eax, 5
jne 0x14005a9fe
test edi, edi
je 0x14005a9e9
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005a9e9
mov r8, qword [rbx]
add r8, 0x114c
lea rdx, [rbp + 0x17]
call fcn.14005a710
mov rcx, qword [rbx]
add rcx, 0x1740
xor ebx, ebx
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
mov eax, dword [0x1401e82f0]
mov dword [rbp - 0x11], eax
mov qword [rbp - 9], rcx
lea rax, [rbp + 0x1f]
mov qword [rbp - 1], rax
mov qword [rbp + 7], 0x10
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 0x20]
lea r8, [rbp - 0x11]
mov edx, 0x22199c
mov rcx, qword [0x1401e82e8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x1f]
dec rax
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x27]
lea r8, [rax + rcx*4]
lea rdx, [rbp + 0xf]
call fcn.14005a710
xorps xmm1, xmm1
movss xmm3, dword [rbp + 0xf]
ucomiss xmm3, xmm1
jp 0x14005a8dd
je 0x14005a8e9
movss xmm0, dword [rbp + 0x13]
ucomiss xmm0, xmm1
jp 0x14005a92e
jne 0x14005a92e
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14005aa3c
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aa37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005aa37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movss xmm4, dword [rbp + 0x17]
movaps xmm2, xmm4
addss xmm2, dword [0x1401e82f8]
mulss xmm3, dword [0x1401e7698]
subss xmm2, xmm3
movss dword [0x1401e8304], xmm2
movss xmm3, dword [rbp + 0x1b]
movaps xmm1, xmm3
addss xmm1, dword [0x1401e82fc]
mulss xmm0, dword [0x1401e769c]
subss xmm1, xmm0
movss dword [0x1401e8308], xmm1
mov dword [0x1401e830c], ebx
movss xmm0, dword [0x1400bc408]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm4
lea rcx, [rbp - 0x19]
call fcn.140077e10
cvttss2si r8, dword [rbp - 0x15]
cvttss2si rdx, dword [rbp - 0x19]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
movss xmm0, dword [rbp + 0xf]
mulss xmm0, dword [0x1401e7698]
movss dword [0x1401e82f8], xmm0
movss xmm1, dword [rbp + 0x13]
mulss xmm1, dword [0x1401e769c]
movss dword [0x1401e82fc], xmm1
mov dword [0x1401e8300], ebx
jmp 0x14005a9fe
mov qword [0x1401e82f8], 0
mov dword [0x1401e8300], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14005aa3c
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aa37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005aa37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140078374
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140077fb0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret