Function at 0x40b220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afa98
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4e5114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x164]
call fcn.0040b9e0
movzx eax, al
test eax, eax
je 0x40b268
jmp 0x40b9c5
call fcn.0040bbc0
mov ecx, eax
call fcn.00405b20
mov byte [ebp - 0x14c], al
movzx ecx, byte [ebp - 0x14c]
test ecx, ecx
je 0x40b28a
jmp 0x40b9c5
call fcn.0040bbc0
mov ecx, eax
call fcn.00405be0
movzx edx, al
test edx, edx
je 0x40b2a2
jmp 0x40b9c5
push 0
call fcn.004065f0
add esp, 4
mov dword [ebp - 0x15c], eax
push 1
push str.eedaf
push 0x4d0138
call fcn.0040bbc0
mov ecx, eax
call fcn.00405610
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jne 0x40b3b8
call fcn.0040bbc0
mov ecx, eax
call fcn.00405b90
mov byte [ebp - 0x14d], al
movzx eax, byte [ebp - 0x14d]
test eax, eax
jne 0x40b3b8
push 0
push 0x4d0150
push 0x4d015c
call fcn.0040bbc0
mov ecx, eax
call fcn.00405610
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x64
jg 0x40b3b8
push 0
push 0x4d0174
push 0x4d0180
call fcn.0040bbc0
mov ecx, eax
call fcn.00405610
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x194]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0x708
jl 0x40b396
mov ecx, dword [ebp - 0x158]
add ecx, 1
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
push edx
push str.9ae88
push 0x4d01a4
call fcn.0040bbc0
mov ecx, eax
call fcn.004057c0
mov eax, dword [ebp - 0x15c]
push eax
push str.6a4f1
push 0x4d01c8
call fcn.0040bbc0
mov ecx, eax
call fcn.004057c0
jmp 0x40b9c5
movzx ecx, byte [ebp + 8]
test ecx, ecx
jne 0x40b423
push 0xffffffffffffffff
push 0x4d01e0
push 0x4d01ec
call fcn.0040bbc0
mov ecx, eax
call fcn.00405610
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x18c]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0x708
jg 0x40b406
jmp 0x40b9c5
mov edx, dword [ebp - 0x15c]
push edx
push str.875a7
push 0x4d0210
call fcn.0040bbc0
mov ecx, eax
call fcn.004057c0
lea ecx, [ebp - 0x58]
call fcn.00406c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406c80
mov byte [ebp - 4], 1
mov byte [ebp - 0x149], 0
mov byte [ebp - 0x14b], 1
push 0
push 0x4d0228
push 0x4d0234
call fcn.0040bbc0
mov ecx, eax
call fcn.00405610
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
and eax, reloc.gdiplus.dll_Ordinal_1
jns 0x40b47c
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x40b4a3
mov byte [ebp - 0x149], 1
push str.FasWiFiMini.exe
lea ecx, [ebp - 0x58]
call fcn.00406c60
push 0x4d026c
lea ecx, [ebp - 0x40]
call fcn.00406c60
jmp 0x40b4bd
push str.FasWiFiMiws.exe
lea ecx, [ebp - 0x58]
call fcn.00406c60
push 0x4d0294
lea ecx, [ebp - 0x40]
call fcn.00406c60
call fcn.0040bbc0
mov ecx, eax
call fcn.00404f50
push eax
lea ecx, [ebp - 0xd0]
call fcn.004020b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00401540
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0x3e8
jl 0x40b50d
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
push eax
push str.da227
push 0x4d02a8
call fcn.0040bbc0
mov ecx, eax
call fcn.004057c0
lea ecx, [ebp - 0x58]
call fcn.00405d30
movzx ecx, al
test ecx, ecx
je 0x40b540
mov byte [ebp - 0x14b], 0
movzx edx, byte [ebp - 0x14b]
test edx, edx
je 0x40b99b
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.004027f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00401c90
push eax
call fcn.0040f390
add esp, 4
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x40b98f
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004027f0
mov byte [ebp - 4], 4
mov dword [ebp - 0x170], 0
lea ecx, [ebp - 0x28]
call fcn.00401c90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b60b
mov edx, dword [ebp - 0x164]
cmp dword [edx], 0
je 0x40b5e5
push 1
lea ecx, [ebp - 0x40]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c90
push eax
call fcn.0040e990
add esp, 0xc
movzx eax, al
mov dword [ebp - 0x170], eax
jmp 0x40b60b
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c90
push eax
call fcn.0040e7b0
add esp, 0x14
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x40b983
push 0x4d02c0
lea ecx, [ebp - 0x88]
call fcn.00406bd0
mov byte [ebp - 4], 5
movzx ecx, byte [ebp - 0x149]
test ecx, ecx
je 0x40b649
push str.39158222286649212249220038666052071269000166206838343333
lea ecx, [ebp - 0x88]
call fcn.004083b0
jmp 0x40b659
push str.28686665562563511463143140252364034414516825483040580404
lea ecx, [ebp - 0x88]
call fcn.004083b0
lea ecx, [ebp - 0x88]
call fcn.00406650
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.0040ccd0
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x180]
call fcn.0040bb20
mov byte [ebp - 4], 7
push 0x4d0374
lea ecx, [ebp - 0x100]
call fcn.00406bd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
call fcn.00406650
push eax
lea ecx, [ebp - 0x118]
call fcn.00406bd0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00410710
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
call fcn.00406750
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.00406750
mov byte [ebp - 0x14a], 0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x180]
call fcn.0040bac0
jmp 0x40b720
push 0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x16c]
call fcn.0040ba10
lea edx, [ebp - 0x1a4]
push edx
lea ecx, [ebp - 0x180]
call fcn.0040ba60
push eax
lea ecx, [ebp - 0x16c]
call fcn.00407770
movzx eax, al
test eax, eax
je 0x40b7ed
lea ecx, [ebp - 0x16c]
call fcn.0040ba40
mov ecx, eax
call fcn.00406650
push eax
lea ecx, [ebp - 0xb8]
call fcn.00406bd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x148]
push edx
call fcn.004103d0
add esp, 8
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401560
lea ecx, [ebp - 0x148]
call fcn.004022e0
lea ecx, [ebp - 0x70]
call fcn.00401c90
push eax
call fcn.0040f390
add esp, 4
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x174], 0
je 0x40b7d9
mov byte [ebp - 0x14a], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.00406750
jmp 0x40b7ed
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.00406750
jmp 0x40b70c
movzx ecx, byte [ebp - 0x14a]
test ecx, ecx
jne 0x40b956
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x180]
call fcn.0040bac0
jmp 0x40b824
push 0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x168]
call fcn.0040ba10
lea ecx, [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x180]
call fcn.0040ba60
push eax
lea ecx, [ebp - 0x168]
call fcn.00407770
movzx edx, al
test edx, edx
je 0x40b956
lea ecx, [ebp - 0x168]
call fcn.0040ba40
mov ecx, eax
call fcn.00406650
push eax
lea ecx, [ebp - 0xa0]
call fcn.00406bd0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.004103d0
add esp, 8
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401560
lea ecx, [ebp - 0x130]
call fcn.004022e0
call fcn.0040bbc0
mov ecx, eax
call fcn.00404f50
push eax
lea ecx, [ebp - 0x28]
call fcn.00406c60
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401540
mov dword [ebp - 0x160], 0
mov ecx, dword [ebp - 0x164]
cmp dword [ecx], 0
je 0x40b902
push 1
lea ecx, [ebp - 0x40]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c90
push eax
call fcn.0040e990
add esp, 0xc
movzx edx, al
mov dword [ebp - 0x160], edx
jmp 0x40b928
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c90
push eax
call fcn.0040e7b0
add esp, 0x14
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x40b942
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00406750
jmp 0x40b956
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00406750
jmp 0x40b810
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x180]
call fcn.0040bec0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
call fcn.00406750
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00406750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004022e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004022e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.004022e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004022e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004022e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b588
mov esp, ebp
pop ebp
ret 4