Function at 0x140002d90
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rbp, r8
movsxd r8, dword [0x1400eaee4]
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm7
lea rdx, [rax - 0x78]
movaps xmmword [rax - 0x48], xmm8
mov rdi, rcx
shl r8, 5
lea rcx, [0x1400eaf00]
add r8, qword [0x1400eaee8]
mov rbx, r9
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
call fcn.140004920
mov rcx, qword [0x1400ead48]
lea r8, [rsp + 0x30]
xorps xmm10, xmm10
mov rax, qword [rax]
mov eax, dword [rax + 0x40]
shl eax, 5
movsxd rdx, eax
add rdx, rbx
mov qword [rsp + 0x30], 0
xor ebx, ebx
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0xc]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0xe0]
movss xmm6, dword [0x1400eaf28]
movaps xmm8, xmm6
movaps xmm7, xmm6
mulss xmm8, dword [rax]
mulss xmm7, dword [rax + 4]
mulss xmm6, dword [rax + 8]
addss xmm8, dword [rsp + 0x30]
addss xmm7, dword [rsp + 0x34]
addss xmm6, dword [rsp + 0x38]
subss xmm8, dword [rdi + 0x20]
subss xmm7, dword [rdi + 0x24]
subss xmm6, dword [rdi + 0x28]
movaps xmm0, xmm8
movaps xmm1, xmm7
xorps xmm6, xmmword [0x1400d5af0]
call fcn.140098f00
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.140099250
movaps xmm9, xmm0
movaps xmm1, xmm8
mulss xmm9, dword [0x1400d583c]
movaps xmm0, xmm7
subss xmm9, dword [rdi + 0x38]
call fcn.140099250
movaps xmm8, xmm0
xorps xmm6, xmm6
mulss xmm8, dword [0x1400d583c]
movaps xmm0, xmm9
xorps xmm7, xmm7
subss xmm8, dword [rdi + 0x3c]
movaps xmm1, xmm8
call fcn.140098f00
movss xmm1, dword [0x1400eaed8]
comiss xmm1, xmm0
jbe 0x140002ee8
movaps xmm6, xmm9
movaps xmm7, xmm8
movss xmm9, dword [0x1400d5848]
comiss xmm6, xmm9
movss xmm1, dword [0x1400d586c]
movss xmm0, dword [0x1400d585c]
jbe 0x140002f0c
comiss xmm0, xmm6
jae 0x140002f2c
comiss xmm6, xmm0
movaps xmm9, xmm6
jbe 0x140002f1a
subss xmm9, xmm1
movss xmm2, dword [0x1400d58d8]
comiss xmm2, xmm9
jbe 0x140002f2c
movaps xmm9, xmm2
comiss xmm7, xmm0
jbe 0x140002f35
subss xmm7, xmm1
movss xmm0, dword [0x1400d58e0]
comiss xmm0, xmm7
jbe 0x140002f46
addss xmm7, xmm1
movaps xmm8, xmm9
movaps xmm6, xmm7
divss xmm8, dword [0x1400eaed4]
divss xmm6, dword [0x1400eaed4]
ucomiss xmm8, xmm10
jp 0x140002f72
jne 0x140002f72
ucomiss xmm6, xmm10
jp 0x140002f72
je 0x140003071
cmp byte [0x1400eaf10], bl
je 0x140002fb2
movsxd r8, dword [0x1400eaf14]
lea rdx, [rsp + 0x40]
shl r8, 5
lea rcx, [0x1400eaf50]
add r8, qword [0x1400eaf38]
call fcn.140004920
mov rcx, qword [rax]
mov ecx, dword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140003071
movss xmm2, dword [rsi + 8]
lea r8, [rsp + 0x30]
mov rcx, qword [0x1400ead48]
addss xmm2, xmm10
movaps xmm0, xmm8
mov qword [rsp + 0x20], rbx
addss xmm0, dword [rsi]
movaps xmm1, xmm6
mov r9d, 0xc
addss xmm1, dword [rsi + 4]
mov rdx, rbp
movss dword [rsp + 0x38], xmm2
unpcklps xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [0x1400eaf30], bl
je 0x140003071
movss xmm0, dword [0x1400eaf2c]
subss xmm6, xmm7
subss xmm8, xmm9
mulss xmm6, xmm6
mulss xmm8, xmm8
addss xmm6, xmm8
addss xmm6, xmm10
comiss xmm0, xmm6
jb 0x140003071
mov ecx, dword [0x1400ead30]
mov eax, ecx
cdq
inc ecx
idiv dword [0x1400eaf34]
mov dword [0x1400ead30], ecx
test edx, edx
jne 0x140003071
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor edx, edx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret