Function at 0x1400470a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14005e1f8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
call fcn.14002f370
call fcn.140030230
call fcn.140012250
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and ax, 1
movzx eax, byte [rbx + 0x28]
je 0x1400470ff
test al, al
sete al
mov byte [rbx + 0x28], al
test al, al
je 0x14004710b
mov rcx, rbx
call fcn.140048730
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [rbx], rax
je 0x14004712d
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp qword [rbx], rax
je 0x14004712d
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx + 0x20]
call fcn.140044b30
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x140054520]
movss dword [0x14005e70c], xmm1
mov edx, dword [0x14005e700]
inc edx
mov dword [0x14005e700], edx
movaps xmm0, xmm1
subss xmm0, dword [0x14005e708]
xor r12d, r12d
comiss xmm0, dword [0x14004f204]
jb 0x14004718f
movss dword [0x14005e708], xmm1
mov dword [0x14005e704], edx
mov dword [0x14005e700], r12d
jmp 0x140047195
mov edx, dword [0x14005e704]
lea rcx, [rbp - 0x39]
call fcn.14004a630
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 6
jb 0x140047239
lea rax, [r8 + 6]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x1400471cd
mov rdi, qword [rbx]
lea rax, [0x1400543b2]
mov r15d, 6
lea r14, str.FPS_:
cmp rax, rdi
jbe 0x140047201
lea rax, [rdi + r8]
cmp r14, rax
ja 0x140047201
cmp rdi, r14
ja 0x1400471f9
mov rsi, r12
jmp 0x140047204
mov rsi, rdi
sub rsi, r14
jmp 0x140047204
mov rsi, r15
inc r8
lea rcx, [rdi + 6]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r15, rsi
lea rdx, [r14 + 6]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140047266
mov r15d, 6
mov qword [rsp + 0x28], r15
lea r14, str.FPS_:
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rbp - 0x79]
mov edx, r15d
mov rcx, rbx
call fcn.140043d40
mov rbx, rax
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], r12
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x71], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x61], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0x10
cmovae rcx, qword [rbp - 0x71]
mov rax, qword [rbp - 0x61]
mov byte [rax + rcx], 0
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [rbp - 9], xmm1
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 0xf
mov byte [rbp - 0x71], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140047304
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400472ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400472ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004af44
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
movss xmm1, dword [0x14005e110]
movaps xmm2, xmm1
movss xmm6, dword [0x14004f234]
addss xmm2, xmm6
movaps xmm0, xmmword [0x14004f2d0]
movaps xmmword [rbp - 0x49], xmm0
lea rax, [0x1400543b4]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm6
mov rcx, qword [0x14005e5a0]
call fcn.140049620
movss xmm1, dword [0x14005e110]
movaps xmm2, xmm1
addss xmm2, dword [0x14004f250]
movaps xmm0, xmmword [0x1400546a0]
movaps xmmword [rbp - 0x49], xmm0
lea rax, str.RustClient.exe
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm6
mov rcx, qword [0x14005e5a0]
call fcn.140049620
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rax, qword [rbp - 0x19]
movss xmm1, dword [0x14005e110]
movaps xmm2, xmm1
addss xmm2, xmm6
movaps xmm0, xmmword [0x1400546b0]
movaps xmmword [rbp - 0x49], xmm0
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
movss xmm3, dword [0x14004f248]
mov rcx, qword [0x14005e5a0]
call fcn.140049620
call fcn.140014b10
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov rcx, qword [0x14005e5e0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14005e5f0]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x14005e5e0]
mov rax, qword [rcx]
lea r8, [rbp + 7]
mov rdx, qword [0x14005e5f0]
call qword [rax + 0x190]
call fcn.14000afe0
mov rcx, rax
call fcn.14002f3b0
mov rcx, qword [0x14005e5e8]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x40]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140047489
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047484
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047484
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004af44
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14004b060
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret