Function at 0x140005c80
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 [0x140071d28]
lea rsi, [0x140071d28]
cmp rcx, rsi
je 0x140005ce1
test dword [rcx + 0x1c], 0x10000000
je 0x140005ce1
cmp byte [rcx + 0x19], 5
jb 0x140005ce1
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x65]
lea r8, [0x1400614d0]
call fcn.1400017d0
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 0x140005d58
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140005e24
test dword [rcx + 0x1c], 0x10000000
je 0x140005e24
cmp byte [rcx + 0x19], 2
jb 0x140005e24
mov rcx, qword [rcx + 0x10]
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
mov edx, 0x69
mov dword [rsp + 0x20], eax
call fcn.1400034c0
jmp 0x140005e1d
cmp qword [rsp + 0x30], 0
jne 0x140005da1
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140005d97
test dword [rcx + 0x1c], 0x10000000
je 0x140005d97
cmp byte [rcx + 0x19], 2
jb 0x140005d97
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x6a
call fcn.1400017d0
mov rcx, qword [0x140071d28]
mov edi, 0x3f2
jmp 0x140005e24
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 0x140005e19
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140005e24
test dword [rcx + 0x1c], 0x10000000
je 0x140005e24
cmp byte [rcx + 0x19], 2
jb 0x140005e24
mov rcx, qword [rcx + 0x10]
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
mov dword [rsp + 0x28], eax
mov edx, 0x6b
mov qword [rsp + 0x20], rbp
call fcn.140003680
jmp 0x140005e1d
mov ebx, dword [rsp + 0x3c]
mov rcx, qword [0x140071d28]
mov rax, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
test rax, rax
je 0x140005e83
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140005e73
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140005e7a
test dword [rcx + 0x1c], 0x10000000
je 0x140005e7a
cmp byte [rcx + 0x19], 2
jb 0x140005e7a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x6c
mov r9d, eax
call fcn.140001800
mov rcx, qword [0x140071d28]
mov qword [rsp + 0x30], 0
cmp rcx, rsi
mov rsi, qword [rsp + 0x68]
je 0x140005eda
test dword [rcx + 0x1c], 0x10000000
je 0x140005eda
cmp byte [rcx + 0x19], 5
jb 0x140005eda
cmp ebx, 4
jle 0x140005eaa
lea rax, [0x1400610a0]
jmp 0x140005ec5
movsxd rax, ebx
lea rdx, [0x140075480]
shl rax, 5
add rax, rdx
cmp qword [rax + 0x18], 8
jb 0x140005ec5
mov rax, qword [rax]
mov rcx, qword [rcx + 0x10]
mov r9d, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.140003120
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140011f50
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret