Function at 0x404610
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 [0x00441130]
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 0x40491b
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp word [rbp - 0x40], si
jne 0x404691
mov r8d, esi
jmp 0x4046aa
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x4046a0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.00405aa0
nop
mov r8d, 6
lea rdx, [0x004288c8]
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.004056f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x404706
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.00403f00
mov rbx, rax
mov r8d, 1
lea rdx, [0x004288d0]
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.004027e0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.004056f0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x40478e
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 0x4047bc
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 0x4047ec
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.00403f00
mov rbx, rax
mov r8d, 1
lea rdx, [0x004288d0]
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.004027e0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.004056f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x404876
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 0x4048a5
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 0x4048d2
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 0x404919
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 0x40492a
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.004211a0
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