Function at 0x416fb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e28d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x47b014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.SMWifiConnector::impl.0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
push 0x4819fc
mov dword [edi], vtable.SMWifiConnector_WinXPWlan.0
mov byte [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [0x481a18], eax
inc eax
cmp eax, 1
jle 0x41702a
cmp dword [0x481a14], 0
setne al
mov byte [edi + 8], al
jmp 0x41734e
mov ecx, dword [0x481a14]
test ecx, ecx
jne 0x417303
push 0x43f4a0
push 0x7c
call fcn.0042219a
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41733a
push 0
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
movups xmmword [eax + 0x4c], xmm0
mov dword [eax + 0x5c], 0
mov word [eax + 0x60], 0
push 0
push 1
push 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [0x481a14], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x481a14]
push 0x471c6c
mov dword [ecx + 0x78], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4172f9
mov ecx, dword [0x481a14]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanGetProfile
push esi
mov dword [ecx], esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 4], eax
test eax, eax
je 0x4172ff
push str.WlanFreeMemory
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 8], eax
test eax, eax
je 0x4172ff
push str.WlanOpenHandle
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4172ff
push str.WlanRegisterNotification
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x4172ff
push str.WlanCloseHandle
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x14], eax
test eax, eax
je 0x4172ff
push str.WlanSetPsdIEDataList
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x18], eax
test eax, eax
je 0x4172ff
push str.WlanEnumInterfaces
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x1c], eax
test eax, eax
je 0x4172ff
push str.WlanScan
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x20], eax
test eax, eax
je 0x4172ff
push str.WlanGetAvailableNetworkList
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x24], eax
test eax, eax
je 0x4172ff
push str.WlanConnect
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x28], eax
test eax, eax
je 0x4172ff
push str.WlanDisconnect
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x2c], eax
test eax, eax
je 0x4172ff
push str.WlanQueryInterface
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x30], eax
test eax, eax
je 0x4172ff
push str.WlanGetNetworkBssList
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x4172ff
push str.WlanSetProfile
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x38], eax
test eax, eax
je 0x4172ff
push str.WlanDeleteProfile
push esi
call edi
mov ecx, dword [0x481a14]
mov dword [ecx + 0x3c], eax
test eax, eax
je 0x4172ff
lea eax, [ecx + 0x44]
push eax
lea eax, [ecx + 0x40]
push eax
mov eax, dword [ecx + 0xc]
push 0
push 1
call eax
test eax, eax
jne 0x4172f9
mov edi, dword [ebp - 0x10]
push eax
push eax
mov eax, dword [0x481a14]
push edi
push method.CBtIf.virtual_12
push 1
push 8
push dword [eax + 0x44]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x4172f9
mov byte [edi + 8], 1
jmp 0x41734e
mov ecx, dword [0x481a14]
test ecx, ecx
je 0x417344
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x41731c
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x41731c
push 0
push eax
call edx
mov ecx, dword [0x481a14]
mov eax, dword [ecx]
test eax, eax
je 0x41732f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x481a14]
push 0x7c
push ecx
call fcn.00422139
add esp, 8
mov dword [0x481a14], 0
lock dec dword [0x481a18]
mov edi, dword [ebp - 0x10]
push 0x4819fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret