Function at 0x18009c2e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1801300c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
cmp byte [rcx + 0xc], 0
je 0x18009c583
cmp byte [0x180227c84], 0
je 0x18009c32d
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18009c583
cmp byte [0x18022bd54], 0
jne 0x18009c583
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x18022bd40]
jne 0x18009c583
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movdqu xmmword [rbp - 0x18], xmm0
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1800af350
mov edi, 0xffffffff
test al, al
je 0x18009c4e0
mov r8, rbx
lea rdx, [rbp - 0x48]
mov rcx, qword [rbp - 0x38]
call fcn.1800b0940
nop
mov r8, rbx
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x28]
call fcn.1800abec0
nop
mov rax, qword [rbp - 0x48]
cmp qword [rax + 8], 0
je 0x18009c3b8
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18009c470
cmp byte [0x180227c30], 0
je 0x18009c3d5
mov rdx, rbx
mov rcx, qword [rbp - 0x58]
call fcn.1800a42e0
test al, al
je 0x18009c470
mov edx, 1
mov r8d, 5
call fcn.1800776a0
movsxd rbx, eax
xor r9d, r9d
mov edx, 0x204
mov r8d, 2
mov rcx, qword [0x18022bd40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x60]
call fcn.18007bbe0
xor r9d, r9d
mov edx, 0x205
mov r8d, 2
mov rcx, qword [0x18022bd40]
call qword [sym.imp.USER32.dll_SendMessageW]
movss xmm2, dword [0x180114558]
divss xmm2, dword [0x180227d0c]
movaps xmm1, xmm2
mulss xmm1, dword [0x1801141b0]
movaps xmm0, xmm1
addss xmm0, xmm2
subss xmm2, xmm1
cvttss2si r8d, xmm0
cvttss2si edx, xmm2
call fcn.1800776a0
movsxd rcx, eax
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x60]
call fcn.18007bbe0
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18009c4a8
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009c4a8
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18009c4a8
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x18009c4e0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009c4e0
mov rbx, qword [rbp - 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18009c4e0
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x18009c517
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009c517
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18009c517
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18009c54e
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009c54e
mov rbx, qword [rbp - 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18009c54e
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18009c583
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009c583
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18009c583
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800c0060
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret