Function at 0x10007ea98
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, [0x100003bb8]
cmp rcx, rbp
je 0x10007eae7
test byte [rcx + 0x1c], 1
je 0x10007eae7
cmp byte [rcx + 0x19], 4
jb 0x10007eae7
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
mov r8, r12
call fcn.10001c7b8
xor r15d, r15d
cmp r13, r15
jne 0x10007eb07
lea r8, [0x100008b38]
lea rcx, [0x1000087d0]
mov edx, 0x11b
call fcn.100099ad8
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 0x10007eb73
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007eb69
test byte [rcx + 0x1c], 1
je 0x10007eb69
cmp byte [rcx + 0x19], 2
jb 0x10007eb69
mov edx, 0x1a
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
mov rcx, qword [0x1001653b8]
mov edi, 0x8007000e
jmp 0x10007f10a
xor eax, eax
lea r8, [0x100008a00]
lea rdx, [0x100008810]
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 0x10007ec06
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007ee1f
test byte [rcx + 0x1c], 1
je 0x10007ee1f
cmp byte [rcx + 0x19], 2
jb 0x10007ee1f
mov edx, 0x1b
jmp 0x10007ed16
cmp dword [rsp + 0xb8], 4
je 0x10007ec28
lea r8, [0x100008b50]
lea rcx, [0x1000087d0]
mov edx, 0x144
call fcn.100099ad8
mov ecx, dword [rsp + 0xc8]
mov rdx, rbx
call fcn.10007f2b0
cmp eax, r15d
mov edi, eax
jge 0x10007ec7f
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007f101
test byte [rcx + 0x1c], 1
je 0x10007f101
cmp byte [rcx + 0x19], 2
jb 0x10007f101
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r8, r12
call fcn.10001c7b8
mov rcx, qword [0x1001653b8]
jmp 0x10007f101
cmp dword [rbx], 1
je 0x10007eca6
cmp dword [rbx], 2
je 0x10007eca6
cmp dword [rbx], 3
je 0x10007eca6
lea r8, [0x100008a40]
lea rcx, [0x1000087d0]
mov edx, 0x14f
call fcn.100099ad8
lea rax, [rsp + 0xc0]
lea r8, [0x1000089c8]
lea rdx, [0x100008810]
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 0x10007ed1e
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007ee1f
test byte [rcx + 0x1c], 1
je 0x10007ee1f
cmp byte [rcx + 0x19], 2
jb 0x10007ee1f
mov edx, 0x1d
mov r8, r12
jmp 0x10007ee0f
cmp dword [rsp + 0xb8], 7
je 0x10007ed40
lea r8, [0x100008b68]
lea rcx, [0x1000087d0]
mov edx, 0x15f
call fcn.100099ad8
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 0x10007ed92
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007eb69
test byte [rcx + 0x1c], 1
je 0x10007eb69
cmp byte [rcx + 0x19], 2
jb 0x10007eb69
mov edx, 0x1e
lea r8, [0x100003bb8]
jmp 0x10007eb59
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, [0x1000089c8]
lea rdx, [0x100008810]
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 0x10007ee33
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007ee1f
test byte [rcx + 0x1c], 1
je 0x10007ee1f
cmp byte [rcx + 0x19], 2
jb 0x10007ee1f
mov edx, 0x1f
lea r8, [0x100003bb8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
mov rcx, qword [0x1001653b8]
movzx edi, si
or edi, 0x80070000
cmp esi, r15d
cmovle edi, esi
jmp 0x10007f101
cmp dword [rsp + 0xb8], 7
je 0x10007ee55
lea r8, [0x100008b68]
lea rcx, [0x1000087d0]
mov edx, 0x17b
call fcn.100099ad8
mov rcx, qword [0x1001653b8]
cmp rcx, rbp
je 0x10007ee96
test byte [rcx + 0x1c], 1
je 0x10007ee96
cmp byte [rcx + 0x19], 4
jb 0x10007ee96
mov r9d, dword [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x20
mov qword [rsp + 0x20], r12
call fcn.10001d8f8
mov rcx, qword [0x1001653b8]
mov esi, dword [rsp + 0xc0]
mov ebp, r15d
shr esi, 1
cmp esi, 2
jne 0x10007ef22
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007eed2
test byte [rcx + 0x1c], 1
je 0x10007eed2
cmp byte [rcx + 0x19], 4
jb 0x10007eed2
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x1f]
lea r8, [0x100003bb8]
call fcn.10001c7b8
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 0x10007ef0f
test byte [rcx + 0x1c], 1
je 0x10007ef0f
cmp byte [rcx + 0x19], 4
jb 0x10007ef0f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x28
call fcn.10001c7b8
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 0x10007ef46
lea r8, [0x100008b80]
lea rcx, [0x1000087d0]
mov edx, 0x18b
call fcn.100099ad8
mov rcx, qword [0x1001653b8]
cmp esi, r15d
je 0x10007ef66
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 0x10007ef4f
dec ebp
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10007ef98
test byte [rcx + 0x1c], 1
je 0x10007ef98
cmp byte [rcx + 0x19], 4
jb 0x10007ef98
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x22
mov r9d, ebp
call fcn.10001c7dc
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 0x10007f262
cmp rax, r15
je 0x10007f262
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 0x10007f24f
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 0x10007f033
lea r8, [0x100008bd0]
lea rcx, [0x1000087d0]
mov edx, 0x1b1
call fcn.100099ad8
mov edx, 0x2c
mov rcx, r12
call qword [sym.imp.msvcrt.dll_wcschr]
mov rdi, rax
cmp rax, r15
je 0x10007f205
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 0x10007f1b5
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.10007f2b0
xor r15d, r15d
cmp eax, r15d
mov edi, eax
jl 0x10007f166
mov rax, qword [rbx + 0x10]
cmp dword [rsi + rax], 1
je 0x10007f0cb
cmp dword [rsi + rax], 2
je 0x10007f0cb
lea r8, [0x1000088a0]
lea rcx, [0x1000087d0]
mov edx, 0x1d3
call fcn.100099ad8
mov rax, qword [rsp + 0x50]
inc r13d
add rsi, 4
inc eax
lea r12, [r12 + rax*2]
cmp r13d, ebp
jb 0x10007efff
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0xb0]
cmp edi, r15d
jge 0x10007eed5
cmp rcx, rbp
je 0x10007f133
test byte [rcx + 0x1c], 1
je 0x10007f133
cmp byte [rcx + 0x19], 2
jb 0x10007f133
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x27
mov r9d, edi
call fcn.10001c7dc
cmp rbx, r15
je 0x10007eed9
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 0x10007eed9
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f0f4
test byte [rcx + 0x1c], 1
je 0x10007f0f4
cmp byte [rcx + 0x19], 2
jb 0x10007f0f4
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x26
mov r9d, r14d
call fcn.10001c7dc
mov rcx, qword [0x1001653b8]
jmp 0x10007f0f4
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f1f3
test byte [rcx + 0x1c], 1
je 0x10007f1f3
cmp byte [rcx + 0x19], 2
jb 0x10007f1f3
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x25
mov r9, r12
call fcn.10001da24
mov rcx, qword [0x1001653b8]
mov r14, qword [rsp + 0x48]
mov edi, 0x80780098
xor r15d, r15d
jmp 0x10007f10a
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f240
test byte [rcx + 0x1c], 1
je 0x10007f240
cmp byte [rcx + 0x19], 2
jb 0x10007f240
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x24
call fcn.10001c7b8
mov rcx, qword [0x1001653b8]
mov r14, qword [rsp + 0x48]
mov edi, 0x80780098
jmp 0x10007f10a
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
jmp 0x10007f0f9
mov rcx, qword [0x1001653b8]
lea rbp, [0x1001653b8]
cmp rcx, rbp
je 0x10007f29d
test byte [rcx + 0x1c], 1
je 0x10007f29d
cmp byte [rcx + 0x19], 2
jb 0x10007f29d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003bb8]
mov edx, 0x23
call fcn.10001c7b8
mov rcx, qword [0x1001653b8]
mov edi, 0x8007000e
jmp 0x10007f0f9