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

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 byte [rsp + 0x4f], r8b
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x4e], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x58], ecx
xor r15d, r15d
mov r13d, 8
mov bpl, 1
xorps xmm6, xmm6
lea r12, [rsp + 0x60]
jmp 0x140029c92
xor ebp, ebp
call fcn.140094334
mov dword [rsp + 0x5c], eax
jmp 0x140029cac
mov rax, qword [rsp + 0x60]
xchg qword [0x140132158], rax
mov rax, qword [0x140132158]
test rax, rax
jne 0x140029ce0
movaps xmmword [rsp + 0x60], xmm6
xor ecx, ecx
mov rdx, r12
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x140029ca0
call sym._ZN3std3sys3pal7windows4rand12fallback_rng17h4d091330f59922afE.llvm.2863200704538083093
jmp 0x140029ca5
mov eax, 1
lock xadd qword [0x140132158], rax
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x90], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::ha824a0a5e02e58e5]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa0], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::h4dd149a8faca797d]
mov qword [rsp + 0xa8], rax
lea rax, [0x140109408]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
lea rcx, [rsp + 0xb8]
mov rdx, r12
call sym.alloc::fmt::format::format_inner::h90d4b6f3b9862d83
test rsi, rsi
sete al
or bpl, al
test bpl, 1
jne 0x140029d98
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
lea rax, [rdi + rbx]
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rax
mov word [rsp + 0xe0], 0
mov dword [rsp + 0xe8], 1
mov rcx, r12
lea rdx, [rsp + 0xd0]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17hab8465f70c
mov rbp, qword [rsp + 0x68]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, rbp
mov edx, dword [rsp + 0x58]
mov r8d, r13d
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140029f06
lea ebx, [r15 + 1]
call sub.KERNEL32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp ebx, 9
jg 0x140029e96
cmp eax, 5
jne 0x140029e60
mov r15d, ebx
jmp 0x140029e6d
test r13d, r13d
je 0x140029e96
xor r13d, r13d
cmp eax, 0x57
jne 0x140029e96
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h14cde6b578e19753E.llvm.5209262893849974741
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140029c90
add rdx, rdx
mov r8d, 2
mov rcx, rbp
call sym.__rust_dealloc
jmp 0x140029c90
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov qword [rax], 1
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140029ec1
add rdx, rdx
mov r8d, 2
mov rcx, rbp
call sym.__rust_dealloc
test rsi, rsi
je 0x140029ed7
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
cmp r14, 0xffffffffffffffff
je 0x140029ee5
mov rcx, r14
call fcn.14009441c
mov rax, qword [rsp + 0x50]
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 rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140029f21
add rdx, rdx
mov r8d, 2
mov rcx, rbp
call sym.__rust_dealloc
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x7c], 0
mov word [rsp + 0x84], 0
movzx eax, byte [rsp + 0x4e]
mov byte [rsp + 0x81], al
xor al, 1
mov byte [rsp + 0x80], al
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x4f]
mov dword [rsp + 0x90], 0x18
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa0], eax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x60]
mov rcx, rdi
mov rdx, rbx
call sym.std::sys::pal::windows::fs::File::open::h7609c7b741d55eaf
test rax, rax
je 0x140029fc5
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rdx
mov qword [rax], 1
test rsi, rsi
jne 0x140029ec6
jmp 0x140029ed7
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], r14
mov qword [rax + 0x10], rdx
mov qword [rax], 0
test rsi, rsi
je 0x140029ee5
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
jmp 0x140029ee5