Function at 0x140015330
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 [0x14023c048]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0x38], 0x20
mov qword [r11 - 0x68], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
mov qword [r11 - 0x60], rax
xor esi, esi
mov qword [r11 - 0x58], rax
mov edi, 1
mov qword [r11 - 0x50], rax
mov r9d, 0x20019
mov qword [r11 - 0x48], rax
xor r8d, r8d
mov qword [r11 - 0x40], rax
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x38], rax
xorps xmm6, xmm6
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x78]
mov qword [rsp + 0x20], rax
mov qword [r11 - 0x78], rsi
mov dword [rsp + 0x3c], edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140015408
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.1401762f0
movaps xmm6, xmm0
jmp 0x14001540e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
comisd xmm6, xmmword [str.333333]
mov ebx, esi
setae bl
mov dword [0x140256d74], ebx
test ebx, ebx
je 0x140015681
xor edx, edx
lea rcx, str.Wlanapi.dll
mov r8d, 0x1000
xor bl, bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x140256de0], rax
test rax, rax
je 0x14001560b
lea rdx, str.WlanOpenHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanCloseHandle
mov qword [0x1402571f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanEnumInterfaces
mov qword [0x140257068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanFreeMemory
mov qword [0x140257200], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanGetAvailableNetworkList
mov qword [0x140257210], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanQueryInterface
mov qword [0x140257178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanGetNetworkBssList
mov qword [0x1402571f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140256de0]
lea rdx, str.WlanSetInterface
mov qword [0x140257208], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1402571f0], rsi
mov qword [0x140257118], rax
je 0x1400155f0
cmp qword [0x140257068], rsi
jne 0x14001555e
mov rcx, qword [0x140256de0]
lea rdx, str.WlanCloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x140257068], rax
cmove ebx, edi
cmp qword [0x140257200], rsi
movzx eax, bl
cmove eax, edi
cmp qword [0x140257210], rsi
movzx ebx, al
cmove ebx, edi
cmp qword [0x140257208], rsi
jne 0x1400155a5
mov rcx, qword [0x140256de0]
lea rdx, str.WlanGetNetworkBssList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x140257208], rax
cmove ebx, edi
cmp qword [0x140257178], rsi
jne 0x1400155d2
mov rcx, qword [0x140256de0]
lea rdx, str.WlanGetAvailableNetworkList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x140257178], rax
cmove ebx, edi
cmp qword [0x1402571f8], rsi
movzx eax, bl
cmove eax, edi
cmp qword [0x140257118], rsi
je 0x1400155f0
test al, al
jne 0x1400155f0
mov ebx, edi
jmp 0x14001560d
mov rcx, qword [0x140256de0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140256de0], rsi
mov qword [0x1402571f0], rsi
mov ebx, esi
xor eax, eax
mov dword [0x140256d74], ebx
xor edx, edx
mov qword [0x14024c778], rax
mov r8d, 0x204
mov qword [0x14024c780], rax
lea rcx, [0x14024c788]
mov qword [0x14024c770], rdi
mov dword [0x14024c98c], 0xffffffff
call fcn.140167e60
xor eax, eax
mov qword [0x14024cbf0], 2
xor edx, edx
mov qword [0x14024cbf8], rax
mov r8d, 0x204
mov qword [0x14024cc00], rax
lea rcx, [0x14024cc08]
mov dword [0x14024ce0c], 0xffffffff
call fcn.140167e60
cmp qword [0x140256de8], rsi
jne 0x14001575d
call fcn.140017280
mov rcx, qword [0x140256de8]
test rcx, rcx
je 0x1400156e2
cmp qword [0x140257218], rsi
jne 0x1400156f1
lea rdx, str.WifiSendMsgToDrv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140257218], rax
test rax, rax
jne 0x1400156ea
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.140013600
mov eax, dword [0x140256d74]
jmp 0x14001575f
mov rcx, qword [0x140256de8]
cmp qword [0x140257228], rsi
jne 0x140015729
lea rdx, str.WifiGetAdapterList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140257228], rax
test rax, rax
jne 0x140015722
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._s:__GetProcAddr_for_GetWifiAdapterList__failed_Err_d
jmp 0x1400156ce
mov rcx, qword [0x140256de8]
cmp qword [0x140257220], rsi
jne 0x1400156e2
lea rdx, str.FreeListMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140257220], rax
test rax, rax
jne 0x1400156e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._s:__GetProcAddr_for_FreeListMemory__failed_Err_d
jmp 0x1400156ce
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140149290
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