Function at 0x40a2d0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4764f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 0
push 1
push str.mySession
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00470b64
mov byte [ebp - 4], 1
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
push 0
push 1
push str.http:__msn.com
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
jne 0x40a3a1
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a35a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004711f1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 4
lea eax, [ebp - 0x20]
push eax
push 2
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], 0x1388
call fcn.0047070f
push str.RegSweep
lea ecx, [ebp - 0x2c]
call fcn.00405920
push eax
lea ecx, [ebp - 0x28]
push str.http:__www.
push ecx
mov byte [ebp - 4], 4
call fcn.00402a60
add esp, 0xc
push str..com_services_email_check.php_email
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 5
call fcn.00405860
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push eax
lea edx, [ebp - 0x20]
mov bl, 6
push edx
mov byte [ebp - 4], bl
call fcn.00408720
add esp, 0xc
mov eax, dword [eax]
push 0
push 0
push 1
push 1
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00471499
mov edi, eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
add eax, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 0x30], edi
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a447
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a467
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a487
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a4a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push ebx
push 0
lea ecx, [ebp - 0x58]
call fcn.00408b60
mov byte [ebp - 4], 8
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x11]
push ecx
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x40a509
mov eax, dword [esi - 4]
mov ebx, dword [esi - 0xc]
mov dl, byte [ebp - 0x11]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
mov byte [ebp - 0x18], dl
jge 0x40a4f4
push edi
lea ecx, [ebp - 0x1c]
call fcn.00402310
mov esi, dword [ebp - 0x1c]
mov al, byte [ebp - 0x18]
mov byte [ebx + esi], al
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov edi, dword [ebp - 0x30]
or ebx, 0xffffffff
jmp 0x40a4b8
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.00471112
mov al, byte [esi]
cmp al, 0x30
mov edx, ebx
mov dword [ebp - 0x58], vtable.CFileException.0
mov byte [ebp - 4], 3
jne 0x40a5ab
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a54e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a56b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004711f1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40a734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x31
jne 0x40a625
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a5e6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004711f1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40a60f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x32
mov eax, dword [ebp - 0x48]
jne 0x40a69f
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a660
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004711f1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40a689
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a6d6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004711f1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40a734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret