Function at 0x45aed0
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 [0x004f1230]
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 0x45b1dd
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp word [rbp - 0x40], si
jne 0x45af51
mov r8d, esi
jmp 0x45af6a
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x45af60
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.0045bbb0
nop
mov r8d, 6
lea rdx, [0x004a9040]
lea rcx, [rsp + 0x60]
call qword [sym.imp.dvacore.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int_____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.0040ee10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x45afc6
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 qword [sym.imp.ASLFoundation.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int_____cdecl_ASL::MakeString_char_const____ptr64_]
mov rbx, rax
mov r8d, 1
lea rdx, [0x004a9048]
lea rcx, [rsp + 0x60]
call qword [sym.imp.dvacore.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int_____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.00406b50
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0040ee10
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x45b04f
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 0x45b07d
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 0x45b0ad
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 qword [sym.imp.ASLFoundation.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int_____cdecl_ASL::MakeString_char_const____ptr64_]
mov rbx, rax
mov r8d, 1
lea rdx, [0x004a9048]
lea rcx, [rbp - 0x80]
call qword [sym.imp.dvacore.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int_____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.00406b50
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0040ee10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x45b138
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 0x45b167
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 0x45b194
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_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int_____cdecl_ASL::PathUtils::AddTrailingSlash_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int___const____ptr64_]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x45b1db
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 0x45b1ec
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.0047f350
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