Function at 0x140001000
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Create process on windows
Create thread
Get common file path
Inject thread
Resume thread
Spawn thread to rwx shellcode

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 - 0x90]
sub rsp, 0x190
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor r14d, r14d
lea rcx, [0x1400154f0]
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
lea r8d, [r14 + 0x68]
mov rsi, rax
lea rcx, [rsp + 0x70]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.140003af0
movdqa xmm0, xmmword [0x1400155a0]
lea rcx, [rbp]
mov edx, 0x104
mov qword [rbp + 0x10], r14
mov r9d, edx
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r14w
call fcn.140001a90
cmp qword [rbp + 0x18], 8
lea rdx, [rbp]
mov ecx, 0x104
cmovae rdx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r9, qword [rbp + 0x10]
mov ecx, eax
cmp rcx, r9
ja 0x1400010ee
cmp qword [rbp + 0x18], 8
lea rax, [rbp]
mov qword [rbp + 0x10], rcx
cmovae rax, qword [rbp]
mov word [rax + rcx*2], r14w
jmp 0x14000113e
mov rdi, qword [rbp + 0x18]
mov rdx, rcx
mov rax, rdi
sub rdx, r9
sub rax, r9
cmp rdx, rax
ja 0x140001132
cmp rdi, 8
mov qword [rbp + 0x10], rcx
lea r8, [rbp]
cmovae r8, qword [rbp]
lea rdi, [r8 + r9*2]
test rdx, rdx
je 0x140001127
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r9 + rdx]
mov word [r8 + rax*2], r14w
jmp 0x14000113e
mov r9, rdx
lea rcx, [rbp]
call fcn.140001a90
lea r8, str._samp.dll
lea rdx, [rbp]
lea rcx, [rbp + 0x60]
call fcn.1400018b0
mov rdi, rax
lea rax, [rbp - 0x20]
cmp rax, rdi
je 0x1400011ce
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14000119e
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001199
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000168d
call fcn.1400021c0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14000120e
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001209
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000168d
call fcn.1400021c0
lea r8, str.gta_sa.exe
lea rdx, [rbp]
lea rcx, [rbp + 0x60]
call fcn.1400018b0
mov rdi, rax
lea rax, [rbp + 0x20]
cmp rax, rdi
je 0x14000129f
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14000126e
mov rcx, qword [rbp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001269
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001693
call fcn.1400021c0
movdqa xmm0, xmmword [0x1400155a0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r14w
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1400012df
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400012da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001693
call fcn.1400021c0
test rsi, rsi
je 0x140001448
lea rdx, str.LoadLibraryW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140001448
cmp qword [rbp + 0x38], 8
lea rdi, [rbp + 0x20]
cmovae rdi, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xc
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001448
mov r8, qword [rbp - 0x10]
xor edx, edx
mov rcx, qword [rsp + 0x58]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
lea r8, [r8*2 + 2]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140001428
mov r9, qword [rbp - 0x10]
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 8
mov rdx, rax
mov rcx, qword [rsp + 0x58]
cmovae r8, qword [rbp - 0x20]
lea r9, [r9*2 + 2]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001407
mov rcx, qword [rsp + 0x58]
mov r9, rsi
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 4
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
je 0x140001407
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14000140f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x14000157a
movdqa xmm0, xmmword [0x1400155a0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov r9d, 0x400
mov dword [rsp + 0x28], r14d
mov r8d, ebx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0x1300
mov word [rbp + 0x40], r14w
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
movdqa xmm0, xmmword [0x1400155a0]
lea rcx, [rbp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r8d, eax
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r14w
call fcn.140001720
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1400014fc
mov rcx, qword [rbp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001699
call fcn.1400021c0
movups xmm0, xmmword [rbp + 0x60]
mov rcx, qword [rsp + 0x50]
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm1
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rbp + 0x58], 8
lea rdx, [rbp + 0x40]
mov r9d, 0x10
lea r8, str.Error
cmovae rdx, qword [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14000157a
mov rcx, qword [rbp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001575
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000169f
call fcn.1400021c0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400015ba
mov rcx, qword [rbp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015b5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001687
call fcn.1400021c0
mov rdx, qword [rbp - 8]
movdqa xmm0, xmmword [0x1400155a0]
mov word [rbp + 0x20], r14w
movdqu xmmword [rbp + 0x30], xmm0
cmp rdx, 8
jb 0x14000160c
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001607
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001687
call fcn.1400021c0
mov rdx, qword [rbp + 0x18]
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
cmp rdx, 8
jb 0x140001659
mov rcx, qword [rbp]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001654
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001687
call fcn.1400021c0
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140002160
lea r11, [rsp + 0x190]
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
call fcn.140005f74
int3
call fcn.140005f74
int3
call fcn.140005f74
int3
call fcn.140005f74
int3
call fcn.140005f74
int3