Function at 0x14007a1ac
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xd0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, r8
mov byte [r9], 1
mov r8, qword [rbp + 0x7f]
lea rdx, [rbp - 0x61]
mov rsi, r9
mov rdi, rcx
xor r14d, r14d
mov rcx, rbx
mov r9d, 0x20019
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r14
call fcn.140207434
mov dword [rbp - 0x71], eax
test eax, eax
je 0x14007a2b3
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x14007a3dc
cmp qword [rbx + 0x18], 8
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x71]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x29], 0x82
mov qword [rbp - 0x19], 4
jb 0x14007a246
mov rbx, qword [rbx]
lea rdx, [0x1403cb630]
mov rcx, r14
test rbx, rbx
je 0x14007a266
mov rdx, rbx
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], r14w
jne 0x14007a25c
lea eax, [rcx*2 + 2]
mov qword [rbp - 0x11], rdx
mov dword [rbp - 9], eax
lea rax, [rbp - 0x69]
mov qword [rbp - 1], rax
mov dword [rbp - 5], r14d
mov qword [rbp + 7], 8
lea rax, [rbp - 0x51]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14047971b]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001208
jmp 0x14007a3dc
cmp qword [rdi + 0x18], 8
mov rdx, rdi
mov dword [rbp - 0x6d], 8
jb 0x14007a2c7
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x61]
lea rax, [rbp - 0x6d]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x59]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov dword [rbp - 0x71], eax
test eax, eax
je 0x14007a3e2
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14007a3dc
cmp qword [rdi + 0x18], 8
lea rax, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], 0x68
jb 0x14007a32a
mov rdi, qword [rdi]
or rcx, 0xffffffffffffffff
lea rdx, [0x1403cb630]
mov r8, rdx
mov rax, r14
test rdi, rdi
je 0x14007a350
mov r8, rdi
mov rax, rcx
inc rax
cmp word [rdi + rax*2], r14w
jne 0x14007a346
cmp qword [rbx + 0x18], 8
lea eax, [rax*2 + 2]
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x21], r8
mov dword [rbp - 0x15], r14d
jb 0x14007a36c
mov rbx, qword [rbx]
mov rax, r14
test rbx, rbx
je 0x14007a384
mov rdx, rbx
mov rax, rcx
inc rax
cmp word [rbx + rax*2], r14w
jne 0x14007a37a
lea eax, [rax*2 + 2]
mov qword [rbp - 0x11], rdx
mov dword [rbp - 9], eax
lea rax, [rbp - 0x71]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x69]
mov qword [rbp + 0xf], rax
mov dword [rbp - 5], r14d
mov qword [rbp + 7], 4
mov qword [rbp + 0x17], 8
lea rax, [rbp - 0x51]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1404796cc]
xor r8d, r8d
mov dword [rsp + 0x20], 7
mov rcx, r10
call fcn.140001208
mov rbx, qword [rbp - 0x69]
jmp 0x14007a3e9
mov rbx, qword [rbp - 0x59]
mov byte [rsi], r14b
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14007a3fe
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140356560
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret