Function at 0x14010ef70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb8
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x61], rcx
mov rdi, qword [rbp + 0x7f]
xor r15d, r15d
mov qword [rbp - 0x61], r15
mov rdx, r8
lea rcx, [rbp - 0x11]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x14010efc1
mov rax, qword [rax]
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14010f024
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f01f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f01f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test esi, esi
je 0x14010f04d
mov rdx, rdi
mov rcx, rbx
call fcn.140016700
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14010f2e3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14010f2e3
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.140106110
nop
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x55]
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010f273
cmp dword [rbp - 0x55], 1
jne 0x14010f273
xor r8d, r8d
mov edx, dword [rbp - 0x59]
shr rdx, 1
lea rcx, [rbp - 0x31]
call fcn.14010e960
nop
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rax, qword [rbp - 0x31]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x55]
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbx
test eax, eax
je 0x14010f1b6
mov rdx, rdi
call fcn.140016700
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14010f13b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010f1f7
call fcn.1401155e4
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14010f18c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010f2b6
call fcn.1401155e4
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14010f2e3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14010f2e3
lea rdx, [rbp - 0x31]
call fcn.1401062f0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14010f203
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f1fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f1fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14010f250
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f24b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010f2b6
call fcn.1401155e4
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14010f2e3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14010f2e3
mov rdx, rdi
mov rcx, rbx
call fcn.140016700
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14010f2c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f2bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f2bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14010f2e3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, rbx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140115700
add rsp, 0xb8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret