Function at 0x140016d50
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0xa0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
mov dword [rsp + 0x38], 0x20
lea rax, [r11 - 0x78]
xor esi, esi
mov edi, 1
mov qword [r11 - 0x78], rsi
mov r9d, 0x20019
mov dword [rsp + 0x3c], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
mov rcx, 0xffffffff80000002
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm6, xmm6
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140016e1d
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
lea rdx, str.CurrentVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call fcn.14015d608
movaps xmm6, xmm0
jmp 0x140016e23
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
comisd xmm6, xmmword [str.333333]
mov ebx, esi
setae bl
mov dword [0x14034ba00], ebx
test ebx, ebx
je 0x14001708a
xor edx, edx
lea rcx, str.Wlanapi.dll
mov r8d, 0x1000
xor bl, bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x14034b9e8], rax
test rax, rax
je 0x140017020
lea rdx, str.WlanOpenHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanCloseHandle
mov qword [0x14034bdf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanEnumInterfaces
mov qword [0x14034bd18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanFreeMemory
mov qword [0x14034be08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanGetAvailableNetworkList
mov qword [0x14034be18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanQueryInterface
mov qword [0x14034bdf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanGetNetworkBssList
mov qword [0x14034be00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanSetInterface
mov qword [0x14034be10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14034bdf8], rsi
mov qword [0x14034bd78], rax
je 0x140017005
cmp qword [0x14034bd18], rsi
jne 0x140016f73
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanCloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x14034bd18], rax
cmove ebx, edi
cmp qword [0x14034be08], rsi
movzx eax, bl
cmove eax, edi
cmp qword [0x14034be18], rsi
movzx ebx, al
cmove ebx, edi
cmp qword [0x14034be10], rsi
jne 0x140016fba
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanGetNetworkBssList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x14034be10], rax
cmove ebx, edi
cmp qword [0x14034bdf0], rsi
jne 0x140016fe7
mov rcx, qword [0x14034b9e8]
lea rdx, str.WlanGetAvailableNetworkList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x14034bdf0], rax
cmove ebx, edi
cmp qword [0x14034be00], rsi
movzx eax, bl
cmove eax, edi
cmp qword [0x14034bd78], rsi
je 0x140017005
test al, al
jne 0x140017005
mov ebx, edi
jmp 0x140017022
mov rcx, qword [0x14034b9e8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14034b9e8], rsi
mov qword [0x14034bdf8], rsi
mov ebx, esi
xorps xmm0, xmm0
mov dword [0x14034ba00], ebx
xor edx, edx
mov qword [0x140201550], rdi
mov r8d, 0x204
mov dword [0x14020176c], 0xffffffff
lea rcx, [0x140201568]
movups xmmword [0x140201558], xmm0
call fcn.14014ba20
xorps xmm0, xmm0
mov qword [0x1402019d0], 2
xor edx, edx
mov dword [0x140201bec], 0xffffffff
mov r8d, 0x204
lea rcx, [0x1402019e8]
movups xmmword [0x1402019d8], xmm0
call fcn.14014ba20
cmp qword [0x14034b9f0], rsi
jne 0x140017166
call fcn.140018d40
mov rcx, qword [0x14034b9f0]
test rcx, rcx
je 0x1400170eb
cmp qword [0x14034be20], rsi
jne 0x1400170fa
lea rdx, str.WifiSendMsgToDrv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034be20], rax
test rax, rax
jne 0x1400170f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._s:__GetProcAddr_for_WifiSendMsgToDrv__failed_Err_d
mov r9d, eax
lea r8, str.pie_LoadProcFns
mov ecx, 2
call fcn.140016160
mov eax, dword [0x14034ba00]
jmp 0x140017168
mov rcx, qword [0x14034b9f0]
cmp qword [0x14034be30], rsi
jne 0x140017132
lea rdx, str.WifiGetAdapterList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034be30], rax
test rax, rax
jne 0x14001712b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._s:__GetProcAddr_for_GetWifiAdapterList__failed_Err_d
jmp 0x1400170d7
mov rcx, qword [0x14034b9f0]
cmp qword [0x14034be28], rsi
jne 0x1400170eb
lea rdx, str.FreeListMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034be28], rax
test rax, rax
jne 0x1400170eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._s:__GetProcAddr_for_FreeListMemory__failed_Err_d
jmp 0x1400170d7
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140149500
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret