Function at 0x14013ce00
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x250], rbx
mov rax, qword [0x14027e238]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r12, rdx
mov r15, rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x40], r13d
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r13
mov word [rbp - 0x38], r13w
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
mov r14d, r13d
nop word [rax + rax]
mov dword [rsp + 0x48], 0x80
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x10]
mov edx, r14d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x14013d0d5
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp word [rbp - 0x10], ax
jne 0x14013cedb
mov r8, r13
jmp 0x14013ceee
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013cee3
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400be520
nop
mov byte [rsp + 0x20], 0
mov r9d, 1
lea r8, [rsp + 0x60]
mov rdx, qword [r12]
lea rcx, [rbp - 0x40]
call fcn.14013bf20
mov esi, eax
test eax, eax
sete bl
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14013cf3e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400be810
test bl, bl
je 0x14013d0d5
lea rdx, [r15 + 0x70]
cmp qword [rdx + 0x18], 8
jb 0x14013cf54
mov rdx, qword [rdx]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rdx], 0
jne 0x14013cf70
mov r8, r13
jmp 0x14013cf7f
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14013cf74
lea rcx, [rbp - 0x80]
call fcn.1400be520
nop
or edi, 1
mov dword [rsp + 0x40], edi
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.14013c240
test eax, eax
je 0x14013cff2
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str.QuietDisplayName
lea rcx, [rsp + 0x60]
call fcn.1400be520
nop
or edi, 2
mov dword [rsp + 0x40], edi
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14013c240
test eax, eax
je 0x14013cff2
xor bl, bl
jmp 0x14013cff4
mov bl, 1
test dil, 2
je 0x14013d02e
and edi, 0xfffffffd
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14013d01a
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400be810
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
and edi, 0xfffffffe
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14013d04b
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400be810
test bl, bl
je 0x14013d0d5
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rbp - 0x10], 0
jne 0x14013d079
mov r8, r13
jmp 0x14013d08c
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013d081
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.1400be520
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400be8c0
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.14013cca0
cmp esi, 0x103
je 0x14013d0e5
inc r14d
jmp 0x14013ce80
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x14013d0ff
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.1400be810
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14013d123
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x40], r13
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14013d13d
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400be810
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401646e0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret