Function at 0x140004ca0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x578], rbx
mov rax, qword [0x140060f28]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r13, r9
mov rsi, rcx
mov r15, qword [rbp + 0x490]
mov r12, qword [rbp + 0x498]
mov r14, qword [rbp + 0x4a0]
cmp byte [rcx + 0x19], 0
jne 0x1400050e9
mov byte [rcx + 0x19], 1
cmp qword [rcx + 0x28], 0
jne 0x1400050e9
lea rcx, [rbp - 0x70]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_void____ptr64]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MSSA
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rdx, [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.libBase.dll_bool___cdecl_awString::equal_class_awString::IString_const____ptr64__class_awString::IString_const____ptr64_]
movzx ebx, al
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
test bl, bl
je 0x140004d5b
mov ebx, 3
jmp 0x140004d97
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14002d2d0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rdx, [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.libBase.dll_bool___cdecl_awString::equal_class_awString::IString_const____ptr64__class_awString::IString_const____ptr64_]
movzx ebx, al
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
neg bl
sbb ebx, ebx
add ebx, 2
mov rdx, r15
lea rcx, [rbp - 0x70]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_void____ptr64]
nop
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
test al, al
je 0x140004e92
call qword [sym.imp.libBase.dll_public:_static_class_awOS::AppMain____ptr64___cdecl_awOS::AppMain::getInstance_void_]
mov rcx, rax
call qword [sym.imp.libBase.dll_public:_class_awString::IString_const____ptr64___cdecl_awOS::AppMain::getAppLocation_void____ptr64]
mov rdx, rax
lea rcx, [rbp - 8]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awOS::Filename::constructor_class_awString::IString_const____ptr64____ptr64]
nop
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_class_awString::IString_const____ptr64____ptr64]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, str.en_US
lea rcx, [rsp + 0x60]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, str.adlm
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libBase.dll_public:_static_class_awString::IString___cdecl_awOS::Filename::join_class_awString::IString_const____ptr64__class_awString::IString_const____ptr64__class_awString::IString_const____ptr64_]
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awOS::Filename::destructor_void____ptr64]
jmp 0x140004ea0
mov rdx, r12
lea rcx, [rsp + 0x70]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140004bb0
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ADC2013Adlm.log
lea rcx, [rbp - 0x60]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Adlm
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Autodesk
lea rcx, [rsp + 0x60]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call qword [sym.imp.libBase.dll_public:_static_class_awString::IString___cdecl_awOS::Filename::join_class_awString::IString_const____ptr64__class_awString::IString_const____ptr64__class_awString::IString_const____ptr64__class_awString::IString_const____ptr64_]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140004bb0
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x10]
test al, al
je 0x140004fc3
xor r9d, r9d
xor r8d, r8d
lea rdx, str.en_US
lea rcx, [rsp + 0x40]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
jmp 0x140004fd0
mov rdx, r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140004bb0
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov ecx, ebx
call qword [sym.imp.adlmint.dll_ydlwinolealony]
mov r12d, eax
lea rcx, [rbp - 0x20]
call fcn.140004c40
lea rcx, [rbp - 0x40]
call fcn.140004c40
lea rcx, [rbp - 0x50]
call fcn.140004c40
xor r13d, r13d
test r12d, r12d
je 0x14000501d
cmp r12d, 0xd
jne 0x14000506f
mov edx, ebx
lea rcx, [rsi + 0x28]
call qword [sym.imp.adlmint.dll_matocetnysrpatdne]
test eax, eax
je 0x140005031
mov qword [rsi + 0x28], r13
cmp ebx, 1
jne 0x14000506f
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140004bb0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.adlmint.dll_argrgonglolivucedeyrthyet]
test eax, eax
je 0x140005065
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.adlmint.dll_jkndsandrenlose]
mov qword [rsi + 0x28], r13
lea rcx, [rsp + 0x40]
call fcn.140004c40
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1400050bd
xor edx, edx
call qword [sym.imp.adlmint.dll_idnmhasdrompose]
lea rdx, [0x140004ba0]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.adlmint.dll_adrrgotdnoserproructynlin]
mov ecx, 8
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsi + 0x20], rax
mov rdx, rax
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.adlmint.dll_iclmbavddenantethacourt]
test eax, eax
je 0x1400050bd
mov rcx, qword [rsi + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x20], r13
lea rcx, [rbp - 0x30]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140026280
mov rbx, qword [rsp + 0x578]
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret