Function at 0x140001000
Capabilities:
Accept command line arguments
Create pipe
Create process on windows
Read file on windows
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.140001f90
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
xorps xmm0, xmm0
mov qword [rbp + 0x70], 8
movups xmmword [rbp + 0x60], xmm0
movabs rax, 0x6578652e35415447
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x60], rax
xor eax, eax
mov dword [rbp - 0xc], eax
mov qword [rsp + 0x70], rax
mov byte [rbp + 0x68], 0
movups xmmword [rbp - 0x6c], xmm0
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov r9, rax
movzx eax, byte [rax]
cmp al, 0x22
jne 0x1400010c1
movzx eax, byte [r9 + 1]
inc r9
test al, al
je 0x1400010d9
nop dword [rax]
inc r9
cmp al, 0x22
je 0x1400010d9
movzx eax, byte [r9]
test al, al
jne 0x1400010b0
jmp 0x1400010d9
test al, al
je 0x1400010d9
cmp al, 0x20
je 0x1400010d9
cmp al, 9
je 0x1400010d9
movzx eax, byte [r9 + 1]
inc r9
test al, al
jne 0x1400010c5
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1400010e0
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
mov rax, rdx
sub rax, rcx
mov qword [rsp + 0x11e0], rbx
cmp rdi, rax
ja 0x140001135
cmp rdx, 0xf
lea rax, [rcx + rdi]
lea rbx, [rbp + 0x60]
mov qword [rbp + 0x70], rax
cmova rbx, qword [rbp + 0x60]
mov r8, rdi
add rbx, rcx
mov rdx, r9
mov rcx, rbx
call fcn.14000faf0
lea rax, [rbp + 0x60]
mov byte [rdi + rbx], 0
jmp 0x140001149
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.1400017b0
cmp qword [rax + 0x18], 0xf
jbe 0x140001153
mov rax, qword [rax]
xor r14d, r14d
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov rdx, rax
mov qword [rsp + 0x38], r14
xor ecx, ecx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov qword [rsp + 0x38], r14
lea edx, [r14 + 3]
mov dword [rsp + 0x30], r14d
lea r8d, [r14 + 7]
mov dword [rsp + 0x28], 0x1000
lea rcx, str..pipeGTAVLauncher_Pipe
mov r9d, 0xff
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rcx, qword [rsp + 0x60]
lea edx, [r14 + 0x64]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400015fa
movzx ebx, byte [rsp + 0x50]
nop word [rax + rax]
lea r9, [rsp + 0x54]
mov dword [rsp + 0x54], r14d
mov r8d, 0x1000
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400015df
cmp dword [rsp + 0x54], r14d
je 0x1400015df
mov r8d, dword [rbp + 0xc0]
lea rdx, [rbp + 0xc4]
xorps xmm0, xmm0
mov qword [rbp + 0x50], r14
lea rcx, [rbp + 0x40]
mov qword [rbp + 0x58], r14
movups xmmword [rbp + 0x40], xmm0
call fcn.1400016a0
mov r8d, 5
mov qword [rbp + 0xb0], r14
cmp qword [rbp + 0x50], r8
lea rdx, [rbp + 0x40]
xorps xmm0, xmm0
mov qword [rbp + 0xb8], r14
cmovb r8, qword [rbp + 0x50]
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0x58], 0xf
movups xmmword [rbp + 0xa0], xmm0
cmova rdx, qword [rbp + 0x40]
call fcn.1400016a0
mov rdx, qword [rbp + 0xb8]
lea rax, [rbp + 0xa0]
mov rcx, qword [rbp + 0xa0]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rbp + 0xb0], 5
jne 0x1400012c9
cmp dword [rax], 0x54494e49
jne 0x1400012c9
cmp byte [rax + 4], 0x3a
jne 0x1400012c9
mov dil, 1
jmp 0x1400012cc
xor dil, dil
cmp rdx, 0xf
jbe 0x1400012ff
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400012fa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001677
call fcn.140001efc
test dil, dil
je 0x1400015a4
mov rax, qword [rbp + 0x50]
xorps xmm0, xmm0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], r14
movups xmmword [rbp + 0x80], xmm0
cmp rax, 5
jb 0x14000168f
add rax, 0xfffffffffffffffb
lea rdx, [rbp + 0x40]
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x80]
cmp rax, r8
cmovb r8, rax
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
add rdx, 5
call fcn.1400016a0
mov eax, dword [0x140011370]
lea r9, [rbp + 0x80]
movsd xmm0, qword [str.TINI:launcher:]
lea r8, [rbp]
mov dword [rbp + 8], eax
lea rcx, [rbp + 0x20]
movzx eax, word [0x140011374]
movzx edx, bl
mov word [rbp + 0xc], ax
mov word [rbp + 0xe], r14w
mov qword [rbp + 0x10], 0xe
mov qword [rbp + 0x18], 0xf
movsd qword [rbp], xmm0
call fcn.140001940
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400013e6
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001689
call fcn.140001efc
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140001427
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001422
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001689
call fcn.140001efc
cmp qword [rbp + 0x38], 0xf
lea r9, [rbp + 0x20]
mov rdi, qword [rbp + 0x30]
xorps xmm0, xmm0
cmova r9, qword [rbp + 0x20]
mov qword [rbp + 0x10], 4
mov qword [rbp + 0x18], 0xf
movups xmmword [rbp], xmm0
mov dword [rbp], edi
mov byte [rbp + 4], r14b
cmp rdi, 0xb
ja 0x14000147f
lea rax, [rdi + 4]
mov r8, rdi
mov rdx, r9
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 4]
call fcn.14000faf0
lea rax, [rbp]
mov byte [rbp + rdi + 4], r14b
jmp 0x140001493
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp]
call fcn.1400017b0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
mov rdx, qword [rbp + 0x38]
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp + 0x80], xmm1
cmp rdx, 0xf
jbe 0x1400014fc
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014eb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001683
call fcn.140001efc
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rbp + 0x80]
mov rdx, qword [rbp + 0x18]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm1
cmp rdx, 0xf
jbe 0x14000153f
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000153a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001683
call fcn.140001efc
cmp qword [rbp + 0x38], 0xf
lea rdx, [rbp + 0x20]
mov r8d, dword [rbp + 0x30]
lea r9, [rsp + 0x58]
cmova rdx, qword [rbp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400015a4
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000159f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001689
call fcn.140001efc
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400015df
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001677
call fcn.140001efc
mov rcx, qword [rsp + 0x60]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1400011f0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140001647
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001642
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000167d
call fcn.140001efc
mov rbx, qword [rsp + 0x11e0]
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.140001ff0
lea r11, [rsp + 0x11d0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14000682c
int3
call fcn.14000682c
int3
call fcn.14000682c
int3
call fcn.14000682c
int3
call fcn.140001ce0
int3