Function at 0x140029a90
Capabilities:
Create pipe
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov r15, rdx
mov rsi, 0xffffffffffffffff
mov rbx, rsi
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140029ad0
lea edi, [rbx + 1]
movsxd r12, ebx
cmp edi, 0x10
jg 0x140029b03
mov r8, r12
lea rcx, [rsp + 0x68]
call fcn.1400a0710
mov byte [rsp + r12 + 0x68], 0
mov edi, 0x10
mov r14, qword [rsp + 0x68]
jmp 0x140029b2c
movsxd rcx, edi
call fcn.14006d070
mov r14, rax
mov r8, r12
mov rdx, r15
mov rcx, rax
call fcn.1400a0710
mov byte [r12 + r14], 0
mov qword [rsp + 0x68], r14
or edi, 0xc0000000
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], edi
xor r13d, r13d
mov qword [rbp - 0x68], r13
mov dword [rbp - 0x6c], 0x10
mov dword [rbp - 0x70], r13d
mov eax, dword [rbp + 0xe8]
mov edx, 1
and eax, edx
mov dword [rbp - 0x58], eax
jne 0x140029cb2
cmp r12, rdx
jl 0x140029b92
bt edi, 0x1e
lea rcx, [rsp + 0x68]
cmovb rcx, r14
mov r8d, edx
lea rdx, [0x1400d59d0]
call fcn.140031c80
test al, al
jne 0x140029bc1
mov r14, qword [rsp + 0x68]
mov edi, dword [rsp + 0x64]
mov ebx, dword [rsp + 0x60]
lea edx, [r13 + 1]
movsxd rcx, ebx
cmp rcx, 1
jl 0x140029be1
bt edi, 0x1e
lea rax, [rsp + 0x68]
cmovb rax, r14
dec rax
add rcx, rax
mov r8, rdx
lea rdx, [0x1400d59d0]
call fcn.140031c80
test al, al
je 0x140029bd4
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140032420
jmp 0x140029cad
mov r14, qword [rsp + 0x68]
mov edi, dword [rsp + 0x64]
mov ebx, dword [rsp + 0x60]
xor r15b, r15b
mov r12d, r13d
test ebx, ebx
jle 0x140029c98
mov esi, 1
movsxd r13, r12d
mov eax, edi
and eax, 0xc0000000
je 0x140029c43
cmp eax, 0x40000000
jne 0x140029c3d
movsxd rcx, ebx
call fcn.14006d070
mov r14, rax
mov eax, dword [rsp + 0x60]
inc eax
movsxd r8, eax
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.1400a0710
mov qword [rsp + 0x68], r14
mov ebx, dword [rsp + 0x60]
mov edi, ebx
or edi, 0xc0000000
mov dword [rsp + 0x64], edi
lea rax, [r14 + r13]
jmp 0x140029c4b
lea rax, [rsp + 0x68]
add rax, r13
movzx r15d, r15b
cmp byte [rax], 0x20
cmove r15d, esi
inc r12d
cmp r12d, ebx
jl 0x140029bf4
test r15b, r15b
mov rsi, 0xffffffffffffffff
je 0x140029c98
lea r8d, [rsi + 2]
mov dl, 0x22
lea rcx, [rbp - 0x70]
call fcn.140032510
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140032420
lea r8d, [rsi + 2]
mov dl, 0x22
lea rcx, [rbp - 0x70]
call fcn.140032510
jmp 0x140029ca6
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140032420
mov r15, qword [rbp + 0xc8]
mov edx, 1
mov rbx, qword [rbp + 0xd0]
test rbx, rbx
je 0x140029ce3
cmp byte [rbx], 0x30
je 0x140029ce3
cmp dword [rbp - 0x70], 0
je 0x140029cd7
mov r8d, edx
mov dl, 0x20
lea rcx, [rbp - 0x70]
call fcn.140032510
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140032300
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
xor r13d, r13d
mov r12d, dword [rbp + 0xe8]
test r12d, 0x1c0
je 0x140029f64
test r12b, 0x40
je 0x140029dc7
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x78], 1
mov qword [rbp + 0xd0], r13
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov qword [rsp + 0x50], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov rdi, qword [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x50]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r14, qword [rbp + 0xc0]
test eax, eax
je 0x140029dee
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x28], rax
mov rcx, qword [rbp + 0xd0]
cmp rcx, 0xffffffffffffffff
je 0x140029dee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140029dee
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x140029de3
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x40], rax
jmp 0x140029de7
mov qword [rbp + 0x40], rsi
mov r14, qword [rbp + 0xc0]
test r12b, r12b
jns 0x140029e93
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x78], 1
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0x48], r13
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov qword [rsp + 0x50], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov rdi, qword [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x50]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140029ea2
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x30], rax
mov rcx, qword [rbp + 0xd0]
cmp rcx, 0xffffffffffffffff
je 0x140029ea2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140029ea2
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x48], rax
bt r12d, 8
jae 0x140029f49
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x78], 1
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0x50], r13
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov qword [rsp + 0x50], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov rdi, qword [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x50]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140029f58
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x38], rax
mov rcx, qword [rbp + 0xd0]
cmp rcx, 0xffffffffffffffff
je 0x140029f58
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140029f58
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x2c], 0x100
mov eax, 0x100
mov r14d, r12d
and r14d, 0x200
shl r14d, 0x12
bt r12d, 0xd
jae 0x140029f88
or eax, 1
mov dword [rbp + 0x2c], eax
mov eax, 4
mov word [rbp + 0x30], ax
lea rcx, [rbp - 0x40]
call fcn.1400335c0
nop
cmp dword [rbp - 0x58], 0
je 0x14002a002
mov qword [rsp + 0x58], r15
mov rax, rsi
inc rax
cmp byte [r15 + rax], 0
jne 0x140029fa0
mov dword [rsp + 0x50], eax
bts eax, 0x1e
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14002eae0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140028650
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140029fe1
call fcn.14006bcf0
nop
mov eax, dword [rsp + 0x54]
shr eax, 0x1f
test al, al
je 0x140029ff6
mov rcx, qword [rsp + 0x58]
call fcn.14006bcf0
lea rcx, [rbp - 0x40]
call fcn.140033830
mov r13, rax
xor r15d, r15d
mov edi, r15d
lea rcx, [rbp - 0x50]
call fcn.1400335c0
nop
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x14002a091
cmp byte [rax], r15b
je 0x14002a091
mov qword [rsp + 0x58], rax
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14002a030
mov dword [rsp + 0x50], esi
bts esi, 0x1e
mov dword [rsp + 0x54], esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14002eae0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140028650
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002a070
call fcn.14006bcf0
nop
mov eax, dword [rsp + 0x54]
shr eax, 0x1f
test al, al
je 0x14002a085
mov rcx, qword [rsp + 0x58]
call fcn.14006bcf0
lea rcx, [rbp - 0x50]
call fcn.140033830
mov rdi, rax
lea rcx, [rbp + 0x60]
call fcn.1400335c0
nop
mov rbx, r15
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14002a0b0
cmp byte [rcx], bl
cmovne rbx, rcx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.14002eae0
nop
mov rcx, rax
call fcn.140033830
mov rdx, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r14d
mov edi, 1
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002a114
call fcn.14006bcf0
test ebx, ebx
jne 0x14002a11e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14002a12e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12b, 0x40
je 0x14002a13e
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12b, r12b
jns 0x14002a14d
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
bt r12d, 8
jae 0x14002a15e
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14002a1f1
mov rbx, qword [rbp + 0xc0]
mov rcx, qword [rbx + 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002a185
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], r15
mov rcx, qword [rbx + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002a19d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], r15
mov rcx, qword [rbx + 0x38]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002a1b5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], r15
mov rax, qword [rbp + 0xf0]
test rax, rax
je 0x14002a1c3
mov dword [rax], edi
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14002a1d2
call fcn.14006bcf0
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002a1e1
call fcn.14006bcf0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002a24e
call fcn.14006bcf0
jmp 0x14002a24e
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14002a200
call fcn.14006bcf0
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002a20f
call fcn.14006bcf0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002a21d
call fcn.14006bcf0
mov rcx, qword [rbp - 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002a240
mov rdx, qword [rbp + 0xc0]
mov qword [rdx + 0x18], rcx
mov eax, dword [rbp - 0x20]
mov dword [rdx + 0x20], eax
mov bl, 1
jmp 0x14002a250
mov rax, qword [rbp + 0xf0]
test rax, rax
je 0x14002a24e
mov dword [rax], edi
xor bl, bl
mov eax, dword [rbp - 0x6c]
shr eax, 0x1f
test al, al
je 0x14002a264
mov rcx, qword [rbp - 0x68]
call fcn.14006bcf0
nop
mov ecx, dword [rsp + 0x64]
shr ecx, 0x1f
test cl, cl
je 0x14002a279
mov rcx, qword [rsp + 0x68]
call fcn.14006bcf0
movzx eax, bl
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret