Function at 0x14000b6d0
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 [0x14022b078]
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 0x14000b9bd
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 0x14000b789
mov eax, dword [0x14023a790]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x14023a790], 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 0x14000b7d0
cmp dword [rsp + 0x34], 4
jne 0x14000b7d0
mov eax, dword [rsp + 0x30]
mov dword [0x14022bcb4], 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 0x14000b81c
mov eax, dword [0x140380e94]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x140380e94], 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 0x14000b874
cmp dword [rsp + 0x34], 4
jne 0x14000b874
mov eax, dword [rsp + 0x30]
test eax, eax
mov ecx, dword [0x14037de84]
cmovne ecx, edi
mov dword [0x14022bca4], eax
mov dword [0x14037de84], 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 0x14000b8c0
mov eax, dword [0x14022bcb8]
cmp dword [rsp + 0x34], 4
cmove eax, dword [rsp + 0x30]
mov dword [0x14022bcb8], eax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
call fcn.14015e120
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 0x14000b970
cmp dword [rsp + 0x34], edi
jne 0x14000b970
lea rcx, [0x140380ea0]
mov r9d, 0x1fe
lea r10, str..RealTekCard
mov r8, rcx
sub r10, rcx
lea rax, [r9 + 0x7ffffe00]
test rax, rax
je 0x14000b953
movzx eax, word [r10 + r8]
test ax, ax
je 0x14000b953
mov word [r8], ax
add r8, 2
sub r9, rdi
jne 0x14000b930
lea rax, [r8 - 2]
test r9, r9
mov edx, 0x1fe
cmovne rax, r8
lea r8, [rsp + 0x50]
mov word [rax], bx
call fcn.14000b5f0
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 0x14000b9bd
cmp dword [rsp + 0x34], 4
jne 0x14000b9bd
mov eax, dword [rsp + 0x30]
cmp eax, 2
cmova eax, edi
mov dword [0x14022bcac], eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b9cd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14013f550
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret