Function at 0x45da80
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x004f5230]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x45dd8b
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp word [rbp - 0x40], si
jne 0x45db01
mov r8d, esi
jmp 0x45db1a
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x45db10
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.0045e650
nop
mov r8d, 6
lea rdx, [0x004ac450]
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
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0040e340
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x45db76
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
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call qword [sym.imp.PRM.dll_char_const____ptr64___cdecl_PRM::GetApplicationName_void_]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.0040b4d0
mov rbx, rax
mov r8d, 1
lea rdx, [0x004ac458]
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
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.00405d40
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0040e340
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x45dbfe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x45dc2c
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__]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x45dc5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call qword [sym.imp.PRM.dll_char_const____ptr64___cdecl_PRM::GetApplicationVersion_void_]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.0040b4d0
mov rbx, rax
mov r8d, 1
lea rdx, [0x004ac458]
lea rcx, [rbp - 0x80]
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 r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.00405d40
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0040e340
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x45dce6
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__]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x45dd15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x45dd42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
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 0x45dd89
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
jmp 0x45dd9a
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
mov word [rdi], si
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.00483ff0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret