Function at 0x1400018d0
Capabilities:
Enumerate processes
Get system information on windows
Log keystrokes via polling
Terminate process

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x618]
sub rsp, 0x718
mov rax, qword [0x140073180]
xor rax, rsp
mov qword [rbp + 0x600], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001935
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_process_snapshot.
call fcn.1400028b0
mov rcx, rax
lea rdx, [0x140002a80]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400019e6
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400019dd
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp - 0x44]
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea r8, str.GTAProcess.exe
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rbx
test rax, rax
jne 0x140001a07
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001960
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x40
lea r8, str.Warn
lea rdx, str.Please_Open_FiveM.exe
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001b8c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp - 0x68]
test r8d, r8d
je 0x1400019e6
xor edx, edx
mov qword [rsp + 0x710], r15
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140001c80
mov qword [rsp + 0x730], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x738], rdi
mov qword [rsp + 0x740], r12
mov qword [rsp + 0x748], r14
mov qword [rbp + 0x1d0], 0x12074edd
mov word [rbp + 0x1d8], 0xbf08
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
jae 0x140001b5b
movzx esi, word [rbp + 0x1d8]
xor r12d, r12d
mov r14, qword [rbp + 0x1d0]
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140001b49
cmp dword [rsp + 0x50], 0x1000
jne 0x140001b3d
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x140001ad9
cmp eax, 4
jne 0x140001b3d
mov rcx, qword [rsp + 0x48]
call fcn.140052964
mov r9, qword [rsp + 0x48]
mov rdi, rax
mov rdx, qword [rsp + 0x30]
lea rax, [rbp + 0x1d0]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001b35
mov rcx, qword [rbp + 0x1d0]
mov rbx, r12
add rcx, 0xfffffffffffffff6
je 0x140001b35
nop dword [rax]
cmp qword [rbx + rdi], r14
jne 0x140001b2d
cmp word [rbx + rdi + 8], si
je 0x140001ba5
inc rbx
cmp rbx, rcx
jb 0x140001b20
mov rcx, rdi
call fcn.140052920
mov rbx, qword [rsp + 0x30]
add rbx, qword [rsp + 0x48]
jmp 0x140001b50
mov eax, dword [rsp + 0x64]
add rbx, rax
cmp rbx, qword [rsp + 0x70]
jb 0x140001aa0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x748]
mov r12, qword [rsp + 0x740]
mov rdi, qword [rsp + 0x738]
mov rsi, qword [rsp + 0x730]
mov r15, qword [rsp + 0x710]
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140052900
add rsp, 0x718
pop rbx
pop rbp
ret
mov rcx, rdi
call fcn.140052920
add rbx, qword [rsp + 0x30]
je 0x140001b5b
mov r9d, 0x40
lea r8, str.Warn
lea rdx, [0x1400602f0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edx, 0x320
mov ecx, 0x140
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001c57
cmp byte [0x14007a548], r12b
mov r9d, 0xa
mov qword [rsp + 0x20], r12
mov rdx, rbx
mov rcx, r15
je 0x140001c21
lea r8, [0x140060460]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, 0x63
lea ecx, [rdx + 0xb]
jmp 0x140001c38
lea r8, [0x140060450]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, 0x1f4
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
cmp byte [0x14007a548], r12b
mov ecx, 0xa
sete byte [0x14007a548]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140001c77
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001be0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9d, 0x40
lea r8, str.Warn
lea rdx, str.Make_sure_this_process_is_in_place
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001b84