Function at 0x14002ffc8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x13f8]
mov eax, 0x14f0
call fcn.140039ae0
sub rsp, rax
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
xor r14d, r14d
cmp byte [0x1400d29c8], r14b
jne 0x140030019
call fcn.140030f9c
mov byte [0x1400d29c8], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x28], rax
lea r8, str.SoftwareMicrosoftWindows_SearchTracingEventThrottleState
mov rbx, 0xffffffff80000002
mov dword [rsp + 0x20], 3
mov rdx, rbx
mov qword [rbp - 0x68], r14
call fcn.140024fd4
test eax, eax
jne 0x1400301f1
lea rax, [rbp - 0x68]
mov rdx, rbx
mov qword [rsp + 0x28], rax
lea r8, str.SoftwareMicrosoftWindows_SearchTracingEventThrottleLastReported
mov dword [rsp + 0x20], 3
call fcn.140024fd4
test eax, eax
jne 0x1400301f1
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], r14
xor r9d, r9d
mov qword [rsp + 0x50], r14
xor r8d, r8d
mov qword [rsp + 0x48], r14
xor edx, edx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x1400301f1
mov ecx, dword [rsp + 0x60]
cmp ecx, 0x400
ja 0x1400301f1
mov ebx, r14d
test ecx, ecx
je 0x1400301d3
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
mov eax, ebx
lea r8, [rbp + 0x13c0]
mov edx, ebx
mov dword [rsp + 0x68], reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rbp - 0x60], r14d
mov qword [rbp - 0x5c], r14
lea rdi, [rax + rax*4]
mov qword [rbp - 0x54], r14
lea rax, [rsp + 0x64]
mov byte [rbp + rdi - 0x3c], r14b
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x64], SafeArrayPutElement
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400301c5
cmp dword [rbp - 0x70], 3
jne 0x1400301c5
cmp dword [rsp + 0x64], 0x14
jne 0x1400301c5
mov eax, dword [rsp + 0x68]
add rax, rax
cmp rax, 0x20
jae 0x140030249
lea rsi, [rbp - 0x40]
mov word [rbp + rax + 0x13c0], r14w
add rsi, rdi
lea rcx, [rbp + 0x13c0]
mov rdx, rsi
call fcn.1400303c4
test al, al
je 0x1400301c5
mov eax, dword [rsi]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x74], eax
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0x7c], r14
mov qword [rbp - 0x7c], r14
call fcn.1400302e8
lea rcx, [rsp + 0x78]
call fcn.140030258
cmp dword [rsp + 0x78], r14d
je 0x14004eadc
mov ecx, dword [rsp + 0x60]
inc ebx
cmp ebx, ecx
jb 0x1400300e3
mov ebx, r14d
test ecx, ecx
je 0x1400301f1
mov eax, ebx
lea rdx, [rax + rax*4]
cmp byte [rbp + rdx - 0x3c], r14b
jne 0x14004eae6
inc ebx
cmp ebx, ecx
jb 0x1400301da
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140030207
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14003021c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.140036b80
lea r11, [rsp + 0x14f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140036cc8
int3
mov byte [rbp + rdi - 0x3c], 1
jmp 0x1400301c5
mov eax, dword [rbp + rdx - 0x40]
lea rcx, [rsp + 0x78]
lea rdx, str.SoftwareMicrosoftWindows_SearchTracingEventThrottleState
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0x7c], r14
mov qword [rbp - 0x7c], r14
mov dword [rbp - 0x74], eax
call fcn.14006b6b8
lea rdx, str.SoftwareMicrosoftWindows_SearchTracingEventThrottleLastReported
lea rcx, [rsp + 0x78]
call fcn.14006b6b8
mov ecx, dword [rsp + 0x60]
jmp 0x1400301eb