Function at 0x18006bfc7
Capabilities:
Create pipe

Disassembly:
jmp 0x1801255dc
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov esi, r8d
mov r15, rcx
xor r12d, r12d
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x180125629
call fcn.18006a032
mov dword [rax], r12d
call fcn.18006b220
mov dword [rax], 0x16
call fcn.18006a7a3
or eax, 0xffffffff
jmp 0x18012586b
or ebx, 0xffffffff
mov dword [rcx + 4], ebx
mov dword [rcx], ebx
test r8d, 0xffff3f7f
mov eax, r12d
sete al
test eax, eax
jne 0x180125661
call fcn.18006a032
mov dword [rax], r12d
call fcn.18006b220
mov dword [rax], 0x16
call fcn.18006a7a3
mov eax, ebx
jmp 0x18012586b
mov eax, r8d
mov r8d, 0xc000
and eax, r8d
mov ecx, r12d
cmp eax, r8d
setne cl
test ecx, ecx
je 0x180125642
mov edi, 0x18
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], r12
mov eax, esi
shr eax, 7
not eax
and eax, 1
mov dword [rsp + 0x58], eax
mov r9d, edx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1801256c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18006aa6e
jmp 0x18012565a
call fcn.18006b5d6
movsxd r14, eax
mov dword [rsp + 0xa8], r14d
cmp r14d, ebx
jne 0x180125700
call fcn.18006b220
mov dword [rax], edi
call fcn.18006a032
mov dword [rax], r12d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18012565a
mov rdi, r14
mov r13, r14
sar r13, 6
lea rcx, [0x18017c300]
and edi, 0x3f
shl rdi, 6
mov rax, qword [rcx + r13*8]
mov byte [rax + rdi + 0x38], 0x89
mov rax, qword [rcx + r13*8]
mov byte [rax + rdi + 0x39], r12b
mov rax, qword [rcx + r13*8]
and byte [rax + rdi + 0x3d], 0xfe
mov ecx, r14d
call fcn.18006d8bd
call fcn.18006b5d6
movsxd r12, eax
mov dword [rsp + 0xa8], r12d
cmp r12d, ebx
jne 0x180125778
lea rdx, [0x18017c300]
mov rax, qword [rdx + r13*8]
mov byte [rax + rdi + 0x38], 0
call fcn.18006b220
mov dword [rax], 0x18
call fcn.18006a032
and dword [rax], 0
jmp 0x1801256e5
mov rbx, r12
mov rcx, r12
sar rcx, 6
mov qword [rsp + 0x30], rcx
and ebx, 0x3f
shl rbx, 6
lea rdx, [0x18017c300]
mov rax, qword [rdx + rcx*8]
mov byte [rax + rbx + 0x38], 0x89
mov rax, qword [rdx + rcx*8]
mov byte [rax + rbx + 0x39], 0
mov rax, qword [rdx + rcx*8]
and byte [rax + rbx + 0x3d], 0xfe
mov ecx, r12d
call fcn.18006d8bd
and dword [rsp + 0x90], 0
lea rcx, [rsp + 0x90]
call fcn.18006a672
test eax, eax
jne 0x180125855
mov eax, 0x8000
test eax, esi
jne 0x1801257ed
bt esi, 0xe
jb 0x18012580d
cmp dword [rsp + 0x90], eax
jne 0x18012580d
lea rdx, [0x18017c300]
mov rax, qword [rdx + r13*8]
and byte [rax + rdi + 0x38], 0x7f
mov rcx, qword [rsp + 0x30]
mov rax, qword [rdx + rcx*8]
and byte [rax + rbx + 0x38], 0x7f
jmp 0x180125819
lea rdx, [0x18017c300]
mov rcx, qword [rsp + 0x30]
test sil, sil
jns 0x180125830
mov rax, qword [rdx + r13*8]
or byte [rax + rdi + 0x38], 0x10
mov rax, qword [rdx + rcx*8]
or byte [rax + rbx + 0x38], 0x10
mov rdx, qword [rsp + 0x38]
mov ecx, r14d
call fcn.18006b234
mov rdx, qword [rsp + 0x40]
mov ecx, r12d
call fcn.18006b234
mov dword [r15], r14d
mov dword [r15 + 4], r12d
xor eax, eax
jmp 0x18012586b
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18006d719
int3
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret