Function at 0x1400394e0
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x107b0
call fcn.1400503f0
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x107f0], rbx
mov qword [rsp + 0x107f8], rbp
movaps xmmword [rsp + 0x107a0], xmm6
mov rax, qword [0x14008a020]
xor rax, rsp
mov qword [rsp + 0x10790], rax
mov r12, rdx
mov rbp, rcx
call fcn.1400264f0
mov rcx, r12
call fcn.1400264f0
lea r14, vtable.AcRegistryAccess.0
mov qword [rsp + 0x58], r14
xor r13d, r13d
mov qword [rsp + 0x60], r13
lea r8, str.SoftwareAutodeskHardcopy
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call qword [0x1400672b8]
nop
cmp qword [rsp + 0x60], r13
jne 0x140039578
xor al, al
jmp 0x140039ae9
mov esi, r13d
lea rcx, [rsp + 0x2c0]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_void____ptr64
nop
movsd xmm6, qword [0x14006a958]
mov dword [rsp + 0x50], CDHtmlElementEventSink::AddRef
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x50]
lea r8, [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
mov edx, esi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
sete bl
test bl, bl
je 0x1400395e7
lea rdx, [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
lea rcx, [rsp + 0x2c0]
call sub.acdb18.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64
jmp 0x1400395fb
lea rdx, [0x14005eb00]
lea rcx, [rsp + 0x2c0]
call sub.acdb18.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64
inc esi
test bl, bl
je 0x140039ac4
lea rdx, str.Software_
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x1a0]
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0xf0]
lea rdx, [0x140067144]
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
mov rax, qword [sym.imp.MSVCP90.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov r8d, dword [rax]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public_virtual:_int___cdecl_AdXREFString::ReverseFind_class_AdXREFString_const____ptr64__int_const___ptr64
mov edi, eax
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
lea rdx, [0x14005eb30]
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
mov rcx, qword [sym.imp.MSVCP90.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov r8d, dword [rcx]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public_virtual:_int___cdecl_AdXREFString::ReverseFind_class_AdXREFString_const____ptr64__int_const___ptr64
mov ebx, eax
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
sub edi, ebx
lea r8d, [rbx + 1]
lea r9d, [rdi - 1]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public_virtual:_class_AdXREFString___cdecl_AdXREFString::Mid_int__int____ptr64
nop
lea rdx, str..EXE
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x260]
mov rax, qword [rsp + 0x260]
call qword [rax + 0xf0]
nop
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
lea rdx, str.ACADLT.EXE
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x260]
call sub.acdb18.dll_public_virtual:_int___cdecl_AdXREFString::CollateNoCase_class_AdXREFString_const____ptr64_const___ptr64
test eax, eax
sete bl
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
test bl, bl
je 0x14003977f
lea rcx, [rsp + 0x260]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
jmp 0x140039591
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r13
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call qword [0x1400672b8]
nop
cmp qword [rsp + 0x48], 0
jne 0x1400397d9
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x260]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
jmp 0x140039591
lea rcx, [rsp + 0x320]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_void____ptr64
nop
lea rdx, str.AcadLocation
lea rcx, [rsp + 0xe0]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x40]
call fcn.140038d90
nop
lea rcx, [rsp + 0xe0]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
lea rcx, [rsp + 0x200]
call sub.acdb18.dll_public_virtual:_bool___cdecl_AdXREFString::IsEmpty_void_const___ptr64
test al, al
je 0x140039891
lea rdx, str.Location
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140038d90
nop
mov rdx, rax
lea rcx, [rsp + 0x200]
call sub.acdb18.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_class_AdXREFString_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x80]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
lea rcx, [rsp + 0x200]
call sub.acdb18.dll_public_virtual:_bool___cdecl_AdXREFString::IsEmpty_void_const___ptr64
test al, al
jne 0x140039a6e
lea rdx, [0x14005eb30]
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x200]
mov rax, qword [rsp + 0x200]
call qword [rax + 0xf0]
nop
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x200]
mov rax, qword [rsp + 0x200]
call qword [rax + 0xf0]
lea rcx, [rsp + 0x200]
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x380]
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x380]
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x380]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400399c0
lea r9, [rsp + 0xd90]
xor edx, edx
mov r8d, 0xfa00
lea rcx, [rsp + 0x380]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400399c0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
lea rdx, [0x14005eb30]
lea rcx, [rsp + 0xd90]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400399c0
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 0x10]
movzx ecx, word [rax + 0x16]
movzx r9d, r8w
shr r8d, 0x10
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d_d
lea rcx, [rsp + 0x320]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::Format_wchar_t_const____ptr64____ptr64
lea rcx, [rsp + 0x320]
call sub.acdb18.dll_public_virtual:_bool___cdecl_AdXREFString::IsEmpty_void_const___ptr64
test al, al
jne 0x140039a6e
lea rcx, [rsp + 0x320]
call sub.acdb18.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rcx, rax
call qword [sym.imp.MSVCR90.dll__wtof]
comisd xmm0, xmm6
jb 0x140039a6e
lea rdx, [0x14005edd0]
lea rcx, [rsp + 0x80]
call sub.acdb18.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64
nop
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140038d90
nop
lea rcx, [rsp + 0x80]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_bool___cdecl_AdXREFString::IsEmpty_void_const___ptr64
test al, al
jne 0x140039a60
lea rdx, [rsp + 0x1a0]
mov rcx, rbp
call fcn.140016060
lea rdx, [rsp + 0x140]
mov rcx, r12
call fcn.140016060
nop
lea rcx, [rsp + 0x140]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rsp + 0x200]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rsp + 0x320]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140039aa4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x260]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
lea rcx, [rsp + 0x1a0]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
jmp 0x140039591
lea rcx, [rsp + 0x2c0]
call sub.acdb18.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64
nop
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140039ae7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x10790]
xor rcx, rsp
call fcn.14004f900
lea r11, [rsp + 0x107b0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret