Function at 0x140154380
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 0x1401543c4
mov eax, 0xc000000d
add rsp, 0xe0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x1402bb9b0]
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 0x140154405
mov ebx, 0xc0000106
lfence
mov eax, ebx
jmp 0x14015462b
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.1401608a0
mov ebx, eax
test eax, eax
js 0x140154453
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 0x14015444f
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x14015445d
lfence
mov eax, ebx
jmp 0x14015462b
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 0x1401545ac
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_PhCreateFileWin32Ex
nop word [rax + rax]
test eax, eax
js 0x1401545a5
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.1401c0ca0
test eax, eax
js 0x140154594
cmp dword [rbp - 0x61], 2
mov edi, dword [rbp + 0x6f]
mov rsi, qword [rbp - 0x49]
jne 0x140154554
nop dword [rax]
test edi, edi
je 0x140154554
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x20]
call fcn.1401c0020
movzx r12d, al
test rsi, rsi
je 0x14015458c
test edi, edi
je 0x14015457a
mov rbx, rsi
mov rcx, qword [rbx]
mov rax, qword [0x1402c3f28]
call qword [str.PB__]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140154560
mov rcx, qword [0x1402bfe50]
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 0x1401545ac
mov eax, 0xc0000361
jmp 0x14015461b
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 0x1401545c9
lfence
jmp 0x14015461b
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 0x14015460f
mov r8, qword [rbp + 0x7f]
mov r9, r13
mov rax, qword [rbp - 0x31]
mov rdx, rdi
mov rcx, rsi
call qword [str.PB__]
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