Function at 0x180022e70
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov r13, rcx
lea rcx, [rbp - 0x49]
call qword [sym.imp.HgUtilGeometryU.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CUtilGeometric::GetPathExe_void_]
nop
lea rdx, str.HgPlotU.exe
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc100u.dll_COleCurrency::operator_]
mov edx, 1
mov rcx, r13
call qword [sym.imp.mfc100u.dll_Ordinal_12926]
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc100u.dll_CPropertyPage::CPropertyPage]
nop
lea r14, vtable.CSimpleTypedArray_long_int_.0
mov qword [rbp - 0x39], r14
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc100u.dll_CMFCTasksPane::SetGroupName]
nop
lea rax, vtable.CLongArray.0
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x39]
mov rcx, r13
call sym.Hg3DUiHU.dll_private:_void___cdecl_CHgExportDrawing::GetPageNum_class_CLongArray____ptr64____ptr64
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc100u.dll_CSmartDockingManager::CSmartDockingManager]
lea r11, vtable.CHgStringArray.0
mov qword [rbp - 0x11], r11
lea rdx, [0x1800a8ea4]
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
nop
xor ebx, ebx
mov rdx, qword [rbp - 0x29]
test rdx, rdx
jle 0x180022ff2
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov r12d, dword [rax]
mov edi, ebx
movsxd rsi, edx
test edx, edx
jle 0x180022f70
test rdi, rdi
js 0x180022f69
cmp rdi, rdx
jge 0x180022f69
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
inc rdi
cmp rdi, rsi
jge 0x180022f70
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
jmp 0x180022f43
call qword [sym.imp.mfc100u.dll_AfxPropSheetCallback]
int3
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc100u.dll_CMFCTasksPane::SetGroupName]
mov ecx, 4
call qword [sym.imp.mfc100u.dll_CTagManager::CTagManager]
mov dword [rax], r12d
mov r8, rax
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc100u.dll_RFX_Single]
mov dword [rbp + 0x6f], 1
mov dword [rbp + 0x77], 1
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x39]
mov rdx, qword [r13 + 0x160]
mov rcx, r13
call sym.Hg3DUiHU.dll_private:_void___cdecl_CHgExportDrawing::Export_class_CHg3DData____ptr64__class_CLongArray_const____ptr64__int__int_const____ptr64__class_CHgStringArray____ptr64__int_const____ptr64____ptr64
cmp qword [rbp - 1], rbx
jle 0x180022ff2
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc100u.dll_CView::CView]
lea rcx, [rbp + 0x7f]
call qword [0x18009c008]
nop
mov r9, qword [rbp - 0x41]
mov r8, qword [r13 + 0x178]
lea rdx, str._PageSetup____s____s_
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc100u.dll_CMFCRibbonRecentFilesList::FillList]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x7f]
mov r8, qword [rbp - 0x49]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc100u.dll_CSemaphore::CSemaphore]
nop
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x29]
movsxd rdi, eax
test eax, eax
jle 0x18002309d
nop
test rbx, rbx
js 0x180023096
cmp rbx, rax
jge 0x180023096
mov rax, qword [rbp - 0x31]
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
inc rbx
cmp rbx, rdi
jge 0x18002309d
mov rax, qword [rbp - 0x29]
jmp 0x180023070
call qword [sym.imp.mfc100u.dll_AfxPropSheetCallback]
int3
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc100u.dll_CMFCTasksPane::SetGroupName]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc100u.dll_COleUpdateDialog::COleUpdateDialog]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
add rsp, 0xb0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret