Function at 0x180009800
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm11
movaps xmmword [rax - 0x58], xmm12
movaps xmmword [rax - 0x68], xmm13
mov rdi, r8
mov qword [rsp + 0x20], rdx
movss xmm12, dword [rsp + 0x20]
movss xmm11, dword [rsp + 0x24]
inc dword [0x18001a7ec]
movss xmm7, dword [0x18001ce38]
movss xmm0, dword [0x180015bdc]
addss xmm7, xmm0
addss xmm7, dword [0x18001a4c4]
movss xmm1, dword [0x18001ce3c]
movaps xmm6, xmm1
addss xmm6, dword [0x180015bf0]
addss xmm6, dword [0x18001a7e8]
movaps xmm8, xmm11
mulss xmm8, dword [0x180015b70]
cmp byte [0x18001a4c2], 0
je 0x1800098c5
movss xmm7, dword [0x18001d0e8]
addss xmm7, dword [0x18001d0e0]
addss xmm7, xmm0
movss xmm6, dword [0x18001d0ec]
mulss xmm6, dword [0x180015b70]
addss xmm6, dword [0x18001d0e4]
subss xmm6, xmm8
xorps xmm13, xmm13
cmp byte [0x18001a4c3], 0
je 0x1800098fa
movss xmm6, dword [0x18001a7f0]
mov byte [0x18001a4c3], 0
mov dword [0x18001a7f0], 0
movaps xmm0, xmm6
subss xmm0, xmm1
movss dword [0x18001a7e8], xmm0
movaps xmm0, xmm12
unpcklps xmm0, xmm11
movq rdx, xmm0
movaps xmm1, xmm7
unpcklps xmm1, xmm6
movq rcx, xmm1
call fcn.18000aa50
movzx ebx, al
lea r9, [rsp + 0x20]
movaps xmm2, xmm11
movaps xmm1, xmm12
test al, al
je 0x180009951
movups xmm0, xmmword [0x18001a070]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm6
movq rcx, xmm0
call fcn.18000bcc0
mov byte [0x18001a4c1], 1
jmp 0x18000996e
movups xmm0, xmmword [0x18001a060]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm6
movq rcx, xmm0
call fcn.18000bcc0
cmp byte [0x18001a4c2], 0
jne 0x180009997
movaps xmm0, xmm11
addss xmm0, dword [0x180015bf0]
movss xmm1, dword [0x18001a7e8]
addss xmm1, xmm0
movss dword [0x18001a7e8], xmm1
movaps xmm1, xmm12
mulss xmm1, dword [0x180015b70]
addss xmm1, xmm7
movaps xmm2, xmm6
addss xmm2, xmm8
mov eax, dword [0x18001a7ec]
cmp dword [0x18001a018], eax
jne 0x180009a59
movaps xmm0, xmmword [0x1800163b0]
movaps xmmword [rsp + 0x20], xmm0
xor r9d, r9d
lea r8, [rsp + 0x20]
movaps xmm0, xmm1
unpcklps xmm0, xmm2
movq rdx, xmm0
lea rcx, str._Press_Key_
call fcn.18000b1c0
cmp byte [0x18001a4d0], 0
jne 0x180009a22
cmp byte [0x18001a4d1], 0
jne 0x180009a22
cmp byte [0x18001a4d2], 0
jne 0x180009a22
cmp byte [0x18001a4d3], 0
jne 0x180009a22
cmp byte [0x18001a4d4], 0
jne 0x180009a22
mov byte [0x18001a4d5], 0
jmp 0x180009a2f
cmp byte [0x18001a4d5], 0
jne 0x180009ba3
xor ebx, ebx
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180009a4a
mov dword [rdi], ebx
mov dword [0x18001a018], 0xffffffff
inc ebx
cmp ebx, 0xff
jl 0x180009a31
jmp 0x180009ba3
movss dword [rsp + 0x20], xmm1
movss dword [rsp + 0x24], xmm2
movaps xmm8, xmmword [0x1800163b0]
movzx edx, byte [rdi]
lea rcx, [rsp + 0x30]
call fcn.18000b3c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180009a85
mov rax, qword [rax]
movdqa xmmword [rsp + 0x50], xmm8
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.18000b1c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180009ae2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009add
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009add
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180012608
movdqa xmm0, xmmword [0x180015ca0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
test bl, bl
je 0x180009b5e
movsxd rdx, dword [0x18001a7ec]
cmp byte [0x18001a4d0], 0
je 0x180009b44
lea rax, [0x18001a4e0]
cmp byte [rdx + rax], 0
jne 0x180009ba3
mov byte [rdx + rax], 1
mov byte [0x18001a4d5], 1
mov dword [0x18001a018], edx
xor ebx, ebx
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
inc ebx
cmp ebx, 0xff
jl 0x180009b30
jmp 0x180009ba3
cmp rdx, 0x100
jae 0x180009c1b
lea rax, [0x18001a4e0]
mov byte [rdx + rax], 0
jmp 0x180009ba3
movsxd rcx, dword [0x18001a7ec]
cmp byte [0x18001a4d0], 0
je 0x180009b8b
lea rax, [0x18001a4e0]
cmp byte [rcx + rax], 0
jne 0x180009ba3
mov byte [rcx + rax], 1
mov dword [0x18001a018], 0xffffffff
jmp 0x180009ba3
cmp rcx, 0x100
jae 0x180009c1b
lea rax, [0x18001a4e0]
mov byte [rcx + rax], 0
mov byte [0x18001a4c2], 0
movss dword [0x18001d0e0], xmm7
movss dword [0x18001d0e4], xmm6
movss dword [0x18001d0e8], xmm12
movss dword [0x18001d0ec], xmm11
movss xmm0, dword [0x18001d0d8]
ucomiss xmm0, xmm13
jp 0x180009bec
jne 0x180009bec
movss dword [0x18001d0d8], xmm7
movss dword [0x18001d0dc], xmm6
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm11, xmmword [r11 - 0x40]
movaps xmm12, xmmword [r11 - 0x50]
movaps xmm13, xmmword [r11 - 0x60]
mov rsp, r11
pop rdi
ret
call fcn.180012aa0
int3