Function at 0x41224c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0x288
mov eax, 0x454155
call fcn.0043e130
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040ee10
lea ecx, [ebp - 0x18]
call fcn.00402497
mov byte [ebp - 4], 1
push 0x78
lea ecx, [ebp - 0x18]
call fcn.00402ebc
lea edi, [esi + 0x2e8]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004182fc
push ebx
mov ecx, edi
call fcn.00418409
lea edi, [esi + 0x74]
cmp dword [edi], ebx
je 0x4122a9
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 0x4122cf
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x4122c9
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 0x412321
mov ecx, 0x478df8
call fcn.00408568
test eax, eax
je 0x4122fd
cmp dword [0x478e9c], ebx
jne 0x4122fd
push ebx
push 0x6f
mov ecx, esi
call fcn.0040ee73
push dword [ebp - 0x14]
push str.Error__CSoftwareUpdateAppDlg::OnFileCheckforupdates__Internet_connect_failed._Error__d._n
call fcn.0043e311
pop ecx
pop ecx
mov dword [ebp - 0x24], 0x6f
push 0x46d1f4
lea eax, [ebp - 0x24]
push eax
call fcn.0043e3c0
push 0x190
call fcn.00416cd6
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x412341
push esi
mov ecx, eax
call fcn.00413885
jmp 0x412343
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x5b0], eax
lea ebx, [esi + 0x5d0]
mov dword [ebx], 2
mov ecx, eax
call fcn.00413c15
mov ecx, dword [esi + 0x5b0]
mov eax, dword [ecx]
call dword [eax + 0x14c]
and dword [ebx], 0
cmp eax, 2
je 0x412518
mov eax, dword [esi + 0x5b0]
mov eax, dword [eax + 0x184]
mov dword [edi], eax
mov ecx, esi
test eax, eax
jne 0x4123a8
push eax
push 0x6a
pop edi
push edi
call fcn.0040ee73
mov dword [ebp - 0x2c], edi
push 0x46d1f4
lea eax, [ebp - 0x2c]
jmp 0x41231b
call fcn.00418430
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_int___thiscall_CSUCatalogObject::ProductListHasUpdates_void_]
test eax, eax
jne 0x4124ac
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4123dc
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
cmp dword [eax + 0xc], 0
jne 0x4124ac
mov ecx, 0x478df8
call fcn.00408568
test eax, eax
je 0x412518
lea ecx, [ebp - 0x14]
call fcn.00402497
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402497
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00402497
mov byte [ebp - 4], 5
push 0x71
lea ecx, [ebp - 0x14]
call fcn.00402ebc
lea eax, [ebp - 0x1c]
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 - 0x1c]
xor edi, edi
cmp dword [eax - 0xc], edi
jle 0x412467
lea ecx, [ebp - 0x294]
call fcn.0040facd
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.0041955c
mov ecx, esi
call fcn.0040e1ff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.0040fb53
jmp 0x412486
push 0x77
lea ecx, [ebp - 0x20]
call fcn.00402ebc
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0041b1a0
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004024c1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004024c1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004024c1
jmp 0x412518
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
push eax
mov ecx, esi
call fcn.00411f83
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x412518
lea ecx, [esi + 0x80]
call fcn.00406acf
test eax, eax
jg 0x4124e7
lea ecx, [esi + 0xd4]
call fcn.00406acf
test eax, eax
jle 0x412518
push 1
mov ebx, 0x478df8
mov ecx, ebx
call fcn.0040856f
push 1
mov ecx, esi
call fcn.004183c7
mov eax, dword [edi]
cmp dword [eax + 0x60], 0
je 0x412518
mov ecx, ebx
call fcn.00408568
test eax, eax
je 0x412518
mov ecx, esi
call fcn.0041097b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004024c1
or dword [ebp - 4], 0xffffffff
jmp 0x412542
mov ecx, dword [esi + 0x5b0]
xor edi, edi
cmp ecx, edi
je 0x41256a
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, edi
je 0x412564
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x5b0], edi
mov ecx, 0x478df8
call fcn.00408568
test eax, eax
jne 0x412587
cmp dword [0x478e9c], edi
jne 0x412587
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.0043e1d5
ret