Function at 0x140026ecc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x140118a50]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
lea r8, str.Common::IsOnlyCentennialOfficeTemplateRegistered__
lea r12, str.UevCommon
mov rdx, r12
lea rcx, [rbp + 0x110]
call fcn.140026b70
nop
xor esi, esi
mov byte [rsp + 0x60], sil
call fcn.14000a554
mov rcx, qword [rax]
lea r15d, [rsi + 7]
lea r13d, [rsi + 9]
test byte [rcx + 0x20], 8
jbe 0x140026fe9
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea r8d, [rsi + 0x3e]
lea rdx, str.Common::IsOnlyCentennialOfficeTemplateRegistered_____Entering.
lea rcx, [rbp - 0x30]
call fcn.140006190
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov r8d, r13d
mov rdx, r12
lea rcx, [rbp - 0x78]
call fcn.140006190
nop
call fcn.14000a554
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x10]
call fcn.14002204c
mov rbx, rax
call fcn.14000a554
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x78]
call fcn.140021e04
nop
lea rcx, [rbp + 0x10]
call fcn.140009a30
nop
cmp qword [rbp - 0x60], 8
jb 0x140026fcc
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
cmp qword [rbp - 0x18], 8
jb 0x140026fe9
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftUevAgentRuntimeTemplateRegistration
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
call fcn.14000a554
mov rcx, qword [rax]
lea rbx, [method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_8]
lea rdi, [0x140029810]
test byte [rcx + 0x20], 8
jbe 0x140027112
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov r8d, 0x51
lea rdx, str.Common::IsOnlyCentennialOfficeTemplateRegistered___RegCreateKeyEx_returned___1_.
lea rcx, [rbp - 0x58]
call fcn.140006190
nop
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov r8, r13
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.140006190
nop
call fcn.14000a554
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.14002204c
nop
lea rcx, [rsp + 0x64]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400151c8
mov rbx, rax
call fcn.14000a554
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021e04
nop
lea rcx, [rbp + 0x10]
call fcn.140009a30
nop
cmp qword [rbp - 0x18], 8
jb 0x1400270ee
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp - 0x40], 8
jb 0x14002710b
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
lea rbx, [method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_8]
cmp dword [rsp + 0x64], esi
jne 0x140027418
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002754e
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x64], eax
call fcn.14000a554
mov rcx, qword [rax]
test byte [rcx + 0x20], 8
jbe 0x140027257
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov r8d, 0x60
lea rdx, str.Common::IsOnlyCentennialOfficeTemplateRegistered___RegQueryInfoKey_returned___1_._cValues___2_
lea rcx, [rbp - 0x58]
call fcn.140006190
nop
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov r8, r13
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.140006190
nop
call fcn.14000a554
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.14002204c
nop
lea rcx, [rsp + 0x64]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400151c8
lea rcx, [rsp + 0x68]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400151c8
mov rbx, rax
call fcn.14000a554
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021e04
nop
lea rcx, [rbp + 0x10]
call fcn.140009a30
nop
cmp qword [rbp - 0x18], 8
jb 0x14002723a
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp - 0x40], 8
jb 0x140027257
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
cmp dword [rsp + 0x64], esi
jne 0x140027418
mov eax, dword [rsp + 0x68]
cmp eax, 2
ja 0x140027418
mov edi, esi
test eax, eax
je 0x140027418
mov dword [rsp + 0x78], 0x104
mov rcx, qword [rsp + 0x70]
test rcx, rcx
setne al
test al, al
je 0x14002757d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x190]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x64], eax
call fcn.14000a554
mov rax, qword [rax]
test byte [rax + 0x20], 8
jbe 0x1400273cb
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov r8d, 0x5f
lea rdx, str.Common::IsOnlyCentennialOfficeTemplateRegistered___RegEnumValue_returned___1_._valueName___2_
lea rcx, [rbp - 0x58]
call fcn.140006190
nop
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov r8, r13
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.140006190
nop
call fcn.14000a554
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.14002204c
nop
lea rcx, [rsp + 0x64]
mov qword [rbp - 0x78], rcx
lea rcx, [method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_8]
mov qword [rbp - 0x70], rcx
lea rcx, [0x140029810]
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400151c8
lea rcx, [rbp + 0x190]
mov qword [rbp - 0x78], rcx
lea rcx, [method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_8]
mov qword [rbp - 0x70], rcx
lea rcx, [0x140029820]
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400151c8
mov rbx, rax
call fcn.14000a554
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021e04
nop
lea rcx, [rbp + 0x10]
call fcn.140009a30
nop
cmp qword [rbp - 0x18], 8
jb 0x1400273ae
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp - 0x40], 8
jb 0x1400273cb
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
cmp dword [rsp + 0x64], esi
jne 0x140027544
lea rdx, str.MicrosoftCentennialOfficeWin32
lea rcx, [rbp + 0x190]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140027407
lea rdx, str.MicrosoftCentennialOfficeWin64
lea rcx, [rbp + 0x190]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140027544
mov byte [rsp + 0x60], 1
inc edi
cmp edi, dword [rsp + 0x68]
jb 0x140027278
call fcn.14000a554
mov rcx, qword [rax]
test byte [rcx + 0x20], 8
jbe 0x1400274f7
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov r8d, 0x60
lea rdx, str.Common::IsOnlyCentennialOfficeTemplateRegistered___onlyCentennialOfficeTemplateRegistered___1_.
lea rcx, [rbp - 0x58]
call fcn.140006190
nop
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov r8, r13
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.140006190
nop
call fcn.14000a554
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.14002204c
nop
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x78], rcx
lea rcx, [method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_8]
mov qword [rbp - 0x70], rcx
lea rcx, [0x140029830]
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400151c8
mov rbx, rax
call fcn.14000a554
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021e04
nop
lea rcx, [rbp + 0x10]
call fcn.140009a30
nop
cmp qword [rbp - 0x18], 8
jb 0x1400274da
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp - 0x40], 8
jb 0x1400274f7
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov bl, byte [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140005eec
nop
lea rcx, [rbp + 0x110]
call fcn.140026c80
mov al, bl
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400b6250
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
mov byte [rsp + 0x60], sil
jmp 0x140027418
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x58]
call fcn.140005f98
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400057d8
lea rdx, [0x14010e268]
lea rcx, [rbp - 0x30]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x58]
call fcn.140005f98
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400057d8
lea rdx, [0x14010e268]
lea rcx, [rbp - 0x30]
call sub.msvcrt.dll__CxxThrowException
int3