Function at 0x4040f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x00441130]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea r8d, [rsi + 6]
lea rdx, str.Adobe_
lea rcx, [rsp + 0x60]
call qword [sym.imp.dvacore.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t_____cdecl_dvacore::utility::AsciiToUTF16_char_const____ptr64__unsigned_long_long_unsigned___int64__]
nop
call qword [sym.imp.PRM.dll_char_const____ptr64___cdecl_PRM::GetApplicationName_void_]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.00403f00
nop
or rbx, 0xffffffffffffffff
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.004056f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x404193
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
mov r8d, 1
lea rdx, [0x004288d0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.dvacore.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t_____cdecl_dvacore::utility::AsciiToUTF16_char_const____ptr64__unsigned_long_long_unsigned___int64__]
nop
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.004056f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x4041df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
call qword [sym.imp.PRM.dll_char_const____ptr64___cdecl_PRM::GetApplicationVersion_void_]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.00403f00
nop
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.004056f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x404226
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp word [rbp - 0x80], 0
jne 0x404277
mov rbx, rsi
jmp 0x40428a
lea rax, [rbp - 0x80]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x404280
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.00405aa0
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ASLFoundation.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t_____cdecl_ASL::PathUtils::AddTrailingSlash_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t___const____ptr64_]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x4042c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x4042fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.004211a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret