Function at 0x412315
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0x288
mov eax, 0x454279
call fcn.0043e1ef
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040ee6b
lea ecx, [ebp - 0x18]
call fcn.00402496
mov byte [ebp - 4], 1
push 0x78
lea ecx, [ebp - 0x18]
call fcn.00402eac
lea edi, [esi + 0x2e8]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004183dd
push ebx
mov ecx, edi
call fcn.004184ea
lea edi, [esi + 0x74]
cmp dword [edi], ebx
je 0x412372
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 0x412398
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, ebx
je 0x412392
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 0x4123ea
mov ecx, 0x478df8
call fcn.00408580
test eax, eax
je 0x4123c6
cmp dword [0x478e9c], ebx
jne 0x4123c6
push ebx
push 0x6f
mov ecx, esi
call fcn.0040eece
push dword [ebp - 0x14]
push str.Error__CSoftwareUpdateAppDlg::OnFileCheckforupdates__Internet_connect_failed._Error__d._n
call fcn.0043e3d0
pop ecx
pop ecx
mov dword [ebp - 0x24], 0x6f
push 0x46d2a0
lea eax, [ebp - 0x24]
push eax
call fcn.0043e47f
push 0x190
call fcn.00416db6
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41240a
push esi
mov ecx, eax
call fcn.0041394e
jmp 0x41240c
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.00413cde
mov ecx, dword [esi + 0x5b0]
mov eax, dword [ecx]
call dword [eax + 0x14c]
and dword [ebx], 0
cmp eax, 2
je 0x4125e1
mov eax, dword [esi + 0x5b0]
mov eax, dword [eax + 0x184]
mov dword [edi], eax
mov ecx, esi
test eax, eax
jne 0x412471
push eax
push 0x6a
pop edi
push edi
call fcn.0040eece
mov dword [ebp - 0x2c], edi
push 0x46d2a0
lea eax, [ebp - 0x2c]
jmp 0x4123e4
call fcn.00418511
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_int___thiscall_CSUCatalogObject::ProductListHasUpdates_void_]
test eax, eax
jne 0x412575
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4124a5
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
cmp dword [eax + 0xc], 0
jne 0x412575
mov ecx, 0x478df8
call fcn.00408580
test eax, eax
je 0x4125e1
lea ecx, [ebp - 0x14]
call fcn.00402496
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402496
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00402496
mov byte [ebp - 4], 5
push 0x71
lea ecx, [ebp - 0x14]
call fcn.00402eac
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 0x412530
lea ecx, [ebp - 0x294]
call fcn.0040fb79
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.00419645
mov ecx, esi
call fcn.0040e25a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.0040fbff
jmp 0x41254f
push 0x77
lea ecx, [ebp - 0x20]
call fcn.00402eac
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0041b28d
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004024c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004024c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004024c0
jmp 0x4125e1
mov ecx, dword [edi]
call dword [sym.imp.SoftwareUpdateFiles.dll_public:_class_CObList____thiscall_CSUCatalogObject::GetProductList_void_]
push eax
mov ecx, esi
call fcn.0041204c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4125e1
lea ecx, [esi + 0x80]
call fcn.00406ae7
test eax, eax
jg 0x4125b0
lea ecx, [esi + 0xd4]
call fcn.00406ae7
test eax, eax
jle 0x4125e1
push 1
mov ebx, 0x478df8
mov ecx, ebx
call fcn.00408587
push 1
mov ecx, esi
call fcn.004184a8
mov eax, dword [edi]
cmp dword [eax + 0x60], 0
je 0x4125e1
mov ecx, ebx
call fcn.00408580
test eax, eax
je 0x4125e1
mov ecx, esi
call fcn.00410a27
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004024c0
or dword [ebp - 4], 0xffffffff
jmp 0x41260b
mov ecx, dword [esi + 0x5b0]
xor edi, edi
cmp ecx, edi
je 0x412633
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x5b0]
cmp ecx, edi
je 0x41262d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x5b0], edi
mov ecx, 0x478df8
call fcn.00408580
test eax, eax
jne 0x412650
cmp dword [0x478e9c], edi
jne 0x412650
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.0043e294
ret