Function at 0x1400066f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rsi
mov ebx, 3
mov qword [rsp + 0x30], 0
mov rcx, qword [0x140078970]
lea rsi, [0x140078970]
cmp rcx, rsi
je 0x140006751
test dword [rcx + 0x1c], 0x10000000
je 0x140006751
cmp byte [rcx + 0x19], 5
jb 0x140006751
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x65]
lea r8, [0x1400695b8]
call fcn.1400017a0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rbp
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x1400067c8
mov rcx, qword [0x140078970]
cmp rcx, rsi
je 0x140006894
test dword [rcx + 0x1c], 0x10000000
je 0x140006894
cmp byte [rcx + 0x19], 2
jb 0x140006894
mov rcx, qword [rcx + 0x10]
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
mov edx, 0x69
mov dword [rsp + 0x20], eax
call fcn.140003640
jmp 0x14000688d
cmp qword [rsp + 0x30], 0
jne 0x140006811
mov rcx, qword [0x140078970]
cmp rcx, rsi
je 0x140006807
test dword [rcx + 0x1c], 0x10000000
je 0x140006807
cmp byte [rcx + 0x19], 2
jb 0x140006807
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400695b8]
mov edx, 0x6a
call fcn.1400017a0
mov rcx, qword [0x140078970]
mov edi, 0x3f2
jmp 0x140006894
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rbp, str.AllowTelemetry
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x140006889
mov rcx, qword [0x140078970]
cmp rcx, rsi
je 0x140006894
test dword [rcx + 0x1c], 0x10000000
je 0x140006894
cmp byte [rcx + 0x19], 2
jb 0x140006894
mov rcx, qword [rcx + 0x10]
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
mov dword [rsp + 0x28], eax
mov edx, 0x6b
mov qword [rsp + 0x20], rbp
call fcn.1400037a0
jmp 0x14000688d
mov ebx, dword [rsp + 0x3c]
mov rcx, qword [0x140078970]
mov rax, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
test rax, rax
je 0x1400068f3
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400068e3
mov rcx, qword [0x140078970]
cmp rcx, rsi
je 0x1400068ea
test dword [rcx + 0x1c], 0x10000000
je 0x1400068ea
cmp byte [rcx + 0x19], 2
jb 0x1400068ea
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400695b8]
mov edx, 0x6c
mov r9d, eax
call fcn.1400017d0
mov rcx, qword [0x140078970]
mov qword [rsp + 0x30], 0
cmp rcx, rsi
mov rsi, qword [rsp + 0x68]
je 0x140006954
test dword [rcx + 0x1c], 0x10000000
je 0x140006954
cmp byte [rcx + 0x19], 5
jb 0x140006954
cmp ebx, 4
jle 0x14000691a
lea rax, [0x1400691e8]
jmp 0x14000693f
movsxd rax, ebx
lea rdx, [0x140078870]
shl rax, 5
add rax, rdx
cmp qword [rax + 0x18], 8
jb 0x14000693f
lfence
mov rax, qword [rax]
mov rcx, qword [0x140078970]
mov rcx, qword [rcx + 0x10]
mov r9d, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.140003320
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400117b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret