Function at 0x140001350
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1d0
mov qword [r11 - 0xb8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov edi, r9d
mov rbx, r8
lea rax, vtable.AppStartupInit.0
mov qword [rsp + 0x78], rax
lea rax, vtable.WAppStartup.0
mov qword [r11 - 0x138], rax
lea rax, [rsp + 0x78]
mov qword [r11 - 0x130], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
xor esi, esi
mov qword [r11 - 0x118], rsi
lea ecx, [rsi + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400013cd
mov rcx, rax
call qword [sym.imp.CrlUtils.dll_public:_void___cdecl_CrlUtils::CommandLine::constructor_void____ptr64]
jmp 0x1400013d0
mov rax, rsi
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0xe0], esi
mov qword [rsp + 0xe8], rsi
movdqa xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rsi
mov dword [rsp + 0x110], 0
mov word [rsp + 0x114], 0
mov byte [rsp + 0x116], 0
mov word [rsp + 0x118], 0
call fcn.140005c30
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
nop
lea rcx, [rsp + 0xa0]
call fcn.1400019d0
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov rcx, rax
mov rax, qword [rax]
lea rdx, [rsp + 0x70]
call qword [rax]
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.CrlUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_SystemIO::Path::GetProcessFileName_struct_HINSTANCE______ptr64_]
nop
mov rax, qword [rsp + 0x58]
cmp dword [rax - 0x10], 0
jne 0x14000148f
mov dword [rsp + 0x60], esi
lea rdx, [0x14000b518]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, 0x104
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
lea r8, str.Cap.exe
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.CrlUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_SystemIO::Path::ReplaceFileName_wchar_t_const____ptr64__wchar_t_const____ptr64_]
nop
or edx, 0xffffffff
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9, rbx
mov r8, qword [rsp + 0x68]
lea rdx, str.__s___s
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x160]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x160], 0x68
mov dword [rsp + 0x19c], 1
mov word [rsp + 0x1a0], di
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000164a
mov dword [rsp + 0x20], 4
mov r9d, 0x1cff
or r8d, 0xffffffff
lea rdx, [rsp + 0x80]
mov ecx, 1
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp eax, 1
jne 0x14000162e
nop dword [rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140001600
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400015c2
mov dword [rsp + 0x20], 4
mov r9d, 0x1cff
or r8d, 0xffffffff
lea rdx, [rsp + 0x80]
mov ecx, 1
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp eax, 1
je 0x1400015a0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0xa0]
call fcn.140001910
xor eax, eax
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret