Function at 0x140048900
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d8]
sub rsp, 0x4d8
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x48], rcx
mov rbx, qword [rbp + 0x440]
mov qword [rsp + 0x60], rbx
mov r13, qword [rbp + 0x448]
mov dword [rbx], 2
test byte [0x1400dd8c1], 8
je 0x140048984
mov r8d, 2
lea rdx, [0x1400b5778]
lea rcx, [0x1400da440]
call fcn.14004d698
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x10]
lea r8, str.IncludeIPSPlugin
lea rdx, str.SOFTWAREMicrosoftWindows_SearchPreviousSettings
call fcn.14000aa4c
mov esi, eax
test eax, eax
jne 0x1400489d0
mov r12d, dword [rsp + 0x40]
and r12d, 1
jmp 0x1400489ea
add eax, 0xfffffffe
cmp eax, 1
cmovbe esi, r15d
mov r12d, r15d
test esi, esi
jle 0x1400489ea
movzx esi, si
or esi, 0x80070000
mov rcx, qword [rbp + 0x418]
test esi, esi
jns 0x140048a09
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa30
call fcn.140043650
xor eax, eax
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], eax
mov edi, r15d
test esi, esi
js 0x140048f66
lea rax, str.Search.TripoliIndexer
cmp edi, 3
jae 0x140048b17
cmp edi, 2
jne 0x140048a3b
test r12d, r12d
je 0x140048b0d
mov r15d, edi
mov r14d, edi
add r14, r14
mov rdx, qword [rax + r14*8]
lea rcx, [rsp + 0x68]
call fcn.140015d5c
nop
mov rbx, qword [rsp + 0x68]
mov rax, rbx
neg rax
sbb esi, esi
not esi
and esi, 0x8007000e
mov rcx, qword [rbp + 0x418]
jge 0x140048a87
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa3d
call fcn.140043650
jmp 0x140048a99
mov r8, r13
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call fcn.1400467d4
mov esi, eax
mov ecx, esi
not ecx
shr ecx, 0x1f
mov dword [rbp + r15*4 - 0x78], ecx
xor r15d, r15d
test esi, esi
jns 0x140048abc
lea rax, str.Search.TripoliIndexer
cmp dword [rax + r14*8 + 8], r15d
cmovne esi, r15d
lea rax, [0x1400a5af0]
test rbx, rbx
cmovne rax, rbx
mov rcx, qword [rbp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, str.PluginName:__ls
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa4c
call fcn.14004b2e0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
lea rax, str.Search.TripoliIndexer
inc edi
test esi, esi
jns 0x140048a24
test esi, esi
js 0x140048f66
mov rbx, qword [rsp + 0x60]
mov dword [rbx], 3
test byte [0x1400dd8c1], 8
je 0x140048b4c
mov r8d, 3
lea rdx, [0x1400b5778]
lea rcx, [0x1400da440]
call fcn.14004d698
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
mov r14, qword [rsp + 0x78]
mov r8, r14
mov rdx, qword [rsp + 0x48]
call fcn.14000a9b8
mov esi, eax
test eax, eax
jle 0x140048b7f
movzx esi, ax
or esi, 0x80070000
mov rcx, qword [rbp + 0x418]
mov qword [rsp + 0x28], r14
lea rax, str.AppRegPath:__ls
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa57
call fcn.14004b2e0
test esi, esi
js 0x140048ecd
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x40], 2
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str.DefaultProjectPath
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jle 0x140048c04
movzx esi, ax
or esi, 0x80070000
mov rcx, qword [rbp + 0x418]
test esi, esi
jns 0x140048cbe
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa5f
call fcn.140043650
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x48]
call fcn.14004b18c
nop
mov r9d, dword [r13 + 0x10]
mov r8, qword [r13 + 8]
mov edx, 0x7d5
lea rcx, [rsp + 0x48]
call fcn.14004b1e0
mov dword [r13 + 0x14], eax
mov r8, qword [r13]
mov r10, qword [r8 + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, str.DefaultProjectPath
mov rcx, r13
mov rax, r10
call qword [case.0x140024575.0]
nop
lea rcx, [rsp + 0x48]
call fcn.1400294e4
jmp 0x140048eb7
mov word [rbp + 0x1a6], r15w
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140015d5c
nop
mov rdi, qword [rsp + 0x60]
mov rax, rdi
neg rax
sbb esi, esi
not esi
and esi, 0x8007000e
mov rcx, qword [rbp + 0x418]
jge 0x140048d0c
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa66
call fcn.140043650
jmp 0x140048ea8
mov r8d, 4
mov dword [rbx], r8d
test byte [0x1400dd8c1], 8
je 0x140048d31
lea rdx, [0x1400b5778]
lea rcx, [0x1400da440]
call fcn.14004d698
mov qword [rsp + 0x38], r13
mov r8, rdi
mov r15, qword [rsp + 0x70]
mov rdx, r15
mov rcx, qword [rsp + 0x58]
call fcn.140047cf8
mov esi, eax
mov rcx, qword [rbp + 0x418]
mov qword [rsp + 0x28], r15
lea rax, str.Project_:_ls
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa6e
call fcn.14004b2e0
xor r15d, r15d
test esi, esi
js 0x140048ea8
lea r8d, [r15 + 5]
mov dword [rbx], r8d
test byte [0x1400dd8c1], 8
je 0x140048da7
lea rdx, [0x1400b5778]
lea rcx, [0x1400da440]
call fcn.14004d698
mov r14d, r15d
mov rdi, qword [rsp + 0x70]
cmp r14d, 3
jae 0x140048ea3
cmp r14d, 2
jne 0x140048dc8
test r12d, r12d
je 0x140048e98
mov r15d, r14d
cmp dword [rbp + r15*4 - 0x78], 0
je 0x140048e95
add r15, r15
lea rax, str.Search.TripoliIndexer
mov rdx, qword [rax + r15*8]
lea rcx, [rsp + 0x48]
call fcn.140015d5c
nop
mov rbx, qword [rsp + 0x48]
mov rax, rbx
neg rax
sbb esi, esi
not esi
and esi, 0x8007000e
mov rcx, qword [rbp + 0x418]
jge 0x140048e24
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa80
call fcn.140043650
jmp 0x140048e86
lea rax, str.Search.TripoliIndexer
mov r9, r13
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
cmp dword [rax + r15*8 + 0xc], 0
je 0x140048e4d
call fcn.140048118
mov edx, 0xa87
jmp 0x140048e57
call fcn.1400483f8
mov edx, 0xa8c
mov qword [rsp + 0x30], rbx
mov esi, eax
mov qword [rsp + 0x28], rdi
lea rax, str.Project:__ls__Plugin:__ls
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov rcx, qword [rbp + 0x418]
call fcn.14004b2e0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
xor r15d, r15d
inc r14d
test esi, esi
jns 0x140048daf
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140048f52
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.14004b18c
nop
mov r9d, dword [r13 + 0x10]
mov r8, qword [r13 + 8]
mov edx, 0x7d7
lea rcx, [rsp + 0x48]
call fcn.14004b1e0
mov dword [r13 + 0x14], eax
mov rcx, qword [r13]
mov r10, qword [rcx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
mov rdx, r14
mov rcx, r13
mov rax, r10
call qword [case.0x140024575.0]
nop
lea rcx, [rsp + 0x48]
call fcn.1400294e4
test esi, esi
js 0x140048f66
test r12d, r12d
je 0x140048f66
cmp dword [rbp - 0x70], r15d
jne 0x140048f66
call fcn.14004bf88
mov eax, esi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.14002a3c0
add rsp, 0x4d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret