Function at 0x14004b558
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x510
mov qword [rax - 0x468], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov rsi, r8
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0xc0], r8
xor r12d, r12d
mov dword [rdx], r12d
test byte [0x1400dc881], 8
je 0x14004b5d2
xor r8d, r8d
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
xor ecx, ecx
call fcn.14004a454
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004b5f2
mov r9d, eax
mov edx, 0xab8
jmp 0x14004b641
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.14000a928
mov r15d, eax
test eax, eax
jle 0x14004b62c
movzx r15d, ax
or r15d, 0x80070000
mov rcx, qword [rsp + 0x538]
test r15d, r15d
jns 0x14004b652
mov r9d, r15d
mov edx, 0xabe
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
call fcn.1400427b0
jmp 0x14004be98
call fcn.14004a0d0
mov ecx, eax
mov rdx, rsi
call fcn.14004b1d4
mov r15d, eax
mov rcx, qword [rsp + 0x538]
lea r13, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
test eax, eax
jns 0x14004b687
mov r9d, eax
mov r8, r13
mov edx, 0xac4
call fcn.1400427b0
mov word [rsp + 0x4f6], r12w
mov dword [rsp + 0x98], 0x206
mov dword [rsp + 0x9c], 2
test r15d, r15d
js 0x14004b71d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x9c]
lea r8, str.DataDirectory
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
jle 0x14004b6fc
movzx r15d, ax
or r15d, 0x80070000
mov rcx, qword [rsp + 0x538]
test r15d, r15d
jns 0x14004b7c5
mov r9d, r15d
mov r8, r13
mov edx, 0xace
call fcn.1400427b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x88], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xe0]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x88]
call fcn.14004a2bc
nop
mov r9d, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
mov edx, 0x7d5
lea rcx, [rsp + 0x88]
call fcn.14004a310
mov dword [rsi + 0x14], eax
mov rcx, qword [rsi]
mov r10, qword [rcx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, str.DataDirectory
mov rcx, rsi
mov rax, r10
call qword [case.0x1400244c5.0]
nop
lea rcx, [rsp + 0x88]
call fcn.140029434
test r15d, r15d
js 0x14004be84
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathRemoveBackslashW]
nop dword [rax + rax]
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0xa0]
call fcn.140015ccc
nop
lea rdx, [0x1400a4a68]
lea rcx, [rsp + 0x60]
call fcn.140015ccc
nop
lea rdx, str.SystemIndex
lea rcx, [rsp + 0x68]
call fcn.140015ccc
nop
lea rdx, str.Search.Gatherer
lea rcx, [rsp + 0xb0]
call fcn.140015ccc
nop
lea rdx, str.Applications_
lea rcx, [rsp + 0x70]
call fcn.140015ccc
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400444e8
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
test r14, r14
je 0x14004b87b
test rdi, rdi
je 0x14004b87b
test rbx, rbx
je 0x14004b87b
cmp qword [rsp + 0xb0], r12
je 0x14004b87b
cmp qword [rsp + 0x70], r12
jne 0x14004b899
mov r15d, 0x8007000e
mov rcx, qword [rsp + 0x538]
mov r9d, r15d
mov r8, r13
mov edx, 0xae7
call fcn.14004a398
test r15d, r15d
js 0x14004be2e
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0xf003f
mov dword [rsp + 0x28], r12d
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogsSystemIndex
mov rdx, 0xffffffff80000002
call fcn.14000a594
mov r15d, eax
test eax, eax
jle 0x14004b8e6
movzx r15d, ax
or r15d, 0x80070000
mov rcx, qword [rsp + 0x538]
test r15d, r15d
jns 0x14004b908
mov r9d, r15d
mov r8, r13
mov edx, 0xaf1
call fcn.1400427b0
jmp 0x14004be2e
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
mov dword [rax], 1
test byte [0x1400dc881], 8
je 0x14004b949
mov r8d, 1
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
mov qword [rsp + 0x58], r12
test r14, r14
je 0x14004b982
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
lea rcx, [rsp + 0xa0]
call fcn.140045460
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14004b982
mov ecx, 0x8007000e
call fcn.14004494c
lea rdx, [0x1400b3af8]
lea rcx, [rsp + 0x58]
call fcn.140044560
mov r9, rsi
mov r8, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.140045be4
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004b9ce
mov r9d, eax
mov r8, r13
mov edx, 0xb03
call fcn.1400427b0
nop
jmp 0x14004ba10
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test r15d, r15d
js 0x14004be2e
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
lea r8, str.Gathering_Manager
mov rdx, qword [rsp + 0xb8]
call fcn.14000a928
mov r15d, eax
test eax, eax
jle 0x14004ba63
movzx r15d, ax
or r15d, 0x80070000
test r15d, r15d
jns 0x14004bb21
mov rcx, qword [rsp + 0x538]
mov r9d, r15d
mov r8, r13
mov edx, 0xb12
call fcn.14004a398
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xe0]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.14004a2bc
nop
mov rsi, qword [rsp + 0xa8]
mov r9d, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
mov edx, 0x7d7
lea rcx, [rsp + 0x78]
call fcn.14004a310
mov dword [rsi + 0x14], eax
mov rcx, qword [rsi]
mov r10, qword [rcx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, str.Gathering_Manager
mov rcx, rsi
mov rax, r10
call qword [case.0x1400244c5.0]
nop
lea rcx, [rsp + 0x78]
call fcn.140029434
jmp 0x14004bb83
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, qword [rsp + 0x88]
call fcn.140047a30
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004bb6f
mov r9d, eax
mov r8, r13
mov edx, 0xb1b
call fcn.1400427b0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x58], r12
test r15d, r15d
js 0x14004bd23
mov r8d, 7
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400dc881], 8
je 0x14004bbbb
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400496c0
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004bbe1
mov edx, 0xb29
jmp 0x14004bd17
mov rax, qword [rsp + 0x50]
mov ecx, 8
mov dword [rax], ecx
test byte [0x1400dc881], cl
je 0x14004bc0b
mov r8d, ecx
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
mov r9, qword [rsp + 0x58]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140048100
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004bc37
mov edx, 0xb32
jmp 0x14004bd17
mov r8d, 9
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400dc881], 8
je 0x14004bc61
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140048d84
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004bc87
mov edx, 0xb3b
jmp 0x14004bd17
mov r8d, 0xa
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400dc881], 8
je 0x14004bcb1
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140045330
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004bcd4
mov edx, 0xb43
jmp 0x14004bd17
mov r8d, SafeArrayGetDim
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400dc881], 8
je 0x14004bcfe
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
call fcn.1400456ac
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004bd23
mov edx, 0xb4e
mov r9d, eax
mov r8, r13
call fcn.1400427b0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004bd3a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400244c5.0]
test r15d, r15d
js 0x14004be2e
mov r8d, SafeArrayGetDim
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400dc881], 8
je 0x14004bd6d
lea rdx, [0x1400b4428]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
mov ecx, 1
call fcn.14004a454
mov r15d, eax
test eax, eax
jns 0x14004be2e
mov rcx, qword [rsp + 0x538]
mov r9d, eax
mov r8, r13
mov edx, 0xb5b
call fcn.14004a398
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xe0]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.14004a2bc
nop
mov r9d, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
mov edx, 0x7d6
lea rcx, [rsp + 0x78]
call fcn.14004a310
mov dword [rsi + 0x14], eax
mov rdx, qword [rsi]
mov r10, qword [rdx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, [0x1400a4998]
mov rcx, rsi
mov rax, r10
call qword [case.0x1400244c5.0]
nop
lea rcx, [rsp + 0x78]
call fcn.140029434
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, r15d
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14002a310
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret