Function at 0x1400016f0
Capabilities:
Create thread
Enumerate process modules
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rsp - 0x21a0]
mov eax, 0x22a0
call fcn.1400030c0
sub rsp, rax
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x2190], rax
xor edi, edi
lea rdx, str.Loading..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001af0
mov ecx, 8
call fcn.1400021f0
lea rcx, [0x140001530]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140001ed0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001a72
cmp dword [rsp + 0x48], edi
je 0x140001a66
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001a66
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0xb
mov r13d, 0xf
mov qword [rsp + 0x68], r13
movsd xmm0, qword [str.rf4_x64.exe]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x1400044c8]
mov word [rsp + 0x58], ax
movzx eax, byte [0x1400044ca]
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x5b], dil
mov dword [rbp + 0x1f78], 0xe0818b48
mov word [rbp + 0x1f7c], 1
mov byte [rbp + 0x1f7e], dil
mov dword [rbp + 0x1f70], 0xe0813b48
mov word [rbp + 0x1f74], 1
mov byte [rbp + 0x1f76], dil
mov dword [rsp + 0x30], edi
lea rdx, str.RF_Online
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x14000188d
lea rdx, str.Failed_to_open_process._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001af0
mov edi, 1
jmp 0x14000192b
lea r9, [rsp + 0x34]
mov r8d, 0x2000
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140001921
mov ebx, edi
test dword [rsp + 0x34], 0xfffffff8
jbe 0x140001921
lea r15, str.GameAssembly.dll
nop dword [rax]
mov eax, ebx
lea rsi, [rsp + 0x70]
lea rsi, [rsi + rax*8]
mov r9d, 0x104
lea r8, [rbp + 0x1f80]
mov rdx, qword [rsi]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
lea rdx, [rbp + 0x1f80]
mov rax, 0xffffffffffffffff
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x140001914
add rax, 2
cmp rax, 0x11
je 0x14000193d
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
je 0x1400018f2
inc ebx
mov eax, dword [rsp + 0x34]
shr eax, 3
cmp ebx, eax
jb 0x1400018c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0x48], 0
je 0x140001a34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rsi, qword [rsi]
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001995
cmp byte [0x140006760], 0
jne 0x140001995
mov qword [rsp + 0x20], rdi
mov r9d, 7
lea r8, [rbp + 0x1f70]
lea rdx, [rsi + 0x908d64]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, str.Activated_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001af0
mov byte [0x140006760], 1
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400019ea
cmp byte [0x140006760], 0
je 0x1400019ea
mov qword [rsp + 0x20], rdi
mov r9d, 7
lea r8, [rbp + 0x1f78]
lea rdx, [rsi + 0x908d64]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, str.Deactivated_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001af0
mov byte [0x140006760], 0
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001a24
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
test rax, rax
je 0x140001a24
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov edx, 5
test eax, eax
cmovne edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001940
mov eax, edi
mov rcx, qword [rbp + 0x2190]
xor rcx, rsp
call fcn.1400020b0
lea r11, [rsp + 0x22a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3