Function at 0x448c50
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 + 0x98], rcx
mov byte [rsp + 0x4f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0xa8], ecx
xor eax, eax
mov qword [rsp + 0xd8], rax
mov edi, 8
mov bl, 1
xorps xmm6, xmm6
nop dword [rax]
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsp + 0xb4], eax
jmp 0x448cbc
mov rax, qword [rsp + 0x50]
xchg qword [0x004fb188], rax
mov rax, qword [0x004fb188]
test rax, rax
jne 0x448cf0
movaps xmmword [rsp + 0x50], xmm6
xor ecx, ecx
lea rdx, [rsp + 0x50]
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x448cb0
call fcn.00450030
jmp 0x448cb5
mov eax, 1
lock xadd qword [0x004fb188], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0xb8], rax
lea rax, [fcn.004adf00]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc8], rax
lea rax, [fcn.004ae150]
mov qword [rsp + 0xd0], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0x50]
call fcn.0048bcf0
movups xmm0, xmmword [rsp + 0xe8]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
test bl, 1
jne 0x448dc9
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x448dc9
mov rcx, qword [rsp + 0x80]
mov r8d, 1
call sym.unk_42
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov rbp, qword [rsp + 0x80]
lea rcx, [rax + rbp]
mov qword [rsp + 0xa0], rcx
test rax, rax
mov dword [rsp + 0xb0], edi
je 0x448e20
movzx ecx, byte [rbp]
test cl, cl
js 0x448e40
inc rbp
mov r14d, ecx
jmp 0x448e9f
xor r14d, r14d
xor ebp, ebp
xor r12d, r12d
xor edi, edi
xor r15d, r15d
jmp 0x448ecc
mov r14d, ecx
and r14d, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp cl, 0xdf
jbe 0x448e94
movzx eax, byte [rbp + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x44924f
movzx ecx, byte [rbp + 3]
add rbp, 4
and r14d, 7
shl r14d, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, r14d
mov r14d, ecx
cmp r14d, 0xffff
jbe 0x448e9f
jmp 0x44926a
add rbp, 2
shl r14d, 6
or r14d, edx
mov eax, 1
xor r12d, r12d
mov r15, qword [rsp + 0xa0]
sub r15, rbp
add r15, 3
mov rcx, 0xffffffffffffffff
cmovb r15, rcx
shr r15, 2
add r15, rax
mov di, 1
cmp r15, 4
mov eax, 3
cmovb r15, rax
movabs rax, 0x3fffffffffffffff
cmp r15, rax
jae 0x449425
inc r15
lea rbx, [r15 + r15]
mov rax, qword [0x004e92c8]
movzx eax, byte [rax]
mov edx, 2
mov rcx, rbx
call sym.unk_41
test rax, rax
je 0x44942c
mov rsi, rax
mov rax, qword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xac], eax
mov word [rsi], r14w
mov ebx, 1
mov rcx, rsi
jmp 0x448f55
mov r13, r15
mov r14d, r12d
xor edi, edi
mov word [rcx + rbx*2], ax
inc rbx
mov r15, r13
mov r12d, r14d
test rbp, rbp
je 0x448ff0
test r12w, r12w
je 0x448fb0
xor r14d, r14d
cmp rbx, r15
jne 0x448fe0
mov r13, qword [rsp + 0xa0]
sub r13, rbp
add r13, 3
mov rax, 0xffffffffffffffff
cmovb r13, rax
shr r13, 2
cmp r14w, 1
sbb r13, 0xffffffffffffffff
cmp di, 1
sbb r13, 0xffffffffffffffff
inc r13
add r13, rbx
jae 0x44901e
jmp 0x44940f
cmp rbp, qword [rsp + 0xa0]
je 0x448ff0
movzx eax, byte [rbp]
test al, al
js 0x4490c4
inc rbp
mov r12d, eax
xor r14d, r14d
cmp rbx, r15
je 0x448f6c
nop word cs:[rax + rax]
mov r13, r15
jmp 0x4490bc
cmp di, 1
jne 0x449180
xor ebp, ebp
xor eax, eax
cmp rbx, r15
jne 0x448f40
xor edi, edi
mov r14d, r12d
xor r12d, r12d
xor r13d, r13d
inc r13
add r13, rbx
jb 0x44940f
lea rax, [r15 + r15]
cmp rax, r13
cmova r13, rax
cmp r13, 5
jae 0x449035
mov r13d, 4
xor edx, edx
movabs rcx, 0x3fffffffffffffff
cmp r13, rcx
setbe dl
mov r8, r13
add r8, r13
add rdx, rdx
test r15, r15
je 0x44906a
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x60], rax
jmp 0x449073
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0xb8]
lea r9, [rsp + 0x50]
call fcn.0040f8d0
cmp qword [rsp + 0xb8], 0
mov rcx, qword [rsp + 0xc0]
je 0x4490b9
movabs rax, 0x8000000000000001
cmp rcx, rax
jne 0x44940a
mov r13, r15
mov eax, r12d
mov rcx, rsi
jmp 0x448f48
mov rsi, rcx
mov eax, r12d
jmp 0x448f48
mov r12d, eax
and r12d, 0x1f
movzx r8d, byte [rbp + 1]
and r8d, 0x3f
cmp al, 0xdf
jbe 0x449114
movzx edx, byte [rbp + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp al, 0xf0
jb 0x449130
movzx eax, byte [rbp + 3]
add rbp, 4
and r12d, 7
shl r12d, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or r12d, eax
cmp r12d, 0xffff
jbe 0x448f64
jmp 0x449148
add rbp, 2
shl r12d, 6
or r12d, r8d
xor r14d, r14d
cmp rbx, r15
jne 0x448fe0
jmp 0x448f6c
add rbp, 3
shl r12d, 0xc
or r12d, edx
cmp r12d, 0xffff
jbe 0x448f64
lea eax, [r12 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov r14d, r12d
mov r12d, eax
cmp rbx, r15
jne 0x448fe0
jmp 0x448f6c
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 + 0xa8]
mov edi, dword [rsp + 0xb0]
mov r8d, edi
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x44930e
call sub.KERNEL32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x50], rcx
mov edx, dword [rsp + 0xac]
cmp edx, 0xa
jge 0x449298
cmp eax, 5
jne 0x449210
mov eax, edx
mov qword [rsp + 0xd8], rax
jmp 0x44921f
test edi, edi
je 0x449298
xor edi, edi
cmp eax, 0x57
jne 0x449298
lea rcx, [rsp + 0x50]
call sym.unk_132
xor ebx, ebx
test r15, r15
je 0x448ca0
add r15, r15
mov r8d, 2
mov rcx, rsi
mov rdx, r15
call sym.unk_42
xor ebx, ebx
jmp 0x448ca0
add rbp, 3
shl r14d, 0xc
or eax, r14d
mov r14d, eax
cmp r14d, 0xffff
jbe 0x448e9f
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov r12d, r14d
mov eax, 2
mov r14d, ecx
jmp 0x448ea7
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], rcx
mov qword [rax], 1
test r15, r15
je 0x4492c4
add r15, r15
mov r8d, 2
mov rcx, rsi
mov rdx, r15
call sym.unk_42
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x4492e4
mov rcx, qword [rsp + 0x80]
mov r8d, 1
call sym.unk_42
cmp rbx, 0xffffffffffffffff
je 0x4492f2
mov rcx, rbx
call fcn.004bccb8
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 r15, r15
je 0x449327
add r15, r15
mov r8d, 2
mov rcx, rsi
mov rdx, r15
call sym.unk_42
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0x71], al
xor al, 1
mov byte [rsp + 0x70], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0xb8], 0x18
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xc8], 1
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.00440d10
test rax, rax
je 0x4493cf
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0x88]
test rdx, rdx
jne 0x4492d1
jmp 0x4492e4
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
mov qword [rax], 0
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x4492f2
mov r8d, 1
mov rcx, rsi
call sym.unk_42
jmp 0x4492f2
test rcx, rcx
jne 0x449416
call fcn.0048a870
jmp 0x449439
mov rdx, qword [rsp + 0xc8]
call fcn.0048a8b0
jmp 0x449439
call fcn.0048a870
jmp 0x449439
mov ecx, 2
mov rdx, rbx
call fcn.0048a8b0
ud2