Function at 0x421f70
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4bcd00
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x48], 0
jne 0x422001
push str.Wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x48], eax
jne 0x422001
push str.Windows_XP_SP3_or_above_is_needed_for_this_feature.
lea ecx, [esp + 0x2c]
call fcn.00405e70
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], 0
call fcn.00405120
cmp dword [esp + 0x40], 0x10
jb 0x421feb
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00431ad1
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret 4
mov edx, dword [esi + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanOpenHandle
push edx
call edi
mov dword [0x4f1290], eax
mov eax, dword [esi + 0x48]
push str.WlanCloseHandle
push eax
call edi
mov dword [0x4f128c], eax
mov ecx, dword [esi + 0x48]
push str.WlanEnumInterfaces
push ecx
call edi
mov dword [0x4f1288], eax
mov edx, dword [esi + 0x48]
push str.WlanSetProfile
push edx
call edi
mov dword [0x4f1284], eax
mov eax, dword [esi + 0x48]
push str.WlanConnect
push eax
call edi
mov dword [0x4f1280], eax
mov ecx, dword [esi + 0x48]
push str.WlanDisconnect
push ecx
call edi
mov dword [0x4f127c], eax
mov edx, dword [esi + 0x48]
push str.WlanSetInterface
push edx
call edi
mov dword [0x4f1278], eax
mov eax, dword [esi + 0x48]
push str.WlanQueryInterface
push eax
call edi
cmp dword [0x4f1290], 0
mov dword [0x4f1274], eax
jne 0x422113
mov eax, str.WiFi_libary_not_matched
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4220b1
sub eax, edx
push eax
push str.WiFi_libary_not_matched
lea ecx, [esp + 0x14]
call fcn.00405200
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], 1
call fcn.00405120
cmp dword [esp + 0x24], 0x10
jb 0x421feb
mov edx, dword [esp + 0x10]
push edx
call fcn.00431ad1
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret 4
push 0
call fcn.0040be60
add esp, 4
cmp eax, 7
jl 0x4221a6
mov eax, dword [esi + 0x48]
push str.WlanHostedNetworkInitSettings
push eax
call edi
mov dword [0x4f1270], eax
mov ecx, dword [esi + 0x48]
push str.WlanHostedNetworkSetProperty
push ecx
call edi
mov dword [0x4f126c], eax
mov edx, dword [esi + 0x48]
push str.WlanHostedNetworkSetSecondaryKey
push edx
call edi
mov dword [0x4f1268], eax
mov eax, dword [esi + 0x48]
push str.WlanHostedNetworkQueryStatus
push eax
call edi
mov dword [0x4f1264], eax
mov ecx, dword [esi + 0x48]
push str.WlanHostedNetworkStartUsing
push ecx
call edi
mov dword [0x4f1260], eax
mov edx, dword [esi + 0x48]
push str.WlanHostedNetworkStopUsing
push edx
call edi
mov dword [0x4f125c], eax
mov eax, dword [esi + 0x48]
push str.WlanHostedNetworkForceStop
push eax
call edi
mov dword [0x4f1258], eax
mov ecx, dword [esi + 0x48]
push str.WlanHostedNetworkQueryProperty
push ecx
call edi
mov dword [0x4f1254], eax
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret 4