Function at 0x140054f20
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x240
movaps xmmword [rsp + 0x230], xmm6
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x228], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], r12
movaps xmm6, xmmword [0x1401efb80]
movaps xmmword [rsp + 0x50], xmm6
test dl, dl
je 0x140055173
lea rdi, [rsp + 0xf4]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.140122050
mov dword [rdi - 0xc], 0x11c
mov rbp, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rbp
mov rcx, rax
mov edx, 1
mov r8b, 3
call rbp
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rbp
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 r14d, 0x80003
test eax, eax
je 0x14005517b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0x18
call fcn.1400bc890
test al, al
jne 0x1400551e6
mov eax, dword [0x14022b810]
mov ecx, dword [0x140222a94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14005514c
lea rcx, [0x14022b810]
call fcn.14011d638
cmp dword [0x14022b810], 0xffffffff
jne 0x14005514c
lea r8, [rsp + 0xb8]
mov qword [r8], r12
lea rcx, [0x140205b1c]
xor r15d, r15d
mov edx, 1
xor r9d, r9d
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1400551e9
mov rbx, qword [rsp + 0xb8]
lea rdi, [rsp + 0x80]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
movups xmm0, xmmword [0x140205bca]
lea rdx, [rsp + 0xc0]
movups xmmword [rdx + 0xa], xmm0
movaps xmm0, xmmword [0x140205bc0]
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], r12
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], 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 0x1400551fe
mov rdi, qword [rsp + 0x78]
test rbx, rbx
je 0x140055139
mov rcx, rbx
call fcn.1400632a0
mov qword [0x14022b808], rdi
lea rcx, [0x14022b810]
call fcn.14011d5d8
mov rax, qword [0x14022b808]
test rax, rax
lea rcx, [0x140205aec]
cmovne rcx, rax
lea rbx, [rsp + 0x50]
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], 1
jmp 0x14005517b
mov r14d, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x140055184
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, 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.14011fe20
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x240
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
mov ecx, 2
call fcn.1400d5300
test al, al
jne 0x14005521b
xor edi, edi
jmp 0x140055139
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.1400d5300
test al, al
jne 0x14005526b
xor edi, edi
jmp 0x14005512c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x140205a3f]
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0x2c
mov r9d, 2
call fcn.14016e140
lea rcx, [rsp + 0xf8]
lea rdx, [0x140205b8c]
mov r8d, 0x33
call fcn.140152d20
mov rcx, rdi
call fcn.14016e1c0
jmp 0x1400551f7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x140205a3f]
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0x43
mov r9d, 2
call fcn.14016e140
lea rcx, [rsp + 0xf8]
lea rdx, [0x140205bda]
mov r8d, 0x17
call fcn.140152d20
mov rcx, rdi
call fcn.14016e1c0
jmp 0x140055214