Function at 0x5875a0
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fda98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov ecx, str.WlanSvc
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x60], eax
call fcn.0058fc80
cmp eax, 4
je 0x587603
sub esp, 8
call fcn.0058fe50
movsd xmm0, qword [edi + 0x48]
xor eax, eax
comisd xmm0, xmmword [0x6edab0]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [edi + 0x54], 0
seta al
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x50]
test eax, eax
je 0x58763e
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x50], eax
test eax, eax
je 0x58765f
push str.WlanOpenHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x54], eax
cmp dword [edi + 0x50], 0
je 0x58804a
cmp dword [edi + 0x54], 0
je 0x58804a
mov eax, dword [edi + 0x58]
mov dword [edi + 0x5c], 0
test eax, eax
je 0x587684
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x58], eax
test eax, eax
je 0x5876a5
push str.WlanCloseHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x5c], eax
cmp dword [edi + 0x58], 0
je 0x58804a
cmp dword [edi + 0x5c], 0
je 0x58804a
mov eax, dword [edi + 0x60]
mov dword [edi + 0x64], 0
test eax, eax
je 0x5876ca
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x60], eax
test eax, eax
je 0x5876eb
push str.WlanEnumInterfaces
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x64], eax
cmp dword [edi + 0x60], 0
je 0x58804a
cmp dword [edi + 0x64], 0
je 0x58804a
mov eax, dword [edi + 0x68]
mov dword [edi + 0x6c], 0
test eax, eax
je 0x587710
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x68], eax
test eax, eax
je 0x587731
push str.WlanDeleteProfile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x6c], eax
cmp dword [edi + 0x68], 0
je 0x58804a
cmp dword [edi + 0x6c], 0
je 0x58804a
mov eax, dword [edi + 0x70]
mov dword [edi + 0x74], 0
test eax, eax
je 0x587756
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x70], eax
test eax, eax
je 0x587777
push str.WlanDisconnect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x74], eax
cmp dword [edi + 0x70], 0
je 0x58804a
cmp dword [edi + 0x74], 0
je 0x58804a
mov eax, dword [edi + 0x78]
mov dword [edi + 0x7c], 0
test eax, eax
je 0x58779c
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x78], eax
test eax, eax
je 0x5877bd
push str.WlanConnect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x7c], eax
cmp dword [edi + 0x78], 0
je 0x58804a
cmp dword [edi + 0x7c], 0
je 0x58804a
mov eax, dword [edi + 0x80]
mov dword [edi + 0x84], 0
test eax, eax
je 0x5877e8
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x80], eax
test eax, eax
je 0x58780f
push str.WlanFreeMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x84], eax
cmp dword [edi + 0x80], 0
je 0x58804a
cmp dword [edi + 0x84], 0
je 0x58804a
mov eax, dword [edi + 0x88]
mov dword [edi + 0x8c], 0
test eax, eax
je 0x587840
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x88], eax
test eax, eax
je 0x587867
push str.WlanGetProfileList
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x8c], eax
cmp dword [edi + 0x88], 0
je 0x58804a
cmp dword [edi + 0x8c], 0
je 0x58804a
mov eax, dword [edi + 0x90]
mov dword [edi + 0x94], 0
test eax, eax
je 0x587898
push eax
call esi
push str.wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x90], eax
test eax, eax
je 0x5878bf
push str.WlanSetProfilePosition
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x94], eax
cmp dword [edi + 0x90], 0
je 0x58804a
cmp dword [edi + 0x94], 0
je 0x58804a
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi + 0x54]
push 0
push dword [ebp - 0x70]
call eax
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x58804a
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x58791a
push 0
mov ecx, eax
call fcn.005c5730
mov esi, eax
mov dword [ebp - 0x68], esi
test esi, esi
je 0x58793a
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x587921
xor ecx, ecx
mov dword [ebp - 0x68], ecx
jmp 0x58793d
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x58793a
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x10]
lea esi, [edi + 0xa0]
push ecx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x1c2
push 0x30c
push str.Wi_Fi_profiles_manager
push str.WIFIMAN_WND_CLASS
mov ecx, esi
mov dword [edi + 0x38], eax
call fcn.005c5d10
mov ecx, eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x34], ecx
test eax, eax
je 0x5879a6
push 0
mov edx, eax
call fcn.005d3010
push dword [edi + 0x34]
mov ecx, dword [ebp - 0x64]
call fcn.005c6150
mov ecx, dword [ebp - 0x64]
call fcn.005c4310
push eax
mov ecx, esi
mov dword [edi + 0x98], eax
call fcn.005c4320
jmp 0x5879b3
mov ecx, esi
call fcn.005c4310
mov dword [edi + 0x98], eax
mov ecx, dword [ebp - 0x60]
mov edx, 0x20
call fcn.005d33b0
push eax
lea ecx, [ebp - 0x6c]
call fcn.005c6590
mov ecx, dword [ebp - 0x60]
mov edx, 0x10
mov dword [ebp - 4], 0
call fcn.005d33b0
push eax
lea ecx, [ebp - 0x70]
call fcn.005c6590
mov byte [ebp - 4], 1
mov ecx, esi
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.005c4210
movsd xmm1, qword [0x6edb08]
mov ecx, esi
push 0
push str.Verdana
push 1
push 0x190
call fcn.005c42b0
push 0
mov ecx, esi
call fcn.005c4720
push 0xffffff
mov ecx, esi
call fcn.005c44b0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x1c2
push 0x118
push 0
push 0
push 0
push str.Wlan_interfaces
call fcn.005c0620
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x1c2
push 0x15a
push 0
push 0x11a
push 0x627824
push str._Name_n_Type
mov ecx, esi
mov dword [edi], eax
call fcn.005c0620
push ecx
push 0xffffffffffffffff
push 0x1c2
push 0x96
push 0
push 0x276
mov ecx, esi
mov dword [edi + 4], eax
call fcn.005bfd30
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0x14
push 5
push str.Disconnect
mov ecx, esi
mov dword [edi + 8], eax
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0x41
push 5
mov dword [edi + 0x10], eax
mov ecx, esi
push str.Connect_selected
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0x6e
push 5
push str.Delete_selected
mov ecx, esi
mov dword [edi + 0x14], eax
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0x9b
push 5
push str.Delete_all
mov ecx, esi
mov dword [edi + 0x18], eax
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0xc8
push 5
push str.Set_priority
mov ecx, esi
mov dword [edi + 0x1c], eax
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0xf5
push 5
push str.Refresh
mov ecx, esi
mov dword [edi + 0x28], eax
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x1e
push 0x8c
push 0x122
push 5
push str.Exit
mov ecx, esi
mov dword [edi + 0x20], eax
call fcn.005c1a50
push dword [edi]
mov ecx, esi
mov dword [edi + 0x24], eax
call fcn.005c5730
push dword [edi + 4]
mov ecx, esi
mov dword [edi + 0x2c], eax
call fcn.005c5730
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xb7
push 0
push 0x101e
push eax
mov dword [edi + 0x30], eax
call esi
push 0x8f
push 1
push 0x101e
push dword [edi + 0x30]
call esi
mov ecx, edi
call fcn.005873d0
push 1
lea esi, [edi + 0xa0]
push 5
mov ecx, esi
call fcn.005c3f80
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
call fcn.005dc5e0
mov byte [ebp - 4], 2
xor dl, dl
mov ecx, dword [edi + 0x98]
call fcn.005c8820
test eax, eax
je 0x58802e
nop
mov ecx, dword [edi + 0x98]
mov eax, dword [ecx]
cmp eax, 0xfffffffa
je 0x58802e
cmp dword [ecx + 0x30], esi
jne 0x588019
cmp eax, dword [edi + 0x24]
je 0x58802e
cmp eax, 0xffffffd3
je 0x587ffa
cmp eax, 0xffffffd2
je 0x587ffa
cmp eax, dword [edi + 0x20]
jne 0x587c36
mov ecx, edi
call fcn.005873d0
jmp 0x588019
cmp eax, dword [edi + 0x18]
jne 0x587d15
push 2
push 0xffffffffffffffff
push dword [edi]
mov ecx, esi
call fcn.005bb4c0
push 2
push 0xffffffffffffffff
push dword [edi + 4]
mov ecx, esi
mov dword [ebp - 0x60], eax
call fcn.005bb4c0
push 0
push eax
push dword [edi + 4]
mov ecx, esi
call fcn.005bb510
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc1c0
mov eax, dword [edi + 0x40]
test eax, eax
je 0x588019
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jge 0x588019
lea ecx, [ebp - 0x20]
call fcn.005dbeb0
test al, al
jne 0x588019
push 0xd
push 0
push dword [edi + 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push dword [edi]
movups xmmword [ebp - 0x40], xmm0
push esi
movups xmmword [ebp - 0x30], xmm0
call fcn.005b8800
push 4
push str.Delete_saved_Wi_Fi_profile
push str.Are_you_sure_you_want_to_delete_the_selected_profile_
mov byte [ebp - 4], 3
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x587ce5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
imul ecx, dword [ebp - 0x60], 0x214
push eax
mov eax, dword [edi + 0x40]
add ecx, 8
add eax, ecx
push eax
push dword [edi + 0x3c]
mov eax, dword [edi + 0x6c]
call eax
test eax, eax
jne 0x587e29
jmp 0x587e20
cmp eax, dword [edi + 0x1c]
jne 0x587e3a
push 2
push 0xffffffffffffffff
push dword [edi]
mov ecx, esi
call fcn.005bb4c0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
mov ecx, esi
mov dword [ebp - 0x60], eax
call fcn.005bb4c0
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x64], eax
test ecx, ecx
je 0x588019
mov edx, dword [ebp - 0x60]
cmp edx, dword [ecx]
jge 0x588019
test eax, eax
js 0x588019
push 0xd
push 0
push dword [edi + 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push dword [edi]
movups xmmword [ebp - 0x40], xmm0
push esi
movups xmmword [ebp - 0x30], xmm0
call fcn.005b8800
push 4
push str.Delete_saved_Wi_Fi_profiles
push str.Are_you_sure_you_want_to_delete_all_profiles_for_the_selected_interface_
mov byte [ebp - 4], 4
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x587da9
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
xor eax, eax
mov dword [ebp - 0x68], eax
imul eax, dword [ebp - 0x60], 0x214
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
nop dword [eax + eax]
push 0
push eax
push dword [edi + 4]
mov ecx, esi
call fcn.005bb510
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc1c0
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x60]
push eax
mov eax, dword [edi + 0x40]
add ecx, 8
add eax, ecx
push eax
push dword [edi + 0x3c]
mov eax, dword [edi + 0x6c]
call eax
mov edx, dword [ebp - 0x68]
test eax, eax
mov eax, dword [ebp - 0x64]
push 0
push eax
push dword [edi + 4]
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [ebp - 0x68], ecx
mov ecx, esi
call fcn.005bb4c0
mov dword [ebp - 0x64], eax
test eax, eax
jns 0x587dc0
cmp dword [ebp - 0x68], 0
je 0x587e29
push 0xffffffffffffffff
mov ecx, edi
call fcn.00587170
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
cmp eax, dword [edi + 0x10]
jne 0x587e86
push 2
push 0xffffffffffffffff
push dword [edi]
mov ecx, esi
call fcn.005bb4c0
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x587e75
cmp eax, dword [ecx]
jge 0x587e75
imul eax, eax, 0x214
add ecx, 8
push 0
add eax, ecx
push eax
push dword [edi + 0x3c]
mov eax, dword [edi + 0x74]
call eax
test eax, eax
jne 0x588019
push 0x40
push dword [edi + 0x10]
mov ecx, esi
call fcn.005bd3f0
jmp 0x588019
cmp eax, dword [edi + 0x14]
jne 0x587fbf
push 2
push 0xffffffffffffffff
push dword [edi]
mov ecx, esi
call fcn.005bb4c0
push 2
push 0xffffffffffffffff
push dword [edi + 4]
mov ecx, esi
mov dword [ebp - 0x64], eax
call fcn.005bb4c0
push 0
push eax
push dword [edi + 4]
mov ecx, esi
mov dword [ebp - 0x60], eax
call fcn.005bb510
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc1c0
push 0xd
push 0
push dword [edi + 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push dword [edi]
movups xmmword [ebp - 0x40], xmm0
push esi
movups xmmword [ebp - 0x30], xmm0
call fcn.005b8800
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x587f90
mov eax, dword [ebp - 0x64]
cmp eax, dword [ecx]
jge 0x587f90
test eax, eax
js 0x587f6a
cmp dword [ebp - 0x60], 0
jl 0x587f6a
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 3
call fcn.005dc190
imul ecx, dword [ebp - 0x64], 0x214
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push 0
push eax
mov eax, dword [edi + 0x40]
add ecx, 8
add eax, ecx
push eax
push dword [edi + 0x3c]
mov eax, dword [edi + 0x7c]
call eax
test eax, eax
jne 0x587f59
push 0x20
push dword [edi + 0x10]
mov ecx, esi
call fcn.005bd3f0
mov eax, dword [ebp - 0x64]
mov dword [edi + 0xc], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
push 0
push str.No_profile_selected
push str.Please_select_an_interface_and_a_profile_
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
push 0
push str.No_Interface_selected_
push str.No_Interface_available_
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40
push dword [edi + 0x10]
mov ecx, esi
call fcn.005bd3f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
cmp eax, dword [edi + 0x28]
jne 0x588019
push 0xd
push 0
push dword [edi + 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push dword [edi]
movups xmmword [ebp - 0x40], xmm0
push esi
movups xmmword [ebp - 0x30], xmm0
call fcn.005b8800
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00586aa0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005b8790
jmp 0x588019
mov eax, dword [ecx + 0xc]
cmp eax, dword [edi]
jne 0x58800c
push 0xffffffffffffffff
mov ecx, edi
call fcn.00587170
jmp 0x588019
cmp eax, dword [edi + 4]
jne 0x588019
push ecx
mov ecx, edi
call fcn.005870c0
mov ecx, dword [edi + 0x98]
xor dl, dl
call fcn.005c8820
test eax, eax
jne 0x587bf0
lea ecx, [ebp - 0x20]
call fcn.005dc430
lea ecx, [ebp - 0x70]
call fcn.005c6580
lea ecx, [ebp - 0x6c]
call fcn.005c6580
xor eax, eax
jmp 0x588061
push 0x10
push str.Error
push str.Could_not_connect_to_the_WLAN_server
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14