Function at 0x14005f1a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r13, rdx
lea rax, [rbp - 0x80]
xor ebx, ebx
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesVSSVssAccessControl
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov edi, ebx
mov r15d, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14005f254
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x14005f6c4
test byte [rcx + 0x1c], 1
je 0x14005f6c4
cmp byte [rcx + 0x19], 3
jb 0x14005f6c4
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x17]
mov r9d, edi
lea r8, [0x140153210]
call fcn.140004c90
jmp 0x14005f6c4
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x64]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x78], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14005f303
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x14005f6ba
test byte [rcx + 0x1c], 1
je 0x14005f6ba
cmp byte [rcx + 0x19], 3
jb 0x14005f6ba
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153210]
mov edx, 0x18
mov r9d, edi
call fcn.140004c90
jmp 0x14005f6ba
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x14005f33c
test byte [rcx + 0x1c], 1
je 0x14005f33c
cmp byte [rcx + 0x19], 4
jb 0x14005f33c
mov r9d, dword [rsp + 0x60]
lea r8, [0x140153210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
call fcn.140004c90
mov r12d, ebx
cmp dword [rsp + 0x60], ebx
jbe 0x14005f6ba
lea rax, [0x14014efe8]
mov qword [rbp - 0x70], rax
mov rax, qword [0x140178700]
mov byte [rbp - 0x24], bl
mov dword [rbp - 0x20], 7
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x14014cce0]
lea rcx, [0x140178700]
call rbx
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [0x140178700]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x14014cce0]
lea rcx, [0x140178700]
call rbx
add rax, 0x18
mov qword [rbp - 0x10], rax
mov rax, qword [0x140178700]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x14014cce0]
lea rcx, [0x140178700]
call rbx
add rax, 0x18
mov qword [rbp - 8], rax
mov rax, qword [0x140178700]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x14014cce0]
lea rcx, [0x140178700]
call rbx
xor ebx, ebx
add rax, 0x18
mov qword [rbp], rax
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x68], ebx
test r15, r15
je 0x14005f412
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [rsp + 0x64]
inc ecx
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r15, rax
test rax, rax
je 0x14005f678
mov eax, dword [rsp + 0x64]
lea r9, [rsp + 0x70]
mov rcx, qword [rbp - 0x80]
inc eax
mov dword [rsp + 0x70], eax
mov r8, r15
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x38], rax
mov edx, r12d
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14005f4c0
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14005f632
test byte [rcx + 0x1c], 1
je 0x14005f632
cmp byte [rcx + 0x19], 2
jb 0x14005f632
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153210]
mov edx, 0x1a
mov dword [rsp + 0x20], ebx
mov r9d, r12d
call fcn.1400103bc
jmp 0x14005f632
mov r9d, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x68]
cmp r9d, 4
jne 0x14005f601
cmp eax, r9d
jne 0x14005f601
cmp dword [rsp + 0x74], 1
je 0x14005f528
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14005f632
test byte [rcx + 0x1c], 1
je 0x14005f632
cmp byte [rcx + 0x19], r9b
jb 0x14005f632
lea edx, [r9 + 0x18]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153210]
mov r9d, r12d
mov qword [rsp + 0x20], r15
call fcn.1400104d0
jmp 0x14005f632
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140062f6c
test al, al
jne 0x14005f599
mov rax, qword [0x1401782b0]
cmp rax, rsi
je 0x14005f632
test byte [rax + 0x1c], 1
je 0x14005f632
cmp byte [rax + 0x19], 2
jb 0x14005f632
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x1d
lea r8, [0x140153210]
mov ecx, eax
mov r9, r15
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov rcx, qword [0x1401782b0]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
jmp 0x14005f632
xor r9d, r9d
lea rdx, [rbp - 0x70]
mov rcx, r13
lea r8d, [r9 + 1]
call fcn.14006429c
test al, al
jne 0x14005f5df
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14005f632
test byte [rcx + 0x1c], 1
je 0x14005f632
cmp byte [rcx + 0x19], 2
jb 0x14005f632
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153210]
mov edx, 0x1e
call fcn.140004c6c
jmp 0x14005f632
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14005f632
test byte [rcx + 0x1c], 1
je 0x14005f632
cmp byte [rcx + 0x19], 4
jb 0x14005f632
mov edx, 0x1f
jmp 0x14005f50b
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x14005f632
test byte [rcx + 0x1c], 1
je 0x14005f632
cmp byte [rcx + 0x19], 3
jb 0x14005f632
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153210]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
call fcn.1400103bc
lea rax, [0x14014efe8]
lea rcx, [rbp]
mov qword [rbp - 0x70], rax
call fcn.140064e40
lea rcx, [rbp - 8]
call fcn.140064e40
lea rcx, [rbp - 0x10]
call fcn.140064e40
lea rcx, [rbp - 0x18]
call fcn.140064e40
inc r12d
lea rax, [0x14014efe8]
cmp r12d, dword [rsp + 0x60]
jb 0x14005f350
jmp 0x14005f6ac
lea rax, [0x14014efe8]
mov edi, 0x8007000e
lea rcx, [rbp]
mov qword [rbp - 0x70], rax
call fcn.140064e40
lea rcx, [rbp - 8]
call fcn.140064e40
lea rcx, [rbp - 0x10]
call fcn.140064e40
lea rcx, [rbp - 0x18]
call fcn.140064e40
test r15, r15
je 0x14005f6ba
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1401474d0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret