Function at 0x1400e93c0
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.1400e21d0
mov rsi, qword [rbp - 0x28]
test eax, eax
jne 0x1400e94f7
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, [0x14012c468]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e94f7
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x1400e94f7
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, [0x14012c468]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e94e8
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x1400e94e8
test r14, r14
je 0x1400e94e8
cmp dword [rbp + 0x40], r15d
jne 0x1400e94e8
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__4]
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 0x1400e9549
lea rdx, str.SOFTWAREMicrosoftOffice15.0
jmp 0x1400e95e5
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__4]
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 0x1400e9598
lea rdx, str.SOFTWAREMicrosoftOffice16.0
jmp 0x1400e95e5
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__4]
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 0x1400e95ef
lea rdx, str.SOFTWAREMicrosoftOffice14.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 0x1400e9608
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