Function at 0x14000f670
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rbp + 8], 0xffffffff80000001
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRunfs1_
mov qword [rbp + 0x38], rax
lea rax, [0x1401cc13d]
mov qword [rbp + 0x40], rax
mov word [rbp + 0x48], 0
mov dword [rbp + 0x50], 1
lea rcx, [rbp + 0x10]
lea rsi, [rbp + 0x38]
mov rdx, rsi
call fcn.140008130
mov qword [rbp + 0x38], 0
mov rdx, qword [rbp + 0x18]
mov qword [rsp + 0x20], rsi
mov rcx, 0xffffffff80000001
mov qword [rbp - 8], rdx
xor r8d, r8d
mov r9d, 0x20019
call sub.advapi32.dll_RegOpenKeyExW
mov edi, eax
mov rbx, qword [rbp + 0x38]
mov rsi, rdi
shl rsi, 0x20
or rsi, 2
test eax, eax
cmove rsi, rbx
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x14000f72a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.14001d100
xor eax, eax
test edi, edi
setne al
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rsi
je 0x14000f749
lea rcx, [rbp - 0x40]
call fcn.14000a030
jmp 0x14000f903
mov qword [rbp], rbx
mov rax, qword [section..data]
cmp rax, 2
je 0x14000f769
lea rcx, [section..data]
mov rdx, rcx
call fcn.1401bffe0
mov rax, qword [0x1402c4010]
mov rcx, qword [0x1402c4018]
add rcx, rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rcx
mov word [rbp + 0x48], 0
mov dword [rbp + 0x50], 1
lea rcx, [rbp - 0x38]
lea rdx, [rbp + 0x38]
call fcn.140008130
mov dword [rbp + 0x5c], 0x800
mov dword [rbp + 0x34], 0
movzx eax, byte [0x1402c7041]
mov ecx, 0x800
mov edx, 1
call fcn.14001d0f0
test rax, rax
je 0x14000f979
mov rbx, rax
mov qword [rbp + 0x38], 0x800
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0
mov rdi, qword [rbp - 0x30]
lea r13, [rbp + 0x5c]
lea r14, [rbp + 0x34]
mov r15, qword [rbp + 0x38]
mov r12, qword [rbp + 0x48]
sub r15, r12
nop word [rax + rax]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
mov r9, r14
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14000f83d
mov r8d, dword [rbp + 0x5c]
cmp r15, r8
jae 0x14000f800
lea rcx, [rbp + 0x38]
mov rdx, r12
call fcn.1401bfef0
mov rbx, qword [rbp + 0x40]
jmp 0x14000f7ec
movabs rsi, 0x8000000000000000
test eax, eax
jne 0x14000f86a
mov eax, dword [rbp + 0x5c]
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x34]
cmp eax, 0xb
jbe 0x14000f924
movabs rax, 0xde00000002
jmp 0x14000f872
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x10], rsi
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x14000f891
mov r8d, 1
mov rcx, rbx
call fcn.14001d100
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x14000f8ab
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.14001d100
cmp qword [rbp + 0x10], rsi
jne 0x14000f8bf
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rsi
jmp 0x14000f8f2
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0x10]
call fcn.14018b410
mov rdx, qword [rbp + 0x10]
cmp rdx, rsi
je 0x14000f8e9
test rdx, rdx
je 0x14000f8e9
mov rcx, qword [rbp + 0x18]
mov r8d, 1
call fcn.14001d100
mov rdx, qword [rbp - 0x20]
cmp rdx, rsi
jne 0x14000f949
lea rcx, [rbp - 0x18]
call fcn.14000a030
mov rcx, rbp
call fcn.14018b3d0
lea rcx, [rbp + 8]
call fcn.14018b3d0
xor esi, esi
mov eax, esi
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x20], rcx
movups xmm0, xmmword [rbp + 0x38]
movaps xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x28], al
mov rdx, qword [rbp - 0x38]
test rdx, rdx
jne 0x14000f89a
jmp 0x14000f8ab
cmp qword [rbp - 0x10], 0
setne sil
test rdx, rdx
je 0x14000f966
mov rcx, qword [rbp - 0x18]
mov r8d, 1
call fcn.14001d100
mov rcx, rbp
call fcn.14018b3d0
lea rcx, [rbp + 8]
call fcn.14018b3d0
jmp 0x14000f90e
mov ecx, 1
mov edx, 0x800
call fcn.1401c9fd0
ud2