Function at 0x14015af20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xe0
cmp qword [r8 + 8], 0
mov r13, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
jne 0x14015af64
mov eax, 0xc000000d
add rsp, 0xe0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x1402c0bb0]
mov qword [rsp + 0x128], rbx
mov word [rbp - 0x49], cx
lea eax, [rcx + 2]
mov word [rbp - 0x47], ax
mov rax, qword [str.SoftwareMicrosoftWindows_NTCurrentVersionKnownFunctionTableDlls]
mov qword [rbp - 0x41], rax
cmp rcx, 0xfffe
jbe 0x14015afa5
mov ebx, 0xc0000106
lfence
mov eax, ebx
jmp 0x14015b1cb
xor r8d, r8d
lea rax, [rbp + 0x6f]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x49]
lea rcx, [r8 - 3]
call fcn.140167940
mov ebx, eax
test eax, eax
js 0x14015aff3
lea r8, [rbp - 0x19]
mov edx, 0x20019
lea rcx, [rbp - 0x59]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rbp + 0x6f]
mov ebx, eax
test rcx, rcx
je 0x14015afef
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x14015affd
lfence
mov eax, ebx
jmp 0x14015b1cb
mov rcx, qword [rbp - 0x59]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0xd8], r12
mov rdx, r14
mov qword [rsp + 0xd0], r15
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea r8d, [r15 + 2]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov rcx, qword [rbp - 0x59]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop
cmp ebx, 0xc0000034
jne 0x14015b14c
mov rdx, qword [r14 + 8]
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x40], r15
xorps xmm0, xmm0
mov dword [rsp + 0x38], 0x60
xor r9d, r9d
mov dword [rsp + 0x30], 1
mov r8d, 0x100081
mov dword [rsp + 0x28], 5
xor r12b, r12b
mov dword [rsp + 0x20], 0x80
movdqu xmmword [rbp - 0xd], xmm0
mov qword [rbp + 3], r15
mov dword [rbp + 0xb], r15d
call sym.SystemInformer.exe_QiCreateFileWin32Ex
nop word [rax + rax]
test eax, eax
js 0x14015b145
mov r15, qword [rbp + 0x6f]
lea r9, [rbp + 0x6f]
lea r8, [rbp - 0x49]
mov qword [rbp - 0x19], r15
lea rdx, [rbp - 0x61]
mov dword [rbp - 0x11], 1
lea rcx, [rbp - 0x19]
call fcn.1401c3360
test eax, eax
js 0x14015b134
cmp dword [rbp - 0x61], 2
mov edi, dword [rbp + 0x6f]
mov rsi, qword [rbp - 0x49]
jne 0x14015b0f4
nop dword [rax]
test edi, edi
je 0x14015b0f4
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x20]
call fcn.1401c26e0
movzx r12d, al
test rsi, rsi
je 0x14015b12c
test edi, edi
je 0x14015b11a
mov rbx, rsi
mov rcx, qword [rbx]
mov rax, qword [0x1402c91f0]
call qword [case.0x14013b5a0.0]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14015b100
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rbp + 0x5f]
mov rdi, qword [rbp + 0x67]
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
test r12b, r12b
jne 0x14015b14c
mov eax, 0xc0000361
jmp 0x14015b1bb
lea r9, [rbp - 0x51]
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
nop dword [rax]
test eax, eax
jns 0x14015b169
lfence
jmp 0x14015b1bb
mov rcx, qword [rbp - 0x51]
lea rax, str.OutOfProcessFunctionTableCallback
lea r9, [rbp - 0x31]
mov qword [rbp - 0x21], rax
xor r8d, r8d
mov dword [rbp - 0x29], 0x220021
lea rdx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov ebx, eax
test eax, eax
js 0x14015b1af
mov r8, qword [rbp + 0x7f]
mov r9, r13
mov rax, qword [rbp - 0x31]
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14013b5a0.0]
mov ebx, eax
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
mov eax, ebx
mov r12, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret