Function at 0x18007766d
Capabilities:
Create pipe

Disassembly:
jmp 0x180144e60
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov edi, r8d
mov r14, rcx
xor r15d, r15d
test rcx, rcx
jne 0x180144eba
call fcn.18007985a
mov dword [rax], r15d
call fcn.180078716
mov dword [rax], 0x16
call fcn.1800775e1
or eax, 0xffffffff
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
or ebx, 0xffffffff
mov dword [rcx + 4], ebx
mov dword [rcx], ebx
test edi, 0xffff3f7f
je 0x180144ee6
call fcn.18007985a
mov dword [rax], r15d
call fcn.180078716
mov dword [rax], 0x16
call fcn.1800775e1
mov eax, ebx
jmp 0x180144ea0
mov eax, edi
mov ecx, 0xc000
and eax, ecx
cmp eax, ecx
je 0x180144eca
mov r12d, 0x18
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r15
mov eax, edi
shr eax, 7
not eax
and eax, 1
mov dword [rsp + 0x58], eax
mov r9d, edx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x180144f3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180078298
jmp 0x180144ee2
call fcn.180079a08
movsxd rsi, eax
mov dword [rsp + 0xa8], esi
cmp esi, ebx
jne 0x180144f7a
call fcn.180078716
mov dword [rax], r12d
call fcn.18007985a
mov dword [rax], r15d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180144ee2
mov r12, rsi
mov r13, rsi
sar r13, 6
lea rdx, [0x1801a6520]
mov rax, rsi
and eax, 0x3f
lea rcx, [rax + rax*8]
mov qword [rsp + 0x40], rcx
mov rax, qword [rdx + r13*8]
mov byte [rax + rcx*8 + 0x38], 0x89
mov rax, qword [rdx + r13*8]
mov byte [rax + rcx*8 + 0x39], r15b
mov rax, qword [rdx + r13*8]
and byte [rax + rcx*8 + 0x3d], 0xfe
mov ecx, esi
call fcn.18007a534
call fcn.180079a08
movsxd r15, eax
mov dword [rsp + 0xa8], r15d
cmp r15d, ebx
jne 0x180144ffe
lea rcx, [0x1801a6520]
mov rax, qword [rcx + r13*8]
mov rcx, qword [rsp + 0x40]
mov byte [rax + rcx*8 + 0x38], 0
call fcn.180078716
mov dword [rax], 0x18
call fcn.18007985a
and dword [rax], 0
jmp 0x180144f5f
mov rax, r15
mov r13, r15
sar r13, 6
and eax, 0x3f
lea rbx, [rax + rax*8]
lea rcx, [0x1801a6520]
mov rax, qword [rcx + r13*8]
mov byte [rax + rbx*8 + 0x38], 0x89
mov rax, qword [rcx + r13*8]
mov byte [rax + rbx*8 + 0x39], 0
mov rax, qword [rcx + r13*8]
and byte [rax + rbx*8 + 0x3d], 0xfe
mov ecx, r15d
call fcn.18007a534
and dword [rsp + 0x90], 0
lea rcx, [rsp + 0x90]
call fcn.180079738
test eax, eax
jne 0x1801450ee
mov eax, 0x8000
test eax, edi
jne 0x18014506e
bt edi, 0xe
jb 0x18014509a
cmp dword [rsp + 0x90], eax
jne 0x18014509a
mov rdx, r12
sar rdx, 6
mov rax, r12
and eax, 0x3f
lea rcx, [rax + rax*8]
lea r8, [0x1801a6520]
mov rax, qword [r8 + rdx*8]
and byte [rax + rcx*8 + 0x38], 0x7f
mov rax, qword [r8 + r13*8]
and byte [rax + rbx*8 + 0x38], 0x7f
jmp 0x1801450a1
lea r8, [0x1801a6520]
test dil, dil
jns 0x1801450c7
mov rax, r12
sar rax, 6
and r12d, 0x3f
lea rcx, [r12 + r12*8]
mov rax, qword [r8 + rax*8]
or byte [rax + rcx*8 + 0x38], 0x10
mov rax, qword [r8 + r13*8]
or byte [rax + rbx*8 + 0x38], 0x10
mov rdx, qword [rsp + 0x30]
mov ecx, esi
call fcn.18007a8ea
mov rdx, qword [rsp + 0x38]
mov ecx, r15d
call fcn.18007a8ea
mov dword [r14], esi
mov dword [r14 + 4], r15d
xor eax, eax
jmp 0x180144ea0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18007a151
nop
int3