Function at 0x14000bce0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x30
xor ebx, ebx
mov dword [rbp + 0x28], 4
lea rax, [rbp + 0x38]
mov qword [rbp + 0x38], rbx
mov edi, 1
mov dword [rbp + 0x20], ebx
mov r9d, edi
mov dword [rbp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIntel_Connectivity_Network_ServiceSLibCFG
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bf4a
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, [0x1401e3b38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000bdc5
cmp dword [rbp + 0x28], 4
jne 0x14000bdc5
mov r9d, dword [rbp + 0x20]
cmp r9d, 5
jae 0x14000bda3
mov ecx, r9d
call fcn.140013250
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x14000bd87
mov dword [0x14023cc74], eax
jmp 0x14000bdc5
xor r9d, r9d
lea r8, str.RfeGetOperationalParams
lea rdx, str._s:__Killer_ProductMode_was_read_from_Registry_on_an_ICPS_build__keyVal_lu
lea ecx, [r9 + 2]
call fcn.140013600
jmp 0x14000bdc5
mov eax, dword [0x14023cc74]
lea r8, str.RfeGetOperationalParams
lea rdx, str._s:_Product_Mode_registry_KeyValue___lu_is_Invalid_gProductMode_lu
mov dword [rsp + 0x20], eax
mov ecx, 2
call fcn.140013600
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.DefineEtwLog
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000be05
cmp dword [rbp + 0x28], 4
jne 0x14000be05
mov eax, dword [rbp + 0x20]
or eax, 2
mov dword [0x14024c420], eax
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.SmartByteKillerOn
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Redir
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000be6f
cmp dword [rbp + 0x28], 4
jne 0x14000be6f
mov eax, dword [rbp + 0x20]
mov dword [0x14023ccbc], eax
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.EnableOpenVpn
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000beb4
mov eax, dword [0x140255928]
cmp dword [rbp + 0x28], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x140255928], eax
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SupportOemDevice
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000bf05
cmp dword [rbp + 0x28], 4
jne 0x14000bf05
mov eax, dword [rbp + 0x20]
test eax, eax
mov ecx, dword [0x14023cd04]
cmovne ecx, edi
mov dword [0x14023cc7c], eax
mov dword [0x14023cd04], ecx
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DeviceDiscoveryTO
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000bf4a
mov eax, dword [0x14023cd08]
cmp dword [rbp + 0x28], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x14023cd08], eax
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14000bf59
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rdi
pop rbx
pop rbp
ret