Function at 0x1400904e0
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
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
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 - 0x78]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14009062b
mov rcx, qword [rbp - 0x78]
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 0x14009056a
mov ebx, dword [rbp - 0x70]
mov edi, 1
jmp 0x140090572
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140090633
cmp dword [rsp + 0x60], esi
jne 0x14009063b
lea rcx, [rsp + 0x68]
call fcn.1400910e0
test eax, eax
jne 0x140090d60
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp + 0x80]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x68]
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 0x140090616
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
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 + 0x68]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140090633
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x140090d60
mov eax, dword [str.1.0.0]
lea rdx, [rbp - 0x68]
movdqa xmm1, xmmword [reloc.WS2_32.dll_getpeername]
lea rcx, [rbp + 0x220]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x68], eax
movzx eax, byte [0x14031e498]
mov byte [rbp - 0x64], al
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x63], sil
call fcn.140010460
lea rcx, [rbp + 0x220]
call fcn.14008fd40
cmp byte [rbp + 0x300], sil
jne 0x1400906d3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x2e0]
call fcn.140010ef0
lea rdx, [0x140010f10]
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 rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0xa
lea rcx, [rsp + 0x68]
call fcn.140010f50
mov rcx, rax
call fcn.140010f60
call fcn.140090e70
int3
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, [0x14031e49c]
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, [0x14031e4a8]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Discord_ID:
call fcn.14000df90
movdqa xmm1, xmmword [0x140324a20]
lea rdx, [rbp - 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x48], sil
movdqu xmmword [rbp - 0x38], xmm1
call fcn.140010fd0
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.140007e80
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.14008f1e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140010f10]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140010f10]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140010f10]
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]
call fcn.1400a48c0
test al, al
je 0x140090d60
mov qword [rbp - 0x18], rsi
lea r14, [0x140386468]
movabs r12, 0x7fffffffc46535ff
movabs r15, 0x7fffffffffffffff
mov eax, dword [0x14031e4d8]
mov ecx, 0xa0
movsd xmm0, qword [str.ChromeBrowser]
movsd qword [rbp - 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov dword [rbp - 0x18], eax
movsd xmm0, qword [str.DumpServer]
movzx eax, byte [0x14031e4dc]
movsd qword [rbp], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov byte [rbp - 0x14], al
movsd xmm0, qword [str.ROSLauncher]
movzx eax, word [0x14031e4e8]
movsd qword [rbp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov word [rbp + 8], ax
movzx eax, word [0x14031e4f8]
movsd xmm0, qword [str.ROSService]
movsd qword [rbp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x28], ax
movzx eax, byte [0x14031e4fa]
movsd xmm0, qword [str.SteamChild]
mov byte [rbp + 0x2a], al
movzx eax, word [0x14031e508]
movsd qword [rbp + 0x60], xmm0
xorps xmm0, xmm0
mov word [rbp + 0x48], ax
movzx eax, word [0x14031e518]
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x10], reloc.WS2_32.dll_listen
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x13], sil
mov qword [rbp + 0x10], 0xa
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa], sil
mov qword [rbp + 0x30], recv
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b], sil
mov qword [rbp + 0x50], 0xa
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x4a], sil
mov qword [rbp + 0x70], 0xa
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov word [rbp + 0x68], ax
mov byte [rbp + 0x6a], sil
mov qword [rbp - 0x80], rsi
call fcn.14008d508
mov rdi, rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rbx, [rbp - 0x20]
lea rcx, [rax + 0xa0]
mov qword [rbp - 0x80], rcx
mov rdx, rbx
mov rcx, rdi
call fcn.140007e80
lea rax, [rbp + 0x80]
add rdi, 0x20
add rbx, 0x20
cmp rbx, rax
jne 0x140090942
mov eax, dword [str.FiveM_]
lea r8, [rsp + 0x70]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rdi
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x68], eax
lea rdx, [rbp - 0x68]
movzx eax, word [0x14031e520]
lea rcx, [rbp - 0x48]
mov word [rbp - 0x64], ax
mov qword [rbp - 0x58], 6
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x62], sil
call fcn.14000fc80
mov rbx, rax
cmp r14, rax
je 0x140090a31
mov rdx, qword [0x140386480]
cmp rdx, 0xf
jbe 0x1400909f4
mov rcx, qword [0x140386468]
inc rdx
cmp rdx, 0x1000
jb 0x1400909ef
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140090bb6
mov rcx, r8
call fcn.14008d784
mov qword [0x140386478], rsi
mov qword [0x140386480], 0xf
mov byte [0x140386468], sil
movups xmm0, xmmword [rbx]
movups xmmword [0x140386468], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140386478], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140090a6c
mov rcx, qword [rbp - 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090a67
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090bb6
call fcn.14008d784
lea r9, [fcn.140007d50]
mov qword [rbp - 0x38], rsi
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov r8d, 5
mov byte [rbp - 0x48], sil
lea rcx, [rbp - 0x20]
call fcn.14008d7b8
cmp qword [0x140386480], 0xf
mov rdi, r14
mov ecx, 2
mov dword [rbp + 0xf0], pe_nt_image_headers64
cmova rdi, qword [0x140386468]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0xf0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140090b2c
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140090b2c
nop dword [rax]
lea rax, [rbp + 0x11c]
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140090b13
inc rax
test ecx, ecx
jne 0x140090b00
test edx, edx
je 0x140090b83
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140090af0
mov eax, esi
lea rcx, [0x14031e524]
mov dword [0x140386488], 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.14000df90
lea rdx, [0x140010f10]
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, [rbp - 0x78]
call fcn.14000f6a0
mov rax, qword [rbp - 0x78]
cmp rax, r12
jge 0x140090b8b
add rax, 0x3b9aca00
mov qword [rsp + 0x68], rax
jmp 0x140090b90
mov eax, dword [rbp + 0xf8]
jmp 0x140090b2e
mov qword [rsp + 0x68], r15
lea rcx, [rsp + 0x68]
call fcn.1400116b0
cmp dword [0x140386488], esi
jne 0x140090bbd
xorps xmm0, xmm0
mov qword [rbp - 0x10], rsi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], rsi
jmp 0x140090805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], 0xa
call fcn.140010f60
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
test rbx, rbx
je 0x140090bf8
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 [0x140386488]
mov dword [0x140386800], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x140386804], eax
call fcn.1400a4860
test rax, rax
jne 0x140090cc7
call fcn.1400a1a70
mov qword [0x140385d80], rax
cmp rax, 0xffffffffffffffff
je 0x140090d60
xorps xmm0, xmm0
mov qword [rbp - 0x80], rsi
lea rcx, [rsp + 0x70]
movdqu xmmword [rsp + 0x70], xmm0
call fcn.140011970
mov rdx, qword [rsp + 0x70]
lea rcx, [0x140341350]
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 0x140090c70
mov rcx, qword [0x140385d80]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], esi
call fcn.1400a2d90
mov rcx, qword [0x140385d80]
test rax, rax
jne 0x140090cb0
call fcn.1400a2000
call fcn.140090e70
int3
call fcn.1400a2000
test al, al
je 0x140090d60
lea rcx, [rsp + 0x70]
call fcn.14000a720
mov rcx, qword [0x1403862d8]
call fcn.1400aaf50
lea rdx, [rsp + 0x70]
call fcn.1400aa8d0
lea rcx, [rsp + 0x70]
call fcn.140010800
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140090d1f
nop dword [rax + rax]
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 0x140090d00
call fcn.140102db0
cmp byte [0x1403862e2], sil
jne 0x140090d60
mov dword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_200
nop word [rax + rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140010f50
mov rcx, rax
call fcn.1400111c0
cmp byte [0x1403862e2], sil
je 0x140090d40
call fcn.140090e70
int3