Function at 0x1400467b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x190
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
xor r14d, r14d
mov dword [rbp + 0xc0], r14d
mov rax, qword [0x14008ab00]
test rax, rax
je 0x1400467ee
mov rcx, qword [rax + 0x98]
jmp 0x1400467f1
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x140046812
test rax, rax
je 0x140046812
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140046812
cmp qword [rcx], r14
je 0x140046812
call fcn.14002a500
call fcn.14002aed0
call fcn.140006f70
call fcn.140043420
cmp byte [0x14008aafb], 1
jne 0x140046871
movss xmm0, dword [0x1400640f8]
mulss xmm0, dword [0x14005a314]
cvttss2si r8d, xmm0
mov eax, dword [0x14008abe0]
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [0x14008abe4]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rsp + 0x20], 0x64
lea r9, [0x140089ac0]
mov edx, r10d
call fcn.140041260
cmp byte [0x1400640d7], 1
jne 0x140046a8f
lea rax, [0x14005a188]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0xc0], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], 4
lea rdx, str.FPS:
lea rcx, [rbp - 0x80]
call fcn.14004ddd0
lea rdx, [0x140040060]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rcx, qword [0x14008ab00]
movss xmm1, dword [rcx + 0xd8]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14005a460]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], 0
mov dword [rbp + 0xc0], 6
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov ecx, dword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400469b3
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x1400469b3
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x1400469e4
test cl, 4
jne 0x1400469da
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400469da
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400469e4
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400469f4
lea rcx, [rsp + 0x60]
call fcn.14004cbe0
nop
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
lea r8, [0x140089900]
call fcn.140040770
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140046a53
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046a4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400500b8
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.14004c300
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [0x14008ab60]
cmp byte [0x1400640f5], 1
jne 0x140046aa6
mov edx, 0x11
jmp 0x140046aa8
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
movss xmm7, dword [0x14005a26c]
cmp byte [0x14008aafe], 1
jne 0x140046b10
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140046aea
mov rdx, qword [0x14008ab80]
add rdx, 0xc4
movss xmm2, dword [0x14005a2c0]
call fcn.14004dfb0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140046b10
mov rdx, qword [0x14008ab80]
add rdx, 0xc4
movaps xmm2, xmm7
call fcn.14004dfb0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140046b2e
cmp byte [0x14008aafc], 0
sete byte [0x14008aafc]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.USER32.dll_GetCursorPos]
movss xmm0, dword [0x1400640e8]
movss xmm2, dword [0x14005a370]
mulss xmm0, xmm2
cvttss2si rbx, xmm0
movss xmm0, dword [0x1400640ec]
mulss xmm0, xmm2
cvttss2si rdi, xmm0
movss xmm1, dword [0x1400640f0]
mulss xmm1, xmm2
cvttss2si rsi, xmm1
mov rax, qword [0x14008ab00]
cmp byte [0x14008aafc], 0
je 0x140046da4
mov rcx, qword [rax + 0x40b0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.1400059e0
mov r10, rax
mov ecx, ebx
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
movsd xmm2, qword [0x14005a258]
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
mov ecx, edi
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x64], xmm0
mov ecx, esi
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x68], xmm0
mov dword [rsp + 0x6c], 0x3f800000
mov rax, qword [rbp + 0xc8]
lea ecx, [rax + 5]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0xc0], xmm0
mov edx, dword [rbp + 0xcc]
lea ecx, [rdx + 5]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0xc4], xmm0
add eax, 0xfffffffb
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rbp + 0xd0], xmm1
lea eax, [rdx - 5]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0xd4], xmm0
lea rcx, [rsp + 0x60]
call fcn.140002f80
mov r9d, eax
mov dword [rsp + 0x28], r14d
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0xd0]
mov rcx, r10
call fcn.140023cd0
mov rbx, qword [0x14008ab00]
mov qword [rbx + 0x3fc0], r14
mov qword [rbx + 0x3fc8], r14
mov dword [rbx + 0x3fb4], 2
or dword [rbx + 0x3fb0], 3
movsd xmm0, qword [rbx + 0x10]
movsd qword [rbx + 0x3fd0], xmm0
mov dword [rbx + 0x3fb8], 2
movdqa xmm6, xmmword [0x14005a760]
mov dword [rsp + 0x40], 2
movups xmm0, xmmword [rbx + 0x38e0]
movups xmmword [rsp + 0x44], xmm0
lea rcx, [rbx + 0x4020]
lea rdx, [rsp + 0x40]
call fcn.1400184f0
movups xmmword [rbx + 0x38e0], xmm6
movabs rax, 0x2d3a680c9d84ae83
mov qword [rsp + 0x40], rax
movabs rax, 0x7f42063154ff7718
mov qword [rsp + 0x48], rax
movabs rax, 0x5f5d036ffce68da0
mov qword [rsp + 0x60], rax
movabs rax, 0x7f42063130910277
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
mov r8d, 0x201f
lea rcx, [rsp + 0x40]
call fcn.14000cac0
call fcn.14000ede0
mov r8, qword [0x14008ab00]
movsxd rax, dword [r8 + 0x4020]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4028]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x38c
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4020]
call fcn.1400450b0
mov rax, qword [0x14008ab00]
mov byte [rax + 0x70], 1
jmp 0x140046da8
mov byte [rax + 0x70], 0
call fcn.140009640
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140046e6a
call fcn.1400099e0
mov rax, qword [0x14008ab00]
mov rcx, qword [rax + 0x40b0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r14
call fcn.140029f30
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140046f4a
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140046f4a
mov rbx, qword [0x14008ab00]
test rbx, rbx
je 0x140046f10
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x140046f10
cmp qword [rbx], 0
je 0x140046f10
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140046edb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140046eee
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140046f10
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], r14
mov rax, qword [0x14008ab00]
mov rcx, qword [rax + 0x50]
mov qword [rcx + 8], r14
mov rcx, qword [0x14008ab98]
mov rax, qword [rcx]
lea rdx, [0x14008aba0]
call qword [rax + 0x80]
mov rax, qword [0x14008ab00]
test rax, rax
je 0x140046f4a
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140046f4a
cmp qword [rax], 0
je 0x140046f4a
call fcn.14002a500
movaps xmm6, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x170]
add rsp, 0x190
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret