Function at 0x140026c6c
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 [0x140119ad0]
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.140026914
nop
xor esi, esi
mov byte [rsp + 0x60], sil
call fcn.14000a514
mov rcx, qword [rax]
lea r15d, [rsi + 7]
lea r13d, [rsi + 9]
test byte [rcx + 0x20], 8
jbe 0x140026d89
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.140006180
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.140006180
nop
call fcn.14000a514
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x10]
call fcn.140021e3c
mov rbx, rax
call fcn.14000a514
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x78]
call fcn.140021bf4
nop
lea rcx, [rbp + 0x10]
call fcn.140009a00
nop
cmp qword [rbp - 0x60], 8
jb 0x140026d6c
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 0x140026d89
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.14000a514
mov rcx, qword [rax]
lea rbx, [method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_8]
lea rdi, [0x1400295a0]
test byte [rcx + 0x20], 8
jbe 0x140026eb2
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.140006180
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.140006180
nop
call fcn.14000a514
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.140021e3c
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.140014f98
mov rbx, rax
call fcn.14000a514
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021bf4
nop
lea rcx, [rbp + 0x10]
call fcn.140009a00
nop
cmp qword [rbp - 0x18], 8
jb 0x140026e8e
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 0x140026eab
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 0x1400271b8
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400272ee
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.14000a514
mov rcx, qword [rax]
test byte [rcx + 0x20], 8
jbe 0x140026ff7
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.140006180
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.140006180
nop
call fcn.14000a514
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.140021e3c
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.140014f98
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.140014f98
mov rbx, rax
call fcn.14000a514
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021bf4
nop
lea rcx, [rbp + 0x10]
call fcn.140009a00
nop
cmp qword [rbp - 0x18], 8
jb 0x140026fda
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 0x140026ff7
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
cmp dword [rsp + 0x64], esi
jne 0x1400271b8
mov eax, dword [rsp + 0x68]
cmp eax, 2
ja 0x1400271b8
mov edi, esi
test eax, eax
je 0x1400271b8
mov dword [rsp + 0x78], 0x104
mov rcx, qword [rsp + 0x70]
test rcx, rcx
setne al
test al, al
je 0x14002731d
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.14000a514
mov rax, qword [rax]
test byte [rax + 0x20], 8
jbe 0x14002716b
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.140006180
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.140006180
nop
call fcn.14000a514
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.140021e3c
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, [0x1400295a0]
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140014f98
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, [0x1400295b0]
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140014f98
mov rbx, rax
call fcn.14000a514
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021bf4
nop
lea rcx, [rbp + 0x10]
call fcn.140009a00
nop
cmp qword [rbp - 0x18], 8
jb 0x14002714e
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 0x14002716b
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
cmp dword [rsp + 0x64], esi
jne 0x1400272e4
lea rdx, str.MicrosoftCentennialOfficeWin32
lea rcx, [rbp + 0x190]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400271a7
lea rdx, str.MicrosoftCentennialOfficeWin64
lea rcx, [rbp + 0x190]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x1400272e4
mov byte [rsp + 0x60], 1
inc edi
cmp edi, dword [rsp + 0x68]
jb 0x140027018
call fcn.14000a514
mov rcx, qword [rax]
test byte [rcx + 0x20], 8
jbe 0x140027297
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.140006180
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.140006180
nop
call fcn.14000a514
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x10]
call fcn.140021e3c
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, [0x1400295c0]
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140014f98
mov rbx, rax
call fcn.14000a514
mov rcx, rax
mov r9, rbx
lea r8, [rbp - 0x30]
call fcn.140021bf4
nop
lea rcx, [rbp + 0x10]
call fcn.140009a00
nop
cmp qword [rbp - 0x18], 8
jb 0x14002727a
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 0x140027297
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.140005edc
nop
lea rcx, [rbp + 0x110]
call fcn.140026a24
mov al, bl
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400b6b90
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 0x1400271b8
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x58]
call fcn.140005f88
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400057c8
lea rdx, [0x14010f918]
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.140005f88
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400057c8
lea rdx, [0x14010f918]
lea rcx, [rbp - 0x30]
call sub.msvcrt.dll__CxxThrowException
int3