Function at 0x14000e450
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov r13, rcx
xor ebx, ebx
mov dword [rbp + 0x50], ebx
mov dword [rcx + CMFCTasksPane::CollapseAllGroups], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
mov rcx, qword [rcx + 0xbc0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [r13 + 0xb78]
test rax, rax
mov r9d, ebx
je 0x14000e4aa
mov r9, qword [rax + 8]
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [r13 + 0xbc0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_4724]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x78], rbx
lea rcx, [rbp + 0x60]
call qword [sym.imp.CrlConfig.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_INIGetRegistryProductKey_void_]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rsi, rax
mov dword [rbp + 0x50], 1
lea r9, [0x14003de20]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [r9 + rcx*2], 0
jne 0x14000e511
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov r8, qword [rsi]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.140011570
mov edi, eax
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rsi, qword [rsp + 0x68]
test edi, edi
jne 0x14000e960
mov r15d, ebx
nop dword [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov dword [rbp + 0x58], operator
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x58]
mov r8, rax
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r12d, eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
test r12d, r12d
jne 0x14000e93d
mov rdi, qword [rsp + 0x50]
lea rcx, [rbp - 0x78]
call qword [sym.imp.CrlConfig.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_INIGetProgramsDir_void_]
nop
mov r8, rdi
mov rdx, qword [rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.CrlUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_SystemIO::Path::Combine_wchar_t_const____ptr64__wchar_t_const____ptr64_]
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
jne 0x14000e649
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
xor al, al
jmp 0x14000e64b
mov al, 1
test al, al
je 0x14000e93d
mov qword [rbp - 0x38], rbx
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x28], rbx
mov r8, qword [rsp + 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140011570
mov rsi, qword [rbp - 0x38]
test eax, eax
jne 0x14000e92a
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x104
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov r14, rax
mov dword [rbp + 0x50], 0x208
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000e70d
mov eax, dword [rbp + 0x60]
dec eax
cmp eax, 1
jbe 0x14000e6e4
mov edi, 0xd
jmp 0x14000e70d
test r14, r14
je 0x14000e70b
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x14000e707
test al, 1
jne 0x14000e700
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14000e70b
mov edi, 0xd
jmp 0x14000e70d
mov word [r14], bx
mov edi, ebx
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
test edi, edi
je 0x14000e76c
lea rcx, [rsp + 0x58]
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
test rsi, rsi
je 0x14000e748
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
inc r15d
mov rsi, qword [rsp + 0x68]
jmp 0x14000e570
mov edx, 0x104
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov r14, rax
mov dword [rbp + 0x50], 0x208
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x68]
xor r8d, r8d
lea rdx, [0x14003de40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000e7eb
mov eax, dword [rbp + 0x68]
dec eax
cmp eax, 1
jbe 0x14000e7c2
mov edi, 0xd
jmp 0x14000e7eb
test r14, r14
je 0x14000e7e9
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x14000e7e5
test al, 1
jne 0x14000e7de
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14000e7e9
mov edi, 0xd
jmp 0x14000e7eb
mov word [r14], bx
mov edi, ebx
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
test edi, edi
jne 0x14000e721
lea ecx, [rdi + 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r14, rax
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14000e83c
mov rdi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
lea rcx, [r14 + 8]
mov rdx, rdi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
jmp 0x14000e83f
mov r14, rbx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
mov rcx, qword [r13 + 0xb78]
mov r8, qword [rsp + 0x60]
mov edx, 0xffffffff
mov rcx, qword [rcx + 8]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x70], 0x27
xor r9d, r9d
xor r8d, r8d
mov edx, 0x146
mov rcx, qword [r13 + 0xbc0]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rbp - 0x68], rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x54], edi
mov dword [rbp - 0x50], edi
mov qword [rbp - 0x40], r14
lea rcx, [r13 + 0xb80]
lea rdx, [rbp - 0x70]
call qword [sym.imp.mfc140u.dll_CMFCAutoHideBar::GetVisibleCount]
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov dword [r13 + CMFCTasksPane::CollapseAllGroups], 1
lea rcx, [rsp + 0x58]
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
test rsi, rsi
je 0x14000e938
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
inc r15d
test r12d, r12d
je 0x14000e570
cmp dword [r13 + 0x1c8], 0
je 0x14000e979
cmp dword [r13 + 0xb68], 0
je 0x14000e979
mov ebx, 1
lea rcx, [r13 + 0xb80]
mov edx, ebx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov edx, 0x646
mov rcx, r13
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov rcx, rax
mov edx, dword [r13 + 0xb68]
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
nop
test rsi, rsi
je 0x14000e9b5
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret