Function at 0x41608a
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
sub esp, 0x284
lea ebp, [esp - 4]
mov eax, dword [0x482910]
xor eax, ebp
mov dword [ebp + 0x284], eax
push 0x88
mov eax, 0x45dc73
call fcn.00444c27
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00411c44
lea ecx, [ebp - 0x18]
call fcn.0040256a
mov byte [ebp - 4], 1
push 0x78
lea ecx, [ebp - 0x18]
call fcn.00402e24
lea edi, [esi + 0x2e8]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0041eade
push ebx
mov ecx, edi
call fcn.0041ebeb
lea edi, [esi + 0x74]
cmp dword [edi], ebx
je 0x4160ff
push edi
call dword [sym.imp.SoftwareUpdateFiles.dll_Ordinal_3]
pop ecx
mov dword [edi], ebx
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x416125
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x41611f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x5b0], ebx
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x416275
mov ecx, 0x483dd8
call fcn.0040a4d6
test eax, eax
je 0x416157
cmp dword [0x483e7c], ebx
jne 0x416157
push ebx
push 0x6f
mov ecx, esi
call fcn.00411ca7
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov word [ebp + 0x84], ax
push 0x1fe
push ebx
lea eax, [ebp + 0x86]
push eax
call fcn.00445180
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x28]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
push 0x100
lea eax, [ebp + 0x84]
push eax
call fcn.00401353
add esp, 0x34
lea ecx, [ebp]
call fcn.00402657
mov byte [ebp - 4], 2
push str.Error__CSoftwareUpdateAppDlg::OnFileCheckforupdates__Internet_connect_failed._Error__d._n
lea ecx, [ebp - 0x78]
call fcn.0040329d
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040329d
mov byte [ebp - 4], 4
push esi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004032bf
add esp, 0xc
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
call fcn.00402ed6
mov byte [ebp - 4], 4
push ebx
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040236c
mov byte [ebp - 4], 3
push ebx
push esi
lea ecx, [ebp - 0x94]
call fcn.0040236c
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.0040236c
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x416247
lea eax, [ebp + 4]
push dword [ebp - 0x14]
push eax
call fcn.0044529f
pop ecx
pop ecx
mov byte [ebp - 4], 1
push ebx
push esi
lea ecx, [ebp]
call fcn.0040236c
mov dword [ebp - 0x38], 0x6f
push 0x477ddc
lea eax, [ebp - 0x38]
push eax
call fcn.00444fc4
push 0x190
call fcn.0041d4a6
pop ecx
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x416295
push esi
mov ecx, eax
call fcn.00417bba
jmp 0x416297
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x5b0], eax
mov dword [esi + 0x5d0], 2
mov ecx, eax
call fcn.0041830d
mov ecx, dword [esi + 0x5b0]
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov dword [esi + 0x5d0], ebx
cmp eax, 2
je 0x416471
mov eax, dword [esi + 0x5b0]
mov eax, dword [eax + 0x184]
mov dword [edi], eax
mov ecx, esi
cmp eax, ebx
jne 0x4162fd
push ebx
push 0x6a
pop edi
push edi
call fcn.00411ca7
mov dword [ebp - 0x40], edi
push 0x477ddc
lea eax, [ebp - 0x40]
jmp 0x41626f
call fcn.0041ec12
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_int___thiscall_CSUCatalogObject::ProductListHasUpdates_void_]
test eax, eax
jne 0x416405
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x416330
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
cmp dword [eax + 0xc], ebx
jne 0x416405
mov ecx, 0x483dd8
call fcn.0040a4d6
test eax, eax
je 0x416471
lea ecx, [ebp - 0x14]
call fcn.0040256a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.0040256a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040256a
mov byte [ebp - 4], 9
push 0x71
lea ecx, [ebp - 0x14]
call fcn.00402e24
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [edi]
add ecx, 0x7c
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_void___thiscall_CIgnoreList::GetFilterString_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], ebx
jle 0x4163b0
lea ecx, [ebp + 0x1c]
call fcn.00412c5b
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x1c]
call fcn.0041fd46
mov ecx, esi
call fcn.00411d95
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x1c]
call fcn.00412ce1
jmp 0x4163df
push 0x77
lea ecx, [ebp - 0x2c]
call fcn.00402e24
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push dword [esi + 0x20]
call fcn.004175b5
pop ecx
push eax
push edi
push dword [ebp - 0x34]
mov ecx, esi
call fcn.0042198b
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00402594
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00402594
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402594
jmp 0x416471
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
push eax
mov ecx, esi
call fcn.00415c87
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x416471
lea ecx, [esi + 0x80]
call fcn.00408a31
test eax, eax
jg 0x416440
lea ecx, [esi + 0xd4]
call fcn.00408a31
test eax, eax
jle 0x416471
push 1
mov ecx, 0x483dd8
call fcn.0040a4dd
push 1
mov ecx, esi
call fcn.0041eba9
mov eax, dword [edi]
cmp dword [eax + 0x60], ebx
je 0x416471
mov ecx, 0x483dd8
call fcn.0040a4d6
test eax, eax
je 0x416471
mov ecx, esi
call fcn.00413cf4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00402594
or dword [ebp - 4], 0xffffffff
jmp 0x4165a3
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x4165c9
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x4165c3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x5b0], ebx
mov ecx, 0x483dd8
call fcn.0040a4d6
test eax, eax
jne 0x4165e6
cmp dword [0x483e7c], ebx
jne 0x4165e6
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x284]
xor ecx, ebp
call fcn.00444be5
add ebp, 0x288
leave
ret