Function at 0x14002a370
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 [0x140189090]
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 0x14002a3bb
call fcn.14002bf80
test al, al
je 0x14002a4bb
mov rdi, r15
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov ecx, 0x48
call fcn.1400f89d8
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.140029360
mov rbx, qword [rbp - 0x80]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14002a4a1
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140007d50
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.140029fe0
mov rdi, rax
lea rcx, [rbp - 0x60]
test rax, rax
jne 0x14002a49b
call fcn.1400091f0
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], dil
je 0x14002a468
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], dil
jne 0x14002a463
nop word [rax + rax]
cmp rbx, qword [rcx + 0x10]
jne 0x14002a463
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x14002a450
mov rbx, rcx
jmp 0x14002a48f
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x14002a48f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14002a480
cmp byte [rbx + 0x19], 0
je 0x14002a400
jmp 0x14002a4a1
call fcn.1400091f0
nop
lea rcx, [rbp - 0x80]
call fcn.14001f1c0
test rdi, rdi
jne 0x14002a6de
test esi, esi
jne 0x14002a6de
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 0x14002a542
mov rbx, r14
sub rbx, rsi
sar rbx, 5
mov rdx, rbx
call fcn.140024110
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.140023f80
add rdi, 0x20
mov qword [rbp - 0x58], rdi
add rsi, 0x20
cmp rsi, r14
jne 0x14002a521
mov qword [rsp + 0x70], rdi
mov r9, r13
mov r8, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x68]
call fcn.14002e320
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov r8d, 1
lea rdx, [0x14015c274]
lea rcx, [rbp - 0x80]
call fcn.140009050
nop
mov qword [rbp - 0x60], r15
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov r8d, 1
lea rdx, [0x14015c278]
lea rcx, [rbp - 0x60]
call fcn.140009050
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140028630
nop
lea rcx, [rbp - 0x60]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x80]
call fcn.140008fe0
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 0x14002a6c5
mov r15d, dword [rsp + 0x60]
test r12b, 2
je 0x14002a6ae
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 9
lea r9, str.ProcessManager
xor r8d, r8d
lea rdx, [0x140028a00]
mov rcx, rax
call fcn.140027650
mov r8, qword [rsp + 0x50]
mov edx, r15d
mov rcx, rax
call fcn.140028ae0
jmp 0x14002a6b9
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.140008fe0
nop
lea rcx, [rsp + 0x68]
call fcn.140024040
mov rax, r15
jmp 0x14002a6e1
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400f89b0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret