Function at 0x1800658a0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800ad010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov edx, dword [0x1800b13e4]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1800b4a50], eax
jle 0x180065974
lea rcx, [0x1800b4a50]
call fcn.180086418
cmp dword [0x1800b4a50], 0xffffffff
jne 0x180065974
mov ecx, 0x18
call fcn.180086528
mov rdi, rax
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_c_timer_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx], rax
mov qword [0x1800b4a40], rbx
mov qword [0x1800b4a48], rdi
lea rcx, [0x18008b7f0]
call fcn.1800868cc
nop
lea rcx, [0x1800b4a50]
call fcn.1800863b8
mov rax, qword [0x1800b4a40]
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, rbx
cmp rax, 0x14
jb 0x180066163
mov rbx, qword [0x1800b4a40]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx], rax
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180066163
xor edx, edx
lea rcx, [0x18008cd9c]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x180066163
mov rcx, qword [rsi]
mov rcx, qword [rcx]
call fcn.18001a9d0
mov rbx, rax
mov ecx, 0x20
call fcn.180086528
mov r15, rax
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_c_player_.0
mov qword [r15], rax
lea rcx, [r15 + 0x10]
mov rax, qword [rsi + 0x18]
mov qword [rcx], rbx
mov qword [rcx + 8], rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r15
cmp rbx, 0
je 0x180066135
lea rdx, [rbp - 0x80]
call fcn.180002780
nop
mov rbx, qword [0x1800b4548]
mov r14, qword [rbp - 0x70]
mov r12, qword [rbp - 0x80]
mov rdi, qword [0x1800b4550]
mov r13, qword [rbp - 0x68]
cmp rbx, rdi
je 0x180065aa3
cmp r13, 0x10
setae sil
nop word [rax + rax]
lea rdx, [rbp - 0x80]
test sil, sil
cmovne rdx, r12
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180065a8c
mov rcx, qword [rbx]
cmp r8, r14
jne 0x180065a9a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180065aa3
add rbx, 0x20
cmp rbx, rdi
jne 0x180065a70
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rbx, rdi
je 0x180065e3e
cmp rax, 9
jb 0x1800661a7
lea rdx, [rbp - 0x80]
cmp r13, 0x10
cmovae rdx, r12
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r8
lea r13, [r14 + 9]
mov qword [rsp + 0x48], r13
mov edi, 0xf
lea rsi, [rsp + 0x60]
cmp r13, rdi
jbe 0x180065b99
mov rdi, r13
cmp r13, 0x10
cmovb rdi, qword [0x18009d840]
or rdi, 0xf
cmp rdi, rcx
jbe 0x180065b4e
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180086528
test rax, rax
je 0x180065b76
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rdx, qword [rsp + 0x20]
jmp 0x180065b94
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x180065b7d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006619b
jmp 0x180065b2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180065b91
call fcn.180086528
mov rsi, rax
mov rdx, qword [rsp + 0x20]
jmp 0x180065b94
mov rsi, r8
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], rdi
movsd xmm0, qword [str.Removed__]
movsd qword [rsi], xmm0
movzx eax, byte [0x18009d838]
mov byte [rsi + 8], al
lea rcx, [rsi + 9]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r13], 0
mov r8d, 0xc
lea rdx, str.__as_friend.
lea rcx, [rsp + 0x60]
call fcn.180013ba0
xor r13d, r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
movss xmm6, dword [0x18009eec0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9, [rsp + 0x28]
movss xmm0, dword [0x18009ef00]
unpcklps xmm0, xmm6
movq r8, xmm0
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.1800076b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180065c82
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065c7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065c7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800868e4
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdi, qword [0x1800b4298]
cmp rdi, qword [0x1800b42a0]
je 0x180065cf0
movsd xmm0, qword [rbp - 0x60]
movsd qword [rdi], xmm0
movsd xmm1, qword [rbp - 0x58]
movsd qword [rdi + 8], xmm1
mov eax, dword [rbp - 0x50]
mov dword [rdi + 0x10], eax
mov eax, dword [rbp - 0x4c]
mov dword [rdi + 0x14], eax
mov rax, qword [rbp - 0x48]
mov qword [rdi + 0x18], rax
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x40]
call fcn.180007d60
movzx eax, byte [rbp - 0x20]
mov byte [rdi + 0x40], al
mov eax, dword [rbp - 0x1c]
mov dword [rdi + 0x44], eax
add qword [0x1800b4298], 0x48
jmp 0x180065cfc
lea r8, [rbp - 0x60]
mov rdx, rdi
call fcn.180007ff0
mov r14, qword [0x1800b4550]
lea rax, [rbx + 0x20]
cmp rax, r14
je 0x180065da0
add rbx, 0x18
nop dword [rax]
nop dword [rax + rax]
lea rsi, [rbx + 8]
lea rdi, [rbx - 0x18]
cmp rdi, rsi
je 0x180065d8c
mov rdx, qword [rbx]
cmp rdx, 0x10
jb 0x180065d66
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180065d61
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180065e2d
mov rcx, r8
call fcn.1800868e4
add rbx, 0x20
mov qword [rbx - 0x28], r13
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx - 8], r13
mov qword [rbx], 0xf
mov byte [rsi], 0
jmp 0x180065d90
add rbx, 0x20
lea rax, [rbx + 8]
cmp rax, r14
jne 0x180065d20
mov r14, qword [0x1800b4550]
mov rdx, qword [r14 - 8]
cmp rdx, 0x10
jb 0x180065dd7
mov rcx, qword [r14 - 0x20]
inc rdx
cmp rdx, 0x1000
jb 0x180065dd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180065e2d
mov rcx, r8
call fcn.1800868e4
mov qword [r14 - 0x10], r13
mov qword [r14 - 8], 0xf
mov byte [r14 - 0x20], 0
sub qword [0x1800b4550], 0x20
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800660f6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800868e4
jmp 0x1800660f6
cmp rax, 7
jb 0x180066195
lea rdx, [rbp - 0x80]
cmp r13, 0x10
cmovae rdx, r12
mov qword [rsp + 0x20], rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rsi, [r14 + 7]
mov qword [rsp + 0x48], rsi
mov ebx, 0xf
lea rdi, [rsp + 0x60]
cmp rsi, rbx
jbe 0x180065f1b
mov rbx, rsi
cmp rsi, 0x10
cmovb rbx, qword [0x18009d840]
or rbx, 0xf
cmp rbx, rcx
jbe 0x180065ed0
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180086528
test rax, rax
je 0x180065ef8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rsp + 0x20]
jmp 0x180065f16
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180065eff
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800661a1
jmp 0x180065eb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180065f13
call fcn.180086528
mov rdi, rax
mov rdx, qword [rsp + 0x20]
jmp 0x180065f16
mov rdi, r12
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rbx
mov eax, dword [str.Added__]
mov dword [rdi], eax
movzx eax, word [0x18009d82c]
mov word [rdi + 4], ax
movzx eax, byte [0x18009d82e]
mov byte [rdi + 6], al
lea rcx, [rdi + 7]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], r12b
mov r8d, 0xc
lea rdx, str.__as_friend.
lea rcx, [rsp + 0x60]
call fcn.180013ba0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
movss xmm6, dword [0x18009eec0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9, [rsp + 0x28]
movss xmm0, dword [0x18009ef00]
unpcklps xmm0, xmm6
movq r8, xmm0
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.1800076b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180066007
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800868e4
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rbx, qword [0x1800b4298]
cmp rbx, qword [0x1800b42a0]
je 0x180066075
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbx], xmm0
movsd xmm1, qword [rbp - 0x58]
movsd qword [rbx + 8], xmm1
mov eax, dword [rbp - 0x50]
mov dword [rbx + 0x10], eax
mov eax, dword [rbp - 0x4c]
mov dword [rbx + 0x14], eax
mov rax, qword [rbp - 0x48]
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x40]
call fcn.180007d60
movzx eax, byte [rbp - 0x20]
mov byte [rbx + 0x40], al
mov eax, dword [rbp - 0x1c]
mov dword [rbx + 0x44], eax
add qword [0x1800b4298], 0x48
jmp 0x180066081
lea r8, [rbp - 0x60]
mov rdx, rbx
call fcn.180007ff0
mov rax, qword [0x1800b4550]
cmp rax, qword [0x1800b4558]
je 0x1800660a7
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.180007d60
add qword [0x1800b4550], 0x20
jmp 0x1800660b4
lea r8, [rbp - 0x80]
mov rdx, rax
call fcn.1800661b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800660f2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800660ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800660ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800868e4
mov r12, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x180066135
inc rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x18006612c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006612c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1800868e4
nop
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x180066163
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
lock xadd dword [r15 + 0xc], ebx
cmp ebx, 1
jne 0x180066163
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180086270
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001d70
nop
call fcn.180001cd0
int3
call fcn.180001cd0
int3
call fcn.180001d70
int3