Function at 0x140058d90
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140114ab8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x70]
lea r8, 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 [r8]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [r8 + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [r8 + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [r8 + 0x60]
movups xmmword [rdx + 0x60], xmm0
add rdx, rcx
movups xmm1, xmmword [r8 + 0x70]
movups xmmword [rdx - 0x10], xmm1
add r8, rcx
sub rax, 1
jne 0x140058dd8
movups xmm0, xmmword [r8]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdx + 0x30], xmm1
mov rax, qword [r8 + 0x40]
mov qword [rdx + 0x40], rax
mov eax, dword [r8 + 0x48]
mov dword [rdx + 0x48], eax
movzx eax, word [r8 + 0x4c]
mov word [rdx + 0x4c], ax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
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, [rsp + 0x70]
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
nop dword [rax + rax]
mov r15d, 0x80004005
test eax, eax
jne 0x140058edb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r15d
test ebx, ebx
jns 0x140058ef1
jmp 0x140058f9b
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x58], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x68], xmm1
lea rcx, [rsi + 0x40]
cmp qword [rcx + 0x18], 8
jb 0x140058eff
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]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rdi + 8]
cmp rax, rcx
je 0x140058f71
cmp rcx, 0xffffffffffffffff
je 0x140058f6a
mov rcx, qword [rdi]
mov rax, qword [rcx]
movabs r10, 0xefcdb65178560a70
mov rcx, rdi
call qword [0x1400de008]
test al, al
je 0x140058fdc
mov qword [rdi + 8], rbx
mov rcx, rbx
cmp rcx, 0xffffffffffffffff
je 0x140058f7b
xor ebx, ebx
jmp 0x140058f9b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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 0x140058fb2
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
mov eax, ebx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400d2540
lea r11, [rsp + 0x1d0]
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]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000ebc0
int3