Function at 0x140012600
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1570]
mov eax, 0x1670
call fcn.140031a50
sub rsp, rax
mov rax, qword [0x140055058]
xor rax, rsp
mov qword [rbp + 0x1560], rax
mov r14, r9
movzx edi, r8b
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rbp - 0x10], r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, 0xff
lea rcx, [rbp + 0x50]
call qword [sym.imp.UserData.dll_acudGetUserProductRegistryRootKey]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140012250
test dil, dil
je 0x1400131be
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400126b7
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400126b7
mov rdx, qword [rsi]
lea rcx, str.ERROR:_Failed_to_create_missing_user_data_folder:__s_n
call fcn.1400133b0
xor bl, bl
jmp 0x1400131ca
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], r15
mov r8d, 0x7ff
lea rdx, [rbp + 0x560]
mov ecx, 8
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_acudGetSpecialFolder_enum_AcUdSpecialFolder::Folders__wchar_t____ptr64__unsigned_long_long_unsigned___int64__]
test eax, eax
jne 0x1400126f0
lea rcx, str.ERROR:_Cant_determine_local_root_folder._n
call fcn.1400133b0
jmp 0x140013060
mov qword [rbp - 0x38], r15
mov rdx, rsi
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString_const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x38]
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp word [rdx + r8*2], 0
jne 0x140012710
mov qword [rbp - 8], r15
mov qword [rbp + 8], r15
mov ebx, 7
mov qword [rbp + 0x10], rbx
mov word [rbp - 8], r15w
lea rcx, [rbp - 8]
call fcn.140005c00
nop
mov qword [rbp + 0x40], r15
lea rax, [0x1400550e0]
mov qword [rbp + 0x48], rax
lea r8, [rbp + 0x40]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
call qword [sym.imp.AcPal.dll_class_std::filesystem::path___cdecl_Autodesk::AutoCAD::PAL::FileSystem::absolute_class_std::filesystem::path_const____ptr64__class_std::error_code____ptr64_]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140005510
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400127ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400127a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400127a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030ec0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov rsi, qword [rbp + 8]
lea rdi, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdi, qword [rbp - 8]
cmp rsi, 8
jae 0x1400127da
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x78], xmm0
jmp 0x14001281f
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, r12
lea rcx, [rsp + 0x78]
call fcn.140005e30
mov qword [rsp + 0x78], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x78], rsi
lea rdx, [rsp + 0x78]
cmp rbx, 8
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::assign_wchar_t_const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140012885
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030ec0
call qword [sym.imp.AcPal.dll_wchar_t___cdecl_Autodesk::AutoCAD::PAL::FileSystem::path_separator_void_]
movzx edi, ax
mov word [rbp - 0x48], ax
mov word [rbp - 0x46], r15w
mov r8d, r12d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::findLastOneOf_wchar_t_const____ptr64__int_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_unsigned_int___cdecl_AcString::length_void_const___ptr64]
dec eax
cmp ebx, eax
je 0x1400128d1
mov word [rbp - 0x48], di
mov word [rbp - 0x46], r15w
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
lea r8, str.Local
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
mov word [rbp - 0x48], di
mov word [rbp - 0x46], r15w
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
lea rax, [rbp + 0x560]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rbx, qword [rbp - 0x28]
cmp rbx, qword [rbp - 0x20]
je 0x140012977
mov qword [rbp - 0x68], rbx
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
add qword [rbp - 0x28], 0x10
jmp 0x140012989
lea r8, [rsp + 0x68]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140013fe0
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov r8d, 0x7ff
lea rdx, [rbp + 0x560]
mov ecx, 6
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_acudGetSpecialFolder_enum_AcUdSpecialFolder::Folders__wchar_t____ptr64__unsigned_long_long_unsigned___int64__]
test eax, eax
jne 0x1400129ef
lea rcx, str.ERROR:_Cant_determine_roaming_root_folder._n
call fcn.1400133b0
jmp 0x140013003
lea r8, str.Roaming
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
mov word [rbp - 0x48], di
mov word [rbp - 0x46], r15w
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
lea rax, [rbp + 0x560]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rbx, qword [rbp - 0x28]
cmp rbx, qword [rbp - 0x20]
je 0x140012a95
mov qword [rbp - 0x68], rbx
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
add qword [rbp - 0x28], 0x10
jmp 0x140012aa7
lea r8, [rsp + 0x68]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140013fe0
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rbx, qword [rbp - 0x30]
cmp rbx, qword [rbp - 0x28]
je 0x140012b11
nop word [rax + rax]
lea rdx, [rbx + 8]
mov r8, r14
mov rcx, rbx
call fcn.140012110
test al, al
je 0x140013003
add rbx, 0x10
cmp rbx, qword [rbp - 0x28]
jne 0x140012af0
mov byte [rsp + 0x28], 1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.AcPal.dll_acRegOpenKeyEx]
test eax, eax
je 0x140012b55
mov r8d, eax
lea rdx, [rbp + 0x50]
lea rcx, str.ERROR:_Cant_open_HKCU___s__Acad_root_registry_key___d_._n
call fcn.1400133b0
jmp 0x140013003
mov qword [rbp - 0x18], r15
lea r8, str.Temp
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
mov word [rbp - 0x48], di
mov word [rbp - 0x46], r15w
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov rdx, qword [rbp - 0x18]
lea rcx, [0x14003ef38]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wputenv_s]
mov byte [rsp + 0x28], 1
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Profiles
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.AcPal.dll_acRegOpenKeyEx]
test eax, eax
je 0x140012bf2
mov edx, eax
lea rcx, str.ERROR:_Cant_open_profiles_key___d_._n
call fcn.1400133b0
jmp 0x140012ff8
mov dword [rbp + 0x18], 0x100
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14003cc84]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.AcPal.dll_acRegQueryValueEx]
test eax, eax
je 0x140012c5b
mov r8d, eax
lea rdx, [rbp + 0x50]
lea rcx, str.ERROR:_Cant_determine_current_profile___s__errCode:__d_._n
call fcn.1400133b0
lea rdx, [rbp + 0x50]
lea rcx, str.ERROR:_The_value___Default___for_key___sProfiles__is_not_set._n
call fcn.1400133b0
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
jmp 0x140012ff8
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
mov qword [rbp - 0x40], r15
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_void____ptr64]
nop
lea r8, [rbp + 0x250]
lea rdx, str.Profiles_sGeneral_Configuration
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::format_wchar_t_const____ptr64____ptr64]
mov byte [rsp + 0x28], 1
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.AcPal.dll_acRegOpenKeyEx]
test eax, eax
je 0x140012cc7
mov rdx, qword [rbp - 0x40]
lea rcx, str.ERROR:_Cant_find__s_registry_key_n
call fcn.1400133b0
jmp 0x140012d0b
mov dword [rbp - 0x48], 0x208
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x350]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.TempDirectory
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.AcPal.dll_acRegQueryValueEx]
test eax, eax
je 0x140012d1a
lea rcx, str.ERROR:_Cant_find_TempDirectory_registry_value__1_._n
call fcn.1400133b0
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
jmp 0x140012ff8
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
lea rax, [rbp + 0x350]
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString_const____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rbx, qword [rbp - 0x28]
cmp rbx, qword [rbp - 0x20]
je 0x140012d95
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
add qword [rbp - 0x28], 0x10
jmp 0x140012da7
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140013fe0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.AcPal.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_Autodesk::AutoCAD::PAL::FileSystem::getMyDocumentsPath_bool_]
nop
cmp qword [rbp + 0x30], 0
jne 0x140012e3d
lea rcx, str.ERROR:_Cant_determine_Documents_folder._n
call fcn.1400133b0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140012ff8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012f74
call fcn.140030ec0
jmp 0x140012ff8
movzx edx, di
lea rcx, [rbp + 0x20]
call fcn.14000a770
lea r8, str.Documents
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
mov word [rbp - 0x48], di
mov word [rbp - 0x46], r15w
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::concat_wchar_t_const____ptr64____ptr64]
nop
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
mov rbx, qword [rbp - 0x28]
cmp rbx, qword [rbp - 0x20]
je 0x140012ef3
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_class_AcString____ptr64____ptr64]
nop
add qword [rbp - 0x28], 0x10
jmp 0x140012f05
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140013fe0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140012f80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012f7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030ec0
mov byte [rsp + 0x48], 1
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
mov rcx, 0xffffffff80000001
call qword [sym.imp.AcPal.dll_acRegCreateKeyEx]
test eax, eax
je 0x140012fd2
mov rdx, qword [rbp - 0x10]
lea rcx, str.ERROR:_Cant_open_user_root_registry_key__key:__s_._n
call fcn.1400133b0
jmp 0x140012ff8
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
call fcn.140011630
test eax, eax
je 0x1400130d1
lea rcx, str.ERROR:_Cant_isolate_Acad_registry_keys._n
call fcn.1400133b0
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140013043
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001303e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013128
call fcn.140030ec0
movdqa xmm0, xmmword [0x14003f480]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r15w
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400130ca
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x140013092
lea rcx, [rbx + 8]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
add rbx, 0x10
cmp rbx, rdi
jne 0x140013072
mov rbx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400130c2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400131af
mov rcx, rbx
call fcn.140030ec0
xor bl, bl
jmp 0x1400131ca
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.AcPal.dll_acRegCloseKey]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140013134
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001312f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001312f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030ec0
movdqa xmm0, xmmword [0x14003f480]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r15w
lea rcx, [rbp - 0x38]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400131be
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x140013183
lea rcx, [rbx + 8]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
add rbx, 0x10
cmp rbx, rdi
jne 0x140013163
mov rbx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400131b6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400131b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140030ec0
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.UserData.dll_acudSetUserProductRegistryRootKey]
mov bl, 1
lea rcx, [rbp - 0x10]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x1560]
xor rcx, rsp
call fcn.140030ea0
add rsp, 0x1670
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret