Function at 0x14014b3d0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x78], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
xor eax, eax
mov qword [rbp - 8], rax
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor eax, eax
mov qword [rbp + 0x98], rax
xor eax, eax
mov qword [rbp - 0x10], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [rbp + 0x58], eax
nop dword [rax]
mov rax, qword [0x140343b28]
test rax, rax
jne 0x14014b480
movaps xmmword [rbp + 0x20], xmm6
mov edx, 0x10
mov rcx, rbx
call r13
mov rax, qword [rbp + 0x20]
mov qword [0x140343b28], rax
jmp 0x14014b450
mov eax, 1
lock xadd qword [0x140343b28], rax
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x58]
mov qword [rbp], rax
lea rax, [0x140052130]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x10], rax
lea rax, [fcn.1400513f0]
mov qword [rbp + 0x18], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 2
mov qword [rbp + 0x40], 0
mov rax, rbp
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x80], r15
mov rax, qword [rbp + 0x98]
mov byte [rbp + 0xa7], al
mov byte [rbp + 0xa6], 1
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.14004d4e0
test r15, r15
sete al
or sil, al
test sil, 1
jne 0x14014b52c
mov edx, 1
mov rcx, rdi
call fcn.140029620
mov r9, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
mov r10, qword [rbp - 0x30]
lea rsi, [r8 + r10]
test r10, r10
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x70], r9
mov dword [rbp + 0x5c], r12d
mov qword [rbp - 0x18], r10
je 0x14014b570
movzx ecx, byte [r8]
movzx r14d, cl
test r14b, r14b
js 0x14014b5a0
lea r12, [r8 + 1]
jmp 0x14014b604
mov eax, 4
mov qword [rbp + 0x98], rax
mov ebx, 8
xor edi, edi
xor r12d, r12d
xor r14d, r14d
xor r15d, r15d
jmp 0x14014b65c
mov eax, r14d
and eax, 0x1f
movzx edx, byte [r8 + 1]
and edx, 0x3f
cmp r14b, 0xdf
jbe 0x14014b5f8
movzx r14d, byte [r8 + 2]
shl edx, 6
and r14d, 0x3f
or r14d, edx
cmp cl, 0xf0
jb 0x14014b969
lea r12, [r8 + 4]
movzx ecx, byte [r8 + 3]
and eax, 7
shl eax, 0x12
shl r14d, 6
and ecx, 0x3f
or ecx, r14d
or ecx, eax
mov r14d, ecx
cmp r14d, 0xffff
jbe 0x14014b604
jmp 0x14014b980
lea r12, [r8 + 2]
shl eax, 6
or eax, edx
mov r14d, eax
xor edi, edi
xor eax, eax
mov rcx, rsi
sub rcx, r12
add rcx, 3
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
shr rcx, 2
add rcx, rax
cmp rcx, 3
mov edx, 2
cmovae rdx, rcx
lea rbx, [rdx*2 + 4]
movabs rax, 0x3ffffffffffffffd
cmp rcx, rax
ja 0x14014bb15
add rdx, 2
mov qword [rbp + 0x98], rdx
mov r15w, 1
movzx eax, byte [0x140343bb0]
xor ecx, ecx
mov rdx, rbx
call fcn.14014fe10
test rax, rax
je 0x14014bb0c
mov rdx, rax
mov rax, qword [rbp - 0x10]
inc eax
mov dword [rbp + 0x60], eax
mov word [rdx], r14w
mov ebx, 1
mov rcx, qword [rbp + 0x98]
jmp 0x14014b6b9
mov r13, rcx
mov eax, edi
mov word [rdx + rbx*2], ax
inc rbx
mov rcx, r13
mov edi, r14d
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
test r12, r12
je 0x14014b6f0
test di, di
jne 0x14014b78e
cmp r12, rsi
je 0x14014b6f0
mov r9, rcx
movzx ecx, byte [r12]
movzx edi, cl
test dil, dil
js 0x14014b72e
inc r12
jmp 0x14014b78b
cmp r15w, 1
jne 0x14014b8b0
xor r12d, r12d
xor eax, eax
cmp rbx, rcx
jne 0x14014b720
mov qword [rbp + 0x98], rcx
xor r15d, r15d
mov r14d, edi
xor edi, edi
xor eax, eax
jmp 0x14014b7cc
mov r13, rcx
mov r14d, edi
xor r15d, r15d
jmp 0x14014b6a5
mov r8, rdx
mov eax, edi
and eax, 0x1f
movzx edx, byte [r12 + 1]
and edx, 0x3f
cmp dil, 0xdf
jbe 0x14014b77d
movzx edi, byte [r12 + 2]
shl edx, 6
and edi, 0x3f
or edi, edx
cmp cl, 0xf0
jb 0x14014b860
movzx ecx, byte [r12 + 3]
add r12, 4
and eax, 7
shl eax, 0x12
shl edi, 6
and ecx, 0x3f
or ecx, edi
or ecx, eax
mov edi, ecx
jmp 0x14014b869
add r12, 2
shl eax, 6
or eax, edx
mov edi, eax
mov rdx, r8
mov rcx, r9
xor r14d, r14d
cmp rbx, rcx
jne 0x14014b6a0
mov qword [rbp + 0x98], rcx
mov rax, rsi
sub rax, r12
add rax, 3
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
shr rax, 2
cmp r14w, 1
sbb rax, 0xffffffffffffffff
cmp r15w, 1
sbb rax, 0xffffffffffffffff
mov qword [rbp + 0x90], rdx
lea rcx, [rax + 1]
add rcx, rbx
jb 0x14014baf9
lea r13, [rax + rbx]
inc r13
mov r9, qword [rbp + 0x98]
lea rcx, [r9 + r9]
cmp rcx, r13
cmova r13, rcx
xor edx, edx
mov rax, r13
shr rax, 0x3e
sete al
cmp r13, 5
mov r8d, 4
cmovb r13, r8
test r9, r9
je 0x14014b82e
mov r8, qword [rbp + 0x90]
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x30], rcx
mov ecx, 2
jmp 0x14014b830
xor ecx, ecx
lea r8, [r13*2]
mov dl, al
add edx, edx
mov qword [rbp + 0x28], rcx
mov rcx, rbp
lea r9, [rbp + 0x20]
call fcn.140136c00
cmp qword [rbp], 0
jne 0x14014bafd
mov rdx, qword [rbp + 8]
jmp 0x14014b6a3
add r12, 3
shl eax, 0xc
or edi, eax
mov rdx, r8
mov rcx, r9
cmp edi, 0xffff
jbe 0x14014b78e
lea eax, [rdi + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and edi, 0x3ff
or edi, 0xdc00
mov r14d, edi
mov edi, eax
cmp rbx, rcx
jne 0x14014b6a0
jmp 0x14014b79a
mov rsi, rcx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov r14, rdx
mov rcx, rdx
mov edx, dword [rbp + 0x64]
mov r12d, dword [rbp + 0x5c]
mov r8d, r12d
mov r9d, 1
call qword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
jne 0x14014ba1d
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [rbp + 0x60]
cmp edx, 9
mov rcx, rsi
jg 0x14014b9ae
cmp eax, 5
jne 0x14014b930
mov eax, edx
mov qword [rbp - 0x10], rax
jmp 0x14014b93d
test r12d, r12d
je 0x14014b9ae
xor r12d, r12d
cmp eax, 0x57
jne 0x14014b9ae
mov al, 1
mov qword [rbp + 0x98], rax
xor esi, esi
test rcx, rcx
lea rbx, [rbp + 0x20]
je 0x14014b440
mov edx, 2
mov rcx, r14
call fcn.140029620
xor esi, esi
jmp 0x14014b440
lea r12, [r8 + 3]
shl eax, 0xc
or r14d, eax
cmp r14d, 0xffff
jbe 0x14014b604
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, 1
mov edi, r14d
mov r14d, ecx
jmp 0x14014b608
shl rax, 0x20
or rax, 2
mov rdx, rcx
mov rcx, qword [rbp + 0x78]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rsi, 0xffffffffffffffff
test rdx, rdx
je 0x14014b9e1
mov edx, 2
mov rcx, r14
call fcn.140029620
test r15, r15
je 0x14014b9f3
mov edx, 1
mov rcx, rdi
call fcn.140029620
cmp rbx, 0xffffffffffffffff
je 0x14014ba02
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
movaps xmm6, xmmword [rbp + 0xb0]
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
test rsi, rsi
je 0x14014ba2f
mov edx, 2
mov rcx, r14
call fcn.140029620
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x40], 0
mov word [rbp + 0x44], 0
movzx eax, byte [rbp + 0xa5]
mov byte [rbp + 0x41], al
xor al, 1
mov byte [rbp + 0x40], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp], 0x18
mov qword [rbp + 8], 0
mov dword [rbp + 0x10], 1
mov rax, rbp
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x80], r15
mov qword [rbp - 0x28], rbx
mov byte [rbp + 0xa7], 1
mov byte [rbp + 0xa6], 0
lea r8, [rbp + 0x20]
mov rcx, rdi
mov rdx, qword [rbp - 0x18]
call fcn.14013c180
test rax, rax
je 0x14014bacb
mov rax, qword [rbp + 0x78]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rsi, rbx
test r15, r15
jne 0x14014b9e6
jmp 0x14014b9f3
mov rax, qword [rbp + 0x78]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
mov qword [rax], 0
test r15, r15
je 0x14014ba02
mov edx, 1
mov rcx, rdi
call fcn.140029620
jmp 0x14014ba02
xor ecx, ecx
jmp 0x14014bb05
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
call fcn.1402413c0
jmp 0x14014bb45
mov eax, 2
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xa7], 1
mov byte [rbp + 0xa6], 1
mov rcx, qword [rbp - 8]
mov rdx, rbx
call fcn.1402413c0
ud2