Function at 0x1400c6570
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rsi, r8
xor bl, bl
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400c65bf
xor al, al
jmp 0x1400c67f4
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400c67e7
mov bl, 1
mov edi, r14d
cmp dword [rbp - 0x50], r14d
jbe 0x1400c67e7
nop word [rax + rax]
mov dword [rbp - 0x48], 0x104
mov dword [rbp - 0x4c], 0x208
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
mov edx, edi
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400c67da
mov eax, dword [rbp - 0x44]
cmp eax, 1
jne 0x1400c669d
lea rdx, [0x1405f6298]
lea rcx, [rbp - 0x40]
call fcn.1403681bc
test eax, eax
je 0x1400c67da
lea rcx, [rbp + 0x1d0]
call fcn.140084b00
mov ebx, eax
jmp 0x1400c66d2
cmp eax, 4
jne 0x1400c67da
mov eax, dword [rbp + 0x1d0]
test eax, eax
je 0x1400c66cf
sub eax, 1
je 0x1400c66c8
cmp eax, 1
je 0x1400c66c1
mov ebx, 0xffffffff
jmp 0x1400c66d2
mov ebx, 2
jmp 0x1400c66d2
mov ebx, 1
jmp 0x1400c66d2
mov ebx, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c6700
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400739a0
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400739a0
mov dword [rbp - 0x60], ebx
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1400c6785
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov dword [rdx + 0x20], ebx
add qword [rsi + 8], 0x28
jmp 0x1400c6792
lea r8, [rbp - 0x80]
mov rcx, rsi
call fcn.1400c54e0
nop
lea rcx, [rbp - 0x80]
call fcn.140073b90
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400c67da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c67d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6811
call fcn.140359090
inc edi
cmp edi, dword [rbp - 0x50]
jb 0x1400c6620
mov bl, 1
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140359070
add rsp, 0x4f0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140368068
int3