Function at 0x4122a5
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0x288
mov eax, 0x454221
call fcn.0043e1aa
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040ee3c
lea ecx, [ebp - 0x18]
call fcn.004024a1
mov byte [ebp - 4], 1
push 0x78
lea ecx, [ebp - 0x18]
call fcn.00402eb7
lea edi, [esi + 0x2e8]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00418398
push ebx
mov ecx, edi
call fcn.004184a5
lea edi, [esi + 0x74]
cmp dword [edi], ebx
je 0x412302
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 0x412328
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x412322
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 0x41237a
mov ecx, 0x478df8
call fcn.0040858b
test eax, eax
je 0x412356
cmp dword [0x478e9c], ebx
jne 0x412356
push ebx
push 0x6f
mov ecx, esi
call fcn.0040ee9f
push dword [ebp - 0x14]
push str.Error__CSoftwareUpdateAppDlg::OnFileCheckforupdates__Internet_connect_failed._Error__d._n
call fcn.0043e38b
pop ecx
pop ecx
mov dword [ebp - 0x24], 0x6f
push 0x46d298
lea eax, [ebp - 0x24]
push eax
call fcn.0043e43a
push 0x190
call fcn.00416d66
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41239a
push esi
mov ecx, eax
call fcn.004138de
jmp 0x41239c
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.00413c92
mov ecx, dword [esi + 0x5b0]
mov eax, dword [ecx]
call dword [eax + 0x14c]
and dword [ebx], 0
cmp eax, 2
je 0x412571
mov eax, dword [esi + 0x5b0]
mov eax, dword [eax + 0x184]
mov dword [edi], eax
mov ecx, esi
test eax, eax
jne 0x412401
push eax
push 0x6a
pop edi
push edi
call fcn.0040ee9f
mov dword [ebp - 0x2c], edi
push 0x46d298
lea eax, [ebp - 0x2c]
jmp 0x412374
call fcn.004184cc
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_int___thiscall_CSUCatalogObject::ProductListHasUpdates_void_]
test eax, eax
jne 0x412505
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x412435
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
cmp dword [eax + 0xc], 0
jne 0x412505
mov ecx, 0x478df8
call fcn.0040858b
test eax, eax
je 0x412571
lea ecx, [ebp - 0x14]
call fcn.004024a1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004024a1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004024a1
mov byte [ebp - 4], 5
push 0x71
lea ecx, [ebp - 0x14]
call fcn.00402eb7
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 0x4124c0
lea ecx, [ebp - 0x294]
call fcn.0040fb09
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.00419600
mov ecx, esi
call fcn.0040e22b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.0040fb8f
jmp 0x4124df
push 0x77
lea ecx, [ebp - 0x20]
call fcn.00402eb7
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0041b248
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004024cb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004024cb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004024cb
jmp 0x412571
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
push eax
mov ecx, esi
call fcn.00411fdc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x412571
lea ecx, [esi + 0x80]
call fcn.00406af2
test eax, eax
jg 0x412540
lea ecx, [esi + 0xd4]
call fcn.00406af2
test eax, eax
jle 0x412571
push 1
mov ebx, 0x478df8
mov ecx, ebx
call fcn.00408592
push 1
mov ecx, esi
call fcn.00418463
mov eax, dword [edi]
cmp dword [eax + 0x60], 0
je 0x412571
mov ecx, ebx
call fcn.0040858b
test eax, eax
je 0x412571
mov ecx, esi
call fcn.004109b7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004024cb
or dword [ebp - 4], 0xffffffff
jmp 0x41259b
mov ecx, dword [esi + 0x5b0]
xor edi, edi
cmp ecx, edi
je 0x4125c3
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, edi
je 0x4125bd
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x5b0], edi
mov ecx, 0x478df8
call fcn.0040858b
test eax, eax
jne 0x4125e0
cmp dword [0x478e9c], edi
jne 0x4125e0
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.0043e24f
ret