Function at 0x1400018d0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1150]
mov eax, 0x1250
call fcn.140004590
sub rsp, rax
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x1140], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.Get_Date.txt
lea rcx, [rbp + 0x30]
call fcn.1400028d0
nop
mov dword [rsp + 0x68], 0x18
mov dword [rsp + 0x78], 1
xor esi, esi
mov qword [rsp + 0x70], rsi
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140001b6d
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], 0x101
mov word [rbp - 0x20], si
mov rax, qword [rsp + 0x58]
mov qword [rbp], rax
mov qword [rbp - 8], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.powershell.exe__Command_Get_Date
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001b6d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x140]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001b4a
nop word [rax + rax]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140001b4a
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x10]
call fcn.140003270
nop
xor r8d, r8d
lea rcx, [rbp + 0x10]
call fcn.140002ac0
mov rbx, rax
mov rdi, qword [rbp + 0x20]
cmp rax, 0xffffffffffffffff
je 0x140001ac9
nop dword [rax + rax]
cmp rdi, rbx
jb 0x140001bd0
mov rax, rdi
sub rax, rbx
mov edx, 1
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
add rcx, rbx
sub rdi, rdx
mov r8, rdi
sub r8, rbx
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x20], rdi
mov r8, rbx
lea rcx, [rbp + 0x10]
call fcn.140002ac0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001a70
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
mov r8, rdi
lea rcx, [rbp + 0x30]
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]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140001b20
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001bc9
call fcn.14000376c
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x140]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001a20
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x38]
call fcn.140002e40
test rax, rax
jne 0x140001b98
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
xor r8d, r8d
lea edx, [r8 + 2]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x30]
call fcn.140001500
mov rcx, qword [rbp + 0x1140]
xor rcx, rsp
call fcn.140003710
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002f30
int3