Function at 0x140003160
Capabilities:
Enumerate process modules
Enumerate processes
Execute command
Log keystrokes via polling
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp + 0x430], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [0x140279714]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140279718]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rdx, str._____Information__Key_:_K__Open___Off
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046c0
mov rcx, rax
lea rdx, [0x14027969c]
call fcn.1400046c0
xor r15d, r15d
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003242
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003242
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000323e
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140003215
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r15
mov edx, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400032a7
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400032a7
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400032a3
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x14000327a
mov rsi, qword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea r12, [rsi + 0x212b208]
mov qword [rbp + 0x3b8], r12
lea rax, [rsi + 0x2652868]
mov qword [rsp + 0x68], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3e8], xmm0
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x20
mov dword [rsp + 0x38], WSAStartup
mov ecx, reloc.WS2_32.dll_inet_ntoa
call fcn.1401d788c
mov rbx, rax
mov qword [rbp + 0x3e8], rax
lea r13, [rax + 0xc]
mov qword [rbp + 0x3f8], r13
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x3f0], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov dword [rbp + 0x3b0], 0x40
mov dword [rbp + 0x3b4], 0x28c
mov ecx, 8
call fcn.1401d788c
mov qword [rbp + 0x3d0], rax
lea rsi, [rax + 8]
mov qword [rbp + 0x3e0], rsi
mov rcx, qword [rbp + 0x3b0]
mov qword [rax], rcx
mov qword [rbp + 0x3d8], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x400], xmm0
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x20
mov dword [rsp + 0x38], 0x80
mov ecx, reloc.WS2_32.dll_inet_ntoa
call fcn.1401d788c
mov qword [rbp + 0x400], rax
lea r14, [rax + 0xc]
mov qword [rbp + 0x410], r14
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x408], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x418], xmm0
mov qword [rsp + 0x48], 0x50
mov qword [rsp + 0x50], 0x18
mov dword [rsp + 0x58], 0xc0
mov dword [rsp + 0x5c], 0x50
mov dword [rsp + 0x60], 0x560
mov ecx, 0x1c
call fcn.1401d788c
mov qword [rbp + 0x418], rax
lea r15, [rax + 0x1c]
mov qword [rbp + 0x428], r15
mov r8d, 0x1c
lea rdx, [rsp + 0x48]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x420], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r13, rbx
cmp r13, 4
jb 0x14000349a
mov ecx, reloc.WS2_32.dll_inet_ntoa
call fcn.1401d788c
mov qword [rsp + 0x30], rax
lea rbx, [rax + 0xc]
mov qword [rsp + 0x40], rbx
mov r8, r13
mov rdx, qword [rbp + 0x3e8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
call fcn.140003050
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub rsi, qword [rbp + 0x3d0]
mov rbx, rsi
sar rbx, 2
movabs rax, 0x3fffffffffffffff
cmp rsi, 4
jb 0x140003558
cmp rbx, rax
ja 0x14000366c
lea rbx, [rbx*4]
cmp rbx, 0x1000
jb 0x140003523
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000368c
call fcn.1401d788c
mov rcx, rax
test rax, rax
je 0x1400036ad
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003534
test rbx, rbx
je 0x140003532
mov rcx, rbx
call fcn.1401d788c
jmp 0x140003534
xor eax, eax
mov qword [rsp + 0x30], rax
add rbx, rax
mov qword [rsp + 0x40], rbx
mov r8, rsi
mov rdx, qword [rbp + 0x3d0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
call fcn.140003050
mov r12, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rsi, qword [rbp + 0x400]
sub r14, rsi
mov rbx, r14
sar rbx, 2
cmp r14, 4
jb 0x140003619
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x14000366c
lea rbx, [rbx*4]
cmp rbx, 0x1000
jb 0x1400035e8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000368c
call fcn.1401d788c
mov rcx, rax
test rax, rax
je 0x1400036ad
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400035f9
test rbx, rbx
je 0x1400035f7
mov rcx, rbx
call fcn.1401d788c
jmp 0x1400035f9
xor eax, eax
mov qword [rsp + 0x30], rax
add rbx, rax
mov qword [rsp + 0x40], rbx
mov r8, r14
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x3b8]
mov rcx, rdi
call fcn.140003050
mov r14, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rsi, qword [rbp + 0x418]
sub r15, rsi
mov rbx, r15
sar rbx, 2
cmp r15, 4
jb 0x1400036e5
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
jbe 0x140003672
call fcn.140004dd0
int3
lea rbx, [rbx*4]
cmp rbx, 0x1000
jb 0x1400036b4
lea rcx, [rbx + 0x27]
cmp rcx, rbx
ja 0x140003692
call fcn.140001300
int3
call fcn.1401d788c
mov rcx, rax
test rax, rax
je 0x1400036ad
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400036c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x1400036c3
mov rcx, rbx
call fcn.1401d788c
jmp 0x1400036c5
xor eax, eax
mov qword [rsp + 0x30], rax
add rbx, rax
mov qword [rsp + 0x40], rbx
mov r8, r15
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140003050
mov r15, rax
mov dword [rbp + 0x3c0], 0
mov dword [rbp + 0x3c4], 0
mov dword [rbp + 0x3c8], 0
mov dword [rbp + 0x3cc], 0
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
lea r8, [rbp + 0x3c0]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
lea r8, [rbp + 0x3c4]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
lea r8, [rbp + 0x3c8]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
lea r8, [rbp + 0x3cc]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, 0x1f4
lea ecx, [rdx + 0x17]
call qword [sym.imp.KERNEL32.dll_Beep]
xor sil, sil
lea ecx, [rbx + 0x32]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [rbx + 0x73]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1400039dd
test bl, bl
jne 0x1400038c0
mov ecx, 0x4b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400038c0
mov sil, 1
movzx ebx, sil
mov dword [rbp + 0x3b8], 0x3f000000
mov dword [rbp + 0x3b0], 0x41800000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b8]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b0]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b8]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b8]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, str._____Edit__0x10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046c0
mov rcx, rax
lea rdx, [0x14027969c]
call fcn.1400046c0
mov edx, 0x1f4
lea ecx, [rdx + 0x17]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400038ca
cmp sil, 1
jne 0x1400039bc
mov ecx, 0x4b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400039bc
xor bl, bl
xor sil, sil
mov dword [rbp + 0x3b8], 0x3deb851f
mov dword [rbp + 0x3b0], 0x41480000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b8]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b0]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b8]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x3b8]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, str._____Edit__0x0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400046c0
mov rcx, rax
lea rdx, [0x14027969c]
call fcn.1400046c0
mov edx, 0xc8
lea ecx, [rdx - 0x32]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400037c2
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3