Function at 0x401370
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0xffffffffffffffff
push 0x412f20
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x418310]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push str.AdClean_LSP_Filter
xor edi, edi
call fcn.00401000
add esp, 4
cmp eax, edi
jbe 0x4014fb
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ebx, [edi + 7]
lea esp, [esp]
push edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4013d6
test byte [esp + 0x14], bl
jne 0x4013e3
push 0x3e8
call ebp
inc esi
cmp esi, 0x78
jl 0x4013c0
cmp esi, 0x78
jne 0x40144a
push str.AdClean_LSP_Filter
xor esi, esi
call fcn.00401000
add esp, 4
cmp eax, edi
jbe 0x401406
push eax
call fcn.00403a70
add esp, 4
mov esi, eax
cmp esi, edi
jne 0x40142a
push 1
call fcn.00405970
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 2
call fcn.00405970
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0xa
mov eax, str.InstallLSP
mov word [esi + 4], cx
call fcn.00401f30
sub esp, 0x1c
mov dword [esp + 0x64], edi
mov esi, esp
mov dword [esp + 0x50], esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push ebx
mov eax, str.Success
mov word [esi + 4], dx
call fcn.00401f30
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x80], 1
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x70], esp
mov word [esi + 4], ax
push edi
mov eax, 0x414f74
call fcn.00401f30
sub esp, 0x1c
mov byte [esp + 0x9c], 2
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x90], esp
mov word [esi + 4], cx
mov eax, str.CheckNetWork
push 0xc
call fcn.00401f30
mov dword [esp + 0x9c], 0xffffffff
call fcn.004057f0
add esp, 0x70
jmp 0x4016de
lea esi, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.00405a70
mov eax, dword [esp + 0x14]
sub esp, 0x1c
sub eax, 1
mov esi, esp
mov ebx, 7
mov dword [esp + 0x3c], esp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0xa
je 0x40163a
sub eax, 1
je 0x4015be
xor edx, edx
mov eax, str.InstallLSP
mov word [esi + 4], dx
call fcn.00401f30
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x64], 9
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x54], esp
mov word [esi + 4], ax
push ebx
mov eax, str.Success
call fcn.00401f30
sub esp, 0x1c
mov byte [esp + 0x80], 0xa
mov esi, esp
mov dword [esp + 0x6c], esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push edi
mov eax, 0x414f74
mov word [esi + 4], cx
call fcn.00401f30
sub esp, 0x1c
mov byte [esp + 0x9c], 0xb
mov esi, esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x84], esp
mov word [esi + 4], dx
mov eax, str.NoInstallLSP
jmp 0x4014dc
xor eax, eax
mov word [esi + 4], ax
mov eax, str.InstallLSP
call fcn.00401f30
sub esp, 0x1c
mov dword [esp + 0x64], 3
mov esi, esp
mov dword [esp + 0x54], esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 5
mov eax, str.Error
mov word [esi + 4], cx
call fcn.00401f30
sub esp, 0x1c
mov byte [esp + 0x80], 4
mov esi, esp
mov dword [esp + 0x6c], esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push edi
mov eax, 0x414f74
mov word [esi + 4], dx
call fcn.00401f30
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x9c], 5
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov word [esi + 4], ax
jmp 0x4016b2
xor ecx, ecx
mov eax, str.InstallLSP
mov word [esi + 4], cx
call fcn.00401f30
sub esp, 0x1c
mov dword [esp + 0x64], 6
mov esi, esp
mov dword [esp + 0x54], esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push ebx
mov eax, str.Success
mov word [esi + 4], dx
call fcn.00401f30
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x80], bl
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x6c], esp
mov word [esi + 4], ax
push edi
mov eax, 0x414f74
call fcn.00401f30
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x9c], 8
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x84], esp
push 9
mov eax, str.RepairLSP
call fcn.00401f30
mov dword [esp + 0x9c], 0xffffffff
call fcn.004057f0
push edi
call fcn.00405970
add esp, 0x74
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret