Function at 0x14004c2e4
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 [0x1400c7228]
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 [0x1400c9741], 8
je 0x14004c35e
xor r8d, r8d
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
xor ecx, ecx
call fcn.14004b220
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004c37e
mov r9d, eax
mov edx, 0xa9e
jmp 0x14004c3cb
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindows_Search
mov rcx, 0xffffffff80000002
call fcn.1400140d4
mov r15d, eax
test eax, eax
jle 0x14004c3b6
movzx r15d, ax
or r15d, 0x80070000
mov rcx, qword [rsp + 0x538]
test r15d, r15d
jns 0x14004c3dc
mov r9d, r15d
mov edx, 0xaa4
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
call fcn.14002a6ec
jmp 0x14004cbc6
call fcn.14004aef4
mov ecx, eax
mov rdx, rsi
call fcn.14004bf7c
mov r15d, eax
mov rcx, qword [rsp + 0x538]
lea r13, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
test eax, eax
jns 0x14004c411
mov r9d, eax
mov r8, r13
mov edx, 0xaaa
call fcn.14002a6ec
mov word [rsp + 0x4f6], r12w
mov dword [rsp + 0x98], 0x206
mov dword [rsp + 0x9c], 2
test r15d, r15d
js 0x14004c4a1
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]
mov r15d, eax
test eax, eax
jle 0x14004c480
movzx r15d, ax
or r15d, 0x80070000
mov rcx, qword [rsp + 0x538]
test r15d, r15d
jns 0x14004c543
mov r9d, r15d
mov r8, r13
mov edx, 0xab4
call fcn.14002a6ec
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]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x88]
call fcn.14004b0ac
nop
mov r9d, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
mov edx, 0x7d5
lea rcx, [rsp + 0x88]
call fcn.14004b0f0
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.0x1400022d4.0]
nop
lea rcx, [rsp + 0x88]
call fcn.14002b720
test r15d, r15d
js 0x14004cbb8
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathRemoveBackslashW]
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0xa0]
call fcn.14001d40c
nop
lea rdx, [0x140095f90]
lea rcx, [rsp + 0x60]
call fcn.14001d40c
nop
lea rdx, str.SystemIndex
lea rcx, [rsp + 0x68]
call fcn.14001d40c
nop
lea rdx, str.Search.Gatherer
lea rcx, [rsp + 0xb0]
call fcn.14001d40c
nop
lea rdx, str.Applications_
lea rcx, [rsp + 0x70]
call fcn.14001d40c
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14004569c
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
test r14, r14
je 0x14004c5f3
test rdi, rdi
je 0x14004c5f3
test rbx, rbx
je 0x14004c5f3
cmp qword [rsp + 0xb0], r12
je 0x14004c5f3
cmp qword [rsp + 0x70], r12
jne 0x14004c611
mov r15d, 0x8007000e
mov rcx, qword [rsp + 0x538]
mov r9d, r15d
mov r8, r13
mov edx, 0xacd
call fcn.14004b168
test r15d, r15d
js 0x14004cb80
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
lea rdx, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogsSystemIndex
mov rcx, 0xffffffff80000002
call fcn.140010830
mov r15d, eax
test eax, eax
jle 0x14004c65e
movzx r15d, ax
or r15d, 0x80070000
mov rcx, qword [rsp + 0x538]
test r15d, r15d
jns 0x14004c680
mov r9d, r15d
mov r8, r13
mov edx, 0xad7
call fcn.14002a6ec
jmp 0x14004cb80
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
mov dword [rax], 1
test byte [0x1400c9741], 8
je 0x14004c6bb
mov r8d, 1
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
mov qword [rsp + 0x58], r12
test r14, r14
je 0x14004c6ee
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rsp + 0xa0]
call fcn.14004657c
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14004c6ee
mov ecx, 0x8007000e
call fcn.140045afc
lea rdx, [0x1400a3368]
lea rcx, [rsp + 0x58]
call fcn.140045704
mov r9, rsi
mov r8, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.140046cb8
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004c73a
mov r9d, eax
mov r8, r13
mov edx, 0xae9
call fcn.14002a6ec
nop
jmp 0x14004c77c
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r15d, r15d
js 0x14004cb80
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea rdx, str.Gathering_Manager
mov rcx, qword [rsp + 0xb8]
call fcn.1400140d4
mov r15d, eax
test eax, eax
jle 0x14004c7c7
movzx r15d, ax
or r15d, 0x80070000
test r15d, r15d
jns 0x14004c87f
mov rcx, qword [rsp + 0x538]
mov r9d, r15d
mov r8, r13
mov edx, 0xaf8
call fcn.14004b168
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]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.14004b0ac
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.14004b0f0
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.0x1400022d4.0]
nop
lea rcx, [rsp + 0x78]
call fcn.14002b720
jmp 0x14004c8db
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.140048a20
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004c8cd
mov r9d, eax
mov r8, r13
mov edx, 0xb01
call fcn.14002a6ec
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x58], r12
test r15d, r15d
js 0x14004ca7b
mov r8d, 7
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400c9741], 8
je 0x14004c913
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14004a538
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004c939
mov edx, 0xb0f
jmp 0x14004ca6f
mov rax, qword [rsp + 0x50]
mov ecx, 8
mov dword [rax], ecx
test byte [0x1400c9741], cl
je 0x14004c963
mov r8d, ecx
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
mov r9, qword [rsp + 0x58]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1400490c0
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004c98f
mov edx, 0xb18
jmp 0x14004ca6f
mov r8d, 9
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400c9741], 8
je 0x14004c9b9
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140049cec
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004c9df
mov edx, 0xb21
jmp 0x14004ca6f
mov r8d, 0xa
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400c9741], 8
je 0x14004ca09
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140046450
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004ca2c
mov edx, 0xb29
jmp 0x14004ca6f
mov r8d, SafeArrayGetDim
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400c9741], 8
je 0x14004ca56
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
call fcn.1400467ac
mov r15d, eax
mov rcx, qword [rsp + 0x538]
test eax, eax
jns 0x14004ca7b
mov edx, 0xb34
mov r9d, eax
mov r8, r13
call fcn.14002a6ec
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004ca92
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400022d4.0]
test r15d, r15d
js 0x14004cb80
mov r8d, SafeArrayGetDim
mov rax, qword [rsp + 0x50]
mov dword [rax], r8d
test byte [0x1400c9741], 8
je 0x14004cac5
lea rdx, [0x1400a3d08]
lea rcx, [0x1400c6a30]
call fcn.14004db00
mov ecx, 1
call fcn.14004b220
mov r15d, eax
test eax, eax
jns 0x14004cb80
mov rcx, qword [rsp + 0x538]
mov r9d, eax
mov r8, r13
mov edx, 0xb41
call fcn.14004b168
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]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.14004b0ac
nop
mov r9d, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
mov edx, 0x7d6
lea rcx, [rsp + 0x78]
call fcn.14004b0f0
mov dword [rsi + 0x14], eax
mov rdx, qword [rsi]
mov r10, qword [rdx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, str.SetupCompletedSuccessfully
mov rcx, rsi
mov rax, r10
call qword [case.0x1400022d4.0]
nop
lea rcx, [rsp + 0x78]
call fcn.14002b720
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14002c150
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