Function at 0x14004bb20
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0x8f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
xor eax, eax
mov qword [rbp - 8], rax
mov ebx, 8
mov r14b, 1
xorps xmm6, xmm6
lea rsi, [rbp + 0x20]
xor eax, eax
mov qword [rbp - 0x10], rax
nop word cs:[rax + rax]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rbp + 0x58], eax
nop dword [rax + rax]
mov rax, qword [0x1400f40e8]
test rax, rax
jne 0x14004bbc0
movaps xmmword [rbp + 0x20], xmm6
mov edx, 0x10
mov rcx, rsi
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rbp + 0x20]
mov qword [0x1400f40e8], rax
jmp 0x14004bb90
mov eax, 1
lock xadd qword [0x1400f40e8], rax
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rbp], rax
lea rax, [0x140007ed0]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
lea rax, [fcn.140006f70]
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
lea rcx, [rbp - 0x40]
mov rdx, rsi
call fcn.140006a40
cmp qword [rbp + 0x78], 0
sete al
or r14b, al
test r14b, 1
jne 0x14004bc50
mov edx, 1
mov rcx, qword [rbp + 0x80]
call fcn.14000b630
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x78], rax
mov r8, qword [rbp - 0x38]
mov r9, qword [rbp - 0x30]
lea rax, [r8 + r9]
mov qword [rbp + 0x68], rax
test r9, r9
mov qword [rbp + 0x80], r8
mov dword [rbp + 0x5c], ebx
mov qword [rbp - 0x18], r9
je 0x14004bc90
movzx r12d, byte [r8]
test r12b, r12b
js 0x14004bcb0
lea rdi, [r8 + 1]
jmp 0x14004bd11
mov r13d, 4
mov ebx, 8
xor r15d, r15d
xor edi, edi
xor r12d, r12d
xor esi, esi
jmp 0x14004bd66
mov eax, r12d
and eax, 0x1f
movzx edx, byte [r8 + 1]
and edx, 0x3f
cmp r12b, 0xdf
jbe 0x14004bd05
movzx ecx, byte [r8 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp r12b, 0xf0
jb 0x14004c050
lea rdi, [r8 + 4]
movzx r12d, byte [r8 + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and r12d, 0x3f
or r12d, ecx
or r12d, eax
cmp r12d, 0xffff
jbe 0x14004bd11
jmp 0x14004c069
lea rdi, [r8 + 2]
shl eax, 6
or eax, edx
mov r12d, eax
mov eax, 1
xor r15d, r15d
mov rcx, qword [rbp + 0x68]
sub rcx, rdi
add rcx, 3
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
shr rcx, 2
add rcx, rax
cmp rcx, 4
mov r13d, 3
cmovae r13, rcx
lea rbx, [r13*2 + 2]
movabs rax, 0x3ffffffffffffffe
cmp rcx, rax
ja 0x14004c1e3
inc r13
mov si, 1
movzx eax, byte [0x1400f4110]
xor ecx, ecx
mov rdx, rbx
call fcn.14004f370
test rax, rax
je 0x14004c1da
mov r14, rax
mov rax, qword [rbp - 0x10]
inc eax
mov dword [rbp + 0x60], eax
mov word [r14], r12w
mov ebx, 1
mov r9, rsi
jmp 0x14004bdb4
mov rsi, r13
mov eax, r15d
mov word [r14 + rbx*2], ax
inc rbx
mov r13, rsi
mov r15d, r12d
test rdi, rdi
je 0x14004be20
test r15w, r15w
je 0x14004be00
xor r12d, r12d
cmp rbx, r13
jne 0x14004bda0
mov rax, qword [rbp + 0x68]
sub rax, rdi
add rax, 3
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
shr rax, 2
movzx ecx, r9w
cmp r12w, 1
sbb rax, 0xffffffffffffffff
add rax, rcx
jmp 0x14004be3f
cmp rdi, qword [rbp + 0x68]
je 0x14004be20
movzx r15d, byte [rdi]
test r15b, r15b
js 0x14004bef6
inc rdi
jmp 0x14004bdbf
cmp r9w, 1
jne 0x14004bfb0
xor edi, edi
xor eax, eax
cmp rbx, r13
jne 0x14004beb0
xor r9d, r9d
mov r12d, r15d
xor r15d, r15d
xor eax, eax
lea rcx, [rax + 1]
add rcx, rbx
jb 0x14004c1d1
mov qword [rbp - 0x20], rdi
lea rsi, [rax + rbx]
inc rsi
mov r10, r13
lea rcx, [r13*2]
cmp rcx, rsi
cmova rsi, rcx
movabs rax, 0x3ffffffffffffffe
inc rax
xor edx, edx
cmp rsi, rax
setbe al
cmp rsi, 5
mov r8d, 4
cmovb rsi, r8
mov rdi, r9
test r13, r13
je 0x14004bebe
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], rcx
mov ecx, 2
jmp 0x14004bec0
mov rsi, r13
mov r12d, r15d
xor r9d, r9d
jmp 0x14004bda6
xor ecx, ecx
lea r8, [rsi + rsi]
mov dl, al
add edx, edx
mov qword [rbp + 0x28], rcx
mov rcx, rbp
lea r9, [rbp + 0x20]
call fcn.14000f980
cmp qword [rbp], 0
jne 0x14004c1c7
mov r14, qword [rbp + 8]
mov eax, r15d
mov r9, rdi
mov rdi, qword [rbp - 0x20]
jmp 0x14004bda6
mov eax, r15d
and eax, 0x1f
movzx edx, byte [rdi + 1]
and edx, 0x3f
cmp r15b, 0xdf
jbe 0x14004bf46
movzx ecx, byte [rdi + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp r15b, 0xf0
jb 0x14004bf57
movzx r15d, byte [rdi + 3]
add rdi, 4
and eax, 7
shl eax, 0x12
shl ecx, 6
and r15d, 0x3f
or r15d, ecx
or r15d, eax
cmp r15d, 0xffff
jbe 0x14004bdbf
jmp 0x14004bf70
add rdi, 2
shl eax, 6
or eax, edx
mov r15d, eax
jmp 0x14004bdbf
add rdi, 3
shl eax, 0xc
or ecx, eax
mov r15d, ecx
cmp r15d, 0xffff
jbe 0x14004bdbf
lea eax, [r15 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r15d, 0x3ff
or r15d, 0xdc00
mov r12d, r15d
mov r15d, eax
cmp rbx, r13
jne 0x14004bda0
jmp 0x14004bdc7
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rdi, r14
mov rcx, r14
mov edx, dword [rbp + 0x64]
mov ebx, dword [rbp + 0x5c]
mov r8d, ebx
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14004c0d1
call sub.kernel32.dll_GetLastError
mov ecx, dword [rbp + 0x60]
cmp ecx, 9
jg 0x14004c098
cmp eax, 5
jne 0x14004c020
mov eax, ecx
mov qword [rbp - 0x10], rax
jmp 0x14004c02b
test ebx, ebx
je 0x14004c098
xor ebx, ebx
cmp eax, 0x57
jne 0x14004c098
xor r14d, r14d
test r13, r13
lea rsi, [rbp + 0x20]
je 0x14004bb80
mov edx, 2
mov rcx, rdi
call fcn.14000b630
xor r14d, r14d
jmp 0x14004bb80
lea rdi, [r8 + 3]
shl eax, 0xc
or ecx, eax
mov r12d, ecx
cmp r12d, 0xffff
jbe 0x14004bd11
lea ecx, [r12 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov eax, 2
mov r15d, r12d
mov r12d, ecx
jmp 0x14004bd19
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x70]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rbx, 0xffffffffffffffff
test r13, r13
je 0x14004c157
mov edx, 2
mov rcx, rdi
call fcn.14000b630
jmp 0x14004c157
test r13, r13
je 0x14004c0e3
mov edx, 2
mov rcx, rdi
call fcn.14000b630
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x40], 0
mov word [rbp + 0x44], 0
movzx eax, byte [rbp + 0x8f]
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
xor esi, esi
lea r8, [rbp + 0x20]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp - 0x18]
call fcn.14003e3a0
test rax, rax
je 0x14004c19a
mov rax, qword [rbp + 0x70]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rbx, r12
mov rcx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14004c171
mov edx, 1
call fcn.14000b630
cmp r12, 0xffffffffffffffff
je 0x14004c17f
mov rcx, rbx
call fcn.140052f3c
movaps xmm6, xmmword [rbp + 0x90]
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x70]
mov qword [rax + 8], r12
mov qword [rax + 0x10], rdx
mov qword [rax], 0
cmp qword [rbp + 0x78], 0
mov rcx, qword [rbp + 0x80]
je 0x14004c17f
mov edx, 1
call fcn.14000b630
jmp 0x14004c17f
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
jmp 0x14004c1d3
xor ecx, ecx
call fcn.140006600
jmp 0x14004c1f2
mov eax, 2
mov qword [rbp - 8], rax
mov sil, 1
mov rcx, qword [rbp - 8]
mov rdx, rbx
call fcn.140006600
ud2