Function at 0x1800d3ef0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x180187118]
xor rax, rsp
mov qword [rbp + 0x30], rax
cmp byte [0x18020dafd], 0
je 0x1800d4732
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800d4732
movss xmm0, dword [0x180158578]
comiss xmm0, dword [0x1801a35cc]
mov qword [rsp + 0x200], rbx
movabs rbx, 0xe2587f8cbbd87b1d
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x1e8], r12
mov qword [rsp + 0x1d0], r15
jbe 0x1800d3f9a
mov edx, 2
mov r8d, 0x105
mov rcx, rbx
call fcn.1800637e0
test eax, eax
je 0x1800d3f9a
movss xmm0, dword [0x1801a35cc]
addss xmm0, dword [0x180158494]
movss dword [0x1801a35cc], xmm0
mov edx, 2
mov r8d, 0x106
mov rcx, rbx
call fcn.1800637e0
test eax, eax
je 0x1800d3fc9
movss xmm0, dword [0x1801a35cc]
addss xmm0, dword [0x180158650]
movss dword [0x1801a35cc], xmm0
mov rcx, qword [0x1801a4200]
mov dword [rbp - 0x30], 0xa
call fcn.180014080
mov rcx, qword [0x1801a4200]
movabs rdi, 0xd80958fc74e988a6
mov rdx, rdi
call fcn.180014100
mov rcx, qword [0x1801a4200]
mov rax, qword [rcx]
mov ebx, dword [rax]
call fcn.180014080
mov rdx, qword [0x1801a4200]
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], 0xffffffff
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
lea rdx, [rbp - 0x30]
mov rcx, qword [0x1801a4200]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x23f8f5fc7e8c4a6b
inc dword [rcx + 8]
mov r8, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801a4200]
call fcn.180014100
mov rcx, qword [0x1801a4200]
mov dword [rsp + 0x70], 0xa
call fcn.180014080
mov rcx, qword [0x1801a4200]
mov rdx, rdi
call fcn.180014100
mov rax, qword [0x1801a4200]
lea r8, [rsp + 0x70]
mov rcx, qword [rax]
mov edx, dword [rcx]
movabs rcx, 0xcff869cbfa210d82
call fcn.18006bf70
movsxd r15, eax
test eax, eax
jle 0x1800d4712
mov qword [rsp + 0x208], rsi
movabs rdi, 0x9a9112a0fe9a4713
mov qword [rsp + 0x1e0], r13
movabs rsi, 0x524ac5ecea15343e
mov qword [rsp + 0x1d8], r14
movabs r13, 0x997abd671d25ca0b
movaps xmmword [rsp + 0x1c0], xmm6
mov r14d, r12d
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 [0x180158350]
movaps xmmword [rsp + 0x150], xmm13
movss xmm13, dword [0x180158c50]
movaps xmmword [rsp + 0x140], xmm14
movss xmm14, dword [0x180158c30]
nop dword [rax]
mov rcx, qword [0x1801a4200]
mov ebx, dword [rsp + r14*8 + 0x78]
call fcn.180014080
mov rdx, qword [0x1801a4200]
mov qword [rsp + 0x30], r12
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r12d
je 0x1800d41fb
mov edx, dword [rsp + r14*8 + 0x78]
xor r8d, r8d
mov rcx, r13
call fcn.180064ab0
test eax, eax
je 0x1800d41fb
mov edx, dword [rsp + r14*8 + 0x78]
xor r8d, r8d
mov rcx, rdi
call fcn.180064ab0
mov dword [rsp + r14*8 + 0x78], eax
xor r8d, r8d
lea rcx, [rsp + 0x50]
movabs rdx, 0x837765a25378f0bb
call fcn.180065190
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 [0x1801a35cc]
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 [0x1801a4200]
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
mulss xmm9, xmm6
call fcn.180014080
mov rcx, qword [0x1801a4200]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.180014100
mov rcx, qword [0x1801a4200]
mov ebx, dword [rsp + r14*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.180014080
mov rdx, qword [0x1801a4200]
mov qword [rsp + 0x30], r12
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 [0x1801a4200]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r12
inc dword [rcx + 8]
mov rcx, qword [0x1801a4200]
call fcn.180014100
mov rcx, qword [0x1801a4200]
mov rax, qword [rcx]
movups xmm7, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
mov rax, qword [0x1801a42a8]
movups xmmword [rsp + 0x38], xmm7
movsd qword [rsp + 0x48], xmm0
mov esi, dword [rax + 0x161]
mov edi, dword [rax + 0x15d]
mov ebx, dword [rax + 0x159]
call fcn.180014080
mov rdx, qword [0x1801a4200]
mov qword [rsp + 0x30], r12
movss dword [rsp + 0x30], xmm11
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x30], r12
movss dword [rsp + 0x30], xmm8
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
movss dword [rsp + 0x30], xmm9
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], 0x40800000
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], ebx
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], edi
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], esi
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], 0x3f000000
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov ecx, dword [rsp + r14*8 + 0x78]
call fcn.1800c8500
mov ecx, dword [rbp + r14*8 - 0x28]
call fcn.1800c8500
comiss xmm11, xmm10
jbe 0x1800d4501
comiss xmm7, xmm10
jbe 0x1800d4501
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18020d8b8], xmm6
jmp 0x1800d4509
movss xmm6, dword [0x18020d8b8]
comiss xmm10, xmm11
jbe 0x1800d4525
comiss xmm10, xmm7
jbe 0x1800d4525
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18020d8b8], xmm6
comiss xmm11, xmm10
jbe 0x1800d4541
comiss xmm10, xmm7
jbe 0x1800d4541
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18020d8b8], xmm6
comiss xmm10, xmm11
jbe 0x1800d455d
comiss xmm7, xmm10
jbe 0x1800d455d
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18020d8b8], xmm6
comiss xmm8, xmm10
movss xmm0, dword [rsp + 0x40]
movaps xmm11, xmm6
jbe 0x1800d4583
comiss xmm0, xmm10
jbe 0x1800d4583
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm10, xmm8
jbe 0x1800d459f
comiss xmm10, xmm0
jbe 0x1800d459f
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm8, xmm10
jbe 0x1800d45bb
comiss xmm10, xmm0
jbe 0x1800d45bb
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm10, xmm8
jbe 0x1800d45d7
comiss xmm0, xmm10
jbe 0x1800d45d7
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm9, xmm10
movss xmm0, dword [rsp + 0x48]
movaps xmm7, xmm6
jbe 0x1800d45fc
comiss xmm0, xmm10
jbe 0x1800d45fc
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm10, xmm9
jbe 0x1800d4618
comiss xmm10, xmm0
jbe 0x1800d4618
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm9, xmm10
jbe 0x1800d4634
comiss xmm10, xmm0
jbe 0x1800d4634
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
comiss xmm10, xmm9
jbe 0x1800d4650
comiss xmm0, xmm10
jbe 0x1800d4650
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18020d8b8], xmm6
mov edx, dword [rbp + r14*8 - 0x28]
addss xmm7, xmm7
addss xmm11, xmm11
addss xmm6, xmm6
movaps xmm3, xmm7
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm6
call fcn.18006bcb0
mov edx, dword [rsp + r14*8 + 0x78]
movaps xmm3, xmm7
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm6
call fcn.18006bcb0
inc r14
movabs rdi, 0x9a9112a0fe9a4713
movabs rsi, 0x524ac5ecea15343e
cmp r14, r15
jl 0x1800d4180
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 r14, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1e0]
mov rsi, qword [rsp + 0x208]
mov r12, qword [rsp + 0x1e8]
mov rdi, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x200]
mov r15, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18011b980
add rsp, 0x1f0
pop rbp
ret