Function at 0x44d070
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 0x44d110
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 0x44d0e0
mov eax, 1
lock xadd qword [0x004d8148], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0xb0], rax
lea rax, [0x0049c800]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.0049ca50]
mov qword [rsp + 0xc8], rax
lea rax, [0x004ab748]
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.0047dc00
test rsi, rsi
sete al
or dil, al
test dil, 1
jne 0x44d1db
mov r8d, 1
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.00404340
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 0x44d230
movzx eax, byte [r9]
test al, al
js 0x44d250
lea rbp, [r9 + 1]
mov r14d, eax
jmp 0x44d2ad
mov esi, 4
mov r13d, 8
xor r12d, r12d
xor ebp, ebp
xor r14d, r14d
xor edi, edi
jmp 0x44d300
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [r9 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x44d2a2
movzx ecx, byte [r9 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x44d5f9
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 0x44d2ad
jmp 0x44d611
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 0x44d7ed
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.00404330
test rax, rax
je 0x44d7d6
mov r15, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0x74], eax
mov word [r15], r14w
mov r13d, 1
jmp 0x44d351
mov rbx, rsi
mov r12d, eax
mov word [r15 + r13*2], r14w
inc r13
mov rsi, rbx
test rbp, rbp
je 0x44d3c0
test r12w, r12w
je 0x44d3a0
xor eax, eax
mov r14d, r12d
cmp r13, rsi
jne 0x44d340
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 0x44d3de
cmp rbp, qword [rsp + 0x68]
je 0x44d3c0
movzx eax, byte [rbp]
test al, al
js 0x44d48e
inc rbp
mov r14d, eax
xor eax, eax
jmp 0x44d361
cmp di, 1
jne 0x44d530
xor ebp, ebp
xor edi, edi
mov r14d, 0
mov ebx, 0
cmp r13, rsi
jne 0x44d440
inc rbx
add rbx, r13
jb 0x44d7c0
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 0x44d44b
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x90], rcx
mov ecx, 2
jmp 0x44d44d
mov rbx, rsi
xor r14d, r14d
jmp 0x44d346
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.00418450
cmp qword [rsp + 0xb0], 0
jne 0x44d7b3
mov r15, qword [rsp + 0xb8]
jmp 0x44d346
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x44d4db
movzx ecx, byte [rbp + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x44d4ed
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 0x44d501
xor eax, eax
jmp 0x44d361
add rbp, 2
shl r14d, 6
or r14d, edx
xor eax, eax
jmp 0x44d361
add rbp, 3
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x44d4d4
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, r14d
mov r14d, ecx
jmp 0x44d361
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 0x44d6ac
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 0x44d63f
cmp eax, 5
jne 0x44d5c0
mov eax, edx
mov qword [rsp + 0xd0], rax
jmp 0x44d5cb
test ebp, ebp
je 0x44d63f
xor ebp, ebp
cmp eax, 0x57
jne 0x44d63f
mov rcx, r14
call fcn.0040e270
xor edi, edi
test rsi, rsi
je 0x44d0c0
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.00404340
xor edi, edi
jmp 0x44d0c0
lea rbp, [r9 + 3]
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x44d2ad
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 0x44d2b2
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov qword [rax], 1
test rsi, rsi
je 0x44d668
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.00404340
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x44d682
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call fcn.00404340
cmp rbx, 0xffffffffffffffff
je 0x44d690
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 0x44d6c5
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.00404340
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.00447320
test rax, rax
je 0x44d77e
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x44d672
jmp 0x44d682
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 0x44d690
mov r8d, 1
mov rcx, rsi
call fcn.00404340
jmp 0x44d690
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jne 0x44d7c7
call fcn.0047c4a0
jmp 0x44d7fa
mov rdx, qword [rsp + 0xc0]
call fcn.0047c6c0
jmp 0x44d7fa
mov dil, 1
mov ecx, 2
mov rdx, r13
mov rsi, qword [rsp + 0x50]
call fcn.0047c6c0
jmp 0x44d7fa
mov dil, 1
mov rsi, qword [rsp + 0x50]