Function at 0x42cb90
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x4944f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push str.GetInternetConnectionStatus
push str.CWinInternetConnect
call fcn.0042af10
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
add esp, 8
mov dword [esp + 0x2c], 1
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call ebx
mov dword [esp + 0x34], eax
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42cc05
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x4c], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
mov dword [esp + 0x38], eax
je 0x42cd53
test byte [esp + 0x24], 2
je 0x42cd53
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x42cd53
push eax
push eax
push eax
push eax
push str.InstallNavi_Agent.epson.co.jp
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x42cd53
call ebx
push str.http:__support.epson.net_healthcheck_InstallNavi.html
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.00404740
mov byte [esp + 0x44], 1
cmp dword [0x4c3718], 0
jne 0x42cccb
lea ecx, [esp + 0x20]
call fcn.00402380
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x48], 2
call fcn.0042cde0
add esp, 4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409b10
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.00402360
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push 0x4a0768
push edx
call fcn.004045e0
mov esi, dword [esp + 0x28]
add esp, 0xc
push str.Connection_URL
call fcn.0042b470
mov eax, dword [esp + 0x1c]
add esp, 4
push 0
push 0x200
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebp, eax
test ebp, ebp
je 0x42cd1f
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x2c], 2
call ebx
mov esi, eax
sub esi, dword [esp + 0x30]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call ebx
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push esi
push eax
mov eax, dword [esp + 0x40]
push ebp
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push str.result_ld__state_lx__error_ld__hinet_p__hRequest_p__ftime_ld__ctime_ld
push ecx
call fcn.004045e0
mov esi, dword [esp + 0x40]
add esp, 0x24
push str.GetInternetConnectionStatus
call fcn.0042b470
mov edi, dword [esp + 0x30]
add esp, 4
push edi
push str.GetInternetConnectionStatus
push str.CWinInternetConnect
call fcn.0042b190
lea eax, [esi - 0x10]
add esp, 0xc
mov dword [esp + 0x44], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cdca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret