Function at 0x14006bf40
Capabilities:
Create pipe

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
mov qword [rsp + 0x60], 0xffffffffffffffff
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x1c0], 0
jne 0x14006bfb3
call fcn.1400825b0
mov dword [rax], reloc.WS2_32.dll_shutdown
lea rcx, str.pipe___ERROR_invalid_parameter
call fcn.140002e50
mov eax, 0xffffffff
jmp 0x14006c27f
mov eax, dword [0x1400e87c0]
mov dword [rsp + 0x68], eax
mov eax, dword [0x1400e87c0]
inc eax
mov dword [0x1400e87c0], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x20], ecx
mov r9d, eax
lea r8, str..PipeW32PosixPipe._08x._08x
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.14006d2d0
cmp eax, 0xffffffff
jne 0x14006c01d
call fcn.1400825b0
mov dword [rax], 0x83
call fcn.1400825b0
mov edx, dword [rax]
lea rcx, str.pipe___ERROR_sprintf_s__d
call fcn.140002e50
jmp 0x14006c230
mov dword [rsp + 0x88], 1
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x78], 0x18
cmp dword [rsp + 0x1c8], 0
je 0x14006c050
mov dword [rsp + 0x50], 3
jmp 0x14006c058
mov dword [rsp + 0x50], 2
mov eax, dword [rsp + 0x50]
bts eax, 0x1e
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov r9d, 1
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_CreateNamedPipeA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x14006c0dc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.14006b380
mov dword [rsp + 0x6c], eax
call fcn.1400825b0
mov ecx, dword [rsp + 0x6c]
mov dword [rax], ecx
call fcn.1400825b0
mov edx, dword [rax]
lea rcx, str.pipe___CreateNamedPipe___ERROR:_d
call fcn.140002e50
jmp 0x14006c230
cmp dword [rsp + 0x1c8], 0
je 0x14006c0f0
mov dword [rsp + 0x54], 0xc0000000
jmp 0x14006c0f8
mov dword [rsp + 0x54], 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000080
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x78]
xor r8d, r8d
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x14006c16c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.14006b380
mov dword [rsp + 0x70], eax
call fcn.1400825b0
mov ecx, dword [rsp + 0x70]
mov dword [rax], ecx
call fcn.1400825b0
mov edx, dword [rax]
lea rcx, str.pipe___ERROR_CreateFile___:_d
call fcn.140002e50
jmp 0x14006c230
mov ecx, 0xc0
call fcn.140077f84
mov qword [rsp + 0x40], rax
mov ecx, 0xc0
call fcn.140077f84
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x40], 0
je 0x14006c19a
cmp qword [rsp + 0x48], 0
jne 0x14006c1ba
call fcn.1400825b0
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
call fcn.1400825b0
mov edx, dword [rax]
lea rcx, str.pip___ERROR:_d
call fcn.140002e50
jmp 0x14006c230
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x90], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x90], rcx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x48]
mov qword [rcx + rax], rdx
xor eax, eax
jmp 0x14006c27f
cmp qword [rsp + 0x58], 0
je 0x14006c243
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp qword [rsp + 0x60], 0
je 0x14006c256
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
je 0x14006c268
mov rcx, qword [rsp + 0x40]
call fcn.140077f70
cmp qword [rsp + 0x48], 0
je 0x14006c27a
mov rcx, qword [rsp + 0x48]
call fcn.140077f70
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140075860
add rsp, 0x1b0
pop rdi
ret