Function at 0x140146b00
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 [0x14028c238]
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 0x140146dd5
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp word [rbp - 0x10], ax
jne 0x140146bdb
mov r8, r13
jmp 0x140146bee
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140146be3
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.140145c20
mov esi, eax
test eax, eax
sete bl
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140146c3e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400c3a10
test bl, bl
je 0x140146dd5
lea rdx, [r15 + 0x70]
cmp qword [rdx + 0x18], 8
jb 0x140146c54
mov rdx, qword [rdx]
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rdx], 0
jne 0x140146c70
mov r8, r13
jmp 0x140146c7f
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140146c74
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.140145f40
test eax, eax
je 0x140146cf2
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.140145f40
test eax, eax
je 0x140146cf2
xor bl, bl
jmp 0x140146cf4
mov bl, 1
test dil, 2
je 0x140146d2e
and edi, 0xfffffffd
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140146d1a
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 0x140146d4b
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400c3a10
test bl, bl
je 0x140146dd5
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 0x140146d79
mov r8, r13
jmp 0x140146d8c
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140146d81
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.1401469a0
cmp esi, 0x103
je 0x140146de5
inc r14d
jmp 0x140146b80
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140146dff
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 0x140146e23
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x40], r13
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x140146e3d
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400c3a10
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret