Function at 0x1800dfdf0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp byte [0x18023f321], 0
je 0x1800e064d
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800e064d
movss xmm0, dword [0x180179e40]
comiss xmm0, dword [0x1801cb5cc]
mov qword [rsp + 0x200], rbx
movabs rbx, 0xe2587f8cbbd87b1d
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1d0], r15
jbe 0x1800dfe94
mov edx, 2
mov r8d, 0x105
mov rcx, rbx
call fcn.180065a50
test eax, eax
je 0x1800dfe94
movss xmm0, dword [0x1801cb5cc]
addss xmm0, dword [0x180179d5c]
movss dword [0x1801cb5cc], xmm0
mov edx, 2
mov r8d, 0x106
mov rcx, rbx
call fcn.180065a50
test eax, eax
je 0x1800dfec3
movss xmm0, dword [0x1801cb5cc]
addss xmm0, dword [0x180179f18]
movss dword [0x1801cb5cc], xmm0
mov rcx, qword [0x1801cc200]
mov dword [rsp + 0xd0], 0xa
call fcn.180014040
mov rcx, qword [0x1801cc200]
movabs rdi, 0xd80958fc74e988a6
mov rdx, rdi
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov rax, qword [rcx]
mov ebx, dword [rax]
call fcn.180014040
mov rdx, qword [0x1801cc200]
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 [0x1801cc200]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x23f8f5fc7e8c4a6b
inc dword [rcx + 8]
mov r8, qword [0x1801cc200]
mov rax, qword [rsp + 0x30]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov dword [rsp + 0x70], 0xa
call fcn.180014040
mov rcx, qword [0x1801cc200]
mov rdx, rdi
call fcn.1800140c0
mov rax, qword [0x1801cc200]
lea r8, [rsp + 0x70]
mov rcx, qword [rax]
mov edx, dword [rcx]
movabs rcx, 0xcff869cbfa210d82
call fcn.18006e410
movsxd r14, eax
test eax, eax
jle 0x1800e062d
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 [0x180179bac]
movaps xmmword [rsp + 0x150], xmm13
movss xmm13, dword [0x18017a540]
movaps xmmword [rsp + 0x140], xmm14
movss xmm14, dword [0x18017a520]
nop dword [rax]
mov rcx, qword [0x1801cc200]
mov ebx, dword [rsp + rbp*8 + 0x78]
call fcn.180014040
mov rdx, qword [0x1801cc200]
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 [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x1800e0107
mov edx, dword [rsp + rbp*8 + 0x78]
xor r8d, r8d
mov rcx, r13
call fcn.1800673c0
test eax, eax
je 0x1800e0107
mov edx, dword [rsp + rbp*8 + 0x78]
xor r8d, r8d
mov rcx, rdi
call fcn.1800673c0
mov dword [rsp + rbp*8 + 0x78], eax
xor r8d, r8d
lea rcx, [rsp + 0x50]
movabs rdx, 0x837765a25378f0bb
call fcn.180067ae0
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 [0x1801cb5cc]
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 [0x1801cc200]
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
mulss xmm9, xmm6
call fcn.180014040
mov rcx, qword [0x1801cc200]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
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.180014040
mov rdx, qword [0x1801cc200]
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 [0x1801cc200]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r15
inc dword [rcx + 8]
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov rax, qword [rcx]
movups xmm7, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
mov rax, qword [0x1801cc288]
movups xmmword [rsp + 0x38], xmm7
movsd qword [rsp + 0x48], xmm0
mov esi, dword [rax + 0x182]
mov edi, dword [rax + 0x17e]
mov ebx, dword [rax + 0x17a]
call fcn.180014040
mov rdx, qword [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
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 [0x1801cc200]
call fcn.1800140c0
mov ecx, dword [rsp + rbp*8 + 0x78]
call fcn.1800d6280
mov ecx, dword [rsp + rbp*8 + 0xd8]
call fcn.1800d6280
comiss xmm11, xmm10
jbe 0x1800e040d
comiss xmm7, xmm10
jbe 0x1800e040d
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18023f140], xmm6
jmp 0x1800e0415
movss xmm6, dword [0x18023f140]
comiss xmm10, xmm11
jbe 0x1800e0431
comiss xmm10, xmm7
jbe 0x1800e0431
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18023f140], xmm6
comiss xmm11, xmm10
jbe 0x1800e044d
comiss xmm10, xmm7
jbe 0x1800e044d
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18023f140], xmm6
comiss xmm10, xmm11
jbe 0x1800e0469
comiss xmm7, xmm10
jbe 0x1800e0469
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18023f140], xmm6
comiss xmm8, xmm10
movss xmm0, dword [rsp + 0x40]
movaps xmm11, xmm6
jbe 0x1800e048f
comiss xmm0, xmm10
jbe 0x1800e048f
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm10, xmm8
jbe 0x1800e04ab
comiss xmm10, xmm0
jbe 0x1800e04ab
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm8, xmm10
jbe 0x1800e04c7
comiss xmm10, xmm0
jbe 0x1800e04c7
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm10, xmm8
jbe 0x1800e04e3
comiss xmm0, xmm10
jbe 0x1800e04e3
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm9, xmm10
movss xmm0, dword [rsp + 0x48]
movaps xmm7, xmm6
jbe 0x1800e0508
comiss xmm0, xmm10
jbe 0x1800e0508
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm10, xmm9
jbe 0x1800e0524
comiss xmm10, xmm0
jbe 0x1800e0524
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm9, xmm10
jbe 0x1800e0540
comiss xmm10, xmm0
jbe 0x1800e0540
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18023f140], xmm6
comiss xmm10, xmm9
jbe 0x1800e055c
comiss xmm0, xmm10
jbe 0x1800e055c
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18023f140], 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.18006e140
mov edx, dword [rsp + rbp*8 + 0x78]
movaps xmm3, xmm7
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm6
mov rcx, r12
call fcn.18006e140
inc rbp
movabs rdi, 0x9a9112a0fe9a4713
movabs rsi, 0x524ac5ecea15343e
cmp rbp, r14
jl 0x1800e0090
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.1801274b0
add rsp, 0x1f8
ret