Function at 0x14008aec0
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0x80], rcx
mov byte [rsp + 0x47], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x90], ecx
xor eax, eax
mov qword [rsp + 0xa0], rax
mov ebp, 8
mov sil, 1
xorps xmm6, xmm6
lea r15, [rsp + 0x50]
nop word cs:[rax + rax]
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsp + 0x9c], eax
mov rax, qword [0x1402540f0]
test rax, rax
jne 0x14008af6a
nop dword [rax + rax]
movaps xmmword [rsp + 0x50], xmm6
mov edx, 0x10
mov rcx, r15
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rsp + 0x50]
xchg qword [0x1402540f0], rax
mov rax, qword [0x1402540f0]
test rax, rax
je 0x14008af40
mov eax, 1
lock xadd qword [0x1402540f0], rax
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0xc0], rax
lea rax, [0x140018de0]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xd0], rax
lea rax, [0x140018f00]
mov qword [rsp + 0xd8], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
movzx eax, byte [0x140254141]
mov edx, 0x46
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x14008b59d
mov qword [rsp + 0xa8], 0x46
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0xa8]
lea rdx, [0x1401b97c8]
mov r8, r15
call fcn.14000da30
test al, al
jne 0x14008b59d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
test rdi, rdi
sete al
or sil, al
test sil, 1
jne 0x14008b08d
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
lea r13, [rbx + r14]
mov r12d, 4
test r14, r14
mov dword [rsp + 0x98], ebp
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xe0], r14
je 0x14008b0c0
movzx eax, byte [rbx]
test al, al
js 0x14008b0d0
lea rdi, [rbx + 1]
mov esi, eax
jmp 0x14008b122
xor edi, edi
xor r15d, r15d
xor ebp, ebp
xor esi, esi
jmp 0x14008b167
mov esi, eax
and esi, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14008b119
movzx ecx, byte [rbx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14008b3cb
lea rdi, [rbx + 4]
movzx eax, byte [rbx + 3]
and esi, 7
shl esi, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or esi, eax
cmp esi, 0xffff
jbe 0x14008b122
jmp 0x14008b3e0
lea rdi, [rbx + 2]
shl esi, 6
or esi, edx
xor r15d, r15d
xor ecx, ecx
mov rax, r13
sub rax, rdi
add rax, 3
mov rdx, 0xffffffffffffffff
cmovb rax, rdx
shr rax, 2
add rax, rcx
mov bp, 1
cmp rax, 2
jb 0x14008b167
movabs rcx, 0x3ffffffffffffffd
cmp rax, rcx
ja 0x14008b59d
add rax, 2
mov r12, rax
lea rdx, [r12 + r12]
movzx eax, byte [0x140254141]
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x14008b59d
mov rbx, rax
mov rax, qword [rsp + 0xa0]
inc eax
mov dword [rsp + 0x94], eax
mov word [rbx], si
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 1
mov r12d, 1
jmp 0x14008b1e0
xor eax, eax
mov esi, r15d
cmp r12, qword [rsp + 0x50]
je 0x14008b26f
mov r15d, eax
mov word [rbx + r12*2], si
inc r12
mov qword [rsp + 0x60], r12
test rdi, rdi
je 0x14008b200
test r15w, r15w
jne 0x14008b1c0
cmp rdi, r13
je 0x14008b200
movzx eax, byte [rdi]
test al, al
js 0x14008b228
inc rdi
mov esi, eax
xor eax, eax
jmp 0x14008b1c5
mov r14, qword [rsp + 0x50]
cmp bp, 1
jne 0x14008b300
xor ebp, ebp
mov edi, 0
mov esi, 0
mov r8d, 0
cmp r12, r14
jne 0x14008b1d3
jmp 0x14008b29b
mov esi, eax
and esi, 0x1f
movzx edx, byte [rdi + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14008b2b5
movzx ecx, byte [rdi + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14008b2c5
movzx eax, byte [rdi + 3]
add rdi, 4
and esi, 7
shl esi, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or esi, eax
cmp esi, 0xffff
ja 0x14008b2d6
xor eax, eax
jmp 0x14008b1c5
mov r8, r13
sub r8, rdi
add r8, 3
mov rcx, 0xffffffffffffffff
cmovb r8, rcx
shr r8, 2
cmp ax, 1
sbb r8, 0xffffffffffffffff
cmp bp, 1
sbb r8, 0xffffffffffffffff
mov r15d, eax
inc r8
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.140098330
mov rbx, qword [rsp + 0x58]
jmp 0x14008b1d3
add rdi, 2
shl esi, 6
or esi, edx
xor eax, eax
jmp 0x14008b1c5
add rdi, 3
shl esi, 0xc
or esi, ecx
cmp esi, 0xffff
jbe 0x14008b268
lea ecx, [rsi + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and esi, 0x3ff
or esi, 0xdc00
mov eax, esi
mov esi, ecx
jmp 0x14008b1c5
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, rbx
mov edx, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x98]
mov r8d, ebp
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14008b45e
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [rsp + 0x94]
cmp ecx, 0xa
lea r15, [rsp + 0x50]
jge 0x14008b409
cmp eax, 5
jne 0x14008b380
mov eax, ecx
mov qword [rsp + 0xa0], rax
jmp 0x14008b38f
test ebp, ebp
je 0x14008b409
xor ebp, ebp
cmp eax, 0x57
jne 0x14008b409
xor esi, esi
mov r13, qword [rsp + 0x48]
mov r12, r13
mov rax, qword [rsp + 0x88]
mov rdi, rax
test r14, r14
je 0x14008af20
mov rcx, qword [0x1402540f8]
xor esi, esi
xor edx, edx
mov r8, rbx
mov rdi, rax
call sub.KERNEL32.dll_HeapFree
mov r12, r13
jmp 0x14008af20
lea rdi, [rbx + 3]
shl esi, 0xc
or esi, ecx
cmp esi, 0xffff
jbe 0x14008b122
lea eax, [rsi + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and esi, 0x3ff
or esi, 0xdc00
mov ecx, 1
mov r15d, esi
mov esi, eax
jmp 0x14008b127
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rsi, 0xffffffffffffffff
test r14, r14
je 0x14008b556
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rdi, qword [rsp + 0x48]
cmp qword [rsp + 0x88], 0
jne 0x14008b51b
jmp 0x14008b52c
test r14, r14
je 0x14008b474
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x6c], 0
mov word [rsp + 0x74], 0
movzx eax, byte [rsp + 0x47]
mov byte [rsp + 0x71], al
xor al, 1
mov byte [rsp + 0x70], al
mov dword [rsp + 0x68], 0
mov dword [rsp + 0xc0], 0x18
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xd0], 1
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, qword [rsp + 0xe0]
call fcn.140092f90
test rax, rax
je 0x14008b568
mov rax, qword [rsp + 0x80]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rsi, r12
cmp qword [rsp + 0x88], 0
je 0x14008b52c
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
cmp r12, 0xffffffffffffffff
je 0x14008b53a
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x48]
cmp qword [rsp + 0x88], 0
jne 0x14008b51b
jmp 0x14008b52c
mov rax, qword [rsp + 0x80]
mov qword [rax + 8], r12
mov qword [rax + 0x10], rdx
mov qword [rax], 0
cmp qword [rsp + 0x88], 0
je 0x14008b53a
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
jmp 0x14008b53a
ud2