Function at 0x408cd0
Capabilities:
Check for software breakpoints

Disassembly:
push 0xffffffffffffffff
push 0x480b72
mov eax, dword fs:[0]
push eax
sub esp, 0x804
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov eax, dword [esp + 0x828]
mov ebp, dword [esp + 0x82c]
push str.WaitForWifiScanNew__
mov dword [esp + 0x18], eax
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
lea esi, [esp + 0x24]
call fcn.00402120
push ebp
mov ecx, esi
xor ebx, ebx
push ecx
mov dword [esp + 0x828], ebx
call fcn.00404070
test eax, eax
jne 0x408d84
mov dword [esp + 0x820], 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x408d6e
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x408d6e
push ecx
call eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408d7d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x409139
push 0x84
lea edx, [esp + 0x194]
push ebx
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x198], ebx
call fcn.00461780
mov ebp, 0xf
add esp, 0xc
mov dword [esp + 0x150], ebp
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
mov byte [esp + 0x820], 2
push 0x23
push str._IoMgmt_Adapters_wifi0_WifiNetworks
lea esi, [esp + 0x124]
mov dword [esp + 0x13c], 7
mov dword [esp + 0x138], ebx
mov word [esp + 0x128], bx
call fcn.00401b80
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
mov esi, dword [esp + 0x14]
add esi, 0xae6
mov eax, esi
mov byte [esp + 0x820], 4
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408e40
sub eax, edx
sar eax, 1
je 0x408ec4
push 0x5fe
lea eax, [esp + 0x21a]
push ebx
push eax
mov word [esp + 0x220], bx
call fcn.00461780
add esp, 0xc
lea ecx, [esp + 0x214]
push esi
push ecx
call fcn.00408c00
add esp, 8
push 6
push str._SSID
lea ecx, [esp + 0x124]
call fcn.0040e7c0
lea eax, [esp + 0x214]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408ea0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x218]
push edx
lea ecx, [esp + 0x124]
call fcn.0040e7c0
xor esi, esi
jmp 0x408ed0
cmp dword [esp + 0x134], 8
mov eax, dword [esp + 0x120]
jae 0x408ee8
lea eax, [esp + 0x120]
push eax
push str.get_page___s
call fcn.00421450
mov edi, eax
call fcn.00421970
mov edx, dword [esp + 0x128]
add esp, 8
cmp dword [esp + 0x134], 8
jae 0x408f15
lea edx, [esp + 0x120]
lea eax, [esp + 0x138]
push eax
lea edi, [esp + 0x190]
lea ecx, [esp + 0x28]
call fcn.00402460
cmp dword [esp + 0x14c], ebx
je 0x409163
cmp dword [esp + 0x190], 0xca
jne 0x408f5d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, ebp
jb 0x408ed0
cmp dword [esp + 0x190], 0xcc
je 0x409045
mov esi, dword [esp + 0x14]
push 0x1bde
lea eax, [esi + 0xce6]
push ebx
push eax
call fcn.00461780
add esp, 0xc
mov dword [esi + 0xcf0], ebx
xor esi, esi
nop
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xe
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.io:WifiNetwork
lea edi, [esp + 0x178]
mov byte [ecx + 4], bl
call fcn.00401960
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
mov byte [esp + 0x85c], 5
push ebx
lea edx, [esp + 0x178]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401800
mov edx, edi
mov ecx, esi
mov byte [esp + 0x858], 4
call fcn.00403450
cmp eax, ebx
je 0x40903b
mov eax, dword [esp + 0x14]
push esi
add eax, 0xce6
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
mov eax, edi
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401800
call fcn.00403740
mov ecx, dword [esp + 0x14]
add esi, 1
cmp esi, 0x14
mov dword [ecx + 0x28c4], 1
jb 0x408f90
mov edx, dword [esp + 0x14]
mov dword [edx + 0xcf0], esi
mov esi, 0x10
cmp dword [esp + 0x16c], esi
jb 0x409063
mov eax, dword [esp + 0x158]
push eax
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x134], 8
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
jb 0x409092
mov ecx, dword [esp + 0x120]
push ecx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x188], esi
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x4090c5
mov edx, dword [esp + 0x174]
push edx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x150], esi
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
jb 0x4090f3
mov eax, dword [esp + 0x13c]
push eax
call fcn.0044204a
add esp, 4
mov dword [esp + 0x820], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x150], ebp
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
je 0x409126
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x409126
push eax
call ecx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x409135
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0045e88c
add esp, 0x810
ret 8
push str.get_path_returned_nothing
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
mov dword [esp + 0x18], ebx
jmp 0x409045