Function at 0x100092f0
Capabilities:
Check internet connectivity via wininet
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ab0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
mov edi, 1
mov dword [ebp - 0x24], ecx
push ebx
push edi
push 0x1000eef8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], ebx
call sub.MFC42.DLL_CInternetSession::CInternetSession
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call sub.SensApi.dll_IsNetworkAlive
cmp eax, ebx
jne 0x10009368
push str._CSMG__exception___Internet_Connect_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [ebp + 8]
push str.FAIL
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x18], edi
jmp 0x10009571
lea ecx, [ebp - 0x20]
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x10009399
push str._CSMG__exception___Internet_Connect_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [ebp + 8]
push str.FAIL
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x18], edi
jmp 0x10009571
push 0x1000eef8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edx
push 0x1000e2fc
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 3
push ebx
push ebx
push 0x80000002
push edi
push ecx
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CInternetSession::OpenURL
mov esi, eax
mov dword [ebp - 4], 2
cmp esi, ebx
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 5
je 0x10009503
push 0xe1000
mov ecx, esi
call sub.MFC42.DLL_CInternetFile::SetReadBufferSize
push 0x1000eef8
lea ecx, [ebp - 0x14]
call fcn.100098d6
xor edi, edi
push 0x1000eef8
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esi]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call dword [edx + 0x60]
cmp eax, ebx
jne 0x1000945b
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.10009828
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CInternetSession::Close
cmp esi, ebx
je 0x10009503
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x10009503
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
call fcn.100091c0
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.100099b4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.10009828
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.10009828
inc edi
jmp 0x1000940a
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call sub.MFC42.DLL_CString::TrimRight
push ebx
push 0x1000ed90
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push eax
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.100099b4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.10009828
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
or al, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], eax
call fcn.10009828
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.100099c6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8