Function at 0x140001170
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x58], esi
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
lea r14, vtable.UserDataCommandLineInfo.0
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
lea rcx, [rbp + 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.UserData.dll_acudInitProductParams]
call qword [sym.imp.UserData.dll_void___cdecl_SetWorkingDirectory_void_]
xor r8d, r8d
xor edx, edx
lea rcx, str.DwgCheckStandardsRes.dll
call qword [sym.imp.AcPal.dll_struct_HINSTANCE______ptr64___cdecl_AcUtResource::loadDll_wchar_t_const____ptr64__int__long_long___int64__]
mov rdi, rax
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
test rdi, rdi
jne 0x140001254
lea rdx, str.Cannot_find_or_error_loading:
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, str.DwgCheckStandardsRes.dll
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
xor r8d, r8d
lea edx, [rsi + 0x10]
mov rcx, qword [rbp]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
jmp 0x1400015d3
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov qword [rax + 0x18], rdi
mov edx, 0x899
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rbx + 0xa0], rax
mov rdx, qword [rbx + 0x90]
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov edx, 0x2f
xor r8d, r8d
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140u.dll_CPaneFrameWnd::EnterDragMode]
cmp eax, 0xffffffff
setne bl
mov edx, 1
lea rcx, [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1400012eb
lea r9d, [rax + 0x10]
lea r8, [0x140003734]
lea rdx, str.Cannot_initialize_security_descriptor
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400015bd
mov dword [rsp + 0x68], 0x18
lea rax, [rbp + 0x90]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x80], 0x68
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x44], 0x101
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x30], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x28], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x30], 0xffffffffffffffff
je 0x1400015bd
cmp qword [rbp - 0x28], 0xffffffffffffffff
je 0x1400015bd
cmp rax, 0xffffffffffffffff
je 0x1400015bd
neg bl
sbb ax, ax
and ax, 5
mov word [rbp - 0x40], ax
mov ecx, 0x800
call qword [sym.imp.mfc140u.dll_operator]
mov rbx, rax
mov r8d, 0x400
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov edx, 2
mov rcx, rbx
call fcn.140001f98
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [0x1400037fc]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov edx, 0x5c
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [0x140003800]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, str.VoltaireTheAutoDog
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x58], 1
lea rdi, [0x140003850]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140001490
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov dword [rsp + 0x20], ebx
mov r9, rdi
mov r8d, eax
mov rdx, qword [rbp - 0x10]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea r8, [rbp - 8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.140001630
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax + 1]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140001591
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, reloc.mfc140u.dll_CBlobProperty::Release
mov r9d, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
xor eax, eax
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140001c30
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret