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

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140228058]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x38]
movaps xmmword [rsp + 0x90], xmm6
mov edi, 1
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [rsp + 0x34], edi
xor r8d, r8d
mov dword [rsp + 0x30], 0x20
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
mov rcx, 0xffffffff80000002
xorps xmm6, xmm6
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140011bae
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
lea rdx, str.CurrentVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call fcn.14016a984
movaps xmm6, xmm0
jmp 0x140011bb4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
comisd xmm6, xmmword [str.333333]
mov eax, esi
movaps xmm6, xmmword [rsp + 0x90]
setae al
mov dword [0x14023f274], eax
test eax, eax
je 0x140011e43
mov qword [rsp + 0xb0], rbx
lea rcx, str.Wlanapi.dll
xor edx, edx
mov r8d, 0x1000
xor bl, bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x14023f320], rax
test rax, rax
je 0x140011dc3
lea rdx, str.WlanOpenHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanCloseHandle
mov qword [0x14023f720], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanEnumInterfaces
mov qword [0x14023f598], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanFreeMemory
mov qword [0x14023f730], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanGetAvailableNetworkList
mov qword [0x14023f740], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanQueryInterface
mov qword [0x14023f6a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanGetNetworkBssList
mov qword [0x14023f728], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14023f320]
lea rdx, str.WlanSetInterface
mov qword [0x14023f738], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14023f720], rsi
mov qword [0x14023f648], rax
je 0x140011da8
cmp qword [0x14023f598], rsi
jne 0x140011d16
mov rcx, qword [0x14023f320]
lea rdx, str.WlanCloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x14023f598], rax
cmove ebx, edi
cmp qword [0x14023f730], rsi
movzx eax, bl
cmove eax, edi
cmp qword [0x14023f740], rsi
movzx ebx, al
cmove ebx, edi
cmp qword [0x14023f738], rsi
jne 0x140011d5d
mov rcx, qword [0x14023f320]
lea rdx, str.WlanGetNetworkBssList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x14023f738], rax
cmove ebx, edi
cmp qword [0x14023f6a8], rsi
jne 0x140011d8a
mov rcx, qword [0x14023f320]
lea rdx, str.WlanGetAvailableNetworkList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
movzx ebx, bl
mov qword [0x14023f6a8], rax
cmove ebx, edi
cmp qword [0x14023f728], rsi
movzx eax, bl
cmove eax, edi
cmp qword [0x14023f648], rsi
je 0x140011da8
test al, al
jne 0x140011da8
mov ebx, edi
jmp 0x140011dc5
mov rcx, qword [0x14023f320]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14023f320], rsi
mov qword [0x14023f720], rsi
mov ebx, esi
xor eax, eax
mov dword [0x14023f274], ebx
xor edx, edx
mov qword [0x140237358], rax
mov r8d, 0x204
mov qword [0x140237360], rax
lea rcx, [0x140237368]
mov qword [0x140237350], rdi
mov dword [0x14023756c], 0xffffffff
call fcn.14015cb20
xor eax, eax
mov qword [0x1402377b0], 2
xor edx, edx
mov qword [0x1402377b8], rax
mov r8d, 0x204
mov qword [0x1402377c0], rax
lea rcx, [0x1402377c8]
mov dword [0x1402379cc], 0xffffffff
call fcn.14015cb20
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14013df50
mov rsi, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret