Function at 0x140083ae0
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
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1260]
mov eax, 0x1360
call fcn.1400d3a80
sub rsp, rax
mov rdi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x70], r13d
mov dword [rbp - 0x28], Ordinal_30
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], 1
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x12a8]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
test eax, eax
jne 0x140083b8c
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140084be8
mov qword [rbx], rax
mov qword [rbx + 0x10], reloc.WS2_32.dll_recvfrom
mov qword [rbx + 0x18], Ordinal_35
movups xmm0, xmmword [str.DISABLED_OR_ERROR]
movups xmmword [rax], xmm0
movzx ecx, byte [0x1400f76d8]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], r13b
jmp 0x140083d94
mov dword [rbp + 0xf0], WSASetLastError
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
movups xmmword [rbp + 0x148], xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x12c], 0x101
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rax
mov word [rbp + 0x130], r13w
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x19
jb 0x14008429a
cmp qword [rdi + 0x18], 0xf
jbe 0x140083c14
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], Ordinal_30
lea r9, str.powershell.exe__Command__
lea rcx, [rbp - 0x60]
call fcn.14006e940
nop
mov r8d, 1
lea rdx, [0x1400f76dc]
lea rcx, [rbp - 0x60]
call fcn.14003aee0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140083cb9
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083cb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083cb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084f34
movdqa xmm0, xmmword [0x1400f79d0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140083db3
mov rcx, qword [rbp + 0x12a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
movabs rax, 0x44454c4241534944
mov qword [rbx], rax
mov byte [rbx + 8], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140083d94
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083d8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008428d
call fcn.140084f34
mov rax, rbx
lea r11, [rsp + 0x1360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x1400f7768]
mov qword [rbp - 0x10], rax
lea rax, [0x1400f6af8]
mov qword [rbp], rax
lea rcx, [rbp + 0x88]
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 + 0x70], reloc.WS2_32.dll_ntohl
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
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 - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
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 + 8], rax
mov qword [rbp + 0x70], r13
mov dword [rbp + 0x78], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x12a0]
mov r8d, 0xfff
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 0x12a8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140083ebc
nop dword [rax]
mov eax, dword [rbp + 0x12a0]
test eax, eax
je 0x140083ebc
mov byte [rbp + rax + 0x260], 0
lea rdx, [rbp + 0x260]
lea rcx, [rbp]
call fcn.14006c9e0
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x12a0]
mov r8d, 0xfff
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 0x12a8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140083e70
mov rcx, qword [rbp + 0x12a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r14, r13
mov qword [rsp + 0x60], r13
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x50], r14b
mov dword [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_46
movups xmmword [rbp - 0x60], xmm0
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140083f36
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140083f36
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140083f65
test cl, 4
jne 0x140083f5d
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140083f5d
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140083f65
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x140083f7e
lea rcx, [rsp + 0x50]
call fcn.1400380d0
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
lea rsi, [rsp + 0x50]
cmp r15, 0xf
cmova rsi, qword [rsp + 0x50]
lea rdi, str.__t_n_r
test r14, r14
je 0x14008400f
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
lea rdx, [0x1400f7710]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x160], 1
inc rcx
cmp rcx, rdx
jne 0x140083fc0
lea rax, [r14 - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rsi
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x160], 0
je 0x14008400a
cmp rcx, rsi
je 0x14008400f
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x160], 0
jne 0x140083ff5
sub rcx, rsi
jmp 0x140084016
mov rcx, 0xffffffffffffffff
inc rcx
cmp r14, rcx
jb 0x140084294
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x50]
cmp r15, 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + rcx], 0
lea rsi, [rsp + 0x50]
mov r15, qword [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rsi, r15
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x1400840be
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea r13, [0x1400f7710]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rbp + rax + 0x160], 1
inc rdi
cmp rdi, r13
jne 0x140084080
lea rcx, [r14 + rsi]
mov rdx, rsi
cmp rsi, rcx
mov r13d, 0
jae 0x1400840be
movzx eax, byte [rdx]
cmp byte [rbp + rax + 0x160], r13b
je 0x140084179
inc rdx
cmp rdx, rcx
jb 0x1400840a5
mov rdx, 0xffffffffffffffff
cmp r14, rdx
cmovb rdx, r14
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, r15
sub r14, rdx
lea r8, [r14 + 1]
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x60], r14
test r14, r14
jne 0x1400841e4
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140084be8
mov qword [rbx], rax
mov qword [rbx + 0x10], Ordinal_30
mov qword [rbx + 0x18], Ordinal_35
movups xmm0, xmmword [str.LIKELY_DISABLED_OR_ERROR]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400f7728]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140084186
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084181
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rdx, rsi
jmp 0x1400840c5
call fcn.140084f34
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140068e10
lea rcx, [rbp + 0x10]
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 + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140083d59
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140068e10
lea rcx, [rbp + 0x10]
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 + 0x88]
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 - 0x68]
cmp rdx, 0xf
jbe 0x140083d94
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083d8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083d8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14003afa0
nop
call fcn.1400377a0
int3