Function at 0x180005430
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xe8
cmp byte [0x1800e09ad], 0
mov r13, rcx
je 0x180005a11
cmp qword [0x1800e09c8], 0
je 0x180005a11
cmp byte [0x1800e09ac], 0
mov rax, qword [0x1800e0b70]
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x18008385c]
movaps xmmword [r11 - 0x58], xmm7
movss xmm7, dword [rax + 0x130]
movaps xmmword [r11 - 0x68], xmm8
movss xmm8, dword [rax + 0x134]
lea rax, [rbp + 0x7f]
movaps xmmword [rsp + 0x60], xmm13
xorps xmm13, xmm13
mov qword [rbp - 0x59], rax
lea rax, [rbp + 0x6f]
mov qword [r11 + 8], rbx
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x69]
mov qword [r11 - 0x18], rsi
mov qword [rbp - 0x49], rax
mov rax, qword [0x180091ab8]
mov qword [r11 - 0x20], rdi
movss dword [rbp + 0x7f], xmm7
movss dword [rbp + 0x83], xmm8
movss dword [rbp + 0x6f], xmm6
mov qword [r11 - 0x28], r12
mov qword [rbp - 0x69], 0
mov dword [rbp - 0x61], 0
je 0x180005668
mov r12, qword [rax + 8]
mov rsi, qword [rax]
cmp rsi, r12
je 0x1800056a1
mov qword [r11 - 0x30], r14
movabs r10, 0x2aaaaaaaaaaaaaab
mov qword [r11 - 0x38], r15
nop dword [rax + rax]
mov r8, qword [rsi + 0x38]
mov rax, r10
mov rbx, qword [rsi + 0x30]
mov rcx, r8
sub rcx, rbx
xor r15d, r15d
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180005646
xor r9d, r9d
xor edi, edi
cmp rbx, r8
je 0x180005611
sub r8, rbx
mov rax, r10
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jae 0x180005611
movsd xmm0, qword [rdi + rbx]
lea r8, [rbp + 0x77]
mov r14d, dword [rdi + rbx + 8]
lea rdx, [rbp - 0x59]
movsd qword [rbp - 0x59], xmm0
mov dword [rbp - 0x51], r14d
mov qword [rbp + 0x77], 0
call fcn.180004f50
test eax, eax
je 0x180005611
movaps xmm0, xmm7
movaps xmm1, xmm8
subss xmm0, dword [rbp + 0x77]
subss xmm1, dword [rbp + 0x7b]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1800055d3
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1800055e5
movaps xmm0, xmm1
call fcn.18006ed28
movabs r10, 0x2aaaaaaaaaaaaaab
comiss xmm6, xmm0
jbe 0x180005611
cmp byte [rdi + rbx + 0x15], 0
je 0x180005611
movss xmm1, dword [rbp - 0x55]
movaps xmm6, xmm0
movss dword [rbp + 0x6f], xmm0
movss xmm0, dword [rbp - 0x59]
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
mov dword [rbp - 0x61], r14d
mov r8, qword [rsi + 0x38]
inc r15d
mov rbx, qword [rsi + 0x30]
mov rcx, r8
sub rcx, rbx
movsxd r9, r15d
mov rax, r10
add rdi, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jb 0x180005550
add rsi, 0x88
cmp rsi, r12
jne 0x180005520
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
jmp 0x1800056a1
mov rdi, qword [rax + 8]
mov rbx, qword [rax]
cmp rbx, rdi
je 0x1800056a1
mov esi, dword [0x1800e09b0]
nop word [rax + rax]
lea rdx, [rbx + 0x30]
mov r8d, esi
lea rcx, [rbp - 0x59]
call fcn.180005a20
add rbx, 0x88
cmp rbx, rdi
jne 0x180005680
movss xmm6, dword [rbp + 0x6f]
movss xmm0, dword [0x180091ab4]
comiss xmm0, xmm6
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xe0]
jb 0x1800059ea
movsxd rcx, dword [0x1800e09b8]
lea rax, [0x18007e0d8]
mov ecx, dword [rax + rcx*4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800059ea
mov rcx, qword [0x1800e09c8]
movaps xmmword [rsp + 0x80], xmm9
movaps xmmword [rsp + 0x70], xmm10
call fcn.180004a20
mov rbx, rax
call fcn.180004980
movss xmm0, dword [rbx]
movss xmm1, dword [rbx + 4]
movss xmm8, dword [rbp - 0x69]
addss xmm0, dword [rax]
addss xmm1, dword [rax + 4]
movss xmm9, dword [rbp - 0x65]
movss xmm6, dword [rbp - 0x61]
subss xmm8, xmm0
movss xmm0, dword [rbx + 8]
addss xmm0, dword [rax + 8]
subss xmm9, xmm1
subss xmm6, xmm0
movaps xmm0, xmm8
mulss xmm0, xmm8
movaps xmm1, xmm9
mulss xmm1, xmm9
xorps xmm6, xmmword [0x180083cf0]
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180005776
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18000577e
movaps xmm0, xmm1
call fcn.18006ed28
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.18006b470
xorps xmm2, xmm2
movaps xmm1, xmm8
cvtss2sd xmm2, xmm0
movaps xmm0, xmm9
mulsd xmm2, qword [0x180083790]
cvtpd2ps xmm7, xmm2
call fcn.18006b470
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x180083790]
cvtpd2ps xmm6, xmm1
call fcn.180004b60
cmp dword [rax], 0
jle 0x1800057fc
call fcn.180004ac0
movsd xmm4, qword [rax]
mov eax, dword [rax + 8]
movaps xmm2, xmm4
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm4
mulss xmm2, dword [0x18008376c]
mov dword [rbp - 0x51], eax
mulss xmm1, dword [0x18008376c]
subss xmm6, xmm2
movsd qword [rbp - 0x59], xmm4
subss xmm7, xmm1
movss xmm10, dword [0x180083824]
movaps xmm0, xmm7
movaps xmm1, xmm10
call fcn.180051a68
movaps xmm8, xmm0
movaps xmm1, xmm10
movaps xmm0, xmm6
movss dword [rbp - 0x59], xmm8
call fcn.180051a68
movaps xmm9, xmm0
movaps xmm1, xmm10
movaps xmm0, xmm13
movss dword [rbp - 0x55], xmm9
call fcn.180051a68
movss xmm7, dword [0x180083884]
lea rcx, [rbp - 0x59]
comiss xmm7, xmm8
mov dword [rbp + 0x77], 0x42b20000
movss dword [rbp - 0x51], xmm0
jbe 0x180005862
movaps xmm8, xmm7
jmp 0x180005877
comiss xmm8, dword [0x1800837fc]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm8, dword [rax]
movss xmm6, dword [0x18008388c]
lea rcx, [rbp - 0x55]
comiss xmm6, xmm9
mov dword [rbp + 0x77], 0x43340000
movss dword [rbp - 0x59], xmm8
jbe 0x18000589c
movaps xmm9, xmm6
jmp 0x1800058b1
comiss xmm9, dword [0x18008380c]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm9, dword [rax]
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.180004da0
subss xmm8, dword [rbp - 0x59]
movss xmm1, dword [0x180083728]
divss xmm1, dword [0x180091ab0]
subss xmm9, dword [rbp - 0x55]
movss xmm2, dword [rbp - 0x51]
mulss xmm8, xmm1
addss xmm2, xmm13
mulss xmm9, xmm1
movaps xmm1, xmm10
addss xmm8, dword [rbp - 0x59]
movss dword [rbp - 0x71], xmm2
addss xmm9, dword [rbp - 0x55]
movaps xmm0, xmm8
movss dword [rbp - 0x79], xmm8
movss dword [rbp - 0x75], xmm9
call fcn.180051a68
movss dword [rbp - 0x79], xmm0
movaps xmm1, xmm10
movss xmm0, dword [rbp - 0x75]
call fcn.180051a68
movss dword [rbp - 0x75], xmm0
movaps xmm1, xmm10
movss xmm0, dword [rbp - 0x71]
call fcn.180051a68
movaps xmm10, xmmword [rsp + 0x70]
lea rcx, [rbp - 0x79]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rbp - 0x79]
comiss xmm7, xmm0
mov dword [rbp + 0x77], 0x42b20000
movss dword [rbp - 0x71], xmm1
ja 0x18000597c
comiss xmm0, dword [0x1800837fc]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm7, dword [rax]
movss xmm0, dword [rbp - 0x75]
lea rcx, [rbp - 0x75]
comiss xmm6, xmm0
mov dword [rbp + 0x77], 0x43340000
movss dword [rbp - 0x79], xmm7
ja 0x1800059a9
comiss xmm0, dword [0x18008380c]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm6, dword [rax]
movss xmm0, dword [0x180083880]
lea rcx, [rbp - 0x71]
comiss xmm0, xmm1
mov dword [rbp + 0x77], 0x42340000
movss dword [rbp - 0x75], xmm6
ja 0x1800059d9
comiss xmm1, dword [0x1800837f0]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm0, dword [rax]
lea rdx, [rbp - 0x79]
movss dword [rbp - 0x71], xmm0
mov rcx, r13
call fcn.180004c00
mov rbx, qword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm13, xmmword [rsp + 0x60]
add rsp, 0xe8
pop r13
pop rbp
ret