Function at 0x14000cd90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor ebx, ebx
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
mov edi, 1
mov dword [rsp + 0x30], ebx
mov r9d, edi
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesKiller_Network_ServiceSLibCFG
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d16d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.ProductMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cea0
cmp dword [rsp + 0x34], 4
jne 0x14000cea0
mov r9d, dword [rsp + 0x30]
cmp r9d, 5
jae 0x14000ce7e
mov ecx, r9d
call fcn.140015d90
cmp dword [0x140201214], ebx
jne 0x14000ce72
mov r9d, dword [rsp + 0x30]
lea r8, str.RfeGetOperationalParams
lea rdx, str._s:__Non_Killer_ProductMode_was_read_from_Registry_on_a_Killer_build__keyVal_lu
lea ecx, [rbx + 2]
call fcn.140016160
jmp 0x14000cea0
mov eax, dword [rsp + 0x30]
mov dword [0x140201214], eax
jmp 0x14000cea0
mov eax, dword [0x140201214]
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.140016160
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.DefineEtwLog
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cee6
cmp dword [rsp + 0x34], 4
jne 0x14000cee6
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [0x1402011e0], eax
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Enable11AD
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cf32
mov eax, dword [0x140201508]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x140201508], eax
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Redir
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cf79
cmp dword [rsp + 0x34], 4
jne 0x14000cf79
mov eax, dword [rsp + 0x30]
mov dword [0x1401f3cf4], eax
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.EnableOpenVpn
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cfc5
mov eax, dword [0x14034a534]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x14034a534], eax
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SupportOemDevice
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d01d
cmp dword [rsp + 0x34], 4
jne 0x14000d01d
mov eax, dword [rsp + 0x30]
test eax, eax
mov ecx, dword [0x14034508c]
cmovne ecx, edi
mov dword [0x1401f3c64], eax
mov dword [0x14034508c], ecx
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DeviceDiscoveryTO
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d069
mov eax, dword [0x1401f3c6c]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x1401f3c6c], eax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
call fcn.14014ba20
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x34], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RealTekCfgInstance
mov dword [rsp + 0x38], reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d120
cmp dword [rsp + 0x34], edi
jne 0x14000d120
lea rcx, [0x14034a540]
mov r9d, 0x1fe
lea r10, str..RealTekCard
mov r8, rcx
sub r10, rcx
nop dword [rax]
lea rax, [r9 + 0x7ffffe00]
test rax, rax
je 0x14000d103
movzx eax, word [r10 + r8]
test ax, ax
je 0x14000d103
mov word [r8], ax
add r8, 2
sub r9, rdi
jne 0x14000d0e0
lea rax, [r8 - 2]
test r9, r9
mov edx, 0x1fe
cmovne rax, r8
lea r8, [rsp + 0x50]
mov word [rax], bx
call fcn.14000ccd0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RealTekEndianVal
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d16d
cmp dword [rsp + 0x34], 4
jne 0x14000d16d
mov eax, dword [rsp + 0x30]
cmp eax, 2
cmova eax, edi
mov dword [0x1401f3cac], eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000d17d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140149500
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret