Function at 0x714670
Capabilities:
Check os version
Create pipe

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xb0
mov rbp, rsp
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xe0], r8
mov qword [rbp + 0xe8], r9
mov rcx, qword [rbp + 0xd0]
call fcn.00410a40
nop
mov byte [rbp + 0xaf], 0
cmp qword [rbp + 0xd0], 0
je 0x71498e
cmp qword [rbp + 0xd8], 0
jne 0x7146e7
cmp qword [rbp + 0xe0], 0
je 0x71498e
lea rcx, [rbp + 0x68]
lea rdx, [0x00714a30]
mov r8, qword [rbp + 0xd0]
call fcn.00412170
mov rcx, qword [rbp + 0x68]
call fcn.00411d40
mov rsi, rax
mov rcx, rsi
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0xa0], rax
cmp qword [rbp + 0xa0], 0xffffffffffffffff
je 0x714758
mov rcx, qword [rbp + 0xa0]
call sub.kernel32.dll_CloseHandle
jmp 0x71498e
mov dword [rbp + 0x88], 0x18
mov dword [rbp + 0x98], 0
mov qword [rbp + 0x80], 0
mov dword [rbp + 0x7c], 0
mov dword [rbp + 0x78], 0
call sub.kernel32.dll_GetVersion
cmp al, 5
ja 0x71479c
mov qword [rbp + 0x90], 0
jmp 0x7147e7
lea rcx, [0x00714a58]
mov edx, 1
lea r8, [rbp + 0x90]
xor r9, r9
call sub.advapi32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x7147cc
mov rcx, qword [rbp + 0xa0]
call sub.kernel32.dll_CloseHandle
jmp 0x71498e
mov rcx, qword [rbp + 0x90]
lea rdx, [rbp + 0x7c]
lea r8, [rbp + 0x80]
lea r9, [rbp + 0x78]
call sub.advapi32.dll_GetSecurityDescriptorSacl
mov ecx, 0x228
call fcn.00418c90
mov qword [rbp + 0x70], rax
mov rbx, qword [rbp + 0x70]
mov rcx, rbx
mov edx, 0x200
xor r8, r8
call fcn.0040bfe0
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xd0]
call fcn.00411eb0
mov dword [rbp + 0x5c], 0
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x714832
mov eax, dword [rax - 4]
shr eax, 1
mov dword [rbp + 0x5c], eax
mov rcx, qword [rbp + 0x60]
call fcn.00411a90
mov rcx, rax
mov rdx, rbx
mov r8d, dword [rbp + 0x5c]
add r8d, r8d
movsxd r8, r8d
call fcn.00409530
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0xd8]
mov qword [rax + 0x208], rcx
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0xe0]
mov qword [rax + 0x210], rcx
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0xe8]
mov qword [rax + 0x218], rcx
mov rax, qword [rbp + 0x70]
mov dword [rax + 0x220], 0
mov rcx, rsi
mov edx, 0x40003
mov r8d, 6
mov r9d, 1
mov dword [rsp + 0x20], 0x1000
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x30], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x38], rax
call sub.kernel32.dll_CreateNamedPipeW
mov rcx, qword [rbp + 0x70]
mov qword [rcx + 0x200], rax
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 0x200]
cmp rax, 0xffffffffffffffff
jne 0x7148fe
movsxd rcx, dword [rbp + 0x90]
call sub.kernel32.dll_LocalFree
jmp 0x71498e
mov rcx, rax
mov dl, 6
mov r8d, 4
xor r9, r9
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x30], rax
call sub.advapi32.dll_SetSecurityInfo
movsxd rcx, dword [rbp + 0x90]
call sub.kernel32.dll_LocalFree
mov rcx, qword [0x00714450]
mov dl, 1
mov r8, qword [rbp + 0x70]
call fcn.00715240
mov rcx, qword [0x00788d80]
mov rax, qword [0x00788d80]
mov rbx, qword [rax]
call qword [rbx]
nop
mov rcx, qword [0x00788d78]
mov rdx, qword [rbp + 0x70]
call fcn.005150c0
nop
mov rcx, qword [0x00788d80]
mov rax, qword [0x00788d80]
mov rbx, qword [rax]
call qword [rbx + 8]
mov byte [rbp + 0xaf], 1
nop
lea rcx, [rbp + 0x60]
call fcn.00410950
lea rcx, [rbp + 0x68]
call fcn.004108b0
lea rcx, [rbp + 0xd0]
call fcn.004108b0
movzx rax, byte [rbp + 0xaf]
lea rsp, [rbp + 0xb0]
pop rbx
pop rsi
pop rbp
ret