Function at 0x4306e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2172
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x503074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], vtable.CNativeWiFiState.0
call fcn.0040cd90
mov ecx, eax
test ecx, ecx
jne 0x430728
push 0x80004005
call fcn.00402a20
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x30], eax
push 0x4c965c
push 0x4d575c
push 0
mov dword [ebp - 4], 0
call fcn.00422b80
push eax
call fcn.0047bd80
xor esi, esi
add esp, 0x10
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
call fcn.00422b80
mov al, byte [eax + 0x38]
test al, al
je 0x430797
push 0x28
call fcn.00475970
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push 0x4d575c
mov byte [ebp - 4], 2
call fcn.00422b80
push eax
mov ecx, esi
call fcn.00477bf0
mov esi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
call fcn.0040d060
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov word [ebx + 0x44], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x48], 0
movups xmm0, xmmword [0x4bb560]
push str.wlanapi.dll
movups xmmword [ebx + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x4308d1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanOpenHandle
push eax
call edi
push str.WlanRegisterNotification
push dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
call edi
push str.WlanEnumInterfaces
push dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
call edi
push str.WlanQueryInterface
push dword [ebx + 0xc]
mov dword [ebx + 0x18], eax
call edi
push str.WlanFreeMemory
push dword [ebx + 0xc]
mov dword [ebx + 0x1c], eax
call edi
push str.WlanCloseHandle
push dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
call edi
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x24], eax
test ecx, ecx
je 0x4308b5
cmp dword [ebx + 0x14], 0
je 0x4308b5
cmp dword [ebx + 0x18], 0
je 0x4308b5
cmp dword [ebx + 0x1c], 0
je 0x4308b5
cmp dword [ebx + 0x20], 0
je 0x4308b5
test eax, eax
je 0x4308b5
lea edi, [ebx + 0x2c]
push edi
lea eax, [ebp + 8]
push eax
push 0
push 2
call ecx
test eax, eax
jne 0x4308ad
cmp dword [edi], eax
je 0x4308ad
mov dword [ebx + 8], 1
jmp 0x4308f2
push eax
push str.m_pfnWlanOpenHandle_FAILED._Error:__d.
jmp 0x4308dd
push str.Function_pointer_allocation_FAILED.
push 0x4d575c
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
jmp 0x4308f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.wlanapi.dll_FAILED_to_load._Error:
push 0x4d575c
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x14
push 0x4c965c
push 0x4d575c
push 1
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
test esi, esi
je 0x430922
mov ecx, esi
call fcn.00478c00
push 0x28
push esi
call fcn.00475d73
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4