Function at 0x1400f7bb8
Capabilities:
Create pipe

Disassembly:
jmp 0x1402b8be0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
cmp qword [rsp + 0x90], 0
je 0x1402b8c0b
mov dword [rsp + 0x38], 1
jmp 0x1402b8c13
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x1402b8c5c
lea rax, str.phandles___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x140311f28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x16
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
mov ecx, 2
call fcn.1400f7d2a
cmp eax, 1
jne 0x1402b8c5c
int3
cmp dword [rsp + 0x3c], 0
jne 0x1402b8cac
call fcn.1400fba06
mov dword [rax], 0
call fcn.1400f996d
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0x16
lea r8, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
lea rdx, str._pipe
lea rcx, str.phandles___nullptr
call fcn.1400fd2d4
mov eax, 0xffffffff
jmp 0x1402b9305
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov dword [rcx + rax], 0xffffffff
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x90]
mov dword [rcx + rax], 0xffffffff
mov eax, dword [rsp + 0xa0]
and eax, 0xffff3f7f
test eax, eax
jne 0x1402b8cf6
mov dword [rsp + 0x40], 1
jmp 0x1402b8cfe
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1402b8d47
lea rax, str._textmode____O_NOINHERIT___O_BINARY___O_TEXT____0
mov qword [rsp + 0x28], rax
lea rax, [0x140311f28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x19
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
mov ecx, 2
call fcn.1400f7d2a
cmp eax, 1
jne 0x1402b8d47
int3
cmp dword [rsp + 0x44], 0
jne 0x1402b8d97
call fcn.1400fba06
mov dword [rax], 0
call fcn.1400f996d
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0x19
lea r8, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
lea rdx, str._pipe
lea rcx, str._textmode____O_NOINHERIT___O_BINARY___O_TEXT____0
call fcn.1400fd2d4
mov eax, 0xffffffff
jmp 0x1402b9305
mov eax, dword [rsp + 0xa0]
and eax, 0xc000
cmp eax, 0xc000
je 0x1402b8db4
mov dword [rsp + 0x48], 1
jmp 0x1402b8dbc
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1402b8e05
lea rax, str._textmode____O_BINARY___O_TEXT_______O_BINARY___O_TEXT_
mov qword [rsp + 0x28], rax
lea rax, [0x140311f28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1a
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
mov ecx, 2
call fcn.1400f7d2a
cmp eax, 1
jne 0x1402b8e05
int3
cmp dword [rsp + 0x4c], 0
jne 0x1402b8e55
call fcn.1400fba06
mov dword [rax], 0
call fcn.1400f996d
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0x1a
lea r8, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
lea rdx, str._pipe
lea rcx, str._textmode____O_BINARY___O_TEXT_______O_BINARY___O_TEXT_
call fcn.1400fd2d4
mov eax, 0xffffffff
jmp 0x1402b9305
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 0x18
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0xa0]
and eax, 0x80
test eax, eax
jne 0x1402b8e91
mov dword [rsp + 0x50], 1
jmp 0x1402b8e99
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov r9d, dword [rsp + 0x98]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1402b8eeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f9193
mov eax, 0xffffffff
jmp 0x1402b9305
call fcn.1400fbcfe
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x1402b8f31
call fcn.1400f996d
mov dword [rax], 0x18
call fcn.1400fba06
mov dword [rax], 0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x1402b9305
mov eax, dword [rsp + 0x30]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x30]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov byte [rax + rdx + 0x38], 0x89
mov eax, dword [rsp + 0x30]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x30]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov byte [rax + rdx + 0x39], 0
mov eax, dword [rsp + 0x30]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x30]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x3d]
and al, 0xfe
mov ecx, dword [rsp + 0x30]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x140a409f0]
mov edi, dword [rsp + 0x30]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x3d], al
mov ecx, dword [rsp + 0x30]
call fcn.1400fd194
call fcn.1400fbcfe
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x1402b9045
mov eax, dword [rsp + 0x30]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x30]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov byte [rax + rdx + 0x38], 0
call fcn.1400f996d
mov dword [rax], 0x18
call fcn.1400fba06
mov dword [rax], 0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x1402b9305
mov eax, dword [rsp + 0x34]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x34]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov byte [rax + rdx + 0x38], 0x89
mov eax, dword [rsp + 0x34]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x34]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov byte [rax + rdx + 0x39], 0
mov eax, dword [rsp + 0x34]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x34]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x3d]
and al, 0xfe
mov ecx, dword [rsp + 0x34]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x140a409f0]
mov edi, dword [rsp + 0x34]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x3d], al
mov ecx, dword [rsp + 0x34]
call fcn.1400fd194
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x54]
call fcn.1400fb808
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x5a
lea r9, str.minkernelcrtsucrt_srcdesktopcrtconiopipe.cpp
lea r8, str._pipe
lea rdx, [0x1403359b0]
mov ecx, eax
call fcn.1400f9c60
mov eax, dword [rsp + 0xa0]
and eax, 0x8000
test eax, eax
jne 0x1402b915d
mov eax, dword [rsp + 0xa0]
and eax, 0x4000
test eax, eax
jne 0x1402b9201
cmp dword [rsp + 0x54], 0x8000
jne 0x1402b9201
mov eax, dword [rsp + 0x30]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x30]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
btr eax, 7
mov ecx, dword [rsp + 0x30]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x140a409f0]
mov edi, dword [rsp + 0x30]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x38], al
mov eax, dword [rsp + 0x34]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x34]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
btr eax, 7
mov ecx, dword [rsp + 0x34]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x140a409f0]
mov edi, dword [rsp + 0x34]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x38], al
mov eax, dword [rsp + 0xa0]
and eax, 0x80
test eax, eax
je 0x1402b92b7
mov eax, dword [rsp + 0x30]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x30]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
or eax, 0x10
mov ecx, dword [rsp + 0x30]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x140a409f0]
mov edi, dword [rsp + 0x30]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x38], al
mov eax, dword [rsp + 0x34]
sar eax, 6
cdqe
lea rcx, [0x140a409f0]
mov edx, dword [rsp + 0x34]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
or eax, 0x10
mov ecx, dword [rsp + 0x34]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x140a409f0]
mov edi, dword [rsp + 0x34]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x38], al
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
call fcn.1400fd806
mov rdx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
call fcn.1400fd806
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax], edx
xor eax, eax
add rsp, 0x80
pop rdi
ret