Function at 0x140029ff0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r12d, r8d
mov r14, rdx
mov r13, rcx
mov esi, r8d
xor r15d, r15d
and esi, 8
jne 0x14002a03b
call fcn.14002bc00
test al, al
je 0x14002a13b
mov rdi, r15
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov ecx, 0x48
call fcn.1400f9588
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140028fe0
mov rbx, qword [rbp - 0x80]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14002a121
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140007be0
mov eax, dword [rbx + 0x40]
mov dword [rbp - 0x40], eax
mov r9d, r12d
mov r8, r14
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.140029c60
mov rdi, rax
lea rcx, [rbp - 0x60]
test rax, rax
jne 0x14002a11b
call fcn.140009080
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], dil
je 0x14002a0e8
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], dil
jne 0x14002a0e3
nop word [rax + rax]
cmp rbx, qword [rcx + 0x10]
jne 0x14002a0e3
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x14002a0d0
mov rbx, rcx
jmp 0x14002a10f
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x14002a10f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14002a100
cmp byte [rbx + 0x19], 0
je 0x14002a080
jmp 0x14002a121
call fcn.140009080
nop
lea rcx, [rbp - 0x80]
call fcn.14001eab0
test rdi, rdi
jne 0x14002a35e
test esi, esi
jne 0x14002a35e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], r15
mov rsi, qword [r14]
mov r14, qword [r14 + 8]
cmp rsi, r14
je 0x14002a1c2
mov rbx, r14
sub rbx, rsi
sar rbx, 5
mov rdx, rbx
call fcn.1400239d0
mov rdi, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
shl rbx, 5
add rbx, rax
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x68]
mov qword [rbp - 0x50], rax
mov rdx, rsi
mov rcx, rdi
call fcn.140023840
add rdi, 0x20
mov qword [rbp - 0x58], rdi
add rsi, 0x20
cmp rsi, r14
jne 0x14002a1a1
mov qword [rsp + 0x70], rdi
mov r9, r13
mov r8, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x68]
call fcn.14002dec0
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov r8d, 1
lea rdx, [0x14015d2c4]
lea rcx, [rbp - 0x80]
call fcn.140008ee0
nop
mov qword [rbp - 0x60], r15
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov r8d, 1
lea rdx, [0x14015d2c8]
lea rcx, [rbp - 0x60]
call fcn.140008ee0
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.1400282b0
nop
lea rcx, [rbp - 0x60]
call fcn.140008e70
nop
lea rcx, [rbp - 0x80]
call fcn.140008e70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
mov dword [rbp + 0x54], eax
mov dword [rbp - 0x10], 0x68
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
test r12b, 1
mov eax, 0x8000000
mov ecx, reloc.WS2_32.dll_recv
cmovne eax, ecx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002a345
mov r15d, dword [rsp + 0x60]
test r12b, 2
je 0x14002a32e
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 9
lea r9, str.ProcessManager
xor r8d, r8d
lea rdx, [0x140028680]
mov rcx, rax
call fcn.1400272d0
mov r8, qword [rsp + 0x50]
mov edx, r15d
mov rcx, rax
call fcn.140028760
jmp 0x14002a339
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x38]
call fcn.140008e70
nop
lea rcx, [rsp + 0x68]
call fcn.140023900
mov rax, r15
jmp 0x14002a361
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret