Function at 0x1400011c0
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1190]
mov eax, 0x1290
call fcn.140004900
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1180], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x40], 0x18
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x38], r15
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000128f
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400057c0]
mov byte [rsp + 0x58], r15b
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov dword [rdi + 0x20], eax
mov rax, rdi
mov rcx, qword [rbp + 0x1180]
xor rcx, rsp
call fcn.140003a60
lea r11, [rsp + 0x1290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x20], 0x68
mov dword [rbp + 0x1c], 0x100
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r15
mov r14, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400012fd
mov r14, qword [rsi]
mov rsi, qword [rsi + 0x10]
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x1400017ad
mov r12d, 0xa
mov eax, 7
mov qword [rbp + 0x70], rax
cmp rsi, rax
ja 0x140001339
mov qword [rbp + 0x68], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x58], xmm0
jmp 0x1400013e3
mov rax, rsi
or rax, 7
cmp rax, rbx
jbe 0x140001355
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140001382
mov rbx, rax
cmp rax, r12
cmovb rbx, r12
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400017b3
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400013b1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400017b3
mov rcx, rax
call fcn.140003a80
mov rcx, rax
test rax, rax
je 0x1400017a6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400013c0
test rcx, rcx
je 0x1400013bd
call fcn.140003a80
jmp 0x1400013c0
mov rax, r15
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], rbx
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x70]
lea rdx, [rbp + 0x58]
cmp rax, 7
cmova rdx, qword [rbp + 0x58]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400014b6
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400057c0]
mov byte [rsp + 0x58], 0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov dword [rdi + 0x20], eax
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140001261
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017a6
call fcn.140003b8c
jmp 0x140001261
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400057b0]
mov qword [rbp + 0x80], rax
lea rax, [0x140005710]
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x50], 2
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x80], rsi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x100], r15
mov dword [rbp + 0x108], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x180]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400015f2
nop
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400015f2
mov r8d, eax
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x180]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400015b0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x50], r12d
movups xmmword [rbp - 0x80], xmm0
mov rcx, r15
mov edx, dword [rbp + 0x108]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140001693
mov rax, qword [rbp + 0xd8]
mov rbx, qword [rax]
test rbx, rbx
je 0x140001693
mov rax, qword [rbp + 0xb8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x100]
cmovb rbx, qword [rbp + 0x100]
sub rbx, r9
mov rcx, r9
jmp 0x1400016cd
test dl, 4
jne 0x1400016fd
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rbx, r15
test rdx, rdx
je 0x1400016c9
mov rax, qword [rbp + 0xb0]
mov r9, qword [rax]
mov rax, qword [rbp + 0xe8]
movsxd rbx, dword [rax]
add rbx, rdx
sub rbx, r9
mov rcx, r9
jmp 0x1400016cd
mov r9, qword [rbp - 0x80]
test rcx, rcx
je 0x1400016fd
lea rcx, [rsp + 0x58]
cmp rbx, 0xf
ja 0x1400016f4
mov qword [rsp + 0x68], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x58], 0
jmp 0x1400016fd
mov rdx, rbx
call fcn.140003520
nop
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdi + 0x10], xmm1
mov eax, dword [rbp + 0x78]
mov dword [rdi + 0x20], eax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], rsi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x98]
call fcn.140002eb0
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140001261
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400011a0
int3
call fcn.140001100
int3