Function at 0x14013d5e0
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 [0x14027f238]
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 0x14013d8b5
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp word [rbp - 0x10], ax
jne 0x14013d6bb
mov r8, r13
jmp 0x14013d6ce
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013d6c3
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.14013c700
mov esi, eax
test eax, eax
sete bl
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14013d71e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400be810
test bl, bl
je 0x14013d8b5
lea rdx, [r15 + 0x70]
cmp qword [rdx + 0x18], 8
jb 0x14013d734
mov rdx, qword [rdx]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rdx], 0
jne 0x14013d750
mov r8, r13
jmp 0x14013d75f
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14013d754
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.14013ca20
test eax, eax
je 0x14013d7d2
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.14013ca20
test eax, eax
je 0x14013d7d2
xor bl, bl
jmp 0x14013d7d4
mov bl, 1
test dil, 2
je 0x14013d80e
and edi, 0xfffffffd
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14013d7fa
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 0x14013d82b
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400be810
test bl, bl
je 0x14013d8b5
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 0x14013d859
mov r8, r13
jmp 0x14013d86c
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013d861
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.14013d480
cmp esi, 0x103
je 0x14013d8c5
inc r14d
jmp 0x14013d660
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x14013d8df
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 0x14013d903
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x40], r13
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14013d91d
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400be810
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret