Function at 0x140008344
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x14001c508]
xor rax, rsp
mov qword [rbp + 0x180], rax
lea rdx, str.AutoCAD.DrawingShellCommon
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rsi, [0x140011010]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
xor edi, edi
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r8, rax
mov dword [rsp + 0x20], 0x20019
lea r9, [rsp + 0x58]
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x34]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::OpenKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int_]
cmp dword [rax], edi
jne 0x140008438
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140008438
mov dword [rsp + 0x40], 0x208
mov dword [rsp + 0x34], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CloseKey_struct_HKEY______ptr64_]
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x140008676
lea rdx, str.SoftwareClasses.dwg
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r8, rax
mov dword [rsp + 0x20], 0x20019
lea r9, [rsp + 0x38]
mov r15, 0xffffffff80000001
mov rdx, r15
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::OpenKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int_]
cmp dword [rax], edi
sete bl
jne 0x1400084f2
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400084f2
mov dword [rsp + 0x34], 0x208
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
jne 0x1400085c3
jmp 0x140008655
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r8, rax
mov dword [rsp + 0x20], 0x20019
lea r9, [rsp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::OpenKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int_]
cmp dword [rax], edi
jne 0x14000866a
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000866a
mov dword [rsp + 0x34], 0x208
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CloseKey_struct_HKEY______ptr64_]
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
je 0x14000866a
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r8, rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x38]
mov rdx, r15
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CreateKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int____ptr64_]
cmp dword [rax], edi
sete bl
test bl, bl
je 0x14000866a
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000866a
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CloseKey_struct_HKEY______ptr64_]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r8, rax
mov dword [rsp + 0x20], 0x2001f
lea r9, [rsp + 0x38]
mov rdx, r15
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::OpenKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int_]
cmp dword [rax], edi
jne 0x14000866a
cmp qword [rsp + 0x38], rdi
je 0x14000866a
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r9, rax
mov r8, rsi
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::Write_struct_HKEY____const___ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64_]
cmp dword [rax], edi
jne 0x140008655
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CloseKey_struct_HKEY______ptr64_]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14000df40
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret