Function at 0x44fae0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0x8f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x54], ecx
mov r14d, 8
mov dil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x10]
xor eax, eax
mov qword [rbp - 0x18], rax
nop
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rbp + 0x4c], eax
mov rax, qword [0x004df148]
test rax, rax
jne 0x44fb78
nop word cs:[rax + rax]
movaps xmmword [rbp + 0x10], xmm6
mov edx, 0x10
mov rcx, rbx
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rbp + 0x10]
mov qword [0x004df148], rax
mov rax, qword [0x004df148]
test rax, rax
je 0x44fb50
mov eax, 1
lock xadd qword [0x004df148], rax
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x4c]
mov qword [rbp - 0x10], rax
lea rax, [0x0049eeb0]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x28]
mov qword [rbp], rax
lea rax, [fcn.0049f110]
mov qword [rbp + 8], rax
lea rax, [0x004ae2f8]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 2
mov qword [rbp + 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 2
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.004805e0
test r15, r15
sete al
or dil, al
test dil, 1
jne 0x44fc0b
mov r8d, 1
mov rcx, qword [rbp + 0x80]
mov rdx, r15
call fcn.00404450
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
mov r9, qword [rbp - 0x30]
lea rax, [r8 + r9]
mov qword [rbp + 0x58], rax
test r9, r9
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x80], r8
mov dword [rbp + 0x50], r14d
mov qword [rbp - 0x20], r9
je 0x44fc50
movzx eax, byte [r8]
test al, al
js 0x44fc70
lea r15, [r8 + 1]
mov r13d, eax
jmp 0x44fccd
mov eax, 4
mov qword [rbp + 0x68], rax
mov edi, 8
xor ebx, ebx
xor r15d, r15d
xor r13d, r13d
xor r12d, r12d
jmp 0x44fd23
mov r13d, eax
and r13d, 0x1f
movzx edx, byte [r8 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x44fcc2
movzx ecx, byte [r8 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x44fff4
lea r15, [r8 + 4]
movzx eax, byte [r8 + 3]
and r13d, 7
shl r13d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r13d, eax
cmp r13d, 0xffff
jbe 0x44fccd
jmp 0x45000c
lea r15, [r8 + 2]
shl r13d, 6
or r13d, edx
xor ebx, ebx
xor eax, eax
mov r10, qword [rbp + 0x58]
sub r10, r15
add r10, 3
mov rdx, 0xffffffffffffffff
cmovb r10, rdx
shr r10, 2
add r10, rax
cmp r10, 3
mov edx, 2
cmovae rdx, r10
lea rdi, [rdx*2 + 4]
movabs rax, 0x3ffffffffffffffd
cmp r10, rax
ja 0x450198
add rdx, 2
mov qword [rbp + 0x68], rdx
mov r12w, 1
mov rax, qword [0x004cc798]
movzx eax, byte [rax]
mov r14d, 2
mov edx, 2
mov rcx, rdi
call fcn.00404440
test rax, rax
je 0x45019b
mov rsi, rax
mov rax, qword [rbp - 0x18]
inc eax
mov dword [rbp + 0x7c], eax
mov word [rsi], r13w
mov r14d, 1
mov r9, r12
mov rdx, qword [rbp + 0x68]
jmp 0x44fd80
mov r13, rdx
mov ebx, eax
mov word [rsi + r14*2], di
inc r14
mov rdx, r13
test r15, r15
je 0x44fdf0
test bx, bx
je 0x44fdd0
xor eax, eax
mov edi, ebx
cmp r14, rdx
jne 0x44fd70
mov r13, qword [rbp + 0x58]
sub r13, r15
add r13, 3
mov rcx, 0xffffffffffffffff
cmovb r13, rcx
shr r13, 2
cmp ax, 1
sbb r13, 0xffffffffffffffff
cmp r9w, 1
sbb r13, 0xffffffffffffffff
mov ebx, eax
jmp 0x44fe11
cmp r15, qword [rbp + 0x58]
je 0x44fdf0
movzx eax, byte [r15]
test al, al
js 0x44feb3
inc r15
mov edi, eax
xor eax, eax
jmp 0x44fd8e
cmp r9w, 1
jne 0x44ff50
xor r15d, r15d
xor r9d, r9d
mov edi, 0
mov r13d, 0
cmp r14, rdx
jne 0x44fe70
inc r13
add r13, r14
mov qword [rbp + 0x68], rdx
jb 0x45018b
mov r12, rsi
lea rcx, [rdx + rdx]
cmp rcx, r13
cmova r13, rcx
movabs rax, 0x3ffffffffffffffd
add rax, 2
mov r10, rdx
xor edx, edx
cmp r13, rax
setbe al
cmp r13, 5
mov r8d, 4
cmovb r13, r8
mov rsi, r9
test r10, r10
je 0x44fe7a
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], rcx
mov ecx, 2
jmp 0x44fe7c
mov r13, rdx
xor edi, edi
jmp 0x44fd75
xor ecx, ecx
lea r8, [r13*2]
mov dl, al
add edx, edx
mov qword [rbp + 0x18], rcx
lea rcx, [rbp - 0x10]
lea r9, [rbp + 0x10]
call fcn.0041d300
cmp qword [rbp - 0x10], 0
jne 0x45017e
mov rax, qword [rbp - 8]
mov r9, rsi
mov rsi, rax
jmp 0x44fd75
mov r8, rdx
mov edi, eax
and edi, 0x1f
movzx edx, byte [r15 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x44ff03
movzx ecx, byte [r15 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x44ff16
movzx eax, byte [r15 + 3]
add r15, 4
and edi, 7
shl edi, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or edi, eax
mov rdx, r8
cmp edi, 0xffff
ja 0x44ff2a
xor eax, eax
jmp 0x44fd8e
add r15, 2
shl edi, 6
or edi, edx
mov rdx, r8
xor eax, eax
jmp 0x44fd8e
add r15, 3
shl edi, 0xc
or edi, ecx
mov rdx, r8
cmp edi, 0xffff
jbe 0x44fefc
lea ecx, [rdi + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and edi, 0x3ff
or edi, 0xdc00
mov eax, edi
mov edi, ecx
jmp 0x44fd8e
mov rdi, rdx
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 [rbp + 0x54]
mov r14d, dword [rbp + 0x50]
mov r8d, r14d
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x4500aa
call sub.KERNEL32.dll_GetLastError
cmp dword [rbp + 0x7c], 9
mov r15, qword [rbp + 0x70]
mov rdx, rdi
jg 0x45003a
cmp eax, 5
jne 0x44ffc0
mov eax, dword [rbp + 0x7c]
mov qword [rbp - 0x18], rax
jmp 0x44ffcd
test r14d, r14d
je 0x45003a
xor r14d, r14d
cmp eax, 0x57
jne 0x45003a
xor edi, edi
test rdx, rdx
lea rbx, [rbp + 0x10]
je 0x44fb30
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.00404450
xor edi, edi
jmp 0x44fb30
lea r15, [r8 + 3]
shl r13d, 0xc
or r13d, ecx
cmp r13d, 0xffff
jbe 0x44fccd
lea ecx, [r13 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r13d, 0x3ff
or r13d, 0xdc00
mov eax, 1
mov ebx, r13d
mov r13d, ecx
jmp 0x44fcd1
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 8], rax
mov qword [rcx], 1
test rdx, rdx
je 0x450067
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.00404450
test r15, r15
je 0x450081
mov r8d, 1
mov rcx, qword [rbp + 0x80]
mov rdx, r15
call fcn.00404450
cmp rbx, 0xffffffffffffffff
je 0x45008f
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0x90]
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
test rdi, rdi
mov r15, qword [rbp + 0x70]
je 0x4500c7
mov rdx, rdi
add rdx, rdi
mov r8d, 2
mov rcx, rsi
call fcn.00404450
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x30], 0
mov word [rbp + 0x34], 0
movzx eax, byte [rbp + 0x8f]
mov byte [rbp + 0x31], al
xor al, 1
mov byte [rbp + 0x30], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp - 0x10], 0x18
mov qword [rbp - 8], 0
mov dword [rbp], 1
lea rax, [rbp - 0x10]
mov qword [rbp + 0x18], rax
xor r12d, r12d
lea r8, [rbp + 0x10]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp - 0x20]
call fcn.00449ee0
test rax, rax
je 0x450148
mov rax, qword [rbp + 0x60]
mov qword [rax + 8], rdx
mov qword [rax], 1
test r15, r15
jne 0x45006c
jmp 0x450081
mov rax, qword [rbp + 0x60]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
mov qword [rax], 0
test r15, r15
je 0x45008f
mov r8d, 1
mov rcx, qword [rbp + 0x80]
mov rdx, r15
call fcn.00404450
jmp 0x45008f
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp]
mov rsi, r12
jmp 0x45018d
xor ecx, ecx
mov r15, qword [rbp + 0x70]
call fcn.0047efe0
xor r14d, r14d
mov r12b, 1