Function at 0x1800e5d50
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x1801ac118]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp byte [0x18023abe0], 0
je 0x1800e65ad
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800e65ad
movss xmm0, dword [0x180177330]
comiss xmm0, dword [0x1801c8614]
mov qword [rsp + 0x200], rbx
movabs rbx, 0xe2587f8cbbd87b1d
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1d0], r15
jbe 0x1800e5df4
mov edx, 2
mov r8d, 0x105
mov rcx, rbx
call fcn.180068fd0
test eax, eax
je 0x1800e5df4
movss xmm0, dword [0x1801c8614]
addss xmm0, dword [0x180177264]
movss dword [0x1801c8614], xmm0
mov edx, 2
mov r8d, 0x106
mov rcx, rbx
call fcn.180068fd0
test eax, eax
je 0x1800e5e23
movss xmm0, dword [0x1801c8614]
addss xmm0, dword [0x180177410]
movss dword [0x1801c8614], xmm0
mov rcx, qword [0x1801c9230]
mov dword [rsp + 0xd0], 0xa
call fcn.1800141b0
mov rcx, qword [0x1801c9230]
movabs rdi, 0xd80958fc74e988a6
mov rdx, rdi
call fcn.180014230
mov rcx, qword [0x1801c9230]
mov rax, qword [rcx]
mov ebx, dword [rax]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x23f8f5fc7e8c4a6b
inc dword [rcx + 8]
mov r8, qword [0x1801c9230]
mov rax, qword [rsp + 0x30]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov rcx, qword [0x1801c9230]
mov dword [rsp + 0x70], 0xa
call fcn.1800141b0
mov rcx, qword [0x1801c9230]
mov rdx, rdi
call fcn.180014230
mov rax, qword [0x1801c9230]
lea r8, [rsp + 0x70]
mov rcx, qword [rax]
mov edx, dword [rcx]
movabs rcx, 0xcff869cbfa210d82
call fcn.180071e30
movsxd r14, eax
test eax, eax
jle 0x1800e658d
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 [0x1801770d8]
movaps xmmword [rsp + 0x150], xmm13
movss xmm13, dword [0x180177910]
movaps xmmword [rsp + 0x140], xmm14
movss xmm14, dword [0x1801778f0]
nop dword [rax]
mov rcx, qword [0x1801c9230]
mov ebx, dword [rsp + rbp*8 + 0x78]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x1800e6067
mov edx, dword [rsp + rbp*8 + 0x78]
xor r8d, r8d
mov rcx, r13
call fcn.18006a1c0
test eax, eax
je 0x1800e6067
mov edx, dword [rsp + rbp*8 + 0x78]
xor r8d, r8d
mov rcx, rdi
call fcn.18006a1c0
mov dword [rsp + rbp*8 + 0x78], eax
xor r8d, r8d
lea rcx, [rsp + 0x50]
movabs rdx, 0x837765a25378f0bb
call fcn.18006ae10
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 [0x1801c8614]
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 [0x1801c9230]
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
mulss xmm9, xmm6
call fcn.1800141b0
mov rcx, qword [0x1801c9230]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.180014230
mov rcx, qword [0x1801c9230]
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.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r15
inc dword [rcx + 8]
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov rcx, qword [0x1801c9230]
mov rax, qword [rcx]
movups xmm7, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
mov rax, qword [0x1801c92d8]
movups xmmword [rsp + 0x38], xmm7
movsd qword [rsp + 0x48], xmm0
mov esi, dword [rax + 0x162]
mov edi, dword [rax + 0x15e]
mov ebx, dword [rax + 0x15a]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov ecx, dword [rsp + rbp*8 + 0x78]
call fcn.1800dc4d0
mov ecx, dword [rsp + rbp*8 + 0xd8]
call fcn.1800dc4d0
comiss xmm11, xmm10
jbe 0x1800e636d
comiss xmm7, xmm10
jbe 0x1800e636d
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18023a9fc], xmm6
jmp 0x1800e6375
movss xmm6, dword [0x18023a9fc]
comiss xmm10, xmm11
jbe 0x1800e6391
comiss xmm10, xmm7
jbe 0x1800e6391
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x18023a9fc], xmm6
comiss xmm11, xmm10
jbe 0x1800e63ad
comiss xmm10, xmm7
jbe 0x1800e63ad
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18023a9fc], xmm6
comiss xmm10, xmm11
jbe 0x1800e63c9
comiss xmm7, xmm10
jbe 0x1800e63c9
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x18023a9fc], xmm6
comiss xmm8, xmm10
movss xmm0, dword [rsp + 0x40]
movaps xmm11, xmm6
jbe 0x1800e63ef
comiss xmm0, xmm10
jbe 0x1800e63ef
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm10, xmm8
jbe 0x1800e640b
comiss xmm10, xmm0
jbe 0x1800e640b
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm8, xmm10
jbe 0x1800e6427
comiss xmm10, xmm0
jbe 0x1800e6427
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm10, xmm8
jbe 0x1800e6443
comiss xmm0, xmm10
jbe 0x1800e6443
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm9, xmm10
movss xmm0, dword [rsp + 0x48]
movaps xmm7, xmm6
jbe 0x1800e6468
comiss xmm0, xmm10
jbe 0x1800e6468
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm10, xmm9
jbe 0x1800e6484
comiss xmm10, xmm0
jbe 0x1800e6484
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm9, xmm10
jbe 0x1800e64a0
comiss xmm10, xmm0
jbe 0x1800e64a0
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18023a9fc], xmm6
comiss xmm10, xmm9
jbe 0x1800e64bc
comiss xmm0, xmm10
jbe 0x1800e64bc
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x18023a9fc], 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.180071b60
mov edx, dword [rsp + rbp*8 + 0x78]
movaps xmm3, xmm7
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm6
mov rcx, r12
call fcn.180071b60
inc rbp
movabs rdi, 0x9a9112a0fe9a4713
movabs rsi, 0x524ac5ecea15343e
cmp rbp, r14
jl 0x1800e5ff0
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.18012d340
add rsp, 0x1f8
ret