Function at 0x10007efb8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r13, rcx
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
lea r12, [0x100003b78]
cmp rcx, rbp
je 0x10007f007
test byte [rcx + 0x1c], 1
je 0x10007f007
cmp byte [rcx + 0x19], 4
jb 0x10007f007
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
mov r8, r12
call fcn.10001c854
xor r15d, r15d
cmp r13, r15
jne 0x10007f027
lea r8, [0x100008ab8]
lea rcx, [0x100008750]
mov edx, 0x11b
call fcn.10009a050
mov ecx, 0x18
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0xc0], r15d
mov r14, r15
mov dword [rsp + 0x40], 4
mov qword [r13], r15
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rbx, rax
cmp rax, r15
jne 0x10007f093
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f089
test byte [rcx + 0x1c], 1
je 0x10007f089
cmp byte [rcx + 0x19], 2
jb 0x10007f089
mov edx, 0x1a
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
mov rcx, qword [0x1001653b8]
mov edi, 0x8007000e
jmp 0x10007f62a
xor eax, eax
lea r8, [0x100008980]
lea rdx, [0x100008790]
mov qword [rbx], rax
lea rax, [rsp + 0x40]
mov dword [rbx + 4], r15d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xc8]
mov qword [rbx + 0x10], r15
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rbx + 8], r15
or dword [rsp + 0xc8], 0xffffffff
mov r9d, 0x10
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
cmp eax, r15d
je 0x10007f126
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f33f
test byte [rcx + 0x1c], 1
je 0x10007f33f
cmp byte [rcx + 0x19], 2
jb 0x10007f33f
mov edx, 0x1b
jmp 0x10007f236
cmp dword [rsp + 0xb8], 4
je 0x10007f148
lea r8, [0x100008ad0]
lea rcx, [0x100008750]
mov edx, 0x144
call fcn.10009a050
mov ecx, dword [rsp + 0xc8]
mov rdx, rbx
call fcn.10007f7d0
cmp eax, r15d
mov edi, eax
jge 0x10007f19f
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f621
test byte [rcx + 0x1c], 1
je 0x10007f621
cmp byte [rcx + 0x19], 2
jb 0x10007f621
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r8, r12
call fcn.10001c854
mov rcx, qword [0x1001653b8]
jmp 0x10007f621
cmp dword [rbx], 1
je 0x10007f1c6
cmp dword [rbx], 2
je 0x10007f1c6
cmp dword [rbx], 3
je 0x10007f1c6
lea r8, [0x1000089c0]
lea rcx, [0x100008750]
mov edx, 0x14f
call fcn.10009a050
lea rax, [rsp + 0xc0]
lea r8, [0x100008948]
lea rdx, [0x100008790]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb8]
mov r9d, 0x20
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
cmp eax, r15d
je 0x10007f23e
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f33f
test byte [rcx + 0x1c], 1
je 0x10007f33f
cmp byte [rcx + 0x19], 2
jb 0x10007f33f
mov edx, 0x1d
mov r8, r12
jmp 0x10007f32f
cmp dword [rsp + 0xb8], 7
je 0x10007f260
lea r8, [0x100008ae8]
lea rcx, [0x100008750]
mov edx, 0x15f
call fcn.10009a050
mov ecx, dword [rsp + 0xc0]
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r12, rax
mov r14, rax
mov qword [rsp + 0x48], rax
cmp rax, r15
jne 0x10007f2b2
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f089
test byte [rcx + 0x1c], 1
je 0x10007f089
cmp byte [rcx + 0x19], 2
jb 0x10007f089
mov edx, 0x1e
lea r8, [0x100003b78]
jmp 0x10007f079
mov r8d, dword [rsp + 0xc0]
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea r11, [rsp + 0xc0]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], r11
lea r8, [0x100008948]
lea rdx, [0x100008790]
mov r9d, 0x20
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
cmp eax, r15d
je 0x10007f353
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f33f
test byte [rcx + 0x1c], 1
je 0x10007f33f
cmp byte [rcx + 0x19], 2
jb 0x10007f33f
mov edx, 0x1f
lea r8, [0x100003b78]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
mov rcx, qword [0x1001653b8]
movzx edi, si
or edi, 0x80070000
cmp esi, r15d
cmovle edi, esi
jmp 0x10007f621
cmp dword [rsp + 0xb8], 7
je 0x10007f375
lea r8, [0x100008ae8]
lea rcx, [0x100008750]
mov edx, 0x17b
call fcn.10009a050
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f3b6
test byte [rcx + 0x1c], 1
je 0x10007f3b6
cmp byte [rcx + 0x19], 4
jb 0x10007f3b6
mov r9d, dword [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x20
mov qword [rsp + 0x20], r12
call fcn.10001d9dc
mov rcx, qword [0x1001653b8]
mov esi, dword [rsp + 0xc0]
mov ebp, r15d
shr esi, 1
cmp esi, 2
jne 0x10007f442
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f3f2
test byte [rcx + 0x1c], 1
je 0x10007f3f2
cmp byte [rcx + 0x19], 4
jb 0x10007f3f2
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x1f]
lea r8, [0x100003b78]
call fcn.10001c854
mov edi, r15d
mov qword [r13], rbx
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f42f
test byte [rcx + 0x1c], 1
je 0x10007f42f
cmp byte [rcx + 0x19], 4
jb 0x10007f42f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x28
call fcn.10001c854
mov eax, edi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [rbx], 3
je 0x10007f466
lea r8, [0x100008b00]
lea rcx, [0x100008750]
mov edx, 0x18b
call fcn.10009a050
mov rcx, qword [0x1001653b8]
cmp esi, r15d
je 0x10007f486
lea rdx, [r12 + rsi*2]
sub rdx, 2
dec esi
mov eax, r15d
cmp word [rdx], r15w
sete al
add ebp, eax
cmp esi, r15d
jne 0x10007f46f
dec ebp
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10007f4b8
test byte [rcx + 0x1c], 1
je 0x10007f4b8
cmp byte [rcx + 0x19], 4
jb 0x10007f4b8
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x22
mov r9d, ebp
call fcn.10001c878
mov r13d, ebp
mov esi, ebp
shl r13, 2
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
shl rsi, 4
mov rcx, rsi
mov qword [rbx + 0x10], rax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 8], rax
cmp rcx, r15
je 0x10007f782
cmp rax, r15
je 0x10007f782
mov r8, r13
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 8]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rbx + 4], ebp
mov r13d, r15d
cmp ebp, r15d
jbe 0x10007f76f
mov rsi, r15
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
mov qword [rsp + 0x50], rcx
cmp ecx, r15d
ja 0x10007f553
lea r8, [0x100008b50]
lea rcx, [0x100008750]
mov edx, 0x1b1
call fcn.10009a050
mov edx, 0x2c
mov rcx, r12
call qword [sym.imp.msvcrt.dll_wcschr]
mov rdi, rax
cmp rax, r15
je 0x10007f725
mov word [rax], r15w
mov edx, r13d
mov rcx, r12
shl rdx, 4
mov r15d, r13d
add rdx, qword [rbx + 8]
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x10007f6d5
lea rcx, [rdi + 2]
lea r8d, [rax + 0xa]
lea rdx, [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_wcstoul]
mov rcx, qword [rbx + 0x10]
lea rdx, [rcx + r15*4]
mov ecx, eax
mov r14d, eax
call fcn.10007f7d0
xor r15d, r15d
cmp eax, r15d
mov edi, eax
jl 0x10007f686
mov rax, qword [rbx + 0x10]
cmp dword [rsi + rax], 1
je 0x10007f5eb
cmp dword [rsi + rax], 2
je 0x10007f5eb
lea r8, [0x100008820]
lea rcx, [0x100008750]
mov edx, 0x1d3
call fcn.10009a050
mov rax, qword [rsp + 0x50]
inc r13d
add rsi, 4
inc eax
lea r12, [r12 + rax*2]
cmp r13d, ebp
jb 0x10007f51f
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0xb0]
cmp edi, r15d
jge 0x10007f3f5
cmp rcx, rbp
je 0x10007f653
test byte [rcx + 0x1c], 1
je 0x10007f653
cmp byte [rcx + 0x19], 2
jb 0x10007f653
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x27
mov r9d, edi
call fcn.10001c878
cmp rbx, r15
je 0x10007f3f9
mov rcx, qword [rbx + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 8], r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
mov qword [rbx + 0x10], r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10007f3f9
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f614
test byte [rcx + 0x1c], 1
je 0x10007f614
cmp byte [rcx + 0x19], 2
jb 0x10007f614
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x26
mov r9d, r14d
call fcn.10001c878
mov rcx, qword [0x1001653b8]
jmp 0x10007f614
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f713
test byte [rcx + 0x1c], 1
je 0x10007f713
cmp byte [rcx + 0x19], 2
jb 0x10007f713
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x25
mov r9, r12
call fcn.10001db08
mov rcx, qword [0x1001653b8]
mov r14, qword [rsp + 0x48]
mov edi, 0x80780098
xor r15d, r15d
jmp 0x10007f62a
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f760
test byte [rcx + 0x1c], 1
je 0x10007f760
cmp byte [rcx + 0x19], 2
jb 0x10007f760
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x24
call fcn.10001c854
mov rcx, qword [0x1001653b8]
mov r14, qword [rsp + 0x48]
mov edi, 0x80780098
jmp 0x10007f62a
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
jmp 0x10007f619
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f7bd
test byte [rcx + 0x1c], 1
je 0x10007f7bd
cmp byte [rcx + 0x19], 2
jb 0x10007f7bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003b78]
mov edx, 0x23
call fcn.10001c854
mov rcx, qword [0x1001653b8]
mov edi, 0x8007000e
jmp 0x10007f619