Function at 0x14017b3a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
push r14
lea rbp, [r11 - 0x5f8]
sub rsp, 0x6e0
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
xor ebx, ebx
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov r12, rcx
mov dword [rdx], ebx
lea rcx, [rsp + 0x50]
mov qword [r11 - 0x38], r15
mov r13, rdx
mov r15, r8
mov dword [r8], ebx
lea r9d, [rbx + 8]
mov qword [rsp + 0x50], rbx
lea r8, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov dword [rsp + 0x58], ebx
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x60], rbx
call fcn.14007dcc0
mov r14, qword [rsp + 0x50]
test eax, eax
jne 0x14017b779
mov qword [rsp + 0x718], rsi
mov esi, ebx
mov qword [rsp + 0x6d8], rdi
nop dword [rax + rax]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
lea r8, [rbp + 0x3a0]
mov qword [rsp + 0x28], rbx
mov edx, esi
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14017b764
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x3a0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14017b53b
mov rdi, qword [rsp + 0x68]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x190]
mov dword [rsp + 0x40], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.NetCfgInstanceId
mov dword [rsp + 0x48], ebx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017b52d
mov eax, dword [rsp + 0x44]
dec eax
cmp eax, 1
ja 0x14017b52d
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14017b50c
test cl, 1
jne 0x14017b52d
mov eax, ecx
shr rax, 1
cmp word [rbp + rax*2 + 0x18e], bx
je 0x14017b513
jmp 0x14017b52d
mov word [rbp + 0x190], bx
shr ecx, 1
mov rdx, r12
mov dword [rsp + 0x48], ecx
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14017b54e
test rdi, rdi
je 0x14017b53b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, 0x100
jl 0x14017b430
jmp 0x14017b764
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x190]
mov dword [rsp + 0x48], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.BusType
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017b756
mov eax, dword [rsp + 0x44]
dec eax
cmp eax, 1
ja 0x14017b756
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14017b5c4
test cl, 1
jne 0x14017b756
mov eax, ecx
shr rax, 1
cmp word [rbp + rax*2 + 0x18e], bx
je 0x14017b5cb
jmp 0x14017b756
mov word [rbp + 0x190], bx
shr ecx, 1
mov dword [rsp + 0x48], ecx
lea rcx, [rbp + 0x190]
call fcn.140291898
cmp eax, 5
jne 0x14017b756
lea rax, [rsp + 0x40]
mov dword [r13], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x40], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DriverDesc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017b64e
mov eax, dword [rsp + 0x44]
dec eax
cmp eax, 1
ja 0x14017b64e
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14017b6ea
test al, 1
jne 0x14017b64e
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], bx
je 0x14017b6ee
cmp dword [r15], ebx
jne 0x14017b756
mov r9d, 1
mov qword [rsp + 0x50], rbx
lea r8, str.NDIInterfaces
mov dword [rsp + 0x58], ebx
mov rdx, rdi
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x50]
call fcn.14007dcc0
mov rsi, qword [rsp + 0x50]
test eax, eax
jne 0x14017b748
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.LowerRange
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017b748
mov eax, dword [rsp + 0x44]
dec eax
cmp eax, 1
ja 0x14017b748
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14017b711
test al, 1
jne 0x14017b748
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], bx
je 0x14017b715
jmp 0x14017b748
mov word [rbp - 0x80], bx
lea rdx, str.Wireless
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14017b64e
mov dword [r15], 1
jmp 0x14017b756
mov word [rbp - 0x80], bx
lea rdx, str.wlan
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14017b741
lea rdx, str.vwifi
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14017b748
mov dword [r15], 1
test rsi, rsi
je 0x14017b756
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x14017b764
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x6d8]
mov ebx, 1
mov rsi, qword [rsp + 0x718]
mov r15, qword [rsp + 0x6c0]
mov r13, qword [rsp + 0x6c8]
mov r12, qword [rsp + 0x6d0]
test r14, r14
je 0x14017b79f
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140172190
add rsp, 0x6e0
pop r14
pop rbx
pop rbp
ret