Function at 0x14015b7a0
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 0x14015b7e4
mov eax, 0xc000000d
add rsp, 0xe0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x1402c5cf0]
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 0x14015b825
mov ebx, 0xc0000106
lfence
mov eax, ebx
jmp 0x14015ba64
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.140168740
mov ebx, eax
test eax, eax
js 0x14015b873
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 0x14015b86f
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x14015b87d
lfence
mov eax, ebx
jmp 0x14015ba64
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 0x14015b9e3
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 0x14015b9dc
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.1401c7220
test eax, eax
js 0x14015b9ce
cmp dword [rbp - 0x61], 2
mov edi, dword [rbp + 0x6f]
mov rsi, qword [rbp - 0x49]
jne 0x14015b976
test edi, edi
je 0x14015b976
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x20]
call fcn.1401c65c0
movzx r12d, al
test rsi, rsi
je 0x14015b9c6
test edi, edi
je 0x14015b9b0
mov rbx, rsi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword ds:[rbx]
mov rax, qword [0x1402cec58]
call qword [case.0x14013d64a.0]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14015b990
mov rcx, qword [0x1402caad0]
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 0x14015b9e3
mov eax, 0xc0000361
jmp 0x14015ba54
lea r9, [rbp - 0x51]
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
test eax, eax
jns 0x14015b9fd
lfence
jmp 0x14015ba54
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 0x14015ba48
mov r8, qword ds:[rbp + 0x7f]
mov r9, r13
mov rax, qword [rbp - 0x31]
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14013d64a.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