Function at 0x1800bbe10
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.1802b8650
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rbp + 0xfd8], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov dword [rbp + 0xfb4], r15d
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 + 0xfb4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1800bbed1
mov r8d, eax
lea rdx, [0x180092c70]
lea rcx, [rbp - 0x70]
call fcn.1800b0450
lea rdx, [0x1803f5e58]
lea rcx, [rbp - 0x70]
call fcn.1802c76f0
int3
mov dword [rbp + 0xfb0], 0xff
mov qword [rbp + 0xfc8], r15
mov qword [rbp + 0xfd0], r15
mov qword [rbp + 0xfd0], 7
mov qword [rbp + 0xfc8], r15
mov word [rbp + 0xfb8], r15w
xor r8d, r8d
mov edx, 0xff
lea rcx, [rbp + 0xfb8]
call fcn.1800ad410
nop
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov dword [rsp + 0x60], 1
mov ecx, dword [rbp + 0xfb4]
mov edx, ecx
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
sar rax, 5
cmp rax, rcx
jae 0x1800bbf51
mov rcx, rbx
call fcn.1800bb9e0
mov ecx, dword [rbp + 0xfb4]
mov edi, r15d
test ecx, ecx
je 0x1800bc037
nop dword [rax]
mov dword [rbp + 0xfb0], 0xff
lea r8, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 8
cmovae r8, qword [rbp + 0xfb8]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xfb0]
mov edx, edi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800bc010
lea rsi, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 8
cmovae rsi, qword [rbp + 0xfb8]
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 8], rax
jne 0x1800bbfd9
mov edx, 1
mov rcx, rbx
call fcn.1800bb950
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
test rcx, rcx
je 0x1800bbffb
mov r8d, dword [rbp + 0xfb0]
mov rdx, rsi
call fcn.1800ac3f0
nop
add qword [rbx + 8], 0x20
inc edi
cmp edi, dword [rbp + 0xfb4]
jb 0x1800bbf60
jmp 0x1800bc037
mov r9d, eax
mov r8d, edi
lea rdx, [0x180092cc0]
lea rcx, [rbp - 0x70]
call fcn.1800b0450
lea rdx, [0x1803f5e58]
lea rcx, [rbp - 0x70]
call fcn.1802c76f0
nop
mov rax, qword [rbp + 0xfd0]
cmp rax, 8
jb 0x1800bc0af
inc rax
mov rcx, qword [rbp + 0xfb8]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x1800bc063
call fcn.1802d51b4
int3
add rax, rax
cmp rax, 0x1000
jb 0x1800bc0aa
test byte [rbp + 0xfb8], 0x1f
je 0x1800bc07d
call fcn.1802d51b4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800bc08c
call fcn.1802d51b4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800bc09b
call fcn.1802d51b4
int3
cmp rcx, 0x27
jbe 0x1800bc0a7
call fcn.1802d51b4
int3
mov rcx, rax
call fcn.18011da90
mov qword [rbp + 0xfd0], 7
mov qword [rbp + 0xfc8], r15
mov word [rbp + 0xfb8], r15w
mov rax, rbx
mov rcx, qword [rbp + 0xfd8]
xor rcx, rsp
call fcn.1802b85a0
mov rbx, qword [rsp + 0x1120]
add rsp, 0x10e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret