Function at 0x140020c48
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x618]
sub rsp, 0x710
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov r9d, 0x2001b
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdi, 0xffffffff80000002
mov rdx, rdi
lea rcx, [rbp + 0x340]
call fcn.14001f440
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, fcn.140019f80
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 + 0x340]
call fcn.140013fe0
test eax, eax
jne 0x14003e0be
lea rcx, [rbp - 0x80]
call fcn.1400282a4
nop
lea rcx, [rbp + 0x20]
call fcn.1400282a4
nop
lea rcx, [rbp + 0xc0]
call fcn.1400282a4
nop
lea rcx, [rbp + 0x160]
call fcn.1400282a4
nop
lea rcx, [rbp + 0x340]
call fcn.140013e30
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x710]
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.14001f244
mov rdx, rax
lea rcx, [rbp + 0x2a0]
call fcn.14001efd4
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.0x140006f84.0]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400282a4
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x2a0]
call fcn.14001f244
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14001e68c
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.0x140006f84.0]
nop
lea rcx, [rbp + 0x200]
call fcn.1400282a4
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.0x140006f84.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.0x140006f84.0]
mov rax, qword [rbp + 0xc0]
mov r9d, ebx
mov r8d, dword [rbp + 0xd4]
lea rdx, [0x140094c84]
lea rcx, [rbp + 0xc0]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
lea r8, [rbp + 0x20]
lea rdx, str.DataDirectory
lea rcx, [rbp + 0x340]
call fcn.140013fe0
test eax, eax
je 0x14003e2ee
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x2a0]
call fcn.14001f244
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14001efd4
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.0x140006f84.0]
nop
lea rcx, [rbp + 0x200]
call fcn.1400282a4
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x2a0]
call fcn.14001f244
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14001e68c
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.0x140006f84.0]
nop
lea rcx, [rbp + 0x200]
call fcn.1400282a4
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.0x140006f84.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.0x140006f84.0]
mov rax, qword [rbp - 0x80]
mov r9d, ebx
mov r8d, dword [rbp - 0x6c]
lea rdx, [0x140094c84]
lea rcx, [rbp - 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1400948b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400948c0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
mov qword [rsp + 0x68], rsi
test eax, eax
js 0x14003e350
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 9
lea rdx, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogs
mov rcx, rdi
call fcn.14001e334
mov ebx, eax
test eax, eax
jle 0x14003e350
movzx ebx, ax
or ebx, 0x80070000
mov edi, esi
test ebx, ebx
js 0x14003e513
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 + 0x400]
mov edx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14003e4fb
test eax, eax
jne 0x14003e4ec
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x400]
mov rax, qword [rax + 0x50]
call qword [case.0x140006f84.0]
mov ebx, eax
mov rcx, rsi
mov qword [rsp + 0x50], rcx
test eax, eax
js 0x14003e3f7
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x140097c78]
mov rax, qword [rax]
call qword [case.0x140006f84.0]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
mov rax, rsi
mov qword [rsp + 0x40], rax
test ebx, ebx
js 0x14003e499
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [case.0x140006f84.0]
mov ebx, eax
test eax, eax
js 0x14003e48f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rax + 0x90]
call qword [case.0x140006f84.0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rax + 0x90]
call qword [case.0x140006f84.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.0x140006f84.0]
mov ebx, eax
test eax, eax
js 0x14003e48f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140006f84.0]
mov ebx, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
test rax, rax
je 0x14003e4b6
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [case.0x140006f84.0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003e4c9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140006f84.0]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14003e4e0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140006f84.0]
inc edi
test ebx, ebx
jns 0x14003e35a
jmp 0x14003e4fb
jg 0x14003e4f2
mov ebx, eax
jmp 0x14003e4fb
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14003e513
lea rdx, str.OldDataDirectory_ForExclusionRemoval
lea rcx, [rbp + 0x340]
call fcn.14001f530
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140020d4d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140006f84.0]
nop
jmp 0x140020d4d