Function at 0x14000cae0
Capabilities:
Create process on windows

Disassembly:
jmp 0x14000cae0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x250], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xb0], 0
je 0x14000cb44
lea r8, str.m_childProcess__nullptr
mov edx, 0x165
lea rcx, str.agentAgent.cc
call fcn.1400045f7
cmp byte [rbx + 0xa2], 0
je 0x14000cb65
lea r8, str._m_closingOutputPipes
mov edx, 0x166
lea rcx, str.agentAgent.cc
call fcn.1400045f7
mov rcx, rdi
call fcn.1400031c5
mov r15, rax
mov rcx, rdi
call fcn.1400024f5
test eax, eax
setne byte [rsp + 0x50]
mov rcx, rdi
call fcn.1400024f5
test eax, eax
setne byte [rsp + 0x51]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.140003210
nop
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.140003210
nop
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.140003210
nop
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.140003210
nop
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.140003210
nop
mov rcx, rdi
call fcn.1400011ae
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x58]
call fcn.140002f59
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140002f59
nop
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x40]
call fcn.140002a7c
nop
xor eax, eax
cmp qword [rbp + 0xe0], rax
jne 0x14000cc1f
mov edi, eax
jmp 0x14000cc36
lea rdi, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 8
cmovae rdi, qword [rbp + 0xd0]
mov r12, qword [rbp - 0x58]
cmp qword [rbp + 0xc0], rax
cmove r12, rax
cmp qword [rbp + 0x60], rax
jne 0x14000cc50
mov rsi, rax
jmp 0x14000cc5e
lea rsi, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rsi, qword [rbp + 0x50]
mov r14, qword [rbp - 0x40]
mov r13, r14
cmp qword [rbp + 0xa0], rax
cmove r13, rax
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x20]
call fcn.140002a27
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x20], 0x68
mov rax, qword [rbp - 0x70]
cmp qword [rbp + 0x80], 0
mov ecx, 0
cmove rax, rcx
mov qword [rbp - 0x10], rax
mov eax, ecx
cmp byte [rbx + 0x38], al
je 0x14000ccf3
mov dword [rsp + 0x58], 1
or dword [rbp + 0x1c], 0x100
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x30], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbx + 0x78]
call fcn.140003d00
mov qword [rbp + 0x40], rax
mov eax, dword [rsp + 0x58]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test eax, eax
je 0x14000cd3c
xor r12d, r12d
mov edi, r12d
jmp 0x14000cd47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor r12d, r12d
lea rax, str.success
lea rdx, str.fail
test esi, esi
cmovne rdx, rax
mov r8d, dword [rbp - 0x78]
lea rcx, str.CreateProcess:__s__u
call fcn.140001e10
lea rcx, [rsp + 0x60]
call fcn.14000d860
nop
test esi, esi
je 0x14000ce07
mov rsi, r12
mov rdi, r12
cmp byte [rsp + 0x50], 0
je 0x14000cd98
mov rcx, qword [rsp + 0x78]
call fcn.14000bbf0
mov rsi, rax
cmp byte [rsp + 0x51], 0
je 0x14000cdab
mov rcx, qword [rbp - 0x80]
call fcn.14000bbf0
mov rdi, rax
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov qword [rbx + 0xb0], rcx
movzx ecx, r15b
and cl, 1
mov byte [rbx + 0xa0], cl
shr r15b, 1
and r15b, 1
mov byte [rbx + 0xa1], r15b
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140002d83
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14000269e
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000269e
jmp 0x14000ce1f
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140002d83
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140002d83
mov rax, qword [rsp + 0x68]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov r9d, 8
lea r8, [rsp + 0x58]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000426e
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub r8, rdx
mov rcx, qword [rbx + 0x80]
call fcn.140001c71
nop
lea rcx, [rsp + 0x60]
call fcn.140001451
nop
test r14, r14
je 0x14000ce86
mov r8, qword [rbp - 0x30]
sub r8, r14
sar r8, 1
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.14000452a
nop
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x14000ceae
mov r8, qword [rbp - 0x60]
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 0x70]
call fcn.14000452a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x14000ced6
mov r8, qword [rbp - 0x48]
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 0x58]
call fcn.14000452a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r12
mov r8, qword [rbp + 0x88]
cmp r8, 8
jb 0x14000cef3
inc r8
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.14000452a
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r12
mov word [rbp + 0x70], r12w
mov r8, qword [rbp + 0xa8]
cmp r8, 8
jb 0x14000cf2d
inc r8
mov rdx, qword [rbp + 0x90]
lea rcx, [rbp + 0x90]
call fcn.14000452a
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
mov r8, qword [rbp + 0x68]
cmp r8, 8
jb 0x14000cf61
inc r8
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.14000452a
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
mov r8, qword [rbp + 0xc8]
cmp r8, 8
jb 0x14000cf95
inc r8
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0xb0]
call fcn.14000452a
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], r12
mov word [rbp + 0xb0], r12w
mov r8, qword [rbp + 0xe8]
cmp r8, 8
jb 0x14000cfd2
inc r8
mov rdx, qword [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.14000452a
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140003cb0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret