Function at 0x4821ec
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x4821f4
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x482650
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [esi + 0x314]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [esi + 0x368]
mov ecx, dword [eax]
call dword [ecx + 0x64]
inc dword [0x495d38]
inc dword [0x495d40]
inc dword [0x495d44]
lea edx, [ebp - 0x1d4]
mov eax, dword [esi + 0x3ac]
call fcn.00444c68
cmp dword [ebp - 0x1d4], 0
je 0x482536
lea edx, [ebp - 0x1d8]
mov eax, dword [esi + 0x3b0]
call fcn.00444c68
cmp dword [ebp - 0x1d8], 0
je 0x482536
mov eax, dword [esi + 0x468]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x48229e
mov eax, dword [esi + 0x46c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x48232d
lea edx, [ebp - 0x1dc]
mov eax, dword [esi + 0x3ac]
call fcn.00444c68
push dword [ebp - 0x1dc]
push 0x482668
lea edx, [ebp - 0x1e0]
mov eax, dword [esi + 0x3b0]
call fcn.00444c68
push dword [ebp - 0x1e0]
push 0x482668
lea edx, [ebp - 0x1e4]
mov eax, dword [esi + 0x464]
call fcn.00444c68
push dword [ebp - 0x1e4]
push 0x482668
lea eax, [ebp - 0x1e8]
call fcn.0047da60
push dword [ebp - 0x1e8]
push 0x482668
lea edx, [ebp - 0x1ec]
mov eax, dword [0x495d44]
call fcn.00408834
push dword [ebp - 0x1ec]
lea eax, [ebp - 4]
mov edx, 9
call fcn.004048f8
jmp 0x48239e
lea edx, [ebp - 0x1f0]
mov eax, dword [esi + 0x3ac]
call fcn.00444c68
push dword [ebp - 0x1f0]
push 0x482668
lea edx, [ebp - 0x1f4]
mov eax, dword [esi + 0x3b0]
call fcn.00444c68
push dword [ebp - 0x1f4]
push 0x482668
lea eax, [ebp - 0x1f8]
call fcn.0047da60
push dword [ebp - 0x1f8]
push 0x482668
lea edx, [ebp - 0x1fc]
mov eax, dword [0x495d44]
call fcn.00408834
push dword [ebp - 0x1fc]
lea eax, [ebp - 4]
mov edx, 7
call fcn.004048f8
mov eax, dword [0x495d1c]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [0x495d4c]
lea eax, [ebp - 0x1d0]
call fcn.00402e88
mov eax, dword [0x495d4c]
call fcn.00408d3c
test al, al
jne 0x4823e8
lea eax, [ebp - 0x1d0]
call fcn.00402c18
call fcn.004028fc
jmp 0x482408
lea eax, [ebp - 0x1d0]
call fcn.00402c0c
call fcn.004028fc
lea eax, [ebp - 0x1d0]
call fcn.00402c24
call fcn.004028fc
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00404c54
call fcn.004032dc
call fcn.004028fc
lea eax, [ebp - 0x1d0]
call fcn.00402f50
call fcn.004028fc
mov edx, 0x482674
mov eax, dword [esi + 0x3e0]
call fcn.00444c98
mov eax, dword [esi + 0x468]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4824e5
mov edx, 0x482694
mov eax, dword [0x495d28]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [0x495d28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4824c6
lea ecx, [ebp - 0x200]
xor edx, edx
mov eax, dword [0x495d28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x200]
push eax
lea edx, [ebp - 0x204]
mov eax, dword [esi + 0x464]
call fcn.00444c68
mov edx, dword [ebp - 0x204]
pop eax
call fcn.00404984
jne 0x4824c6
xor edx, edx
mov eax, dword [0x495d28]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, 0x482694
mov eax, dword [0x495d28]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [esi + 0x468]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4824e5
xor edx, edx
mov eax, dword [esi + 0x464]
call fcn.00444c98
mov eax, dword [0x495d1c]
mov eax, dword [eax + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
lea edx, [ebp - 0x208]
call fcn.00408834
mov edx, dword [ebp - 0x208]
mov eax, dword [esi + 0x348]
call fcn.00444c98
lea eax, [ebp - 0x20c]
call fcn.0047da60
mov edx, dword [ebp - 0x20c]
mov eax, 0x495d50
call fcn.004045cc
xor eax, eax
mov dword [0x493e10], eax
mov eax, dword [esi + 0x34c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x482588
mov eax, dword [esi + 0x354]
call fcn.0047bb88
cmp eax, dword [0x495d44]
jne 0x482588
xor eax, eax
mov dword [0x495d44], eax
mov dl, 1
mov eax, dword [esi + 0x368]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, 0x4826a8
mov eax, dword [esi + 0x2f8]
call fcn.0046d880
mov eax, esi
call fcn.00482760
jmp 0x4825df
push 0
push 1
push 0x4826c0
call sub.wininet.dll_InternetCheckConnectionA
test eax, eax
je 0x4825df
mov edx, 0x4826f8
mov eax, dword [esi + 0x2f8]
call fcn.0046d880
mov eax, dword [0x49414c]
mov eax, dword [eax]
call fcn.004647ec
mov edx, 0xd4
mov eax, dword [esi + 0x2f8]
call fcn.0046a178
test ax, ax
jne 0x4825aa
xor eax, eax
mov dword [0x493e14], eax
mov dl, 1
mov eax, dword [esi + 0x42c]
call fcn.0042def0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482657
lea eax, [ebp - 0x20c]
mov edx, 2
call fcn.0040459c
lea eax, [ebp - 0x204]
call fcn.00404578
lea eax, [ebp - 0x200]
mov edx, 3
call fcn.0040459c
lea eax, [ebp - 0x1f4]
mov edx, 2
call fcn.0040459c
lea eax, [ebp - 0x1ec]
mov edx, 2
call fcn.0040459c
lea eax, [ebp - 0x1e4]
mov edx, 5
call fcn.0040459c
lea eax, [ebp - 4]
call fcn.00404578
ret