Function at 0x1401454e0
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 [0x14028a238]
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 0x1401457b5
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp word [rbp - 0x10], ax
jne 0x1401455bb
mov r8, r13
jmp 0x1401455ce
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1401455c3
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400c3720
nop
mov byte [rsp + 0x20], 0
mov r9d, 1
lea r8, [rsp + 0x60]
mov rdx, qword [r12]
lea rcx, [rbp - 0x40]
call fcn.140144600
mov esi, eax
test eax, eax
sete bl
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14014561e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400c3a10
test bl, bl
je 0x1401457b5
lea rdx, [r15 + 0x70]
cmp qword [rdx + 0x18], 8
jb 0x140145634
mov rdx, qword [rdx]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rdx], 0
jne 0x140145650
mov r8, r13
jmp 0x14014565f
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140145654
lea rcx, [rbp - 0x80]
call fcn.1400c3720
nop
or edi, 1
mov dword [rsp + 0x40], edi
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140144920
test eax, eax
je 0x1401456d2
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.1400c3720
nop
or edi, 2
mov dword [rsp + 0x40], edi
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140144920
test eax, eax
je 0x1401456d2
xor bl, bl
jmp 0x1401456d4
mov bl, 1
test dil, 2
je 0x14014570e
and edi, 0xfffffffd
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1401456fa
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400c3a10
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 0x14014572b
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400c3a10
test bl, bl
je 0x1401457b5
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 0x140145759
mov r8, r13
jmp 0x14014576c
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140145761
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.1400c3720
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.1400c3ac0
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140145380
cmp esi, 0x103
je 0x1401457c5
inc r14d
jmp 0x140145560
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1401457df
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.1400c3a10
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140145803
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x40], r13
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14014581d
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400c3a10
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14016ce60
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret