Function at 0x1800f05b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x1801ca118]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp byte [0x18025cf8b], 0
je 0x1800f0e0d
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800f0e0d
movss xmm0, dword [0x180192d40]
comiss xmm0, dword [0x1801e5c94]
mov qword [rsp + 0x200], rbx
movabs rbx, 0xe2587f8cbbd87b1d
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1d0], r15
jbe 0x1800f0654
mov edx, 2
mov r8d, 0x105
mov rcx, rbx
call fcn.180069d00
test eax, eax
je 0x1800f0654
movss xmm0, dword [0x1801e5c94]
addss xmm0, dword [0x180192c5c]
movss dword [0x1801e5c94], xmm0
mov edx, 2
mov r8d, 0x106
mov rcx, rbx
call fcn.180069d00
test eax, eax
je 0x1800f0683
movss xmm0, dword [0x1801e5c94]
addss xmm0, dword [0x180192e18]
movss dword [0x1801e5c94], xmm0
mov rcx, qword [0x1801e68c8]
mov dword [rsp + 0xd0], 0xa
call fcn.180001db0
mov rcx, qword [0x1801e68c8]
movabs rdi, 0xd80958fc74e988a6
mov rdx, rdi
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
mov rax, qword [rcx]
mov ebx, dword [rax]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], 0xffffffff
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
lea rdx, [rsp + 0xd0]
mov rcx, qword [0x1801e68c8]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x23f8f5fc7e8c4a6b
inc dword [rcx + 8]
mov r8, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801e68c8]
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
mov dword [rsp + 0x70], 0xa
call fcn.180001db0
mov rcx, qword [0x1801e68c8]
mov rdx, rdi
call fcn.180001e60
mov rax, qword [0x1801e68c8]
lea r8, [rsp + 0x70]
mov rcx, qword [rax]
mov edx, dword [rcx]
movabs rcx, 0xcff869cbfa210d82
call fcn.180073a10
movsxd r14, eax
test eax, eax
jle 0x1800f0ded
mov qword [rsp + 0x208], rbp
movabs rdi, 0x9a9112a0fe9a4713
mov qword [rsp + 0x210], rsi
mov ebp, r15d
mov qword [rsp + 0x1e8], r12
movabs rsi, 0x524ac5ecea15343e
mov qword [rsp + 0x1e0], r13
movabs r12, 0x1c99bb7b6e96d16f
movaps xmmword [rsp + 0x1c0], xmm6
movabs r13, 0x997abd671d25ca0b
movaps xmmword [rsp + 0x1b0], xmm7
movaps xmmword [rsp + 0x1a0], xmm8
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
xorps xmm10, xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
movss xmm12, dword [0x180192a98]
movaps xmmword [rsp + 0x150], xmm13
movss xmm13, dword [0x180193370]
movaps xmmword [rsp + 0x140], xmm14
movss xmm14, dword [0x180193350]
nop dword [rax]
mov rcx, qword [0x1801e68c8]
mov ebx, dword [rsp + rbp*8 + 0x78]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x1800f08c7
mov edx, dword [rsp + rbp*8 + 0x78]
xor r8d, r8d
mov rcx, r13
call fcn.18006aef0
test eax, eax
je 0x1800f08c7
mov edx, dword [rsp + rbp*8 + 0x78]
xor r8d, r8d
mov rcx, rdi
call fcn.18006aef0
mov dword [rsp + rbp*8 + 0x78], eax
xor r8d, r8d
lea rcx, [rsp + 0x50]
movabs rdx, 0x837765a25378f0bb
call fcn.18006bb40
movss xmm0, dword [rsp + 0x50]
movss xmm1, dword [rsp + 0x60]
mulss xmm0, xmm12
mulss xmm1, xmm12
cvtps2pd xmm9, xmm0
cvtps2pd xmm8, xmm1
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
andps xmm1, xmm14
cvtps2pd xmm7, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm6, dword [0x1801e5c94]
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
xorps xmm1, xmm13
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm7
cvtpd2ps xmm11, xmm2
mulss xmm11, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm9
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm7
cvtpd2ps xmm8, xmm2
mulss xmm8, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mov rcx, qword [0x1801e68c8]
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
mulss xmm9, xmm6
call fcn.180001db0
mov rcx, qword [0x1801e68c8]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
mov ebx, dword [rsp + rbp*8 + 0x78]
mov rax, qword [rcx]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
addss xmm11, xmm0
movsd qword [rsp + 0x60], xmm1
shufps xmm0, xmm0, 0xaa
addss xmm9, xmm1
addss xmm8, xmm0
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x3fef770d40960d5a
mov rcx, qword [0x1801e68c8]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r15
inc dword [rcx + 8]
mov rcx, qword [0x1801e68c8]
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
mov rax, qword [rcx]
movups xmm7, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
mov rax, qword [0x1801e6978]
movups xmmword [rsp + 0x38], xmm7
movsd qword [rsp + 0x48], xmm0
mov esi, dword [rax + 0x17c]
mov edi, dword [rax + 0x178]
mov ebx, dword [rax + 0x174]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
mov qword [rsp + 0x30], r15
movss dword [rsp + 0x30], xmm11
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x30], r15
movss dword [rsp + 0x30], xmm8
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
movss dword [rsp + 0x30], xmm9
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], 0x40800000
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], ebx
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], edi
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], esi
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x30], 0x3f000000
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801e68c8]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x799017f9e3b10112
mov rcx, qword [0x1801e68c8]
call fcn.180001e60
mov ecx, dword [rsp + rbp*8 + 0x78]
call fcn.1800e6570
mov ecx, dword [rsp + rbp*8 + 0xd8]
call fcn.1800e6570
comiss xmm11, xmm10
jbe 0x1800f0bcd
comiss xmm7, xmm10
jbe 0x1800f0bcd
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18025cdb0], xmm6
jmp 0x1800f0bd5
movss xmm6, dword [0x18025cdb0]
comiss xmm10, xmm11
jbe 0x1800f0bf1
comiss xmm10, xmm7
jbe 0x1800f0bf1
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18025cdb0], xmm6
comiss xmm11, xmm10
jbe 0x1800f0c0d
comiss xmm10, xmm7
jbe 0x1800f0c0d
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18025cdb0], xmm6
comiss xmm10, xmm11
jbe 0x1800f0c29
comiss xmm7, xmm10
jbe 0x1800f0c29
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18025cdb0], xmm6
comiss xmm8, xmm10
movss xmm0, dword [rsp + 0x40]
movaps xmm11, xmm6
jbe 0x1800f0c4f
comiss xmm0, xmm10
jbe 0x1800f0c4f
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm10, xmm8
jbe 0x1800f0c6b
comiss xmm10, xmm0
jbe 0x1800f0c6b
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm8, xmm10
jbe 0x1800f0c87
comiss xmm10, xmm0
jbe 0x1800f0c87
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm10, xmm8
jbe 0x1800f0ca3
comiss xmm0, xmm10
jbe 0x1800f0ca3
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm9, xmm10
movss xmm0, dword [rsp + 0x48]
movaps xmm7, xmm6
jbe 0x1800f0cc8
comiss xmm0, xmm10
jbe 0x1800f0cc8
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm10, xmm9
jbe 0x1800f0ce4
comiss xmm10, xmm0
jbe 0x1800f0ce4
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm9, xmm10
jbe 0x1800f0d00
comiss xmm10, xmm0
jbe 0x1800f0d00
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
comiss xmm10, xmm9
jbe 0x1800f0d1c
comiss xmm0, xmm10
jbe 0x1800f0d1c
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18025cdb0], xmm6
mov edx, dword [rsp + rbp*8 + 0xd8]
addss xmm7, xmm7
addss xmm11, xmm11
mov rcx, r12
addss xmm6, xmm6
movaps xmm3, xmm7
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm6
call fcn.180073330
mov edx, dword [rsp + rbp*8 + 0x78]
movaps xmm3, xmm7
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm6
mov rcx, r12
call fcn.180073330
inc rbp
movabs rdi, 0x9a9112a0fe9a4713
movabs rsi, 0x524ac5ecea15343e
cmp rbp, r14
jl 0x1800f0850
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm13, xmmword [rsp + 0x150]
movaps xmm12, xmmword [rsp + 0x160]
movaps xmm11, xmmword [rsp + 0x170]
movaps xmm10, xmmword [rsp + 0x180]
movaps xmm9, xmmword [rsp + 0x190]
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
mov r13, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x1e8]
mov rsi, qword [rsp + 0x210]
mov rbp, qword [rsp + 0x208]
mov r14, qword [rsp + 0x1d8]
mov rdi, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0x200]
mov r15, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180137e50
add rsp, 0x1f8
ret