Function at 0x14015be80
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 0x14015bec4
mov eax, 0xc000000d
add rsp, 0xe0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x1402c5d10]
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 0x14015bf05
mov ebx, 0xc0000106
lfence
mov eax, ebx
jmp 0x14015c144
lea rax, [rbp + 0x6f]
xor r8d, r8d
lea r9, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x49]
mov rcx, 0xfffffffffffffffd
call fcn.140168f00
mov ebx, eax
test eax, eax
js 0x14015bf53
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 0x14015bf4f
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x14015bf5d
lfence
mov eax, ebx
jmp 0x14015c144
mov rcx, qword [rbp - 0x59]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0xd8], r12
mov r8d, 2
mov qword [rsp + 0xd0], r15
mov rdx, r14
xor r15d, r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov rcx, qword ds:[rbp - 0x59]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
cmp ebx, 0xc0000034
jne 0x14015c0c3
mov rdx, qword ds:[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_PhCreateFileWin32Ex
test eax, eax
js 0x14015c0bc
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.1401c7ae0
test eax, eax
js 0x14015c0ae
cmp dword [rbp - 0x61], 2
mov edi, dword [rbp + 0x6f]
mov rsi, qword [rbp - 0x49]
jne 0x14015c056
test edi, edi
je 0x14015c056
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x20]
call fcn.1401c6e80
movzx r12d, al
test rsi, rsi
je 0x14015c0a6
test edi, edi
je 0x14015c090
mov rbx, rsi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword ds:[rbx]
mov rax, qword [0x1402cec78]
call qword [case.0x14013d84a.0]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14015c070
mov rcx, qword [0x1402caaf0]
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]
test r12b, r12b
jne 0x14015c0c3
mov eax, 0xc0000361
jmp 0x14015c134
lea r9, [rbp - 0x51]
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
test eax, eax
jns 0x14015c0dd
lfence
jmp 0x14015c134
mov rcx, qword ds:[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 0x14015c128
mov r8, qword ds:[rbp + 0x7f]
mov r9, r13
mov rax, qword [rbp - 0x31]
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14013d84a.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