Function at 0x1400657c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, rdx
xor r12d, r12d
mov r14d, r12d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesVSSVssAccessControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14006587f
jle 0x140065837
movzx ebx, ax
or ebx, 0x80070000
lea rdi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c54
test byte [rcx + 0x1c], 1
je 0x140065c54
cmp byte [rcx + 0x19], 3
jb 0x140065c54
mov edx, 0x17
mov r9d, ebx
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.14000c354
jmp 0x140065c54
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140065936
jle 0x1400658ee
movzx ebx, ax
or ebx, 0x80070000
lea rdi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c44
test byte [rcx + 0x1c], 1
je 0x140065c44
cmp byte [rcx + 0x19], 3
jb 0x140065c44
mov edx, 0x18
mov r9d, ebx
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.14000c354
jmp 0x140065c44
lea rdi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14006596f
test byte [rcx + 0x1c], 1
je 0x14006596f
cmp byte [rcx + 0x19], 4
jb 0x14006596f
mov edx, 0x19
mov r9d, dword [rsp + 0x60]
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.1400155dc
mov ebx, r12d
cmp ebx, dword [rsp + 0x60]
jae 0x140065c2d
lea rax, [0x14014d0a0]
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x24], r12b
mov dword [rbp - 0x20], 7
lea rcx, [rbp - 0x18]
call fcn.140064224
lea rcx, [rbp - 0x10]
call fcn.140064224
lea rcx, [rbp - 8]
call fcn.140064224
lea rcx, [rbp]
call fcn.140064224
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x68], r12d
test r14, r14
je 0x1400659de
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x64]
inc ecx
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x140065c1d
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x6c]
mov r8, r14
mov edx, ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x140065a98
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c0d
test byte [rcx + 0x1c], 1
je 0x140065c0d
cmp byte [rcx + 0x19], 2
jb 0x140065c0d
mov edx, 0x1a
mov dword [rsp + 0x20], r12d
mov r9d, ebx
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.140040778
jmp 0x140065c0d
mov eax, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x70]
cmp r9d, 4
jne 0x140065bdc
cmp eax, r9d
jne 0x140065bdc
cmp dword [rsp + 0x74], 1
je 0x140065b00
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c0d
test byte [rcx + 0x1c], 1
je 0x140065c0d
cmp byte [rcx + 0x19], r9b
jb 0x140065c0d
lea edx, [r9 + 0x18]
mov qword [rsp + 0x20], r14
mov r9d, ebx
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.140061658
jmp 0x140065c0d
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.14006957c
test al, al
jne 0x140065b74
mov rax, qword [0x140173048]
cmp rax, rdi
je 0x140065c0d
test byte [rax + 0x1c], 1
je 0x140065c0d
cmp byte [rax + 0x19], 2
jb 0x140065c0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140065b4c
movzx eax, ax
or eax, 0x80070000
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, r14
lea r8, [0x140154480]
mov rcx, qword [0x140173048]
mov rcx, qword [rcx + 0x10]
call fcn.1400151b8
jmp 0x140065c0d
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.1400655e4
test al, al
jne 0x140065bba
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c0d
test byte [rcx + 0x1c], 1
je 0x140065c0d
cmp byte [rcx + 0x19], 2
jb 0x140065c0d
mov edx, 0x1e
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.14000c328
jmp 0x140065c0d
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c0d
test byte [rcx + 0x1c], 1
je 0x140065c0d
cmp byte [rcx + 0x19], 4
jb 0x140065c0d
mov edx, 0x1f
jmp 0x140065ae3
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140065c0d
test byte [rcx + 0x1c], 1
je 0x140065c0d
cmp byte [rcx + 0x19], 3
jb 0x140065c0d
mov edx, 0x1b
mov dword [rsp + 0x20], eax
lea r8, [0x140154480]
mov rcx, qword [rcx + 0x10]
call fcn.14004099c
lea rcx, [rbp - 0x70]
call fcn.140064bf0
inc ebx
jmp 0x140065972
mov ebx, 0x8007000e
lea rcx, [rbp - 0x70]
call fcn.140064bf0
jmp 0x140065c44
mov ebx, r12d
test r14, r14
je 0x140065c44
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140007410
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret