Function at 0x1400fd7d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x38], r15d
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], r15d
mov qword [rbp - 0x18], r15
lea rdx, str.Outlook.ApplicationCurVer
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea ecx, [r15 + 0x64]
call sub.mfc140u.dll_operator
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov r8, rax
mov rdx, 0xffffffff80000000
mov r9d, 0x20019
lea rcx, [rbp - 0x28]
call fcn.1400f0180
mov rsi, qword [rbp - 0x28]
test eax, eax
jne 0x1400fd907
mov eax, dword [rbp + 0x38]
add eax, eax
mov dword [rbp + 0x40], eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, [0x14014a9e0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400fd907
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x1400fd907
mov ebx, dword [rbp + 0x40]
shr ebx, 1
mov edx, ebx
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov r14, rax
lea ecx, [rbx + rbx]
mov dword [rbp + 0x40], ecx
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, [0x14014a9e0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400fd8f8
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x1400fd8f8
test r14, r14
je 0x1400fd8f8
cmp dword [rbp + 0x40], r15d
jne 0x1400fd8f8
mov word [r14], r15w
mov edx, 0xffffffff
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, str.Outlook.Application.15
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x1400fd959
lea rdx, str.SOFTWAREMicrosoftOffice15.0
jmp 0x1400fda47
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, str.Outlook.Application.16
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x1400fd9ab
lea rdx, str.SOFTWAREMicrosoftOffice16.0
jmp 0x1400fda47
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, str.Outlook.Application.14
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x1400fd9fa
lea rdx, str.SOFTWAREMicrosoftOffice14.0
jmp 0x1400fda47
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, str.Outlook.Application.12
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x1400fda51
lea rdx, str.SOFTWAREMicrosoftOffice12.0
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
test rsi, rsi
je 0x1400fda6a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret