Function at 0x1400ff730
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1f8
mov r15, r8
mov r13, rdx
mov rbx, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
call fcn.14006b420
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400ff77e
mov rax, qword [rsp + 0x1c8]
test rax, rax
jne 0x1400ff875
call fcn.140083cd0
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x20], rsi
lea rdx, str._lu._lu._I64u
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r8d, eax
mov r9d, edi
call fcn.140089540
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x1e0]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x1a8]
call fcn.140089e90
xor eax, eax
cmp byte [rsi + 0x17], al
jns 0x1400ff7fb
mov rcx, qword [rsp + 0x60]
call fcn.140190860
cmp byte [rsp + 0x1d7], 0
js 0x1400ff819
mov word [rsp + 0x1c0], 0
mov byte [rsp + 0x1d7], 0
jmp 0x1400ff855
mov rax, qword [rsp + 0x1c0]
mov word [rax], 0
mov qword [rsp + 0x1c8], 0
cmp byte [rsp + 0x1d7], 0
jns 0x1400ff855
mov rcx, qword [rsp + 0x1c0]
call fcn.140190860
mov qword [rsp + 0x1d0], 0
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsp + 0x1a8]
movaps xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1a0], 0
mov dword [rsp + 0x19c], 0
movzx eax, byte [r13 + 0x2f]
mov rcx, rax
test al, al
jns 0x1400ff89c
mov rcx, qword [r13 + 0x20]
test rcx, rcx
mov qword [rsp + 0x40], rbx
je 0x1400ff8b3
lea rcx, [r13 + 0x18]
test al, al
jns 0x1400ff8ba
mov rcx, qword [rcx]
jmp 0x1400ff8ba
lea rcx, str.D:_A__GA___SY__A__GA___BA__A__GA___OW_
mov ebp, 1
lea r8, [rsp + 0x1a0]
lea r9, [rsp + 0x19c]
mov edx, 1
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x1400ff925
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._mojo_public_cpp_platform_named_platform_channel_win.cc
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r8d, 0x3a
mov r9d, 3
call fcn.1400776a0
lea rcx, [rsp + 0x70]
lea rdx, str.Check_failed:_::ConvertStringSecurityDescriptorToSecurityDescriptor__options.security_descriptor.empty_____kDefaultSecurityDescriptor_:_options.security_descriptor.c_str____SDDL_REVISION_1__security_desc__security_desc_len_.
mov r8d, 0xe3
call fcn.1400047e0
mov rcx, rsi
call fcn.140077770
mov rdi, qword [rsp + 0x1a0]
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x70], 0
movzx esi, byte [r13 + 0x30]
shl esi, 0x13
or esi, 0x40000003
lea rdx, str..pipemojo.
lea rbx, [rsp + 0x1a8]
lea r12, [rsp + 0x1c0]
mov rcx, rbx
mov r8, r12
call fcn.14006fa20
xor r14d, r14d
cmp byte [r13 + 0x30], r14b
mov eax, 0xff
cmove ebp, eax
cmp byte [rbx + 0x17], r14b
jns 0x1400ff98f
mov rbx, qword [rsp + 0x1a8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov eax, 0x1000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0x1388
mov rcx, rbx
mov edx, esi
mov r8d, 8
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea rsi, [rsp + 0x58]
mov qword [rsi], 0
mov rcx, rsi
mov rdx, rax
call fcn.140004730
lea rbx, [rsp + 0x1e0]
mov rcx, rbx
mov rdx, rsi
call fcn.1400aed20
mov rcx, r15
mov rdx, r12
call fcn.14006b5e0
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov rdx, rbx
call fcn.1400aeca0
mov rbp, qword [rsp + 0x40]
mov rcx, rbp
mov rdx, rsi
call fcn.1400aec20
mov rcx, rbx
call fcn.1400aed70
cmp byte [rsp + 0x1bf], r14b
jns 0x1400ffa36
mov rcx, qword [rsp + 0x1a8]
call fcn.140190860
test rdi, rdi
je 0x1400ffa44
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x1d7], 0
jns 0x1400ffa5b
mov rcx, qword [rsp + 0x1c0]
call fcn.140190860
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140190ca0
mov rax, rbp
add rsp, 0x1f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret