Function at 0x1400020d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140055058]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
call qword [sym.imp.accore.dll_class_AcApDocManager____ptr64___cdecl_acDocManagerPtr_void_]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x38]
mov rcx, rax
call qword [sym.imp.accore.dll_public:_class_AcApCommandLineEditor____ptr64___cdecl_AcApDocument::commandLineEditor_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.accore.dll_public:_class_AcApCommandLineHistory____ptr64___cdecl_AcApCommandLineEditor::history_void_const___ptr64]
mov rsi, rax
xor r14d, r14d
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
mov rcx, qword [0x140058788]
cmp word [rcx], r14w
jne 0x140001bbd
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::assign_wchar_t_const____ptr64____ptr64]
jmp 0x140001c61
lea rdx, [0x140058788]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::assign_class_AcString_const____ptr64____ptr64]
mov dword [rsp + 0x58], 0x22
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::trimRight_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::trimLeft_wchar_t_const____ptr64____ptr64]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140058a30], eax
jg 0x140001efa
mov r8d, 1
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::substrRev_int____ptr64]
nop
mov rdx, qword [0x140058a38]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::compare_wchar_t_const____ptr64_const___ptr64]
mov ebx, eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
test ebx, ebx
je 0x140001c61
lea rdx, [0x140058a38]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_class_AcString_const____ptr64____ptr64]
mov qword [rsp + 0x60], r14
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString_const____ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov edx, 2
lea rcx, [rsp + 0x78]
call qword [sym.imp.acdb24.dll_public:_void___cdecl_AcDbDate::constructor_enum_AcDbDate::InitialValue____ptr64]
nop
mov qword [rsp + 0x70], r14
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.acdb24.dll_public:_short_int___cdecl_AcDbDate::day_void_const___ptr64]
movsx edi, ax
lea rcx, [rsp + 0x78]
call qword [sym.imp.acdb24.dll_public:_short_int___cdecl_AcDbDate::month_void_const___ptr64]
movsx ebx, ax
lea rcx, [rsp + 0x78]
call qword [sym.imp.acdb24.dll_public:_short_int___cdecl_AcDbDate::year_void_const___ptr64]
movsx r8d, ax
mov dword [rsp + 0x20], edi
mov r9d, ebx
lea rdx, str._4d_02d_02d
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::format_wchar_t_const____ptr64____ptr64]
lea r8, str.AcCore
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::precat_wchar_t_const____ptr64____ptr64]
nop
lea r8, str..log
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_class_AcString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov ebx, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x140001e71
inc ebx
cmp ebx, 0x64
jge 0x140001e9f
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
mov r8d, ebx
lea rdx, str.__d_
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::format_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::assign_class_AcString_const____ptr64____ptr64]
lea r8, str.AcCore
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::precat_wchar_t_const____ptr64____ptr64]
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_class_AcString_const____ptr64____ptr64]
nop
lea r8, str..log
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_class_AcString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140001d75
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.accore.dll_public:_void___cdecl_AcApCommandLineHistory::setLogFileName_wchar_t_const____ptr64____ptr64]
mov dl, 1
mov rcx, rsi
call qword [sym.imp.accore.dll_public:_void___cdecl_AcApCommandLineHistory::setLogFileOn_bool____ptr64]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.accore.dll_CerExtraFileAddFileW]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.acdb24.dll_public_virtual:_void___cdecl_AcDbDate::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140030ea0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [0x140058a30]
call fcn.140031050
cmp dword [0x140058a30], 0xffffffff
jne 0x140001c15
mov edx, 0x5c
lea rcx, [0x140058a38]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t____ptr64]
lea rcx, [0x140035380]
call fcn.140031398
nop
lea rcx, [0x140058a30]
call fcn.140030ff0
jmp 0x140001c15
sub rsp, 0x28
call qword [sym.imp.AcPal.dll_bool___cdecl_acIsFusionDoc_void_]
test al, al
je 0x1400020e7
add rsp, 0x28
jmp 0x140001b20
add rsp, 0x28
ret