Function at 0x14001c55c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x578]
sub rsp, 0x670
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r9d, 0x2001b
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdi, 0xffffffff80000002
mov rdx, rdi
lea rcx, [rbp + 0x2a0]
call fcn.14001c774
nop
lea rax, [rbp + 0x178]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], 0x41
xor esi, esi
mov word [rbp + 0x178], si
lea rcx, [0x14009b690]
mov qword [rbp + 0x160], rcx
lea rax, [rbp + 0xd8]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 0x41
mov word [rbp + 0xd8], si
mov qword [rbp + 0xc0], rcx
lea rax, [rbp + 0x38]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0x41
mov word [rbp + 0x38], si
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x68]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 0x41
mov word [rbp - 0x68], si
mov qword [rbp - 0x80], rcx
lea r8, [rbp + 0x160]
lea rdx, str.OldDataDirectory_ForExclusionRemoval
lea rcx, [rbp + 0x2a0]
call fcn.140014dd0
test eax, eax
jne 0x140039916
lea rcx, [rbp - 0x80]
call fcn.140014c6c
nop
lea rcx, [rbp + 0x20]
call fcn.140014c6c
nop
lea rcx, [rbp + 0xc0]
call fcn.140014c6c
nop
lea rcx, [rbp + 0x160]
call fcn.140014c6c
nop
lea rcx, [rbp + 0x2a0]
call fcn.140014700
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14002a8b0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x200]
call fcn.14001c494
mov rdx, rax
lea rcx, [rbp + 0x360]
call fcn.14001c28c
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x160]
or ebx, 0xffffffff
mov r9d, ebx
xor r8d, r8d
lea rcx, [rbp + 0x160]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
nop
lea rcx, [rbp + 0x360]
call fcn.140014c6c
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x360]
call fcn.14001c494
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14001c8d8
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x160]
mov r9d, ebx
xor r8d, r8d
lea rcx, [rbp + 0x160]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
nop
lea rcx, [rbp + 0x200]
call fcn.140014c6c
mov rax, qword [rbp + 0xc0]
mov r9d, ebx
xor r8d, r8d
lea rdx, str.file:___
lea rcx, [rbp + 0xc0]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
mov rax, qword [rbp + 0xc0]
mov r9d, dword [rbp + 0x174]
mov r8d, dword [rbp + 0xd4]
mov rdx, qword [rbp + 0x168]
lea rcx, [rbp + 0xc0]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
mov rax, qword [rbp + 0xc0]
mov r9d, ebx
mov r8d, dword [rbp + 0xd4]
lea rdx, [0x1400a68c0]
lea rcx, [rbp + 0xc0]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
lea r8, [rbp + 0x20]
lea rdx, str.DataDirectory
lea rcx, [rbp + 0x2a0]
call fcn.140014dd0
test eax, eax
je 0x140039b46
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x360]
call fcn.14001c494
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14001c28c
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x20]
mov r9d, ebx
xor r8d, r8d
lea rcx, [rbp + 0x20]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
nop
lea rcx, [rbp + 0x200]
call fcn.140014c6c
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x360]
call fcn.14001c494
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14001c8d8
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x20]
mov r9d, ebx
xor r8d, r8d
lea rcx, [rbp + 0x20]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
nop
lea rcx, [rbp + 0x200]
call fcn.140014c6c
mov rax, qword [rbp - 0x80]
mov r9d, ebx
xor r8d, r8d
lea rdx, str.file:___
lea rcx, [rbp - 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
mov rax, qword [rbp - 0x80]
mov r9d, dword [rbp + 0x34]
mov r8d, dword [rbp - 0x6c]
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp - 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
mov rax, qword [rbp - 0x80]
mov r9d, ebx
mov r8d, dword [rbp - 0x6c]
lea rdx, [0x1400a68c0]
lea rcx, [rbp - 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1400a5ff8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, str._l_t_b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
mov qword [rsp + 0x68], rsi
test eax, eax
js 0x140039bb0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 9
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogs
mov rdx, rdi
call fcn.14000add8
mov ebx, eax
test eax, eax
jle 0x140039bb0
movzx ebx, ax
or ebx, 0x80070000
mov edi, esi
test ebx, ebx
js 0x140039d79
mov dword [rsp + 0x58], 0xff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x360]
mov edx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x140039d61
test eax, eax
jne 0x140039d52
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x360]
mov rax, qword [rax + 0x50]
call qword [case.0x140024a95.0]
mov ebx, eax
mov rcx, rsi
mov qword [rsp + 0x50], rcx
test eax, eax
js 0x140039c5d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x1400a83c8]
mov rax, qword [rax]
call qword [case.0x140024a95.0]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
mov rax, rsi
mov qword [rsp + 0x40], rax
test ebx, ebx
js 0x140039cff
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [case.0x140024a95.0]
mov ebx, eax
test eax, eax
js 0x140039cf5
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rax + 0x90]
call qword [case.0x140024a95.0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rax + 0x90]
call qword [case.0x140024a95.0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
mov rax, qword [rax + 0x18]
call qword [case.0x140024a95.0]
mov ebx, eax
test eax, eax
js 0x140039cf5
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140024a95.0]
mov ebx, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
test rax, rax
je 0x140039d1c
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [case.0x140024a95.0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039d2f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140024a95.0]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140039d46
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140024a95.0]
inc edi
test ebx, ebx
jns 0x140039bba
jmp 0x140039d61
jg 0x140039d58
mov ebx, eax
jmp 0x140039d61
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140039d79
lea rdx, str.OldDataDirectory_ForExclusionRemoval
lea rcx, [rbp + 0x2a0]
call fcn.14001d1b0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001c661
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140024a95.0]
nop
jmp 0x14001c661