Function at 0x140058048
Capabilities:
Create pipe

Disassembly:
mov rax, rsp
push rbp
push rdi
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14012aab8]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rdx
mov rsi, rcx
lea r8, [rbp - 0x80]
lea r9, str.D:_A__0x111fffff___CO__A__0x111fffff___SY__A__0x111fffff___BA__A__0x12019b___IU__A__0x12019b___AU__A__0x12019b___S_1_15_3_3845273463_1331427702_1186551195_1148109977_
mov eax, 2
lea ecx, [rax + 0x7e]
movups xmm0, xmmword [r9]
movups xmmword [r8], xmm0
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [r9 + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [r9 + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [r9 + 0x40]
movups xmmword [r8 + 0x40], xmm0
movups xmm1, xmmword [r9 + 0x50]
movups xmmword [r8 + 0x50], xmm1
movups xmm0, xmmword [r9 + 0x60]
movups xmmword [r8 + 0x60], xmm0
add r8, rcx
movups xmm1, xmmword [r9 + 0x70]
movups xmmword [r8 - 0x10], xmm1
add r9, rcx
sub rax, 1
jne 0x140058098
movups xmm0, xmmword [r9]
movups xmmword [r8], xmm0
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [r9 + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [r9 + 0x30]
movups xmmword [r8 + 0x30], xmm1
mov rax, qword [r9 + 0x40]
mov qword [r8 + 0x40], rax
mov eax, dword [r9 + 0x48]
mov dword [r8 + 0x48], eax
movzx eax, word [r9 + 0x4c]
mov word [r8 + 0x4c], ax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0x18
and dword [rsp + 0x50], eax
xor r9d, r9d
lea r8, [rsp + 0x48]
lea edx, [rax + 1]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
mov r15d, 0x80004005
test eax, eax
jne 0x140058199
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r15d
jmp 0x1400581b1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x58], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x68], xmm1
xor ebx, ebx
test ebx, ebx
js 0x140058244
lea rcx, [rsi + 0x40]
cmp qword [rcx + 0x18], 8
jb 0x1400581c7
mov rcx, qword [rcx]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x1388
mov eax, 0x10000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 6
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_CreateNamedPipeW]
mov rbx, rax
mov rcx, qword [rdi + 8]
cmp rax, rcx
je 0x140058220
cmp rcx, 0xffffffffffffffff
je 0x140058219
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x14005827e
mov qword [rdi + 8], rbx
mov rcx, rbx
cmp rcx, 0xffffffffffffffff
je 0x14005822a
xor ebx, ebx
jmp 0x140058244
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r15d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140058255
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400cae50
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000cc90
int3