Function at 0x14001e76c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor ebx, ebx
lea rcx, [rbp - 0x70]
mov byte [rdx], bl
mov r14, r8
mov byte [r8], bl
mov rsi, rdx
lea r8d, [rbx + 1]
call fcn.14000cacc
cmp qword [rbp + 0x40], rbx
je 0x140039cba
mov edi, 0xc8
lea rcx, [rbp + 0xa0]
mov r8d, edi
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rbp + 0x40]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rbp + 0xa0]
mov dword [rsp + 0x4c], edi
lea r8, str.IndexerCatalogVersion
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x48], 1
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140039d1c
cmp dword [rsp + 0x48], 1
jne 0x140039d4d
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.1400200bc
mov dword [rsp + 0x44], eax
test eax, eax
js 0x140039cd4
lea r8, [rsp + 0x58]
mov dword [rsp + 0x58], 0x20
lea rdx, [0x1400a5890]
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetNLSVersionEx]
nop dword [rax + rax]
test eax, eax
je 0x140039d69
cmp dword [rsp + 0x50], 6
jne 0x14001e93e
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x54], eax
jne 0x14001e93e
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rcx, rax
sub rcx, qword [0x1400a6d78]
jne 0x14001e8bd
mov rcx, rdx
sub rcx, qword [0x1400a6d80]
test rcx, rcx
je 0x14001e8d9
mov rcx, rax
sub rcx, qword [rsp + 0x68]
jne 0x14001e8d4
mov rcx, rdx
sub rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x14001e93e
mov ecx, dword [rsp + 0x60]
cmp dword [rsp + 0x40], ecx
ja 0x14001e93e
mov byte [r14], 1
jb 0x140039da6
sub rax, qword [0x1400a6d78]
je 0x14001e932
test rax, rax
je 0x140039da6
lea rcx, [rbp - 0x70]
call fcn.140014000
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140029fb0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rax, rdx
sub rax, qword [0x1400a6d80]
jmp 0x14001e8f6
mov r8d, 0x28
mov word [rbp + 0x170], bx
lea rdx, [rbp + 0x50]
mov word [rbp + 0x50], bx
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x5c]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, str._d._x._x._s
mov eax, dword [rsp + 0x60]
mov r9d, 6
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x170]
lea edx, [r9 + 0x5e]
call fcn.14000388c
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xa0]
call fcn.140058454
jmp 0x14001e8ff
mov rcx, qword [rbp + 0x268]
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcatversion.cxx
mov edx, 0x52
call fcn.1400513a0
jmp 0x140039d09
mov rcx, qword [rbp + 0x268]
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcatversion.cxx
mov r9d, eax
mov edx, 0x74
call fcn.140042700
lea rdx, [rsp + 0x44]
mov byte [rsi], 1
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 3
call fcn.1400584d4
lea rcx, [rbp - 0x70]
call fcn.140014000
mov eax, 0x80004005
jmp 0x14001e90a
test edi, edi
jle 0x140039d28
movzx eax, di
or eax, 0x80070000
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x44], 1
call fcn.1400584d4
cmp edi, 2
jne 0x140039d09
mov byte [rsi], 1
jmp 0x140039d09
lea rdx, [rsp + 0x48]
mov byte [rsi], 1
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x44], 2
call fcn.1400584d4
jmp 0x140039d09
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140039d81
movzx eax, ax
or eax, 0x80070000
lea rdx, [rsp + 0x44]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 4
call fcn.1400584d4
mov ebx, 0x80004005
jmp 0x14001e8ff
mov byte [rsi], 1
jmp 0x14001e8ff