Function at 0x140001df0
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Query environment variable

Disassembly:
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
cmp qword [0x1400600d0], 0
jne 0x14000212c
xorps xmm0, xmm0
mov qword [rsp + 0x2d8], rdi
xor eax, eax
mov qword [rbp - 0x20], 0x18
xor edx, edx
mov qword [rbp - 0x30], rax
mov r8d, 0x104
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0xa0]
mov qword [rbp - 0x10], 1
movups xmmword [rsp + 0x70], xmm0
xor edi, edi
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.14002f8c0
xor r9d, r9d
mov qword [0x1400600f0], rdi
lea r8, [rbp - 0x20]
mov qword [0x1400600e8], rdi
lea rdx, [0x1400600d8]
mov qword [0x1400600e0], rdi
lea rcx, [0x1400600f0]
mov qword [0x1400600d8], rdi
mov qword [rbp - 0x18], rdi
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140001ed4
mov rcx, qword [0x1400600f0]
test rcx, rcx
je 0x140001ecb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600d8]
jmp 0x140001f0c
xor r9d, r9d
lea r8, [rbp - 0x20]
lea rdx, [0x1400600e8]
lea rcx, [0x1400600e0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140001f1e
mov rcx, qword [0x1400600e8]
test rcx, rcx
je 0x140001f05
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600e0]
test rcx, rcx
je 0x140001f17
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400020d7
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x2d0], rbx
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [0x1400600e0]
lea rdx, [rbp + 0xa0]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x90]
mov rax, qword [0x1400600d8]
mov r8d, 0x104
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x70], 0x68
mov word [rbp - 0x50], di
mov dword [rbp - 0x54], 0x100
mov dword [rbp + 0x90], 0x536d6f43
mov dword [rbp + 0x94], 0x636570
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x140002052
cmp dword [rbp - 8], ebx
je 0x140002052
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov qword [0x1400600c0], rax
test rax, rax
je 0x140002052
xorps xmm0, xmm0
lea r8, [rbp]
movaps xmmword [rbp + 0x10], xmm0
mov r9d, 0x90
mov edx, 9
mov dword [rbp + 0x10], 0x2000
mov rcx, rax
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
mov ebx, eax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0xa0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400020f7
mov rcx, qword [0x1400600f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400111c0
add rsp, 0x2c0
pop rbp
ret
test ebx, ebx
je 0x14000210d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x1400600c0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov rcx, qword [rsp + 0x50]
mov eax, 1
mov qword [0x1400600d0], rcx
mov rcx, qword [rsp + 0x58]
mov qword [0x1400600c8], rcx
jmp 0x1400020cf
mov eax, 2
jmp 0x1400020df