Function at 0x1400c6820
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1460]
mov eax, 0x1560
call fcn.140359d40
sub rsp, rax
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x1450], rax
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov qword [rbp + 0x10], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400c6c1d
mov edi, r15d
cmp dword [rbp + 0x1c], r15d
jbe 0x1400c6c1d
nop
mov r9d, 0x104
lea r8, [rbp + 0x30]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1400c6c12
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400c68e0
test rax, rax
je 0x1400c6c12
cmp word [rbp + 0x30], 0x5f
jne 0x1400c6906
cmp word [rbp + rax*2 + 0x2e], 0x5f
je 0x1400c6c12
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c6c12
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400c6c08
mov ebx, r15d
cmp dword [rbp + 0x18], ebx
jbe 0x1400c6c08
nop
mov dword [rbp + 0x24], 0x800
mov dword [rbp + 0x20], 0x208
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x240]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x24]
lea r8, [rbp + 0x450]
mov edx, ebx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400c6bfd
cmp dword [rbp + 0x28], 1
jne 0x1400c6bfd
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
lea rax, [rbp + 0x240]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c6a00
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x60]
call fcn.1400739a0
nop
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
lea rax, [rbp + 0x450]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c6a40
lea rdx, [rbp + 0x450]
lea rcx, [rbp - 0x80]
call fcn.1400739a0
nop
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400739a0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400739a0
nop
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rax, [rbp + 0x450]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c6ae4
lea rdx, [rbp + 0x450]
lea rcx, [rsp + 0x60]
call fcn.1400739a0
nop
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x60]
lea rdx, [rbp]
mov rcx, rsi
call fcn.1400ca1b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400c6b59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6b54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6c4f
call fcn.140359090
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rcx, [rbp - 0x20]
call fcn.140073b90
lea rcx, [rbp - 0x40]
call fcn.140073b90
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400c6bc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6c43
call fcn.140359090
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400c6bfd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6bf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6c49
call fcn.140359090
inc ebx
cmp ebx, dword [rbp + 0x18]
jb 0x1400c6980
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, dword [rbp + 0x1c]
jb 0x1400c68b0
mov rcx, qword [rbp + 0x1450]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x15a0]
add rsp, 0x1560
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
int3