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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1160
call fcn.14010f350
sub rsp, rax
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + 0x1150], rax
movzx r13d, r8b
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdx
xor eax, eax
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0xb8], 0x18
mov dword [rsp + 0xc8], 1
mov qword [rsp + 0xc0], rax
xor r9d, r9d
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400f881c
lea rcx, str.executeCommand_StdoutRd_CreatePipe
call fcn.1400e3340
lea rdx, str.Error:_executeCommand_StdoutRd_CreatePipe
mov rcx, r14
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
jmp 0x1400f8bea
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400f8860
lea rcx, str.executeCommand_Stdout_SetHandleInformation
call fcn.1400e3340
lea rdx, str.Error:_executeCommand_Stdout_SetHandleInformation
mov rcx, r14
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
jmp 0x1400f8bea
lea rdx, str.C:WINDOWSSystem32cmd.exe__c
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CFileDialog::SetTemplate]
mov rbx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r12, rax
mov dword [rsp + 0x70], 2
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, ebx
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rsp + 0xe0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0xe0], 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], rax
or dword [rsp + 0x11c], 0x101
xor edi, edi
mov word [rsp + 0x120], di
lea edx, [rbx + 1]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea edx, [rdi - 1]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
test ebx, ebx
jne 0x1400f8a0c
lea rcx, str.CreateChildProcess_CreateProcess
call fcn.1400e3340
lea rdx, str.Error:_CreateChildProcess_CreateProcess_Fail
mov rcx, r14
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
jmp 0x1400f8bea
mov edx, 0x4b0
mov eax, 0xffffffff
cmp r13b, 1
cmove edx, eax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, eax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400f8aa5
lea rax, [rsp + 0x58]
mov qword [rsp + 0x88], rax
lea rdx, [0x1401497d8]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
lea rdx, str.CommonUtils_CreateChildProcess_Error:_Executed_command_but_couldnt_get_exit_code:
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8d, dword [rsp + 0x60]
mov rdx, rbx
mov rcx, rax
call fcn.140105fe0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400f8afa
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea rdx, [0x14014d85c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
lea rdx, str.CreateChildProcess_Error:_g_hChildStd_OUT_Wr_Pipe_Close_failure
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.140105fe0
lea rdx, [0x1401497d8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x74]
mov r8d, 0x1000
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f8b74
mov r8d, dword [rsp + 0x74]
test r8d, r8d
je 0x1400f8b74
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400f8b10
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400f8b8f
lea rcx, str.CreateChildProcess_Error:_Pipe_Close_failure
call fcn.1400e3340
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
jmp 0x1400f8bea
mov rcx, qword [rsp + 0x1150]
xor rcx, rsp
call fcn.14010f260
add rsp, 0x1160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret