Function at 0x14000a570
Capabilities:
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401a90c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
lea rcx, [rbp - 0x11]
mov esi, r15d
mov dword [rbp - 0x49], r15d
call fcn.140004b50
movss xmm6, dword [0x14018ba24]
movabs r12, 0x112e0be826d694b3
mov rdi, qword [rbp - 0x11]
nop
mov ecx, dword [0x1402e35cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea rdx, [rbp - 0x48]
mov dword [rbp - 0x49], 0x626f5236
xor ecx, ecx
mov dword [rbp - 0x45], 0x786f6c
movzx r14d, ax
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14000a5d0
test r14w, r14w
je 0x14000a5d0
cmp byte [0x1402e353f], r15b
je 0x14000a5d0
lea rcx, [rbp - 0x31]
call fcn.140004b50
mov rcx, qword [rbp - 0x31]
mov rax, r12
sub rcx, rdi
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, dword [0x1402e35c8]
cmp rdx, rax
jl 0x14000a5d0
mov rax, qword [0x1402e35e0]
lea r8, [rbp - 1]
mov rcx, qword [0x1402e3510]
add rax, 0x110
mov qword [rbp + 7], rax
mov r9d, Ordinal_41
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], r15
mov qword [rbp + 0xf], rax
mov edx, 0x2201c4
mov eax, dword [0x1402e350c]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rbp + 3], eax
mov qword [rbp - 0x11], r15
mov dword [rbp + 0x20], r15d
mov word [rbp + 0x24], r15w
mov byte [rbp + 0x26], r15b
mov dword [rbp - 1], 0x85b3e12
mov qword [rbp + 0x17], 8
mov byte [rbp + 0x1f], r15b
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp - 0x21]
call fcn.140008df0
mov rbx, qword [rax + 8]
cmp qword [rbp - 0x11], rbx
je 0x14000a5d0
test rbx, rbx
je 0x14000a7af
mov rcx, qword [0x1402e3510]
lea r8, [rbp - 1]
xor eax, eax
mov qword [rsp + 0x38], r15
mov qword [rbp - 0x11], rax
mov r9d, Ordinal_41
mov dword [rbp - 9], eax
mov edx, 0x2201c4
mov byte [rbp + 0x26], al
lea rax, [rbx + 0x158]
mov qword [rbp + 7], rax
lea rax, [rbp - 0x11]
mov qword [rbp + 0xf], rax
mov eax, dword [0x1402e350c]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rbp + 3], eax
mov qword [rbp - 0x11], r15
mov dword [rbp + 0x20], r15d
mov word [rbp + 0x24], r15w
mov dword [rbp - 1], 0x85b3e12
mov qword [rbp + 0x17], 8
mov byte [rbp + 0x1f], r15b
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rbp - 0x11]
mov r14d, esi
and r14d, 2
test rcx, rcx
jne 0x14000a76c
test r14d, r14d
je 0x14000a7a0
jmp 0x14000a79d
xor eax, eax
lea rdx, [rbp - 0x41]
add rcx, 0x140
mov qword [rbp - 0x41], rax
mov r8d, recv
mov dword [rbp - 0x39], eax
call fcn.140013600
movss xmm0, dword [rbp - 0x3d]
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x39], r15d
test r14d, r14d
je 0x14000a7a3
and esi, 0xfffffffd
xorps xmm0, xmm0
or esi, 1
comiss xmm0, xmm6
jbe 0x14000a7af
mov al, 1
jmp 0x14000a7b1
xor al, al
test sil, 1
je 0x14000a7be
and esi, 0xfffffffe
mov dword [rbp - 0xd], r15d
test al, al
je 0x14000a5d0
mov rcx, rbx
call fcn.14000a210
lea rcx, [rbp - 0x29]
call fcn.140004b50
mov rdi, qword [rax]
jmp 0x14000a5d0