Function at 0x140027c7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400de7a8]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, r8
mov rdi, rdx
xor ebx, ebx
mov byte [rdx], bl
mov dword [r8], 2
lea r15d, [rbx + 1]
mov r8d, r15d
lea rcx, [rbp - 0x70]
call fcn.14006b220
nop
cmp qword [rbp + 0x40], rbx
jne 0x140027cfc
mov rcx, qword [rbp + 0x278]
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcatversion.cxx
mov edx, 0xc2
call fcn.14005bd4c
nop
lea rcx, [rbp - 0x70]
call fcn.140012244
mov eax, 0x80004005
jmp 0x140027f8e
mov esi, reloc.OLEAUT32.dll_SetErrorInfo
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0xa0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x48], r15d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8, str.IndexerCatalogVersion
xor edx, edx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140027d8a
test eax, eax
jle 0x140027d61
movzx eax, si
or eax, 0x80070000
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], r15d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.140067cf4
cmp esi, 2
jne 0x140027ce9
mov byte [rdi], r15b
jmp 0x140027ce9
cmp dword [rsp + 0x48], r15d
je 0x140027db0
mov byte [rdi], r15b
mov dword [rsp + 0x40], 2
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140067bf8
jmp 0x140027ce9
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x4c], ebx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0xa0]
call fcn.14006830c
mov dword [rsp + 0x50], eax
mov rcx, qword [rbp + 0x278]
test eax, eax
jns 0x140027e23
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcatversion.cxx
mov edx, 0xe4
call fcn.14002061c
mov byte [rdi], r15b
mov dword [rsp + 0x40], 3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140067afc
jmp 0x140027ce9
mov dword [rsp + 0x58], 0x20
lea r8, [rsp + 0x58]
lea rdx, str._x_sys_default_locale
mov ecx, r15d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetNLSVersionEx]
nop dword [rax + rax]
test eax, eax
jne 0x140027e87
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140027e62
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140067cf4
mov ebx, 0x80004005
jmp 0x140027f83
mov word [rbp + 0x170], bx
mov word [rbp + 0x50], bx
mov r8d, 0x28
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, 9
lea r8, str._d._x._x._s
lea edx, [r9 + 0x5b]
lea rcx, [rbp + 0x170]
call fcn.14003f9bc
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0xa0]
lea rcx, str.Catalog_version__Current____s__New____s
call fcn.14001e5dc
cmp dword [rsp + 0x44], 9
jne 0x140027f63
mov dword [r14], r15d
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jne 0x140027f60
mov rcx, qword [rsp + 0x78]
mov rax, qword [rbp - 0x80]
cmp rcx, qword [0x1400b5058]
jne 0x140027f2c
cmp rax, qword [0x1400b5060]
je 0x140027f3a
cmp rcx, qword [rsp + 0x68]
jne 0x140027f60
cmp rax, qword [rsp + 0x70]
jne 0x140027f60
mov edx, dword [rsp + 0x60]
cmp dword [rsp + 0x4c], edx
ja 0x140027f60
mov dword [r14], ebx
jb 0x140027f5b
cmp rcx, qword [0x1400b5058]
jne 0x140027f83
cmp rax, qword [0x1400b5060]
jne 0x140027f83
mov byte [rdi], r15b
jmp 0x140027f83
mov byte [rdi], r15b
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xa0]
cmp dword [r14], r15d
jne 0x140027f7d
call fcn.140027bfc
jmp 0x140027f83
call fcn.140067a04
nop
lea rcx, [rbp - 0x70]
call fcn.140012244
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140024c10
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret