Function at 0x14011f080
Capabilities:
Create pipe
Generate random numbers via winapi

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 + 0x58], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x4c], ecx
xor edi, edi
mov r14d, 8
mov r15b, 1
lea rsi, [0x1401d8ca4]
mov r12, qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
xorps xmm6, xmm6
mov r13, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 8], rax
nop dword [rax]
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [rbp + 0x44], eax
jmp 0x14011f121
mov eax, 0xc00000bb
mov byte [rbp + 0xa7], dil
mov byte [rbp + 0xa6], 1
mov ecx, eax
call fcn.1401206c0
xchg qword [0x1401f0038], rax
mov rax, qword [0x1401f0038]
test rax, rax
jne 0x14011f1c0
mov rbx, qword [0x1401f0048]
mov qword [rbp + 0x60], rbx
cmp rbx, 0xffffffffffffffff
je 0x14011f100
test rbx, rbx
jne 0x14011f190
lea rcx, [rbp + 0x60]
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call r12
test eax, eax
js 0x14011f172
mov rcx, qword [rbp + 0x60]
xor eax, eax
lock cmpxchg qword [0x1401f0048], rcx
jne 0x14011f17f
mov rbx, qword [rbp + 0x60]
jmp 0x14011f190
mov qword [0x1401f0048], 0xffffffffffffffff
jmp 0x14011f105
mov rbx, rax
mov rcx, qword [rbp + 0x60]
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
movaps xmmword [rbp + 0x60], xmm6
mov rcx, rbx
lea rdx, [rbp + 0x60]
mov r8d, 0x10
xor r9d, r9d
call r13
test eax, eax
js 0x14011f105
mov rax, qword [rbp + 0x60]
jmp 0x14011f11a
mov eax, 1
lock xadd qword [0x1401f0038], rax
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x44]
mov qword [rbp], rax
lea rax, [0x1400445d0]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x10], rax
lea rax, [fcn.140041220]
mov qword [rbp + 0x18], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 2
mov qword [rbp + 0x70], 0
mov rax, rbp
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 2
mov byte [rbp + 0xa7], dil
mov byte [rbp + 0xa6], 1
lea rcx, [rbp - 0x28]
lea rdx, [rbp + 0x60]
call fcn.14000f6f0
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp + 0x60], xmm0
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x70], rax
test r15b, 1
jne 0x14011f272
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x14011f272
mov rcx, qword [rbp + 0x20]
not rdx
shr rdx, 0x3f
call fcn.140004990
mov r15, qword [rbp + 0x70]
mov qword [rbp + 0x30], r15
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0x20], xmm0
mov rsi, qword [rbp + 0x20]
lea rax, [rsi + r15]
mov qword [rbp + 0x50], rax
test r15, r15
mov dword [rbp + 0x48], r14d
je 0x14011f2b0
movzx ecx, byte [rsi]
movzx edi, cl
test dil, dil
js 0x14011f2d0
inc rsi
jmp 0x14011f329
xor edi, edi
xor r13d, r13d
xor r12d, r12d
xor esi, esi
xor r14d, r14d
jmp 0x14011f353
mov eax, edi
and eax, 0x1f
movzx edx, byte [rsi + 1]
and edx, 0x3f
cmp dil, 0xdf
jbe 0x14011f31e
movzx edi, byte [rsi + 2]
shl edx, 6
and edi, 0x3f
or edi, edx
cmp cl, 0xf0
jb 0x14011f6d5
movzx ecx, byte [rsi + 3]
add rsi, 4
and eax, 7
shl eax, 0x12
shl edi, 6
and ecx, 0x3f
or ecx, edi
or ecx, eax
mov edi, ecx
cmp edi, 0xffff
jbe 0x14011f329
jmp 0x14011f6ea
add rsi, 2
shl eax, 6
or eax, edx
mov edi, eax
mov eax, 1
xor r12d, r12d
mov r14, qword [rbp + 0x50]
sub r14, rsi
add r14, 3
mov rcx, 0xffffffffffffffff
cmovb r14, rcx
shr r14, 2
add r14, rax
mov r13w, 1
cmp r14, 4
mov eax, 3
cmovb r14, rax
movabs rax, 0x3fffffffffffffff
cmp r14, rax
jae 0x14011f887
inc r14
lea rbx, [r14 + r14]
mov edx, 2
mov rcx, rbx
call fcn.140004900
test rax, rax
je 0x14011f86a
mov word [rax], di
mov qword [rbp - 0x28], rsi
test r15, r15
je 0x14011f610
mov r15d, 1
mov rbx, r14
mov qword [rbp + 0x98], rax
mov rcx, rax
mov eax, r13d
jmp 0x14011f3d3
mov qword [rbp + 0x98], rcx
mov rbx, r14
mov eax, dword [rbp + 0xa0]
mov word [rcx + r15*2], r12w
inc r15
mov r12d, r13d
test rsi, rsi
lea rdx, [rbp - 0x28]
cmovne rsi, rdx
je 0x14011f4a0
test r12w, r12w
je 0x14011f400
xor r13d, r13d
jmp 0x14011f4b2
mov rdi, qword [rsi]
cmp rdi, qword [rbp + 0x50]
je 0x14011f498
lea rdx, [rdi + 1]
mov qword [rsi], rdx
movzx r9d, byte [rdi]
movzx r12d, r9b
test r12b, r12b
jns 0x14011f3ea
mov r8d, r12d
and r8d, 0x1f
lea rdx, [rdi + 2]
mov qword [rsi], rdx
movzx r10d, byte [rdi + 1]
and r10d, 0x3f
cmp r12b, 0xdf
jbe 0x14011f5a8
lea rdx, [rdi + 3]
mov qword [rsi], rdx
movzx r12d, byte [rdi + 2]
shl r10d, 6
and r12d, 0x3f
or r12d, r10d
cmp r9b, 0xf0
jb 0x14011f5ba
lea rdx, [rdi + 4]
mov qword [rsi], rdx
movzx edx, byte [rdi + 3]
and r8d, 7
shl r8d, 0x12
shl r12d, 6
and edx, 0x3f
or edx, r12d
or edx, r8d
mov r12d, edx
cmp r12d, 0xffff
jbe 0x14011f3ea
jmp 0x14011f5ce
mov qword [rbp - 0x28], 0
cmp ax, 1
jne 0x14011f600
xor eax, eax
mov r13d, r12d
xor r12d, r12d
mov rsi, qword [rbp - 0x28]
cmp r15, rbx
jne 0x14011f3c8
test rsi, rsi
je 0x14011f4f1
mov rcx, qword [rbp + 0x50]
sub rcx, rsi
add rcx, 3
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
shr rcx, 2
cmp r13w, 1
sbb rcx, 0xffffffffffffffff
cmp ax, 1
sbb rcx, 0xffffffffffffffff
jmp 0x14011f4f9
xor ecx, ecx
test ax, ax
setne cl
inc rcx
add rbx, rcx
mov qword [rbp - 0x10], r14
jb 0x14011f85c
mov dword [rbp + 0xa0], eax
lea rcx, [r14 + r14]
cmp rcx, rbx
cmova rbx, rcx
cmp rbx, 5
mov rdi, r14
mov r14, rbx
mov eax, 4
cmovb r14, rax
xor r8d, r8d
mov rax, r14
shr rax, 0x3e
sete r8b
lea rdx, [r14 + r14]
add r8, r8
test rdi, rdi
je 0x14011f55d
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rcx
mov eax, 2
jmp 0x14011f55f
xor eax, eax
mov qword [rbp + 0x70], rax
mov rcx, rbp
lea r9, [rbp + 0x60]
call fcn.1401087e0
cmp qword [rbp], 0
mov rcx, qword [rbp + 8]
je 0x14011f3b8
mov rdx, qword [rbp + 0x10]
movabs rax, 0x8000000000000001
cmp rdx, rax
jne 0x14011f857
mov rbx, qword [rbp - 0x10]
mov r14, rbx
mov rcx, qword [rbp + 0x98]
jmp 0x14011f3c2
shl r8d, 6
or r8d, r10d
mov r12d, r8d
xor r13d, r13d
jmp 0x14011f4b2
shl r8d, 0xc
or r12d, r8d
cmp r12d, 0xffff
jbe 0x14011f3ea
add r12d, 0xffff0000
mov edx, r12d
shr edx, 0xa
or edx, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov r13d, r12d
mov r12d, edx
jmp 0x14011f4b2
mov rbx, r14
mov rax, qword [rbp + 0x98]
jmp 0x14011f613
mov rbx, r14
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rdi, rax
mov rcx, rax
mov edx, dword [rbp + 0x4c]
mov r14d, dword [rbp + 0x48]
mov r8d, r14d
mov r9d, 1
call qword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov r15, rax
cmp rax, 0xffffffffffffffff
mov r12, qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
mov r13, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
jne 0x14011f74f
mov rax, qword [rbp - 8]
lea esi, [rax + 1]
call qword [sym.imp.kernel32.dll_GetLastError]
cmp esi, 0xa
jge 0x14011f716
mov rcx, rdi
cmp eax, 5
jne 0x14011f6a0
mov eax, esi
mov qword [rbp - 8], rax
jmp 0x14011f6ad
test r14d, r14d
je 0x14011f716
xor r14d, r14d
cmp eax, 0x57
jne 0x14011f716
mov dil, 1
xor r15d, r15d
test rbx, rbx
lea rsi, [0x1401d8ca4]
je 0x14011f0f0
mov edx, 2
call fcn.140004990
xor r15d, r15d
jmp 0x14011f0f0
add rsi, 3
shl eax, 0xc
or edi, eax
cmp edi, 0xffff
jbe 0x14011f329
add edi, 0xffff0000
mov ecx, edi
shr ecx, 0xa
or ecx, 0xd800
and edi, 0x3ff
or edi, 0xdc00
mov r12d, edi
mov eax, 2
mov edi, ecx
jmp 0x14011f331
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x58]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14011f7e8
mov edx, 2
mov rcx, rdi
call fcn.140004990
jmp 0x14011f7e8
test rbx, rbx
je 0x14011f761
mov edx, 2
mov rcx, rdi
call fcn.140004990
mov qword [rbp + 0x68], 0
mov word [rbp + 0x84], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x74], xmm0
movzx eax, byte [rbp + 0xa5]
mov byte [rbp + 0x81], al
xor al, 1
mov byte [rbp + 0x80], al
mov dword [rbp], 0x18
mov qword [rbp + 8], 0
mov dword [rbp + 0x10], 1
mov rax, rbp
mov qword [rbp + 0x60], rax
mov rsi, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
mov qword [rbp - 0x38], r15
mov byte [rbp + 0xa7], 1
mov byte [rbp + 0xa6], 0
lea r8, [rbp + 0x60]
mov rcx, rsi
call fcn.1401108b0
test rax, rax
je 0x14011f82a
mov rax, qword [rbp + 0x58]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rsi, r15
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x14011f801
mov rcx, qword [rbp + 0x20]
not rdx
shr rdx, 0x3f
call fcn.140004990
cmp r15, 0xffffffffffffffff
je 0x14011f80f
mov rcx, rsi
call sub.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
mov rax, qword [rbp + 0x58]
mov qword [rax + 8], r15
mov qword [rax + 0x10], rdx
mov qword [rax], 0
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x14011f80f
not rdx
shr rdx, 0x3f
mov rcx, rsi
call fcn.140004990
jmp 0x14011f80f
test rdx, rdx
jne 0x14011f863
call fcn.14000f0a0
jmp 0x14011f89a
call fcn.14014d010
jmp 0x14011f89a
mov byte [rbp + 0xa7], 1
mov byte [rbp + 0xa6], 1
mov edx, 2
mov rcx, rbx
call fcn.14014d010
jmp 0x14011f89a
mov byte [rbp + 0xa7], 1
mov byte [rbp + 0xa6], 1
call fcn.14000f0a0
ud2