Function at 0x140001860
Capabilities:
Enumerate processes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor esi, esi
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400056d8], rax
test rax, rax
jne 0x1400018ce
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Fivem_not_found__start_fivem_before_load_
call fcn.140001d00
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
mov ecx, 0x20
mov qword [rsp + 0x48], 0xf
movups xmmword [rsp + 0x30], xmm0
call fcn.140001f10
movups xmm0, xmmword [str.FiveM_b2802_GTAProcess.exe]
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x40], 0x1a
mov edi, esi
mov qword [rsp + 0x48], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400034e0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400034e8]
mov word [rax + 0x18], cx
lea ecx, [rdx + 2]
mov byte [rax + 0x1a], sil
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400019a5
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400019a5
cmp dword [rbp - 0x68], esi
jne 0x140001970
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [rax + rax]
cmp qword [rsp + 0x48], 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x44]
cmovae rdx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400019a2
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001970
jmp 0x1400019a5
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x48]
mov dword [0x1400056c8], edi
cmp rdx, 0x10
jb 0x1400019f1
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019ec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c22
call fcn.140001f00
call section..text
xorps xmm0, xmm0
mov qword [0x1400056d0], rax
mov ecx, 0x20
mov qword [rsp + 0x40], rsi
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], 0xf
call fcn.140001f10
movups xmm0, xmmword [str.FiveM_b2802_GTAProcess.exe]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x1a
mov qword [rsp + 0x48], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400034e0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400034e8]
mov word [rax + 0x18], cx
lea rcx, [rsp + 0x30]
mov byte [rax + 0x1a], sil
call fcn.140001430
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Gamemodule:
mov qword [0x1400056e0], rax
call fcn.140001d00
mov rdx, qword [0x1400056e0]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n_pid:
call fcn.140001d00
mov edx, dword [0x1400056c8]
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___unsigned_int____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._nhandle:
call fcn.140001d00
mov rdx, qword [0x1400056d0]
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___void_const____ptr64____ptr64]
mov rdx, qword [0x1400056e0]
lea r8, [rsp + 0x70]
mov rcx, qword [0x1400056d0]
add rdx, 0x254d448
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x70]
lea r8, [rbp - 0x80]
mov rcx, qword [0x1400056d0]
mov r9d, 8
mov qword [rsp + 0x20], rsi
lea rdx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n_nLocalPlayer:
call fcn.140001d00
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov ecx, 0x74
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400018a0
cmp byte [0x1400056cc], sil
lea r8, [rsp + 0x78]
mov rdx, qword [0x1400056e0]
mov r9d, 8
mov rcx, qword [0x1400056d0]
sete byte [0x1400056cc]
add rdx, 0x254d448
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x78]
lea r8, [rsp + 0x68]
mov rcx, qword [0x1400056d0]
add rdx, 8
mov r9d, 8
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x68]
add rbx, 0x2c
cmp byte [0x1400056cc], sil
je 0x140001bf8
mov rcx, qword [0x1400056d0]
lea r8, [rsp + 0x58]
mov r9d, 1
mov byte [rsp + 0x58], 1
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [0x1400056cc], sil
jne 0x1400018a0
mov rcx, qword [0x1400056d0]
lea r8, [rsp + 0x60]
mov r9d, 1
mov byte [rsp + 0x60], 0x37
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x1400018a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3