Function at 0x14000c030
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x530], rbx
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14, r8
mov rbx, rdx
mov rdx, qword [r8 + 8]
mov rcx, qword [r8]
call fcn.14000db80
mov rax, qword [r14]
mov qword [r14 + 8], rax
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x64], 0x104
mov dword [rsp + 0x60], r13d
cmp qword [rbx + 0x18], 8
jb 0x14000c0a4
mov rbx, qword [rbx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c298
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x64]
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000c298
mov r12d, r13d
mov dword [rsp + 0x68], 0x104
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x40]
mov edx, r12d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000c298
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000c1a0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.14000cb10
nop
lea rsi, [rbp - 0x60]
mov r8, qword [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rsi, r8
lea rcx, [rbp - 0x60]
cmovae rcx, r8
mov rax, qword [rbp - 0x50]
lea rax, [rcx + rax*2]
lea rbx, [rbp - 0x60]
cmovae rbx, r8
mov rdi, r13
mov r15, rax
sub r15, rbx
inc r15
shr r15, 1
cmp rbx, rax
cmova r15, r13
test r15, r15
je 0x14000c218
sub rsi, rbx
movzx ecx, word [rbx]
call fcn.140023e58
mov word [rsi + rbx], ax
lea rbx, [rbx + 2]
inc rdi
cmp rdi, r15
jne 0x14000c200
lea rcx, [rbp - 0x60]
call fcn.14000ba80
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x14000c23e
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14000de50
add qword [r14 + 8], 0x20
jmp 0x14000c24e
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, r14
call fcn.14000d6e0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14000c28a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c285
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2c2
call fcn.14001a574
inc r12d
cmp r12d, dword [rsp + 0x60]
jb 0x14000c143
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.14001a550
mov rbx, qword [rsp + 0x530]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140023bcc
int3