Function at 0x1400b0760
Capabilities:
Connect pipe
Create pipe
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov r14, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rbp, qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea rdi, str._pipeuv_p__lu
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x138]
mov eax, r8d
mov qword [rsp + 0x118], rdx
lea r13, [rsp + 0x80]
shr eax, 4
mov dword [rsp + 0x128], r9d
and eax, 1
mov qword [rsp + 0x110], rcx
mov esi, eax
or esi, 2
test r8b, 0x20
cmove esi, eax
mov eax, esi
or eax, 0x40000000
and r8d, 0x40
cmovne esi, eax
mov eax, r9d
and eax, 0x10
cmp eax, 1
sbb eax, eax
and eax, 0x80000080
add eax, 0x80000000
mov edx, eax
or ah, 1
or edx, 0x40000000
and r9d, 0x20
cmovne eax, edx
or esi, 0xc0000
or eax, 0x40000
mov dword [rsp + 0x4c], eax
jmp 0x1400b0832
call r15
mov r8d, eax
cmp eax, 0xe7
je 0x1400b082e
cmp eax, 5
jne 0x1400b0958
add rbx, 1
call r14
mov r9, rbx
mov r8, rdi
mov edx, 0x40
mov dword [rsp + 0x20], eax
mov rcx, r13
call fcn.1400b0730
mov r9d, 1
xor r8d, r8d
mov edx, esi
mov qword [rsp + 0x38], 0
mov rcx, r13
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
call rbp
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400b0818
mov rcx, r13
mov edx, dword [rsp + 0x4c]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x128]
mov qword [rsp + 0x30], 0
shl eax, 0x18
mov dword [rsp + 0x20], 3
and eax, 0x40000000
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400b0977
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x5c]
mov rcx, r13
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
cmp eax, 1
jne 0x1400b09b0
mov eax, dword [rsp + 0x5c]
test eax, eax
jne 0x1400b0991
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1400b09e8
mov rax, qword [rsp + 0x118]
xor r8d, r8d
mov qword [rax], r13
mov rax, qword [rsp + 0x110]
mov qword [rax], r12
jmp 0x1400b0960
test eax, eax
je 0x1400b0a37
mov eax, r8d
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r12
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x4c]
jmp 0x1400b0960
mov r8d, 0x136
lea rdx, str.src_win_pipe.c
lea rcx, str.mode___PIPE_READMODE_BYTE__PIPE_WAIT_
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400b0927
mov ecx, 2
call qword [fcn.140124330]
mov edx, 1
lea rcx, str.libuv_assertion_failure:_GetNamedPipeHandleState_failed_n
mov r8d, 0x38
mov r9, rax
call sub.msvcrt.dll_fwrite
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400b093a
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
call rbx
cmp eax, 0x217
je 0x1400b093a
call rbx
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, eax
cmp r12, 0xffffffffffffffff
je 0x1400b0a23
mov dword [rsp + 0x4c], eax
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call rbx
mov r8d, dword [rsp + 0x4c]
mov dword [rsp + 0x4c], r8d
mov rcx, r13
call rbx
mov r8d, dword [rsp + 0x4c]
jmp 0x1400b0960
mov rcx, r13
mov edx, dword [rsp + 0x4c]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x128]
mov qword [rsp + 0x30], 0
shl eax, 0x18
mov dword [rsp + 0x20], 3
and eax, 0x40000000
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b08e8
call r15
mov r8d, eax
jmp 0x1400b0960