Function at 0x140070130
Capabilities:
Accept command line arguments
Create process on windows
Enumerate processes
Execute command
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov edi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x68]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140070269
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x70]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov edx, reloc.WLDAP32.dll_Ordinal_26
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400701b1
mov ebx, dword [rbp - 0x70]
mov edi, 1
jmp 0x1400701b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140070271
cmp dword [rsp + 0x60], esi
jne 0x140070279
lea rcx, [rsp + 0x70]
call fcn.140070ad0
test eax, eax
jne 0x140070750
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rcx, [rbp - 0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp + 0x60]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x140070254
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140070271
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x140070750
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1400fe7e4]
mov rcx, rax
lea rdx, str.CONIN_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1400fe7f0]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x1400fe810]
lea rdx, [rsp + 0x70]
movdqa xmm0, xmmword [reloc.WS2_32.dll_listen]
lea rcx, [rbp - 0x60]
movdqa xmm2, xmmword [reloc.WS2_32.dll_ioctlsocket]
movdqa xmm1, xmmword [0x1402ffae0]
movdqa xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [str.ChromeBrowser]
movsd qword [rbp - 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x38], eax
movzx eax, byte [0x1400fe814]
movsd xmm0, qword [str.DumpServer]
mov byte [rbp - 0x34], al
movzx eax, word [0x1400fe820]
movsd qword [rbp - 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov word [rbp - 0x18], ax
movzx eax, word [0x1400fe830]
movsd xmm0, qword [str.ROSLauncher]
mov word [rbp + 8], ax
movzx eax, byte [0x1400fe832]
movsd qword [rbp], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0xa], al
movzx eax, word [0x1400fe840]
movsd xmm0, qword [str.ROSService]
mov word [rbp + 0x28], ax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x78], rax
movsd qword [rbp + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x32], si
mov byte [rbp - 0x33], sil
movdqa xmmword [rbp - 0x10], xmm2
mov byte [rbp - 0x16], sil
movdqa xmmword [rbp + 0x10], xmm1
mov byte [rbp + 0xb], sil
movdqa xmmword [rbp + 0x30], xmm2
mov byte [rbp + 0x2a], sil
call fcn.140003670
mov ecx, dword [str.FiveM_]
lea rdx, [rbp + 0x40]
movdqa xmm1, xmmword [reloc.WS2_32.dll_getsockname]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x40], ecx
mov r8, rax
movzx ecx, word [0x1400fe848]
mov word [rbp + 0x44], cx
movdqu xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x46], sil
lea rcx, [rbp + 0x60]
call fcn.140002e80
lea rdi, [0x140363278]
mov rdx, rax
mov rcx, rdi
call fcn.140003a00
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14007046a
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140070465
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140070465
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ec4c
movdqa xmm0, xmmword [0x1402ffa60]
lea r9, [fcn.1400039a0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov byte [rbp + 0x60], sil
mov r8d, 4
lea rcx, [rbp - 0x40]
movdqu xmmword [rbp + 0x70], xmm0
call fcn.14006ec90
cmp qword [0x140363290], 0xf
mov ecx, 2
mov dword [rbp + 0xd0], 0x130
cmova rdi, qword [0x140363278]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0xd0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140070530
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140070530
nop dword [rax]
lea rax, [rbp + 0xfc]
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140070513
inc rax
test ecx, ecx
jne 0x140070500
test edx, edx
je 0x1400706a0
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x1400704f0
mov eax, esi
lea rcx, [0x1400fe84c]
mov dword [0x140363298], eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Waiting_FiveM_
call fcn.140003d30
lea rdx, [0x1400041c0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], 1
call fcn.140004200
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], 0xa
call fcn.140004200
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
test rbx, rbx
je 0x1400705b6
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x140363298]
mov dword [0x140363610], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x140363618]
mov dword [0x140363614], eax
mov dword [rbp + 0x68], eax
mov rax, qword [0x140363040]
mov dword [rbp + 0x98], ecx
mov ecx, dword [0x140363610]
mov dword [rbp + 0x60], 3
mov dword [rbp + 0x64], ecx
test rax, rax
je 0x14007060e
lea rcx, [rbp + 0x60]
call rax
test rax, rax
je 0x14007060e
cmp qword [rbp + 0x78], rsi
jne 0x1400706c2
call fcn.140081220
mov qword [0x140362bb0], rax
cmp rax, 0xffffffffffffffff
je 0x140070750
xorps xmm0, xmm0
mov qword [rbp - 0x80], rsi
lea rcx, [rsp + 0x70]
movdqu xmmword [rsp + 0x70], xmm0
call fcn.140004a90
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1403161d0]
mov r8, rdx
lea r9, reloc.WS2_32.dll_bind
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
inc rcx
cmp rcx, r9
jne 0x140070660
mov rcx, qword [0x140362bb0]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], esi
call fcn.140082540
mov rcx, qword [0x140362bb0]
test rax, rax
jne 0x1400706ab
call fcn.1400817b0
call fcn.140070860
int3
mov eax, dword [rbp + 0xd8]
jmp 0x140070532
call fcn.1400817b0
test al, al
je 0x140070750
lea rcx, [rsp + 0x70]
call fcn.140003780
mov rcx, qword [0x1403630e8]
call fcn.14008a6d0
lea rdx, [rbp - 0x60]
call fcn.14008a050
lea rcx, [rbp - 0x60]
call fcn.140003660
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140070713
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400706f4
call fcn.1400e2f20
cmp byte [0x1403630f2], sil
jne 0x140070750
mov dword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_200
nop dword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140004270
mov rcx, rax
call fcn.140004280
cmp byte [0x1403630f2], sil
je 0x140070730
call fcn.140070860
int3