Function at 0x140052ef4
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x568]
sub rsp, 0x660
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov r9d, 0x2001b
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rbx, 0xffffffff80000002
mov rdx, rbx
lea rcx, [rbp + 0x290]
call fcn.140067800
nop
lea rax, [rbp + 0x168]
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], 0x41
xor esi, esi
mov word [rbp + 0x168], si
lea rcx, [0x1400ab888]
mov qword [rbp + 0x150], rcx
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], 0x41
mov word [rbp + 0xc8], si
mov qword [rbp + 0xb0], rcx
lea rax, [rbp + 0x28]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 0x41
mov word [rbp + 0x28], si
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 0x41
mov word [rbp - 0x78], si
mov qword [rsp + 0x70], rcx
lea r8, [rbp + 0x150]
lea rdx, str.OldDataDirectory_ForExclusionRemoval
lea rcx, [rbp + 0x290]
call fcn.14001d42c
test eax, eax
je 0x1400534d8
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x1f0]
call fcn.140049130
mov rdx, rax
lea rcx, [rbp + 0x350]
call fcn.140064c74
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x150]
movabs r10, 0x8cc4973714525370
or edi, 0xffffffff
mov r9d, edi
xor r8d, r8d
lea rcx, [rbp + 0x150]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rbp + 0x350]
call fcn.14000e3c0
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x350]
call fcn.140049130
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.1400626d4
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x150]
movabs r10, 0x8cc4973714525370
mov r9d, edi
xor r8d, r8d
lea rcx, [rbp + 0x150]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rbp + 0x1f0]
call fcn.14000e3c0
mov rax, qword [rbp + 0xb0]
movabs r10, 0x8cc4973714525370
mov r9d, edi
xor r8d, r8d
lea rdx, str.file:___
lea rcx, [rbp + 0xb0]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rbp + 0xb0]
movabs r10, 0x8cc4973714525370
mov r9d, dword [rbp + 0x164]
mov r8d, dword [rbp + 0xc4]
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0xb0]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rbp + 0xb0]
movabs r10, 0x8cc4973714525370
mov r9d, edi
mov r8d, dword [rbp + 0xc4]
lea rdx, [0x1400b35ec]
lea rcx, [rbp + 0xb0]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
lea r8, [rbp + 0x10]
lea rdx, str.DataDirectory
lea rcx, [rbp + 0x290]
call fcn.14001d42c
test eax, eax
je 0x14005328c
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x350]
call fcn.140049130
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.140064c74
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x10]
movabs r10, 0x8cc4973714525370
mov r9d, edi
xor r8d, r8d
lea rcx, [rbp + 0x10]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rbp + 0x1f0]
call fcn.14000e3c0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x350]
call fcn.140049130
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.1400626d4
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x10]
movabs r10, 0x8cc4973714525370
mov r9d, edi
xor r8d, r8d
lea rcx, [rbp + 0x10]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
nop
lea rcx, [rbp + 0x1f0]
call fcn.14000e3c0
mov rax, qword [rsp + 0x70]
movabs r10, 0x8cc4973714525370
mov r9d, edi
xor r8d, r8d
lea rdx, str.file:___
lea rcx, [rsp + 0x70]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rsp + 0x70]
movabs r10, 0x8cc4973714525370
mov r9d, dword [rbp + 0x24]
mov r8d, dword [rbp - 0x7c]
mov rdx, qword [rbp + 0x18]
lea rcx, [rsp + 0x70]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [rsp + 0x70]
movabs r10, 0x8cc4973714525370
mov r9d, edi
mov r8d, dword [rbp - 0x7c]
lea rdx, [0x1400b35ec]
lea rcx, [rsp + 0x70]
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b4990]
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 qword [rsp + 0x68], rsi
test eax, eax
js 0x1400532f1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 9
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogs
mov rdx, rbx
call fcn.14001ec70
test eax, eax
jle 0x1400532f1
movzx eax, ax
or eax, 0x80070000
mov edi, esi
test eax, eax
js 0x1400534cd
mov dword [rsp + 0x50], 0xff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x350]
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 0x1400534b9
test eax, eax
jne 0x1400534ab
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
movabs r10, 0xfc112fd332581a70
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x350]
mov rax, qword [rax + 0x50]
call qword [case.0x140001f80.0]
mov ebx, eax
mov rcx, rsi
mov qword [rsp + 0x58], rcx
test eax, eax
js 0x1400533b2
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xdee01e7974d59970
lea r8, [rsp + 0x58]
lea rdx, [0x1400b4950]
mov rax, qword [rax]
call qword [case.0x140001f80.0]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rsi
test ebx, ebx
js 0x14005347f
mov rax, qword [rcx]
movabs r10, 0xb82d276516d87870
lea r8, [rsp + 0x40]
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [case.0x140001f80.0]
mov ebx, eax
test eax, eax
js 0x14005347f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
movabs r10, 0xb581a7ad1cde1170
mov rdx, qword [rbp + 0xb8]
mov rax, qword [rax + 0x90]
call qword [case.0x140001f80.0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
movabs r10, 0xb581a7ad1cde1170
mov rdx, qword [rsp + 0x78]
mov rax, qword [rax + 0x90]
call qword [case.0x140001f80.0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
movabs r10, 0xe1cdb7097e59e370
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
call qword [case.0x140001f80.0]
mov ebx, eax
test eax, eax
js 0x14005347f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
movabs r10, 0xdf7c0f2470db7970
mov rax, qword [rax + 0x80]
call qword [case.0x140001f80.0]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14000376c
nop
lea rcx, [rsp + 0x58]
call fcn.14000376c
nop
lea rcx, [rsp + 0x48]
call fcn.14000376c
inc edi
test ebx, ebx
jns 0x1400532fb
jmp 0x1400534cd
jle 0x1400534b5
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1400534cd
lea rdx, str.OldDataDirectory_ForExclusionRemoval
lea rcx, [rbp + 0x290]
call fcn.140067da0
nop
lea rcx, [rsp + 0x60]
call fcn.14000376c
nop
lea rcx, [rsp + 0x70]
call fcn.14000e3c0
nop
lea rcx, [rbp + 0x10]
call fcn.14000e3c0
nop
lea rcx, [rbp + 0xb0]
call fcn.14000e3c0
nop
lea rcx, [rbp + 0x150]
call fcn.14000e3c0
nop
lea rcx, [rbp + 0x290]
call fcn.140012244
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140024bd0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret