Function at 0x1402d20c0
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
xor sil, sil
mov rax, qword [0x14062eb08]
test rax, rax
jne 0x1402d2110
call fcn.14002daa0
mov qword [0x14062eb08], rax
mov rdi, rax
xor r14d, r14d
mov word [rbp + 0x60], r14w
mov byte [rbp + 0x77], reloc.WS2_32.dll_inet_addr
test rax, rax
jne 0x1402d2130
call fcn.14002daa0
mov qword [0x14062eb08], rax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], r14d
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x78], rdi
mov dword [rbp + 0x80], r14d
mov word [rbp + 0x60], r14w
mov byte [rbp + 0x77], reloc.WS2_32.dll_inet_addr
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x60], rcx
movabs r15, 0x80000000000000ff
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x68], r14
mov word [rbp + 0x90], r14w
test rax, rax
jne 0x1402d2193
call fcn.14002daa0
mov qword [0x14062eb08], rax
mov rdi, rax
mov word [rbp + 0x290], r14w
mov byte [rbp + 0x2a7], reloc.WS2_32.dll_inet_addr
test rax, rax
jne 0x1402d21b6
call fcn.14002daa0
mov qword [0x14062eb08], rax
mov qword [rbp + 0x2a8], rax
mov dword [rbp + 0x2b0], r14d
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x2b8], rax
mov qword [rbp + 0x2a8], rdi
mov dword [rbp + 0x2b0], r14d
mov word [rbp + 0x290], r14w
mov byte [rbp + 0x2a7], reloc.WS2_32.dll_inet_addr
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x2a0], r15
mov qword [rbp + 0x298], r14
mov word [rbp + 0x2c0], r14w
lea rdx, [rbx + 0x50]
lea r8, [rbp + 0x60]
mov rcx, rbx
call fcn.1402ce8c0
lea rdx, [rbx + 0x50]
lea r8, [rbp + 0x290]
mov rcx, rbx
call fcn.1402cea30
mov dil, 1
mov edx, 1
lea rcx, [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x78], 0x18
mov dword [rbp - 0x78], 1
lea rdx, [rbx + 0x760]
lea rcx, [rbx + 0x750]
xor r9d, r9d
lea r8, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
movzx edi, dil
test eax, eax
cmove edi, r14d
lea rdx, [rbx + 0x758]
lea rcx, [rbx + 0x768]
xor r9d, r9d
lea r8, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
movabs r15, 0x7fffffffffffffff
test eax, eax
je 0x1402d269e
test dil, dil
je 0x1402d269e
movzx eax, byte [rbx + 0x6f0]
neg al
sbb r9d, r9d
and r9d, 2
movzx eax, byte [rbx + 0xa]
neg al
sbb ecx, ecx
and ecx, 0x10
or r9d, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0x34], 0x100
mov rax, qword [rbx + 0x758]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbx + 0x750]
mov qword [rbp - 0x20], rax
mov byte [rbx + 0x48], 1
movzx eax, byte [rbp + 0x77]
shr al, 7
lea r10, [rbp + 0x60]
test al, al
cmovne r10, qword [rbp + 0x60]
lea rdx, [rbx + 0x280]
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1402d235c
mov rdx, qword [rdx]
lea rcx, [rbx + 0x50]
movzx eax, byte [rcx + 0x17]
shr al, 7
test al, 1
je 0x1402d236e
mov rcx, qword [rcx]
lea rax, [rbx + 0x6f8]
lea r8, [rbx + 0x710]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
test al, al
je 0x1402d2683
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x58], eax
movabs r12, 0x346dc5d63886594b
mov rax, r12
imul qword [rsp + 0x58]
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbx + 0x4b0], rdx
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x28], rax
jge 0x1402d2407
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x18], r15
jne 0x1402d2413
mov qword [rbx + 0x20], r15
jmp 0x1402d242a
mov rcx, rbx
call fcn.1402cec70
imul rcx, qword [rbx + 0x18], 0x3e8
add rax, rcx
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x28], r15
jne 0x1402d2436
mov qword [rbx + 0x30], r15
jmp 0x1402d244d
mov rcx, rbx
call fcn.1402cec70
imul rcx, qword [rbx + 0x28], 0x3e8
add rax, rcx
mov qword [rbx + 0x30], rax
cmp dword [rbx + 0x10], 0
jne 0x1402d245a
mov dword [rbx + 0x10], 1
movzx eax, byte [rbx + 0x48]
test al, al
je 0x1402d25f0
cmp qword [rbx + 0x38], 0
je 0x1402d2482
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x40]
mov rcx, rbx
call rax
test al, al
jne 0x1402d25db
mov rax, qword [rbx + 0x30]
cmp qword [rbx + 0x20], rax
jge 0x1402d2492
mov rdi, qword [rbx + 0x20]
jmp 0x1402d2496
mov rdi, qword [rbx + 0x30]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x58], eax
mov rax, r12
imul qword [rsp + 0x58]
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jge 0x1402d25f0
cmp byte [rbx + 0x6f0], 0
je 0x1402d2534
mov edx, 0xc8
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x1402d2503
lea rdx, [rbp + 0x4c0]
mov rcx, rbx
call fcn.1402d27b0
jmp 0x1402d25c5
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x6f8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1402d25c5
cmp dword [rsp + 0x50], 0x103
je 0x1402d25c5
mov byte [rbx + 0x48], 0
jmp 0x1402d25c5
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x6f8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1402d2565
cmp dword [rsp + 0x50], 0x103
je 0x1402d2565
mov byte [rbx + 0x48], 0
jmp 0x1402d25c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rbx + 9], 0
je 0x1402d25c5
test eax, eax
jne 0x1402d257b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x1402d25c5
mov rdx, qword [rsp + 0x70]
lea rcx, [0x140446fc0]
call fcn.1400c8150
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call fcn.1402d2ed0
movzx eax, byte [rbx + 0x48]
test al, al
jne 0x1402d2466
jmp 0x1402d25f0
mov sil, 1
cmp byte [rbx + 9], 0
je 0x1402d25f0
lea rcx, str.Cancelling_the_run._n
call fcn.1400c8150
movzx eax, byte [rbx + 0x48]
test al, al
je 0x1402d261d
mov byte [rbx + 0x48], 0
mov rax, qword [rbx]
mov rcx, rbx
test sil, sil
je 0x1402d2613
mov dword [rbx + 0x10], 4
call qword [rax + 0x18]
jmp 0x1402d261d
mov dword [rbx + 0x10], 3
call qword [rax + reloc.WS2_32.dll_recv]
cmp qword [rbx + 0x6f8], 0
je 0x1402d264f
mov rcx, qword [rbx + 0x6f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1402d2648
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1402d3b00
mov qword [rbx + 0x6f8], r14
cmp qword [rbx + 0x700], 0
je 0x1402d269e
mov rcx, qword [rbx + 0x700]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1402d267a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1402d3b00
mov qword [rbx + 0x700], r14
jmp 0x1402d269e
mov dword [rbx + 0xc], 0xffffffff
mov byte [rbx + 0x48], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1402d3b00
mov rcx, rbx
call fcn.1402c93e0
mov ebx, dword [rbx + 0xc]
movzx ecx, byte [rbp + 0x2a7]
movzx eax, cl
shr al, 7
test al, 1
je 0x1402d26fe
mov r8, qword [rbp + 0x2a0]
and r8, r15
inc r8
shr cl, 7
test cl, 1
je 0x1402d26dd
mov rdx, qword [rbp + 0x290]
test rdx, rdx
je 0x1402d26fe
jmp 0x1402d26e4
lea rdx, [rbp + 0x290]
cmp rdx, qword [rbp + 0x2b8]
je 0x1402d26fe
mov rcx, qword [rbp + 0x2a8]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
nop
movzx ecx, byte [rbp + 0x77]
movzx eax, cl
shr al, 7
test al, 1
je 0x1402d2743
mov r8, qword [rbp + 0x70]
and r8, r15
inc r8
shr cl, 7
test cl, 1
je 0x1402d2729
mov rdx, qword [rbp + 0x60]
test rdx, rdx
jne 0x1402d272d
jmp 0x1402d2743
lea rdx, [rbp + 0x60]
cmp rdx, qword [rbp + 0x88]
je 0x1402d2743
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
mov eax, ebx
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140284180
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret