Function at 0x14000b1a0
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 [0x140200d38]
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 0x14000b43d
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.Enable11AD
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b259
mov eax, dword [0x14020f818]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x14020f818], 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 0x14000b2a5
mov eax, dword [0x140355e18]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x140355e18], 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 0x14000b2f1
mov eax, dword [0x14020f804]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x14020f804], 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.DeviceDiscoveryTO
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b33d
mov eax, dword [0x140201974]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x140201974], eax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
call fcn.140140260
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 0x14000b3f0
cmp dword [rsp + 0x34], edi
jne 0x14000b3f0
lea rcx, [0x140355e20]
mov r9d, 0x1fe
lea r10, str..RealTekCard
mov r8, rcx
sub r10, rcx
nop dword [rax]
lea rax, [r9 + 0x7ffffe00]
test rax, rax
je 0x14000b3d3
movzx eax, word [r10 + r8]
test ax, ax
je 0x14000b3d3
mov word [r8], ax
add r8, 2
sub r9, rdi
jne 0x14000b3b0
lea rax, [r8 - 2]
test r9, r9
mov edx, 0x1fe
cmovne rax, r8
lea r8, [rsp + 0x50]
mov word [rax], bx
call fcn.14000b0c0
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 0x14000b43d
cmp dword [rsp + 0x34], 4
jne 0x14000b43d
mov eax, dword [rsp + 0x30]
cmp eax, 2
cmova eax, edi
mov dword [0x140201968], eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b44d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140121cc0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret