Function at 0x6cdf3a20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a068
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x60]
push 0x4e
push 0
push eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x6c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdf3a94
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x68], esi
push str.wlanapi.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x6cdf3aec
push 0x6ce4378c
mov ecx, ebx
call fcn.6cdbef90
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf3bba
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x6cdf3bba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanOpenHandle
push eax
call edi
push str.WlanCloseHandle
push dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
call edi
push str.WlanQueryInterface
push dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
call edi
push str.WlanEnumInterfaces
push dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
call edi
push str.WlanFreeMemory
push dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
call edi
mov ecx, eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
test eax, eax
je 0x6cdf3b8f
cmp dword [ebp - 0x88], 0
je 0x6cdf3b8f
cmp dword [ebp - 0x8c], 0
je 0x6cdf3b8f
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x6cdf3b8f
test ecx, ecx
je 0x6cdf3b8f
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 2
call eax
test eax, eax
jne 0x6cdf3b8f
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push 0
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6cdf3bd8
push 0
push dword [ebp - 0x78]
call dword [ebp - 0x88]
push 0x6ce4378c
mov ecx, ebx
call fcn.6cdbef90
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf3bba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x7c]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x6cdf3c3f
xor ecx, ecx
mov dword [ebp - 0x80], ecx
lea edi, [eax + 8]
push 0x27
lea eax, [ebp - 0x60]
add edi, ecx
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x74], 0
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], 0x25c
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x64], 3
push eax
push 0
push 7
push edi
push dword [ebp - 0x78]
call dword [ebp - 0x8c]
test eax, eax
je 0x6cdf3c8b
mov eax, dword [ebp - 0x7c]
inc ebx
mov ecx, dword [ebp - 0x80]
add ecx, 0x214
mov dword [ebp - 0x80], ecx
cmp ebx, dword [eax]
jl 0x6cdf3be6
mov edi, dword [ebp - 0x84]
push eax
call edi
push 0
push dword [ebp - 0x78]
call dword [ebp - 0x88]
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.6cddbc30
mov esi, dword [ebp - 0x90]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf3c84
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
jmp 0x6cdf3bbc
cmp dword [esi - 0xc], 0
jne 0x6cdf3ca5
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
add eax, 0x20c
push eax
call fcn.6cde93f0
mov esi, dword [ebp - 0x68]
push dword [ebp - 0x74]
mov edi, dword [ebp - 0x84]
call edi
mov eax, dword [ebp - 0x7c]
jmp 0x6cdf3c45