Function at 0x14000e290
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x2f0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x308], rbx
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov eax, dword [0x1400cf020]
test al, 1
jne 0x14000e2fe
or eax, 1
mov dword [0x1400cf020], eax
lea rdx, [0x14008ac98]
lea rcx, [0x1400cf028]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea rcx, [0x140088ae0]
call fcn.140077554
nop
mov rcx, qword [0x1400cf028]
cmp dword [rcx - 0x10], 0
jle 0x14000e323
lea rdx, [0x1400cf028]
mov rcx, rbx
call qword [0x14008a730]
mov rax, rbx
jmp 0x14000e478
lea rdx, [0x14008ac98]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
mov word [rsp + 0xd0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xd2]
call sub.MSVCR90.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.14000e1d0
nop
cmp qword [rsp + 0x90], 0
jne 0x14000e3ac
lea rcx, [rsp + 0x50]
call fcn.14000e0c0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
mov rdx, rax
lea rcx, [0x1400cf028]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdi, vtable.Cmd5Capi.0
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x30]
call qword [0x14008a728]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::DoBeginPrinting]
nop
lea rdx, [0x1400cf028]
lea rcx, [rsp + 0x28]
call fcn.1400370e0
mov rdx, rax
lea rcx, [0x1400cf028]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
lea rdx, [0x1400cf028]
mov rcx, rbx
call qword [0x14008a730]
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140077470
mov rbx, qword [rsp + 0x308]
add rsp, 0x2f0
pop rdi
ret