Function at 0x140002d40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, r9
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x3c], esi
movsxd rdx, dword [0x1400e4d24]
shl rdx, 5
add rdx, qword [0x1400e4d28]
lea rcx, [0x1400e4d40]
call fcn.140004180
mov ecx, dword [rax]
shl ecx, 5
movsxd rdx, ecx
add rdx, rbx
xorps xmm9, xmm9
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov rcx, qword [0x1400e4b90]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm6, dword [rsp + 0x38]
subss xmm6, dword [rdi + 0x28]
movss xmm8, dword [rsp + 0x34]
subss xmm8, dword [rdi + 0x24]
movss xmm7, dword [rsp + 0x30]
subss xmm7, dword [rdi + 0x20]
movaps xmm1, xmm8
movaps xmm0, xmm7
call fcn.140092920
xorps xmm6, xmmword [0x1400cef80]
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.140092ca0
movaps xmm10, xmm0
mulss xmm10, dword [0x1400ce8ec]
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.140092ca0
movaps xmm7, xmm0
mulss xmm7, dword [0x1400ce8ec]
subss xmm7, dword [rdi + 0x3c]
subss xmm10, dword [rdi + 0x38]
xorps xmm6, xmm6
movaps xmm1, xmm7
movaps xmm0, xmm10
call fcn.140092920
movss xmm1, dword [0x1400e4d18]
comiss xmm1, xmm0
jbe 0x140002e75
movaps xmm9, xmm10
movaps xmm6, xmm7
movss xmm1, dword [0x1400ce920]
movss xmm0, dword [0x1400ce910]
movss xmm2, dword [0x1400ce8fc]
comiss xmm9, xmm2
jbe 0x140002e99
comiss xmm0, xmm9
jae 0x140002eb2
comiss xmm9, xmm0
jbe 0x140002ea4
subss xmm9, xmm1
movss xmm2, dword [0x1400ce990]
comiss xmm2, xmm9
jbe 0x140002eb6
movaps xmm9, xmm2
comiss xmm6, xmm0
jbe 0x140002ebf
subss xmm6, xmm1
movss xmm0, dword [0x1400ce998]
comiss xmm0, xmm6
jbe 0x140002ed0
addss xmm6, xmm1
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x40]
call fcn.140097450
lea rax, [0x1400c4a98]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], esi
mov qword [rbp - 0x18], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
movdqa xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], sil
mov dword [rsp + 0x3c], 1
lea rdi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x3c], 0x78
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.140006400
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], rbx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140006110
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], 4
lea rcx, [rsp + 0x40]
call fcn.140006840
mov edx, dword [0x1400e4d58]
mov rcx, rax
call fcn.140003d40
divss xmm9, dword [0x1400e4d14]
divss xmm6, dword [0x1400e4d14]
cmp byte [0x1400e4d10], 0
je 0x140003002
mov ecx, dword [0x1400e4d58]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140003002
xorps xmm6, xmmword [0x1400cef80]
mulss xmm6, dword [0x1400ce8b8]
cvttss2si edx, xmm6
mulss xmm9, dword [0x1400ce8b8]
cvttss2si r8d, xmm9
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rbx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140003a20
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rdi
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.14006a540
nop
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14006b450
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, 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 rbp
ret