Function at 0x1800053f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xe8
cmp byte [0x1800dd9ed], 0
mov r13, rcx
je 0x1800059ce
cmp qword [0x1800dda08], 0
je 0x1800059ce
cmp byte [0x1800dd9ec], 0
mov rax, qword [0x1800ddc00]
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x180080b04]
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 [0x18008eab8]
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 0x180005625
mov r12, qword [rax + 8]
mov rsi, qword [rax]
cmp rsi, r12
je 0x18000565e
mov qword [r11 - 0x30], r14
movabs r10, 0x2aaaaaaaaaaaaaab
mov qword [r11 - 0x38], r15
nop dword [rax + rax]
mov r8, qword [rsi + 0x40]
mov rax, r10
mov rbx, qword [rsi + 0x38]
mov rcx, r8
sub rcx, rbx
xor r15d, r15d
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180005606
xor r9d, r9d
xor edi, edi
cmp rbx, r8
je 0x1800055d1
sub r8, rbx
mov rax, r10
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jae 0x1800055d1
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.180004f20
test eax, eax
je 0x1800055d1
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 0x180005593
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1800055a5
movaps xmm0, xmm1
call fcn.18006c0f8
movabs r10, 0x2aaaaaaaaaaaaaab
comiss xmm6, xmm0
jbe 0x1800055d1
cmp byte [rdi + rbx + 0x15], 0
je 0x1800055d1
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 + 0x40]
inc r15d
mov rbx, qword [rsi + 0x38]
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 0x180005510
add rsi, 0x70
cmp rsi, r12
jne 0x1800054e0
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
jmp 0x18000565e
mov rdi, qword [rax + 8]
mov rbx, qword [rax]
cmp rbx, rdi
je 0x18000565e
mov esi, dword [0x1800dd9f0]
nop word [rax + rax]
lea rdx, [rbx + 0x38]
mov r8d, esi
lea rcx, [rbp - 0x59]
call fcn.1800059e0
add rbx, 0x70
cmp rbx, rdi
jne 0x180005640
movss xmm6, dword [rbp + 0x6f]
movss xmm0, dword [0x18008eab4]
comiss xmm0, xmm6
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xe0]
jb 0x1800059a7
movsxd rcx, dword [0x1800dd9f8]
lea rax, [0x18007b118]
mov ecx, dword [rax + rcx*4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800059a7
mov rcx, qword [0x1800dda08]
movaps xmmword [rsp + 0x80], xmm9
movaps xmmword [rsp + 0x70], xmm10
call fcn.1800049f0
mov rbx, rax
call fcn.180004950
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 [0x180080f90]
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180005733
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18000573b
movaps xmm0, xmm1
call fcn.18006c0f8
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.180068840
xorps xmm2, xmm2
movaps xmm1, xmm8
cvtss2sd xmm2, xmm0
movaps xmm0, xmm9
mulsd xmm2, qword [0x180080a38]
cvtpd2ps xmm7, xmm2
call fcn.180068840
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x180080a38]
cvtpd2ps xmm6, xmm1
call fcn.180004b30
cmp dword [rax], 0
jle 0x1800057b9
call fcn.180004a90
movsd xmm4, qword [rax]
mov eax, dword [rax + 8]
movaps xmm2, xmm4
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm4
mulss xmm2, dword [0x180080a14]
mov dword [rbp - 0x51], eax
mulss xmm1, dword [0x180080a14]
subss xmm6, xmm2
movsd qword [rbp - 0x59], xmm4
subss xmm7, xmm1
movss xmm10, dword [0x180080acc]
movaps xmm0, xmm7
movaps xmm1, xmm10
call fcn.18004f718
movaps xmm8, xmm0
movaps xmm1, xmm10
movaps xmm0, xmm6
movss dword [rbp - 0x59], xmm8
call fcn.18004f718
movaps xmm9, xmm0
movaps xmm1, xmm10
movaps xmm0, xmm13
movss dword [rbp - 0x55], xmm9
call fcn.18004f718
movss xmm7, dword [0x180080b2c]
lea rcx, [rbp - 0x59]
comiss xmm7, xmm8
mov dword [rbp + 0x77], 0x42b20000
movss dword [rbp - 0x51], xmm0
jbe 0x18000581f
movaps xmm8, xmm7
jmp 0x180005834
comiss xmm8, dword [0x180080aa4]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm8, dword [rax]
movss xmm6, dword [0x180080b34]
lea rcx, [rbp - 0x55]
comiss xmm6, xmm9
mov dword [rbp + 0x77], 0x43340000
movss dword [rbp - 0x59], xmm8
jbe 0x180005859
movaps xmm9, xmm6
jmp 0x18000586e
comiss xmm9, dword [0x180080abc]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm9, dword [rax]
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.180004d70
subss xmm8, dword [rbp - 0x59]
movss xmm1, dword [0x1800809c8]
divss xmm1, dword [0x18008eab0]
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.18004f718
movss dword [rbp - 0x79], xmm0
movaps xmm1, xmm10
movss xmm0, dword [rbp - 0x75]
call fcn.18004f718
movss dword [rbp - 0x75], xmm0
movaps xmm1, xmm10
movss xmm0, dword [rbp - 0x71]
call fcn.18004f718
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 0x180005939
comiss xmm0, dword [0x180080aa4]
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 0x180005966
comiss xmm0, dword [0x180080abc]
lea rax, [rbp + 0x77]
cmovbe rax, rcx
movss xmm6, dword [rax]
movss xmm0, dword [0x180080b28]
lea rcx, [rbp - 0x71]
comiss xmm0, xmm1
mov dword [rbp + 0x77], 0x42340000
movss dword [rbp - 0x75], xmm6
ja 0x180005996
comiss xmm1, dword [0x180080a98]
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.180004bd0
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