Function at 0x1400f15c0
Capabilities:
Connect pipe

Disassembly:
mov r11, rsp
push rbx
push rsi
sub rsp, 0x78
mov rax, qword [0x14027aef8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [r11 + 0x10], rbp
mov rsi, rcx
mov rcx, qword [rcx + 0x208]
mov qword [r11 + 0x18], rdi
xor edi, edi
mov qword [r11 + 0x20], r12
mov ebx, edi
mov qword [r11 - 0x18], r13
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_named_pipe.c
mov qword [r11 - 0x20], r14
lea r13, str.named_pipe_connect
mov qword [r11 - 0x28], r15
cmp rcx, 0xffffffffffffffff
jne 0x1400f167f
cmp dword [0x140274810], 2
jl 0x1400f162a
test dword [0x14027485c], 0x10000
lea ebp, [rdi + 1]
jne 0x1400f162c
mov ebp, edi
mov edx, 2
mov ecx, 0x10000
call fcn.1400e1c40
test ebp, ebp
jne 0x1400f1647
test eax, eax
je 0x1400f1802
lea rcx, str.Pipe_handle_invalid_n
mov r9d, 2
mov qword [rsp + 0x38], rcx
mov r8d, 0x10000
mov dword [rsp + 0x30], 0x246
mov edx, eax
mov qword [rsp + 0x28], r12
mov ecx, ebp
mov qword [rsp + 0x20], r13
call fcn.1400ba210
jmp 0x1400f1802
cmp dword [rsi + 0x214], ebx
jne 0x1400f17fd
cmp dword [rsi + 0x218], ebx
jne 0x1400f16b5
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
mov ebx, eax
test eax, eax
jne 0x1400f17fd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x217
jmp 0x1400f17fb
lea rdx, [rsi + 0x278]
mov qword [rsi + 0x278], rdi
mov qword [rsi + 0x280], rdi
call qword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
mov ebx, eax
test eax, eax
jne 0x1400f1802
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [0x140274810], 3
mov ebp, eax
jl 0x1400f16fb
test dword [0x140274874], 0x10000
lea r14d, [rbx + 1]
jne 0x1400f16fe
mov r14d, edi
mov edx, 3
mov ecx, 0x10000
call fcn.1400e1c40
test r14d, r14d
jne 0x1400f1716
test eax, eax
je 0x1400f174e
mov dword [rsp + 0x40], ebp
lea rcx, str.Failed_to_connect_with_error___lu_n
mov qword [rsp + 0x38], rcx
mov r9d, 3
mov dword [rsp + 0x30], 0x25d
mov r8d, 0x10000
mov qword [rsp + 0x28], r12
mov edx, eax
mov ecx, r14d
mov qword [rsp + 0x20], r13
call fcn.1400ba210
cmp ebp, 0x3e5
jne 0x1400f17f5
mov rcx, qword [rsi + 0x208]
lea r8, [rsp + 0x50]
mov r9d, 1
lea rdx, [rsi + 0x278]
call qword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
cmp dword [0x140274810], 3
mov ebx, eax
jl 0x1400f1795
test dword [0x140274874], 0x10000
mov ebp, 1
jne 0x1400f1797
mov ebp, edi
mov edx, 3
mov ecx, 0x10000
call fcn.1400e1c40
mov r14d, eax
test ebp, ebp
jne 0x1400f17b1
test eax, eax
je 0x1400f1802
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x48], eax
mov r9d, 3
mov dword [rsp + 0x40], ebx
mov r8d, 0x10000
lea rax, str.Overlapped_result__lu__GetLastError___lu_n
mov edx, r14d
mov qword [rsp + 0x38], rax
mov ecx, ebp
mov dword [rsp + 0x30], 0x262
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
call fcn.1400ba210
jmp 0x1400f1802
cmp ebp, 0x217
jne 0x1400f1802
mov ebx, 1
cmp dword [0x140274810], 3
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
jl 0x1400f1826
test dword [0x140274874], 0x10000
je 0x1400f1826
mov edi, 1
mov edx, 3
mov ecx, 0x10000
call fcn.1400e1c40
mov ebp, eax
test edi, edi
jne 0x1400f183f
test eax, eax
je 0x1400f187c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
mov r9d, 3
lea rax, str.GetLastError___lu_n
mov r8d, 0x10000
mov qword [rsp + 0x38], rax
mov edx, ebp
mov dword [rsp + 0x30], 0x273
mov ecx, edi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
call fcn.1400ba210
mov r13, qword [rsp + 0x70]
mov eax, ebx
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
test ebx, ebx
je 0x1400f18a9
mov dword [rsi + 0x210], 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140100920
add rsp, 0x78
pop rsi
pop rbx
ret