Function at 0x14008da90
Capabilities:
Check os version
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov rsi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x228], rax
movabs rbp, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rbp
movaps xmm6, xmmword [0x1401d9dd0]
movaps xmmword [rsp + 0x50], xmm6
test dl, dl
je 0x14008dc89
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
mov r14d, 0x80003
cmp eax, 6
jb 0x14008dc8f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0x18
call fcn.14008ea80
test al, al
jne 0x14008dcfa
mov eax, dword [0x14021fa68]
mov ecx, dword [0x140216fcc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14008dc67
lea rcx, [0x14021fa68]
call fcn.140100680
cmp dword [0x14021fa68], 0xffffffff
jne 0x14008dc67
mov qword [0x14021fa58], 0
lea r8, [rsp + 0x1f8]
mov qword [r8], rbp
lea rcx, str.D:_A__GA___SY__A__GWGR___S_1_15_2_1_S:_ML_____S_1_16_0_
xor r15d, r15d
mov edx, 1
xor r9d, r9d
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x14008dcfd
mov rbx, qword [rsp + 0x1f8]
lea rdi, [rsp + 0x80]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
movups xmm0, xmmword [0x1401f514a]
lea rdx, [rsp + 0x200]
movups xmmword [rdx + 0xa], xmm0
movaps xmm0, xmmword [str.CURRENT_USER]
movaps xmmword [rdx], xmm0
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov r8d, 0x10000000
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
lea rax, [rsp + 0x78]
mov qword [rax], rbp
lea rcx, [rsp + 0x74]
mov dword [rcx], 0xaaaaaaaa
mov rdx, qword [rsp + 0x1f8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], 0
xor ecx, ecx
xor edx, edx
mov r8d, 1
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_BuildSecurityDescriptorW]
test eax, eax
jne 0x14008dd6c
mov eax, dword [rsp + 0x74]
mov qword [0x14021fa58], rax
mov rdi, qword [rsp + 0x78]
test rbx, rbx
je 0x14008dc54
mov rcx, rbx
call fcn.1400aa400
mov qword [0x14021fa60], rdi
lea rcx, [0x14021fa68]
call fcn.140100718
mov rcx, qword [0x14021fa60]
test rcx, rcx
je 0x14008dd60
lea rax, [rsp + 0x50]
mov qword [rax + 8], rcx
mov dword [rax + 0x10], 1
jmp 0x14008dc91
mov r14d, 3
xor eax, eax
cmp byte [rsi + 0x17], 0
jns 0x14008dc9a
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rax
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, r14d
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.1401013e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
int3
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14008dd59
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x28
mov r9d, 2
call fcn.140158e40
lea rcx, [rsp + 0xc0]
lea rdx, str.ConvertStringSecurityDescriptorToSecurityDescriptor
mov r8d, 0x33
call fcn.1400cf4f0
mov rcx, rdi
call fcn.140158f30
xor edi, edi
jmp 0x14008dc54
lea rcx, [0x1401f5060]
jmp 0x14008dc77
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14008ddd0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 2
call fcn.140158e40
lea rcx, [rsp + 0xc0]
lea rdx, str.BuildSecurityDescriptor
mov r8d, 0x17
call fcn.1400cf4f0
mov rcx, rdi
call fcn.140158f30
xor edi, edi
jmp 0x14008dc47