Function at 0x1400f93d0
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, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov byte [rsp + 0x43], r8b
mov qword [rsp + 0x80], rcx
mov byte [rsp + 0x42], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x48], ecx
xor eax, eax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x44], 8
mov sil, 1
xorps xmm6, xmm6
lea rbp, [rsp + 0x50]
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
lea r14, [rsp + 0x90]
jmp 0x1400f9445
xor esi, esi
mov r14, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x1401d9c68]
test rax, rax
je 0x1400f9478
jmp 0x1400f94ad
call fcn.1400f3150
xchg qword [0x1401d9c68], rax
mov rax, qword [0x1401d9c68]
test rax, rax
jne 0x1400f94ad
movaps xmmword [rsp + 0x50], xmm6
xor ecx, ecx
mov rdx, rbp
mov r8d, 0x10
mov r9d, 2
call r12
test eax, eax
js 0x1400f9460
mov rax, qword [rsp + 0x50]
xchg qword [0x1401d9c68], rax
mov rax, qword [0x1401d9c68]
test rax, rax
je 0x1400f9478
mov eax, 1
lock xadd qword [0x1401d9c68], rax
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x90], rax
lea rax, [0x140107ec0]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa0], rax
lea rax, [fcn.140108110]
mov qword [rsp + 0xa8], rax
lea rax, str..pipe__rust_anonymous_pipe1__..
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 2
lea rcx, [rsp + 0xb8]
mov rdx, rbp
call fcn.1400fee40
test rdi, rdi
sete al
or sil, al
test sil, 1
jne 0x1400f955a
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.14000dd90
mov rdi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xc8]
lea rax, [rbx + r15]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x60], 0
mov dword [rsp + 0x68], 1
mov r13, r14
mov rcx, r14
mov rdx, rbp
call fcn.1400f3c30
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, rsi
mov edx, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400f96d8
mov rax, qword [rsp + 0x88]
lea r15d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r15d, 0xa
jge 0x1400f965b
cmp eax, 5
jne 0x1400f9620
mov eax, r15d
mov qword [rsp + 0x88], rax
jmp 0x1400f9634
cmp dword [rsp + 0x44], 0
je 0x1400f965b
mov dword [rsp + 0x44], 0
cmp eax, 0x57
jne 0x1400f965b
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x1400f9440
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14000dd90
jmp 0x1400f9440
shl rax, 0x20
or rax, 2
mov r15, qword [rsp + 0x80]
mov qword [r15 + 8], rax
mov qword [r15], 1
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x1400f9694
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14000dd90
test rdi, rdi
je 0x1400f96aa
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.14000dd90
cmp r14, 0xffffffffffffffff
je 0x1400f96b9
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r15
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x1400f96f6
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14000dd90
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x71], al
xor al, 1
mov byte [rsp + 0x70], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movzx eax, byte [rsp + 0x43]
mov dword [rsp + 0x90], 0x18
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0x50], r13
lea r8, [rsp + 0x50]
mov rcx, rbx
mov rdx, r15
call fcn.1400f15e0
test rax, rax
mov r15, qword [rsp + 0x80]
je 0x1400f9782
mov qword [r15 + 8], rdx
mov qword [r15], 1
test rdi, rdi
jne 0x1400f9699
jmp 0x1400f96aa
mov qword [r15 + 8], r14
mov qword [r15 + 0x10], rdx
mov qword [r15], 0
test rdi, rdi
je 0x1400f96b9
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.14000dd90
jmp 0x1400f96b9