Function at 0x44bfb0
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 + 0x50], rcx
mov byte [rsp + 0x4f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x70], ecx
xor eax, eax
mov qword [rsp + 0xd0], rax
mov ebx, 8
mov dil, 1
xorps xmm6, xmm6
jmp 0x44c023
mov eax, ecx
mov qword [rsp + 0xd0], rax
mov rcx, qword [0x00bb5140]
xor edi, edi
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov rsi, r14
mov rbp, r15
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rsp + 0x7c], eax
jmp 0x44c03f
mov rax, qword [rsp + 0x80]
xchg qword [0x00bb5168], rax
mov rax, qword [0x00bb5168]
test rax, rax
jne 0x44c080
movaps xmmword [rsp + 0x80], xmm6
xor ecx, ecx
lea rdx, [rsp + 0x80]
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x44c030
call fcn.0043e1b0
jmp 0x44c038
mov eax, 1
lock xadd qword [0x00bb5168], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0xb0], rax
lea rax, [0x0040f8f0]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.0040fa10]
mov qword [rsp + 0xc8], rax
lea rax, str..pipe__rust_anonymous_pipe1__..
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 2
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0x80]
call fcn.00408270
mov r15, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xf8]
test rbp, rbp
sete al
or dil, al
test dil, 1
jne 0x44c161
mov rcx, qword [0x00bb5140]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
lea rax, [r14 + r12]
mov qword [rsp + 0x68], rax
test r12, r12
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xd8], r12
je 0x44c1a0
movzx ecx, byte [r14]
test cl, cl
js 0x44c1c0
lea rbx, [r14 + 1]
mov ebp, ecx
jmp 0x44c219
xor ebp, ebp
xor ebx, ebx
xor r15d, r15d
xor r13d, r13d
xor edi, edi
jmp 0x44c248
mov ebp, ecx
and ebp, 0x1f
movzx edx, byte [r14 + 1]
and edx, 0x3f
cmp cl, 0xdf
jbe 0x44c210
movzx eax, byte [r14 + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x44c591
lea rbx, [r14 + 4]
movzx ecx, byte [r14 + 3]
and ebp, 7
shl ebp, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, ebp
mov ebp, ecx
cmp ebp, 0xffff
jbe 0x44c219
jmp 0x44c5a8
lea rbx, [r14 + 2]
shl ebp, 6
or ebp, edx
xor r15d, r15d
mov rdi, qword [rsp + 0x68]
sub rdi, rbx
add rdi, 3
mov rax, 0xffffffffffffffff
cmovb rdi, rax
shr rdi, 2
cmp r15w, 1
sbb rdi, 0xffffffffffffffff
inc rdi
mov r13w, 1
cmp rdi, 4
mov eax, 3
cmovb rdi, rax
movabs rax, 0x3fffffffffffffff
cmp rdi, rax
jae 0x44c74d
lea r14, [rdi + rdi]
add r14, 2
mov rax, qword [0x00bb5140]
test rax, rax
jne 0x44c291
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x44c73e
mov qword [0x00bb5140], rax
mov rcx, rax
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x44c73e
mov rsi, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0x74], eax
inc rdi
mov word [rsi], bp
mov r14d, 1
mov rcx, rsi
jmp 0x44c2e4
mov rbp, rdi
mov eax, r15d
mov word [rcx + r14*2], ax
inc r14
mov rdi, rbp
mov r15d, r12d
test rbx, rbx
je 0x44c370
test r15w, r15w
je 0x44c340
xor r12d, r12d
cmp r14, rdi
jne 0x44c2d0
mov rbp, qword [rsp + 0x68]
sub rbp, rbx
add rbp, 3
mov rax, 0xffffffffffffffff
cmovb rbp, rax
shr rbp, 2
cmp r12w, 1
sbb rbp, 0xffffffffffffffff
cmp r13w, 1
sbb rbp, 0xffffffffffffffff
inc rbp
add rbp, r14
jae 0x44c39f
jmp 0x44c730
cmp rbx, qword [rsp + 0x68]
je 0x44c370
movzx eax, byte [rbx]
test al, al
js 0x44c456
inc rbx
mov r15d, eax
xor r12d, r12d
cmp r14, rdi
jne 0x44c2d0
jmp 0x44c2fb
cmp r13w, 1
jne 0x44c510
xor ebx, ebx
xor eax, eax
cmp r14, rdi
jne 0x44c440
xor r13d, r13d
mov r12d, r15d
xor r15d, r15d
xor ebp, ebp
inc rbp
add rbp, r14
jb 0x44c730
lea rax, [rdi + rdi]
cmp rax, rbp
cmova rbp, rax
cmp rbp, 5
jae 0x44c3b5
mov ebp, 4
xor r8d, r8d
movabs rcx, 0x3fffffffffffffff
cmp rbp, rcx
setbe r8b
mov rdx, rbp
add rdx, rbp
add r8, r8
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
lea rcx, [rsp + 0xb0]
lea r9, [rsp + 0x80]
call fcn.00450f10
cmp qword [rsp + 0xb0], 0
mov rcx, qword [rsp + 0xb8]
je 0x44c44e
mov rdx, qword [rsp + 0xc0]
movabs rax, 0x8000000000000001
cmp rdx, rax
jne 0x44c72b
mov rbp, rdi
mov rcx, rsi
jmp 0x44c2d3
mov rbp, rdi
mov r12d, r15d
xor r13d, r13d
jmp 0x44c2d6
mov rsi, rcx
jmp 0x44c2d3
mov r15d, eax
and r15d, 0x1f
movzx r8d, byte [rbx + 1]
and r8d, 0x3f
cmp al, 0xdf
jbe 0x44c4a6
movzx edx, byte [rbx + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp al, 0xf0
jb 0x44c4c2
movzx eax, byte [rbx + 3]
add rbx, 4
and r15d, 7
shl r15d, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or r15d, eax
cmp r15d, 0xffff
jbe 0x44c2f3
jmp 0x44c4da
add rbx, 2
shl r15d, 6
or r15d, r8d
xor r12d, r12d
cmp r14, rdi
jne 0x44c2d0
jmp 0x44c2fb
add rbx, 3
shl r15d, 0xc
or r15d, edx
cmp r15d, 0xffff
jbe 0x44c2f3
lea eax, [r15 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r15d, 0x3ff
or r15d, 0xdc00
mov r12d, r15d
mov r15d, eax
cmp r14, rdi
jne 0x44c2d0
jmp 0x44c2fb
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 + 0x70]
mov ebx, dword [rsp + 0x78]
mov r8d, ebx
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov rbp, rax
cmp rax, 0xffffffffffffffff
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xd8]
jne 0x44c63c
call sub.kernel32.dll_GetLastError
mov ecx, dword [rsp + 0x74]
cmp ecx, 0xa
jge 0x44c5cc
cmp eax, 5
je 0x44c000
test ebx, ebx
je 0x44c5cc
xor ebx, ebx
cmp eax, 0x57
je 0x44c00a
jmp 0x44c5cc
lea rbx, [r14 + 3]
shl ebp, 0xc
or eax, ebp
mov ebp, eax
cmp ebp, 0xffff
jbe 0x44c219
lea eax, [rbp + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and ebp, 0x3ff
or ebp, 0xdc00
mov r15d, ebp
mov ebp, eax
jmp 0x44c21c
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rcx, qword [0x00bb5140]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov rsi, 0xffffffffffffffff
test r15, r15
je 0x44c612
mov rcx, qword [0x00bb5140]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
cmp rbp, 0xffffffffffffffff
je 0x44c620
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
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
mov rcx, qword [0x00bb5140]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov dword [rsp + 0x88], 0
mov dword [rsp + 0xa0], 0
mov word [rsp + 0xa4], 0
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0xa1], al
xor al, 1
mov byte [rsp + 0xa0], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xb0], 0x18
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x80], rax
lea r8, [rsp + 0x80]
mov rcx, r14
mov rdx, rdi
call fcn.0042b180
test rax, rax
je 0x44c6f8
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rsi, rbp
test r15, r15
jne 0x44c601
jmp 0x44c612
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdx
mov qword [rax], 0
test r15, r15
je 0x44c620
mov rcx, qword [0x00bb5140]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
jmp 0x44c620
test rdx, rdx
jne 0x44c737
call fcn.00407ff0
jmp 0x44c752
call fcn.00408470
jmp 0x44c752
mov edx, 2
mov rcx, r14
call fcn.00408470
jmp 0x44c752
call fcn.00407ff0
ud2