Function at 0x140003d40
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rdx, [0x140015350]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov qword [rbp - 0x48], r14
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx + 0x158]
call fcn.1400062d0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140003dcd
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 8]
mov qword [rbp - 0x48], rbx
cmp qword [rbp - 0x60], 0
je 0x140003e04
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, qword [rbp - 0x60]
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140003e04
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140003e04
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
xor eax, eax
mov qword [rbp - 0x68], rax
lea rax, vtable.HT_String.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 0xffffffff
mov rax, qword [rbx]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call qword [rax + 0xb0]
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.hcreg13.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetProductBaseName_void_]
nop
lea rdx, str.SOFTWARE_
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
lea rdx, [0x140015228]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
lea rdx, str.R14.0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call fcn.1400102e0
test eax, eax
je 0x140003f36
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.heidi13.dll_public_virtual:_void___cdecl_HT_String::destructor_void____ptr64]
nop
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140003f31
mov r8, qword [rbx]
lea edx, [rax + 1]
mov rcx, rbx
call qword [r8]
nop
jmp 0x140004125
call fcn.14000eed8
mov rdx, rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_AFX_MAINTAIN_STATE::AFX_MAINTAIN_STATE]
nop
mov edi, r14d
mov dword [rsp + 0x60], 0x80
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.ADVAPI32.dll_RegEnumKeyExW
cmp eax, 0x103
je 0x140004052
nop dword [rax]
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x140003fd4
inc edi
mov dword [rsp + 0x60], 0x80
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x40]
mov edx, edi
call sub.ADVAPI32.dll_RegEnumKeyExW
cmp eax, 0x103
jne 0x140003f90
jmp 0x140004052
call sub.ADVAPI32.dll_RegCloseKey
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov dword [rsp + 0x40], 1
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XRibbonBar::XRibbonBar]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.heidi13.dll_public_virtual:_void___cdecl_HT_String::destructor_void____ptr64]
nop
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x14000404d
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
jmp 0x140004125
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XRibbonBar::XRibbonBar]
mov dword [rsp + 0x60], 0x80
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x40]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov rcx, qword [rsp + 0x58]
call sub.ADVAPI32.dll_RegCloseKey
lea rdx, [0x140015228]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.heidi13.dll_public_virtual:_void___cdecl_HT_String::destructor_void____ptr64]
nop
call qword [sym.imp.plotcfg13.dll_class_HT_SPMem_Pool____ptr64___cdecl_SPMP_void_]
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8 + 0x10]
test eax, eax
jne 0x140004125
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14000f1e0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret