Function at 0x1400ba4e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, r8
cmp qword [rdx + 0x18], 8
jb 0x1400ba524
mov rdx, qword [rdx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400ba54f
xor al, al
jmp 0x1400ba744
xor r14d, r14d
mov esi, r14d
mov word [rbp - 0x80], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1400c2130
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400ba737
nop word [rax + rax]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
cmp word [rbp - 0x80], 0
jne 0x1400ba5d0
mov r8, r14
jmp 0x1400ba5eb
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ba5e0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140006900
nop
mov rax, qword [rbx + 8]
lea rcx, [rsp + 0x58]
cmp rcx, rax
jae 0x1400ba661
mov rcx, qword [rbx]
lea rdx, [rsp + 0x58]
cmp rcx, rdx
ja 0x1400ba661
lea rdi, [rsp + 0x58]
sub rdi, rcx
cmp rax, qword [rbx + 0x10]
jne 0x1400ba630
mov edx, 1
mov rcx, rbx
call fcn.14000ec30
and rdi, 0xffffffffffffffe0
add rdi, qword [rbx]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400ba6e4
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
mov rdx, rdi
call fcn.14000b0c0
jmp 0x1400ba6e4
cmp rax, qword [rbx + 0x10]
jne 0x1400ba674
mov edx, 1
mov rcx, rbx
call fcn.14000ec30
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400ba6e4
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
cmp qword [rsp + 0x70], 8
jae 0x1400ba6b1
mov r8, qword [rsp + 0x68]
inc r8
je 0x1400ba6be
add r8, r8
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400bcb10
jmp 0x1400ba6be
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
add qword [rbx + 8], 0x20
cmp qword [rsp + 0x70], 8
jb 0x1400ba6fb
mov rcx, qword [rsp + 0x58]
call fcn.1400bd20c
inc esi
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400ba5b0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret