Function at 0x44d090
Capabilities:
Create pipe

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 + 0x60], 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 ebp, 8
mov dil, 1
xorps xmm6, xmm6
lea r14, [rsp + 0x80]
nop
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsp + 0x7c], eax
mov rax, qword [0x004d8148]
test rax, rax
jne 0x44d130
nop word cs:[rax + rax]
movaps xmmword [rsp + 0x80], xmm6
mov edx, 0x10
mov rcx, r14
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rsp + 0x80]
xchg qword [0x004d8148], rax
mov rax, qword [0x004d8148]
test rax, rax
je 0x44d100
mov eax, 1
lock xadd qword [0x004d8148], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0xb0], rax
lea rax, [0x0049c820]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.0049ca70]
mov qword [rsp + 0xc8], rax
lea rax, [0x004ab758]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rcx, [rsp + 0xe8]
mov rdx, r14
mov rsi, qword [rsp + 0x58]
call fcn.0047dc20
test rsi, rsi
sete al
or dil, al
test dil, 1
jne 0x44d1fb
mov r8d, 1
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.00404360
mov r8, qword [rsp + 0xe8]
mov r9, qword [rsp + 0xf0]
mov r10, qword [rsp + 0xf8]
lea rax, [r9 + r10]
mov qword [rsp + 0x68], rax
test r10, r10
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x78], ebp
mov qword [rsp + 0xd8], r10
je 0x44d250
movzx eax, byte [r9]
test al, al
js 0x44d270
lea rbp, [r9 + 1]
mov r14d, eax
jmp 0x44d2cd
mov esi, 4
mov r13d, 8
xor r12d, r12d
xor ebp, ebp
xor r14d, r14d
xor edi, edi
jmp 0x44d320
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [r9 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x44d2c2
movzx ecx, byte [r9 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x44d619
lea rbp, [r9 + 4]
movzx eax, byte [r9 + 3]
and r14d, 7
shl r14d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r14d, eax
cmp r14d, 0xffff
jbe 0x44d2cd
jmp 0x44d631
lea rbp, [r9 + 2]
shl r14d, 6
or r14d, edx
xor r12d, r12d
xor eax, eax
mov rcx, qword [rsp + 0x68]
sub rcx, rbp
add rcx, 3
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
shr rcx, 2
add rcx, rax
cmp rcx, 3
mov esi, 2
cmovae rsi, rcx
movabs rax, 0x3ffffffffffffffd
cmp rcx, rax
ja 0x44d80d
lea r13, [rsi*2 + 4]
add rsi, 2
mov di, 1
mov rax, qword [0x004c9598]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r13
call fcn.00404350
test rax, rax
je 0x44d7f6
mov r15, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0x74], eax
mov word [r15], r14w
mov r13d, 1
jmp 0x44d371
mov rbx, rsi
mov r12d, eax
mov word [r15 + r13*2], r14w
inc r13
mov rsi, rbx
test rbp, rbp
je 0x44d3e0
test r12w, r12w
je 0x44d3c0
xor eax, eax
mov r14d, r12d
cmp r13, rsi
jne 0x44d360
mov rbx, qword [rsp + 0x68]
sub rbx, rbp
add rbx, 3
mov rcx, 0xffffffffffffffff
cmovb rbx, rcx
shr rbx, 2
cmp ax, 1
sbb rbx, 0xffffffffffffffff
cmp di, 1
sbb rbx, 0xffffffffffffffff
mov r12d, eax
jmp 0x44d3fe
cmp rbp, qword [rsp + 0x68]
je 0x44d3e0
movzx eax, byte [rbp]
test al, al
js 0x44d4ae
inc rbp
mov r14d, eax
xor eax, eax
jmp 0x44d381
cmp di, 1
jne 0x44d550
xor ebp, ebp
xor edi, edi
mov r14d, 0
mov ebx, 0
cmp r13, rsi
jne 0x44d460
inc rbx
add rbx, r13
jb 0x44d7e0
lea rcx, [rsi + rsi]
cmp rcx, rbx
cmova rbx, rcx
movabs rax, 0x3ffffffffffffffd
add rax, 2
xor edx, edx
cmp rbx, rax
setbe al
cmp rbx, 5
mov r8d, 4
cmovb rbx, r8
test rsi, rsi
je 0x44d46b
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x90], rcx
mov ecx, 2
jmp 0x44d46d
mov rbx, rsi
xor r14d, r14d
jmp 0x44d366
xor ecx, ecx
lea r8, [rbx + rbx]
mov dl, al
add edx, edx
mov qword [rsp + 0x88], rcx
lea rcx, [rsp + 0xb0]
lea r9, [rsp + 0x80]
call fcn.00418470
cmp qword [rsp + 0xb0], 0
jne 0x44d7d3
mov r15, qword [rsp + 0xb8]
jmp 0x44d366
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x44d4fb
movzx ecx, byte [rbp + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x44d50d
movzx eax, byte [rbp + 3]
add rbp, 4
and r14d, 7
shl r14d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r14d, eax
cmp r14d, 0xffff
ja 0x44d521
xor eax, eax
jmp 0x44d381
add rbp, 2
shl r14d, 6
or r14d, edx
xor eax, eax
jmp 0x44d381
add rbp, 3
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x44d4f4
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, r14d
mov r14d, ecx
jmp 0x44d381
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 + 0x70]
mov ebp, dword [rsp + 0x78]
mov r8d, ebp
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x44d6cc
call sub.KERNEL32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x80], rcx
mov edx, dword [rsp + 0x74]
cmp edx, 0xa
lea r14, [rsp + 0x80]
jge 0x44d65f
cmp eax, 5
jne 0x44d5e0
mov eax, edx
mov qword [rsp + 0xd0], rax
jmp 0x44d5eb
test ebp, ebp
je 0x44d65f
xor ebp, ebp
cmp eax, 0x57
jne 0x44d65f
mov rcx, r14
call fcn.0040e290
xor edi, edi
test rsi, rsi
je 0x44d0e0
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.00404360
xor edi, edi
jmp 0x44d0e0
lea rbp, [r9 + 3]
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x44d2cd
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, 1
mov r12d, r14d
mov r14d, ecx
jmp 0x44d2d2
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov qword [rax], 1
test rsi, rsi
je 0x44d688
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.00404360
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x44d6a2
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call fcn.00404360
cmp rbx, 0xffffffffffffffff
je 0x44d6b0
mov rcx, rbx
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
test rsi, rsi
je 0x44d6e5
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.00404360
mov dword [rsp + 0x80], 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 + 0x88], rax
xor edi, edi
lea r8, [rsp + 0x80]
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
mov rdx, qword [rsp + 0xd8]
call fcn.00447340
test rax, rax
je 0x44d79e
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x44d692
jmp 0x44d6a2
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
mov qword [rax], 0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x44d6b0
mov r8d, 1
mov rcx, rsi
call fcn.00404360
jmp 0x44d6b0
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jne 0x44d7e7
call fcn.0047c4c0
jmp 0x44d81a
mov rdx, qword [rsp + 0xc0]
call fcn.0047c6e0
jmp 0x44d81a
mov dil, 1
mov ecx, 2
mov rdx, r13
mov rsi, qword [rsp + 0x50]
call fcn.0047c6e0
jmp 0x44d81a
mov dil, 1
mov rsi, qword [rsp + 0x50]