Function at 0x1400610c0
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x228], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], r15
movaps xmm6, xmmword [0x140270690]
movaps xmmword [rsp + 0x50], xmm6
test dl, dl
je 0x140061348
lea rdi, [rsp + 0xf4]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1401808d0
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0xe8]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x14006134f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0x18
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x110]
mov rax, qword [rax + 0x10]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
je 0x1400613b8
mov eax, dword [0x1402a6230]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140061321
lea rcx, [0x1402a6230]
call fcn.14017b2bc
cmp dword [0x1402a6230], 0xffffffff
jne 0x140061321
lea r8, [rsp + 0xb8]
mov qword [r8], r15
lea rcx, str.D:_A__GA___SY__A__GWGR___S_1_15_2_1_S:_ML_____S_1_16_0_
xor r12d, r12d
mov edx, 1
xor r9d, r9d
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1400613bb
mov rbx, qword [rsp + 0xb8]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
movups xmm0, xmmword [0x14028792a]
lea rdx, [rsp + 0xc0]
movups xmmword [rdx + 0xa], xmm0
movaps xmm0, xmmword [str.CURRENT_USER]
movaps xmmword [rdx], xmm0
mov dword [rsp + 0x20], r12d
mov rcx, r14
mov r8d, 0x10000000
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
lea rax, [rsp + 0x78]
mov qword [rax], r15
lea rcx, [rsp + 0x74]
mov dword [rcx], 0xaaaaaaaa
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x28], 0
xor ecx, ecx
xor edx, edx
mov r8d, 1
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_BuildSecurityDescriptorW]
test eax, eax
jne 0x14006141a
mov r14, qword [rsp + 0x78]
test rbx, rbx
je 0x14006130e
cmp dword [0x1402a0cb8], 2
jg 0x14006130e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rax, rax
jne 0x140061481
mov qword [0x1402a6228], r14
lea rcx, [0x1402a6230]
call fcn.14017b25c
mov rax, qword [0x1402a6228]
test rax, rax
lea rcx, [0x14028784c]
cmovne rcx, rax
lea rbx, [rsp + 0x50]
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], 1
jmp 0x14006134f
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x140061358
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
cmp dword [0x1402a0cb8], 2
jg 0x140061412
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea rbx, [rsp + 0xe8]
mov rcx, rbx
mov r8d, 0x2d
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0xf8]
lea rdx, str.ConvertStringSecurityDescriptorToSecurityDescriptor
mov r8d, 0x33
call fcn.1401b98e0
mov rcx, rbx
call fcn.1401dfcd0
xor r14d, r14d
jmp 0x14006130e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x1402a0cb8], 2
jg 0x140061479
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea r14, [rsp + 0xe8]
mov rcx, r14
mov r8d, 0x44
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0xf8]
lea rdx, str.BuildSecurityDescriptor
mov r8d, 0x17
call fcn.1401b98e0
mov rcx, r14
call fcn.1401dfcd0
xor r14d, r14d
jmp 0x1400612ee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_scoped_local_alloc.cc
lea rbx, [rsp + 0xe8]
mov rcx, rbx
mov r8d, 0x18
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0xf8]
lea rdx, [0x140288e5e]
mov r8d, 9
call fcn.1401b98e0
mov rcx, rbx
call fcn.1401dfcd0
jmp 0x14006130e