Function at 0x16015957c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x328]
sub rsp, 0x410
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, rdx
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x50]
call fcn.160156ee0
xor r14d, r14d
mov qword [rsp + 0x48], r14
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.16005e8e8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000000
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1601597cd
mov sil, r14b
mov ebx, r14d
xor edx, edx
jmp 0x160159792
inc ebx
cmp word [rbp + 0x100], 0x2e
jne 0x16015978b
mov sil, 1
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r9d, 0x20019
lea r8, [rbp + 0x100]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1600693a8
test eax, eax
jle 0x160159666
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [rbp + 0x328]
test eax, eax
js 0x160159815
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r9d, 0x20019
lea r8, str.PersistentHandler
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.1600693a8
test eax, eax
jne 0x160159774
mov dword [rsp + 0x50], 0x27
lea r9, [rsp + 0x50]
lea r8, [rbp + 0xb0]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1600f6bbc
test eax, eax
jne 0x1601596ed
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
test eax, eax
jns 0x1601596ed
movups xmm0, xmmword [0x1601d9060]
movdqu xmmword [rbp - 0x58], xmm0
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x30]
call fcn.16003df84
nop
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.16005cc18
mov rax, qword [rsp + 0x58]
cmp rax, qword [rdi]
setne cl
test cl, cl
je 0x16015972c
movups xmm0, xmmword [rbp - 0x58]
movdqu xmmword [rax + 0x80], xmm0
jmp 0x16015976a
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.16003dec8
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rbp - 0x48]
movaps xmmword [rbp + 0xa0], xmm1
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.1601582a4
nop
lea rcx, [rbp + 0x30]
call fcn.16003dfc4
nop
lea rcx, [rbp - 0x30]
call fcn.16003dfc4
nop
lea rcx, [rsp + 0x60]
call fcn.1600693e8
nop
lea rcx, [rsp + 0x78]
call fcn.1600693e8
jmp 0x160159790
test sil, sil
jne 0x1601597cd
mov edx, ebx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x16015960f
mov rdx, qword [rdi + 8]
lea rcx, str.SearchHandlerList___Walked_registry_looking_for_handlers__found:__d_items
call fcn.16001a1d8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1601597ee
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.16006e590
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_searchgather_serverhandlerlist.cxx
mov edx, 0x2cb
call fcn.1600b47d4
int3