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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rax - 0x358]
sub rsp, 0x440
mov edx, 6
movaps xmmword [rax - 0x28], xmm6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r12d, r12d
mov edi, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x28]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400907c6
mov rcx, qword [rbp - 0x28]
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 0x140090705
mov ebx, dword [rbp - 0x70]
mov edi, 1
jmp 0x14009070d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400907ce
cmp dword [rsp + 0x60], r12d
jne 0x1400907d6
lea rcx, [rsp + 0x70]
call fcn.140091410
test eax, eax
jne 0x140091090
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rcx, [rbp - 0x68]
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 + 0x70]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x1400907b1
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
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 0x1400907ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x140091090
mov eax, dword [str.1.0.0]
lea rdx, [rbp - 0x48]
movdqa xmm1, xmmword [reloc.WS2_32.dll_getpeername]
lea rcx, [rbp + 0xf0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x48], eax
movzx eax, byte [0x14031e4b0]
mov byte [rbp - 0x44], al
movdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x43], r12b
call fcn.140010460
lea rcx, [rbp + 0xf0]
call fcn.14008fee0
cmp byte [rbp + 0x1d0], r12b
jne 0x14009086e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x1b0]
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 + 0x70]
call fcn.140010f50
mov rcx, rax
call fcn.140010f60
call fcn.1400911a0
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, [0x14031e4b4]
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, [0x14031e4c0]
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 [0x140324a10]
lea rdx, [rbp + 0x80]
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 + 0x80], xmm0
mov byte [rbp + 0x80], r12b
movdqu xmmword [rbp + 0x90], xmm1
call fcn.140010fd0
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x48]
call fcn.140007e80
mov rdx, rax
lea rcx, [rbp + 0xf0]
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]
cmp byte [rbp + 0x1d1], r12b
jne 0x1400909d4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x1b0]
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 + 0x70]
call fcn.140010f50
mov rcx, rax
call fcn.140010f60
call fcn.1400911a0
int3
movdqa xmm1, xmmword [0x140324a90]
lea rdx, [rbp - 0x68]
mov eax, dword [0x14031e4f0]
lea rcx, [rbp + 0x80]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x60], eax
movsd xmm0, qword [str.Fivem_Client]
movsd qword [rbp - 0x68], xmm0
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x5c], r12b
call fcn.140007e80
mov rbx, qword [rbp + 0x198]
xorps xmm0, xmm0
mov rdi, qword [rbp + 0x1a0]
movdqa xmm1, xmmword [0x140324a10]
movups xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0xa0], r12b
movdqu xmmword [rbp + 0xb0], xmm1
cmp rbx, rdi
je 0x140090ab7
mov rsi, qword [rbp + 0x90]
mov qword [rsp + 0x460], r14
mov r14, qword [rbp + 0x98]
mov qword [rsp + 0x468], r15
mov r15, qword [rbp + 0x80]
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x80]
cmp r14, 0xf
mov rcx, rbx
cmova rdx, r15
cmp qword [rbx + 0x18], 0xf
jbe 0x140090a90
mov rcx, qword [rbx]
cmp r8, rsi
jne 0x140090a9e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140090aa7
add rbx, 0x40
cmp rbx, rdi
jne 0x140090a70
mov r14, qword [rsp + 0x460]
mov r15, qword [rsp + 0x468]
lea rcx, [rbp + 0x80]
call fcn.140002d40
mov rdx, qword [rbp - 0x50]
mov rdi, qword [rbp + 0x1a0]
cmp rdx, 0xf
jbe 0x140090b08
mov rcx, qword [rbp - 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090b03
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140090b03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008d784
cmp rbx, rdi
jne 0x140090b55
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.You_dont_have_access_to_this_product_
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 rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0xa
lea rcx, [rsp + 0x70]
call fcn.140010f50
mov rcx, rax
call fcn.140010f60
call fcn.1400911a0
int3
call fcn.1400a4bf0
test al, al
je 0x140091090
lea rax, [rbp - 0x20]
mov qword [rsp + 0x70], rax
lea rsi, [0x140386468]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x78], rax
movaps xmm6, xmmword [rsp + 0x70]
mov eax, dword [0x14031e528]
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
mov qword [rbp - 8], r12
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x68]
mov dword [rbp - 0x18], eax
movsd xmm0, qword [str.ChromeBrowser]
movzx eax, byte [0x14031e52c]
movsd qword [rbp - 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov byte [rbp - 0x14], al
movsd xmm0, qword [str.DumpServer]
movzx eax, word [0x14031e538]
movsd qword [rbp], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov word [rbp + 8], ax
movzx eax, word [0x14031e548]
movsd xmm0, qword [str.ROSLauncher]
movsd qword [rbp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x28], ax
movsd xmm0, qword [str.ROSService]
movzx eax, byte [0x14031e54a]
movsd qword [rbp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x2a], al
movzx eax, word [0x14031e558]
movsd xmm0, qword [str.SteamChild]
mov word [rbp + 0x48], ax
movzx eax, word [0x14031e568]
mov qword [rbp - 0x10], r12
movsd qword [rbp + 0x60], xmm0
mov qword [rbp - 0x10], reloc.WS2_32.dll_listen
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x13], r12b
mov qword [rbp + 0x10], 0xa
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa], r12b
mov qword [rbp + 0x30], recv
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b], r12b
mov qword [rbp + 0x50], 0xa
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x4a], r12b
mov qword [rbp + 0x70], 0xa
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov word [rbp + 0x68], ax
mov byte [rbp + 0x6a], r12b
movdqa xmmword [rsp + 0x70], xmm6
call fcn.140010810
mov ecx, dword [str.FiveM_]
lea rdx, [rbp - 0x48]
xorps xmm0, xmm0
mov qword [rbp - 0x38], 6
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x48], ecx
mov r8, rax
movzx ecx, word [0x14031e570]
mov word [rbp - 0x44], cx
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x42], r12b
call fcn.14000fc80
mov rbx, rax
cmp rsi, rax
je 0x140090d78
mov rdx, qword [0x140386480]
cmp rdx, 0xf
jbe 0x140090d3b
mov rcx, qword [0x140386468]
inc rdx
cmp rdx, 0x1000
jb 0x140090d36
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140090fdc
mov rcx, r8
call fcn.14008d784
mov qword [0x140386478], r12
mov qword [0x140386480], 0xf
mov byte [0x140386468], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140386468], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140386478], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140090db9
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090db4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090fdc
call fcn.14008d784
lea r9, [fcn.140007d50]
mov qword [rbp + 0x90], r12
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov r8d, 5
mov byte [rbp + 0x80], r12b
lea rcx, [rbp - 0x20]
call fcn.14008d7b8
cmp qword [0x140386480], 0xf
mov rdi, rsi
mov ecx, 2
mov dword [rbp + 0x200], pe_nt_image_headers64
cmova rdi, qword [0x140386468]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x200]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140090e90
lea rdx, [rbp + 0x200]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140090e90
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp + 0x22c]
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140090e73
inc rax
test ecx, ecx
jne 0x140090e60
test edx, edx
je 0x140090fd1
lea rdx, [rbp + 0x200]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140090e50
mov eax, r12d
lea rcx, [0x14031e574]
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, [rsp + 0x70]
mov qword [rsp + 0x70], 1
call fcn.140010f60
cmp dword [0x140386488], r12d
je 0x140090b83
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], 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 0x140090f24
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.1400a4b90
test rax, rax
jne 0x140090ffa
call fcn.1400a1da0
mov qword [0x140385d80], rax
cmp rax, 0xffffffffffffffff
je 0x140091090
xorps xmm0, xmm0
mov qword [rbp - 0x80], r12
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
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
inc rcx
cmp rcx, r9
jne 0x140090f90
mov rcx, qword [0x140385d80]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], r12d
call fcn.1400a30c0
mov rcx, qword [0x140385d80]
test rax, rax
jne 0x140090fe3
call fcn.1400a2330
call fcn.1400911a0
int3
mov eax, dword [rbp + 0x208]
jmp 0x140090e93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a2330
test al, al
je 0x140091090
lea rcx, [rsp + 0x70]
call fcn.14000a720
mov rcx, qword [0x1403862d8]
call fcn.1400ab280
lea rdx, [rbp - 0x68]
call fcn.1400aac00
lea rcx, [rbp - 0x68]
call fcn.140010800
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14009104f
nop dword [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 0x140091030
call fcn.1401030e0
cmp byte [0x1403862e2], r12b
jne 0x140091090
mov dword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_200
nop word [rax + rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140010f50
mov rcx, rax
call fcn.1400111c0
cmp byte [0x1403862e2], r12b
je 0x140091070
call fcn.1400911a0
int3