Function at 0x1400444c0
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 [0x140b9e1b8]
test rax, rax
jne 0x140044560
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 [0x140b9e1b8], rax
mov rax, qword [0x140b9e1b8]
test rax, rax
je 0x140044530
mov eax, 1
lock xadd qword [0x140b9e1b8], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0xb0], rax
lea rax, [0x140093c50]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.140093ea0]
mov qword [rsp + 0xc8], rax
lea rax, [0x140b718d8]
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.140075050
test rsi, rsi
sete al
or dil, al
test dil, 1
jne 0x14004462b
mov r8d, 1
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.140002620
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 0x140044680
movzx eax, byte [r9]
test al, al
js 0x1400446a0
lea rbp, [r9 + 1]
mov r14d, eax
jmp 0x1400446fd
mov esi, 4
mov r13d, 8
xor r12d, r12d
xor ebp, ebp
xor r14d, r14d
xor edi, edi
jmp 0x140044750
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [r9 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x1400446f2
movzx ecx, byte [r9 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x140044a49
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 0x1400446fd
jmp 0x140044a61
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 0x140044c3d
lea r13, [rsi*2 + 4]
add rsi, 2
mov di, 1
mov rax, qword [0x140b8f7e8]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r13
call fcn.140002610
test rax, rax
je 0x140044c26
mov r15, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0x74], eax
mov word [r15], r14w
mov r13d, 1
jmp 0x1400447a1
mov rbx, rsi
mov r12d, eax
mov word [r15 + r13*2], r14w
inc r13
mov rsi, rbx
test rbp, rbp
je 0x140044810
test r12w, r12w
je 0x1400447f0
xor eax, eax
mov r14d, r12d
cmp r13, rsi
jne 0x140044790
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 0x14004482e
cmp rbp, qword [rsp + 0x68]
je 0x140044810
movzx eax, byte [rbp]
test al, al
js 0x1400448de
inc rbp
mov r14d, eax
xor eax, eax
jmp 0x1400447b1
cmp di, 1
jne 0x140044980
xor ebp, ebp
xor edi, edi
mov r14d, 0
mov ebx, 0
cmp r13, rsi
jne 0x140044890
inc rbx
add rbx, r13
jb 0x140044c10
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 0x14004489b
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x90], rcx
mov ecx, 2
jmp 0x14004489d
mov rbx, rsi
xor r14d, r14d
jmp 0x140044796
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.14000f8a0
cmp qword [rsp + 0xb0], 0
jne 0x140044c03
mov r15, qword [rsp + 0xb8]
jmp 0x140044796
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14004492b
movzx ecx, byte [rbp + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14004493d
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 0x140044951
xor eax, eax
jmp 0x1400447b1
add rbp, 2
shl r14d, 6
or r14d, edx
xor eax, eax
jmp 0x1400447b1
add rbp, 3
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x140044924
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, r14d
mov r14d, ecx
jmp 0x1400447b1
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 0x140044afc
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 0x140044a8f
cmp eax, 5
jne 0x140044a10
mov eax, edx
mov qword [rsp + 0xd0], rax
jmp 0x140044a1b
test ebp, ebp
je 0x140044a8f
xor ebp, ebp
cmp eax, 0x57
jne 0x140044a8f
mov rcx, r14
call fcn.1400056c0
xor edi, edi
test rsi, rsi
je 0x140044510
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.140002620
xor edi, edi
jmp 0x140044510
lea rbp, [r9 + 3]
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x1400446fd
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 0x140044702
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov qword [rax], 1
test rsi, rsi
je 0x140044ab8
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.140002620
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140044ad2
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call fcn.140002620
cmp rbx, 0xffffffffffffffff
je 0x140044ae0
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 0x140044b15
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call fcn.140002620
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.14003e770
test rax, rax
je 0x140044bce
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x140044ac2
jmp 0x140044ad2
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 0x140044ae0
mov r8d, 1
mov rcx, rsi
call fcn.140002620
jmp 0x140044ae0
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jne 0x140044c17
call fcn.1400738f0
jmp 0x140044c4a
mov rdx, qword [rsp + 0xc0]
call fcn.140073b10
jmp 0x140044c4a
mov dil, 1
mov ecx, 2
mov rdx, r13
mov rsi, qword [rsp + 0x50]
call fcn.140073b10
jmp 0x140044c4a
mov dil, 1
mov rsi, qword [rsp + 0x50]