Function at 0x14000aae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov dword [rsp + 0x3c], 7
xor r12d, r12d
mov dword [rcx + 0x14], r12d
mov rbp, qword [r8 + 8]
mov rbx, qword [r8]
cmp rbx, rbp
je 0x14000ab38
mov rcx, rbx
call sym.Prounstl.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Tidy_deallocate_void____ptr64
add rbx, 0x20
cmp rbx, rbp
jne 0x14000ab27
mov rax, qword [rdi]
mov qword [rdi + 8], rax
cmp byte [r14 + 0x10], r12b
je 0x14000abf0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000ab56
mov rdx, qword [rsi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x14000abf0
mov ecx, dword [rsp + 0x38]
add rcx, 5
mov r13, 0xffffffffffffffff
cmovb rcx, r13
call fcn.14001debc
mov r15, rax
test rax, rax
je 0x14000abf0
mov r8d, dword [rsp + 0x38]
add r8d, 5
xor edx, edx
mov rcx, rax
call fcn.140017670
cmp qword [rsi + 0x18], 8
jb 0x14000abbc
mov rsi, qword [rsi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r14 + 0x14], eax
test eax, eax
je 0x14000ac17
mov rcx, r15
call fcn.14001a980
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140015690
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, r15
mov ebp, dword [rsp + 0x38]
nop
cmp byte [rbx], 0
jne 0x14000ac2d
test ebp, ebp
je 0x14000ad0b
mov rdx, rbx
lea rcx, [rsp + 0x40]
call sym.Prounstl.exe_public:_void___cdecl_CNcsString::constructor_wchar_t_const____ptr64____ptr64
nop
mov esi, dword [rsp + 0x50]
inc esi
cmp qword [rsp + 0x50], 0
je 0x14000acab
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14000ac9b
mov qword [rsp + 0x30], rax
mov qword [rax], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000ac80
mov rcx, rax
call sym.Prounstl.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
add qword [rdi + 8], 0x20
jmp 0x14000acab
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rdi
call fcn.1400091b0
lea rbx, [rbx + rsi*2]
imul eax, esi, 0xfffffffe
add ebp, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000acf2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ad1a
call fcn.14001557c
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
jmp 0x14000ac20
mov rcx, r15
call fcn.14001a980
mov al, 1
jmp 0x14000abf2
call fcn.14001a7fc
int3