Function at 0x14000bee0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rsi, r8
mov rbx, rdx
mov rdx, qword [r8 + 8]
mov rcx, qword [r8]
call fcn.14000d240
mov rax, qword [rsi]
mov qword [rsi + 8], rax
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x64], 0x104
mov dword [rsp + 0x60], r12d
cmp qword [rbx + 0x18], 8
jb 0x14000bf4a
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 0x14000c135
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 0x14000c135
mov r15d, r12d
nop dword [rax]
mov dword [rsp + 0x68], 0x104
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x40]
mov edx, r15d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000c135
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000c050
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14000c9b0
nop
lea rdi, [rbp - 0x68]
mov r8, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdi, r8
lea rcx, [rbp - 0x68]
cmovae rcx, r8
mov rax, qword [rbp - 0x58]
lea r14, [rcx + rax*2]
lea rbx, [rbp - 0x68]
cmovae rbx, r8
cmp rbx, r14
je 0x14000c0b5
sub rdi, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
call fcn.140026f28
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, r14
jne 0x14000c0a0
lea rcx, [rbp - 0x68]
call fcn.14000b940
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14000c0db
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14000d500
add qword [rsi + 8], 0x20
jmp 0x14000c0eb
lea r8, [rbp - 0x68]
mov rdx, rax
mov rcx, rsi
call fcn.14000cde0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000c127
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c122
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c160
call fcn.1400198f4
inc r15d
cmp r15d, dword [rsp + 0x60]
jb 0x14000bff0
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400198d0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14002589c
int3