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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1130]
mov eax, 0x1230
call fcn.1400abf70
sub rsp, rax
mov rax, qword [0x1400dad40]
xor rax, rsp
mov qword [rbp + 0x1120], rax
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 0x58], rdx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r14w
add rcx, 0x20
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 1
jb 0x140002225
cmp qword [rcx + 0x18], 7
jbe 0x140001b95
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 1
lea r9, [0x1400c0d98]
lea rcx, [rsp + 0x70]
call fcn.14000c8d0
nop
mov r8d, 2
lea rdx, [0x1400c0d90]
lea rcx, [rsp + 0x70]
call fcn.14000a430
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140009fb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001c84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abbbc
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140001cdc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abbbc
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov dword [rbp - 0x50], Ordinal_27
mov qword [rbp - 0x48], r14
mov dword [rbp - 0x40], 1
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
test eax, eax
jne 0x140001df6
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400c0d9c]
mov rcx, rsi
call fcn.14000b310
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140001d7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001d79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021ae
call fcn.1400abbbc
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r14w
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x140001dd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002218
call fcn.1400abbbc
mov rax, rsi
mov rcx, qword [rbp + 0x1120]
xor rcx, rsp
call fcn.1400ab680
add rsp, 0x1230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp - 0x20], 0x68
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov dword [rbp + 0x1c], 0x100
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 7
cmova rdx, qword [rbp + 0x58]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
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 0x140001e8d
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
jmp 0x140001d20
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x50]
mov r8d, 0xfff
lea rdx, [rbp + 0x120]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002121
lea r15, vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
lea r12, vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
nop dword [rax]
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x140002121
cmp rax, 0x1000
jae 0x14000221f
mov byte [rbp + rax + 0x120], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
mov qword [rbp + 0xa0], r15
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r14
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], r14w
mov word [rbp + 0x108], 0
mov byte [rbp + 0x10a], 0
mov ecx, 0x40
call fcn.1400ab940
mov rbx, rax
mov qword [rbp - 0x68], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
mov qword [rbx], r12
mov qword [rbp + 0x100], r14
mov qword [rbp + 0xa8], rbx
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov rdi, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov dword [rdi + 0x20], r14d
lea rcx, [rdi + 0x28]
lea rdx, [0x1400c0d1c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
mov rcx, qword [rbp + 0xb8]
cmp rcx, rdi
je 0x140002038
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rax
test rax, rax
je 0x140002028
mov rax, qword [rax]
mov edx, 1
call qword [rax]
mov qword [rbp + 0xb8], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rax
test rax, rax
je 0x140002053
mov rax, qword [rax]
mov edx, 1
call qword [rax]
mov qword [rbp + 0x110], r14
lea rcx, [rbp + 0x120]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140002070
lea r9, [rbp + 0x120]
add r9, rax
lea r8, [rbp + 0x120]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xa0]
call fcn.140009510
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x78]
call fcn.140009fb0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400020ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021b5
call fcn.1400abbbc
nop
lea rcx, [rbp + 0xa0]
call fcn.140008670
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x50]
mov r8d, 0xfff
lea rdx, [rbp + 0x120]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001ed0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x88]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp + 0x88], r14
mov edx, 7
mov qword [rbp + 0x90], rdx
mov word [rbp + 0x78], r14w
mov rax, qword [rbp + 0x70]
cmp rax, rdx
jbe 0x1400021c8
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400abbbc
mov rdx, qword [rbp + 0x90]
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r14w
cmp rdx, 7
jbe 0x140001dd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400ab7a8
nop
call fcn.140001250
int3