Function at 0x140027a5c
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 [0x1400dc7a8]
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.14006ad60
nop
cmp qword [rbp + 0x40], rbx
jne 0x140027adc
mov rcx, qword [rbp + 0x278]
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcatversion.cxx
mov edx, 0xc2
call fcn.14005b88c
nop
lea rcx, [rbp - 0x70]
call fcn.140012244
mov eax, 0x80004005
jmp 0x140027d6e
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 0x140027b6a
test eax, eax
jle 0x140027b41
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.140067834
cmp esi, 2
jne 0x140027ac9
mov byte [rdi], r15b
jmp 0x140027ac9
cmp dword [rsp + 0x48], r15d
je 0x140027b90
mov byte [rdi], r15b
mov dword [rsp + 0x40], 2
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140067738
jmp 0x140027ac9
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.140067e4c
mov dword [rsp + 0x50], eax
mov rcx, qword [rbp + 0x278]
test eax, eax
jns 0x140027c03
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.14006763c
jmp 0x140027ac9
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 0x140027c67
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140027c42
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.140067834
mov ebx, 0x80004005
jmp 0x140027d63
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.14003f4fc
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 0x140027d43
mov dword [r14], r15d
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jne 0x140027d40
mov rcx, qword [rsp + 0x78]
mov rax, qword [rbp - 0x80]
cmp rcx, qword [0x1400b4068]
jne 0x140027d0c
cmp rax, qword [0x1400b4070]
je 0x140027d1a
cmp rcx, qword [rsp + 0x68]
jne 0x140027d40
cmp rax, qword [rsp + 0x70]
jne 0x140027d40
mov edx, dword [rsp + 0x60]
cmp dword [rsp + 0x4c], edx
ja 0x140027d40
mov dword [r14], ebx
jb 0x140027d3b
cmp rcx, qword [0x1400b4068]
jne 0x140027d63
cmp rax, qword [0x1400b4070]
jne 0x140027d63
mov byte [rdi], r15b
jmp 0x140027d63
mov byte [rdi], r15b
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xa0]
cmp dword [r14], r15d
jne 0x140027d5d
call fcn.1400279dc
jmp 0x140027d63
call fcn.140067544
nop
lea rcx, [rbp - 0x70]
call fcn.140012244
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret