Function at 0x1401f83f0
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, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x90], rcx
mov byte [rsp + 0x4f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0xa0], ecx
xor eax, eax
mov qword [rsp + 0xd0], rax
mov ebx, 8
mov dil, 1
xorps xmm6, xmm6
nop dword [rax]
call fcn.140249d5c
mov dword [rsp + 0xac], eax
mov rax, qword [0x14034c2d0]
test rax, rax
mov rsi, qword [rsp + 0x58]
je 0x1401f858c
mov eax, 1
lock xadd qword [0x14034c2d0], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0xb0], rax
lea rax, [0x140246900]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.140246b50]
mov qword [rsp + 0xc8], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0x60]
call fcn.140228230
test rsi, rsi
sete al
or dil, al
test dil, 1
jne 0x1401f8520
mov r8d, 1
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.14000ea40
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
lea rax, [r9 + rcx]
mov qword [rsp + 0x98], rax
test rcx, rcx
mov dword [rsp + 0xa8], ebx
mov qword [rsp + 0xd8], rcx
je 0x1401f85c0
movzx eax, byte [r9]
test al, al
js 0x1401f85e0
lea rbp, [r9 + 1]
mov edi, eax
jmp 0x1401f8635
mov rax, qword [rsp + 0x60]
xchg qword [0x14034c2d0], rax
mov rax, qword [0x14034c2d0]
test rax, rax
jne 0x1401f8461
movaps xmmword [rsp + 0x60], xmm6
xor ecx, ecx
lea rdx, [rsp + 0x60]
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x1401f8570
call fcn.1401ff520
jmp 0x1401f8575
xor r12d, r12d
xor r14d, r14d
xor edi, edi
xor ebp, ebp
xor esi, esi
jmp 0x1401f8663
mov edi, eax
and edi, 0x1f
movzx edx, byte [r9 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x1401f862c
movzx ecx, byte [r9 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x1401f899b
lea rbp, [r9 + 4]
movzx eax, byte [r9 + 3]
and edi, 7
shl edi, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or edi, eax
cmp edi, 0xffff
jbe 0x1401f8635
jmp 0x1401f89b0
lea rbp, [r9 + 2]
shl edi, 6
or edi, edx
mov eax, 1
xor r12d, r12d
mov rsi, qword [rsp + 0x98]
sub rsi, rbp
add rsi, 3
mov rcx, 0xffffffffffffffff
cmovb rsi, rcx
shr rsi, 2
add rsi, rax
mov r14w, 1
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
cmp rsi, 4
mov eax, 3
cmovb rsi, rax
movabs rax, 0x3ffffffffffffffe
cmp rsi, rax
ja 0x1401f8b66
inc rsi
lea r13, [rsi + rsi]
mov rax, qword [0x14031ef28]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r13
call fcn.14000ea30
test rax, rax
je 0x1401f8b6f
mov r15, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0xa4], eax
mov word [r15], di
mov r13d, 1
mov rcx, r15
jmp 0x1401f86f1
mov rbx, rsi
mov r12d, eax
mov word [rcx + r13*2], di
inc r13
mov rsi, rbx
test rbp, rbp
je 0x1401f8760
test r12w, r12w
je 0x1401f8740
xor eax, eax
mov edi, r12d
cmp r13, rsi
jne 0x1401f86e0
mov rbx, qword [rsp + 0x98]
sub rbx, rbp
add rbx, 3
mov rcx, 0xffffffffffffffff
cmovb rbx, rcx
shr rbx, 2
cmp ax, 1
sbb rbx, 0xffffffffffffffff
cmp r14w, 1
sbb rbx, 0xffffffffffffffff
mov r12d, eax
jmp 0x1401f877f
cmp rbp, qword [rsp + 0x98]
je 0x1401f8760
movzx eax, byte [rbp]
test al, al
js 0x1401f8837
inc rbp
mov edi, eax
xor eax, eax
jmp 0x1401f8701
cmp r14w, 1
jne 0x1401f88d0
xor ebp, ebp
xor r14d, r14d
mov edi, 0
mov ebx, 0
cmp r13, rsi
jne 0x1401f87d0
inc rbx
add rbx, r13
jb 0x1401f8b50
lea rax, [rsi + rsi]
cmp rax, rbx
cmova rbx, rax
cmp rbx, 5
jae 0x1401f87a1
mov ebx, 4
movabs rcx, 0x3ffffffffffffffe
inc rcx
xor edx, edx
cmp rbx, rcx
setbe cl
test rsi, rsi
je 0x1401f87da
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 2
mov qword [rsp + 0x70], rax
jmp 0x1401f87e3
mov rbx, rsi
xor edi, edi
jmp 0x1401f86e6
mov qword [rsp + 0x68], 0
lea r8, [rbx + rbx]
mov dl, cl
add rdx, rdx
lea rcx, [rsp + 0xb0]
lea r9, [rsp + 0x60]
call fcn.1401c1240
cmp qword [rsp + 0xb0], 0
mov rcx, qword [rsp + 0xb8]
je 0x1401f882f
movabs rax, 0x8000000000000001
cmp rcx, rax
jne 0x1401f8b4b
mov rbx, rsi
mov rcx, r15
jmp 0x1401f86e6
mov r15, rcx
jmp 0x1401f86e6
mov edi, eax
and edi, 0x1f
movzx r8d, byte [rbp + 1]
and r8d, 0x3f
cmp al, 0xdf
jbe 0x1401f8882
movzx edx, byte [rbp + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp al, 0xf0
jb 0x1401f8893
movzx eax, byte [rbp + 3]
add rbp, 4
and edi, 7
shl edi, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or edi, eax
cmp edi, 0xffff
ja 0x1401f88a4
xor eax, eax
jmp 0x1401f8701
add rbp, 2
shl edi, 6
or edi, r8d
xor eax, eax
jmp 0x1401f8701
add rbp, 3
shl edi, 0xc
or edi, edx
cmp edi, 0xffff
jbe 0x1401f887b
lea edx, [rdi + 0xff0000]
shr edx, 0xa
or edx, 0xd800
and edi, 0x3ff
or edi, 0xdc00
mov eax, edi
mov edi, edx
jmp 0x1401f8701
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, r15
mov edx, dword [rsp + 0xa0]
mov ebx, dword [rsp + 0xa8]
mov r8d, ebx
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401f8a4a
call fcn.140249d04
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x60], rcx
mov edx, dword [rsp + 0xa4]
cmp edx, 9
jg 0x1401f89da
cmp eax, 5
jne 0x1401f8960
mov eax, edx
mov qword [rsp + 0xd0], rax
jmp 0x1401f896b
test ebx, ebx
je 0x1401f89da
xor ebx, ebx
cmp eax, 0x57
jne 0x1401f89da
lea rcx, [rsp + 0x60]
call fcn.1401b74f0
xor edi, edi
test rsi, rsi
je 0x1401f8440
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.14000ea40
xor edi, edi
jmp 0x1401f8440
lea rbp, [r9 + 3]
shl edi, 0xc
or edi, ecx
cmp edi, 0xffff
jbe 0x1401f8635
lea ecx, [rdi + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and edi, 0x3ff
or edi, 0xdc00
mov eax, 2
mov r12d, edi
mov edi, ecx
jmp 0x1401f863d
mov rax, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov qword [rax], 1
test rsi, rsi
je 0x1401f8a06
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.14000ea40
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401f8a20
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call fcn.14000ea40
cmp rdi, 0xffffffffffffffff
je 0x1401f8a2e
mov rcx, rdi
call fcn.140249e64
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rsi, rsi
je 0x1401f8a63
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.14000ea40
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x80], 0
mov word [rsp + 0x84], 0
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0x81], al
xor al, 1
mov byte [rsp + 0x80], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0xb0], 0x18
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov sil, 1
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xd8]
call fcn.1401f03d0
test rax, rax
je 0x1401f8b11
mov rax, qword [rsp + 0x90]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x1401f8a10
jmp 0x1401f8a20
mov rax, qword [rsp + 0x90]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdx
mov qword [rax], 0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401f8a2e
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call fcn.14000ea40
jmp 0x1401f8a2e
test rcx, rcx
jne 0x1401f8b57
call fcn.140226c40
jmp 0x1401f8b7e
mov rdx, qword [rsp + 0xc0]
call fcn.140226c80
jmp 0x1401f8b7e
xor esi, esi
call fcn.140226c40
xor esi, esi
mov ecx, 2
mov rdx, r13
call fcn.140226c80