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

Disassembly:
push 0xffffffffffffffff
push 0x410e56
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x4160a4]
xor eax, esp
mov dword [esp + 0x6e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4160a4]
xor eax, esp
push eax
lea eax, [esp + 0x700]
mov dword fs:[0], eax
mov eax, dword [esp + 0x71c]
mov esi, dword [esp + 0x710]
mov ebp, dword [esp + 0x714]
mov ebx, dword [esp + 0x718]
push 0x206
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x724]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x728]
lea edx, [esp + 0x6a]
push 0
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x70], 0
call fcn.00408aa0
lea eax, [esp + 0x70]
add esp, 0xc
add eax, 0xfffffffe
jmp 0x401f50
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401f50
mov ecx, dword [0x41318c]
mov edx, dword [0x413190]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401f71
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401f85
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401fa6
mov ecx, dword [str.an]
mov edx, dword [0x413198]
mov dword [eax], ecx
mov cx, word [0x41319c]
lea edi, [esp + 0x64]
mov dword [eax + 4], edx
mov word [eax + 8], cx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401fd5
mov ecx, 8
mov esi, str.KSSecurityShield
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x64]
movsw word es:[edi], word [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401ff6
mov edx, dword [str.av]
mov ecx, dword [0x4131a4]
mov dword [eax], edx
mov dx, word [0x4131a8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x64]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x402025
mov ecx, dword [str.V2.4.1.7050]
mov edx, dword [0x4130ec]
mov dword [eax], ecx
mov ecx, dword [0x4130f0]
mov dword [eax + 4], edx
mov edx, dword [0x4130f4]
mov dword [eax + 8], ecx
mov ecx, dword [0x4130f8]
mov dword [eax + 0xc], edx
mov edx, dword [0x4130fc]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esp + 0x64]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x402070
mov ecx, dword [str.is]
mov edx, dword [0x4131b0]
mov dword [eax], ecx
mov cx, word [0x4131b4]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, ebp
mov edx, ebp
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4020a0
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4020b4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
add eax, 0xfffffffe
rep movsb byte es:[edi], byte [esi]
xor ebp, ebp
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x4020e0
mov edx, dword [0x4131b8]
mov ecx, dword [0x4131bc]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x402101
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x402115
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x402140
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x402140
mov edx, dword [str.sm]
mov ecx, dword [0x4131c4]
mov dword [eax], edx
mov dx, word [0x4131c8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
mov eax, dword [esp + 0x20]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x402170
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x402184
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x4021b0
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x4021b0
mov ecx, dword [str.ia]
mov edx, dword [0x4131d0]
mov dword [eax], ecx
mov cx, word [0x4131d4]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, dword [esp + 0x24]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4021e0
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x4021f4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x402220
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x402220
mov edx, dword [str.sa]
mov ecx, dword [0x4131dc]
mov dword [eax], edx
mov dx, word [0x4131e0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x402250
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x402264
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x402290
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x402290
mov ecx, dword [str.pn]
mov edx, dword [0x4131e8]
mov dword [eax], ecx
mov cx, word [0x4131ec]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, dword [esp + 0x1c]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4022c0
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x4022d4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x402300
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x402300
mov edx, dword [str.ms]
mov ecx, dword [0x4131f4]
mov dword [eax], edx
mov dx, word [0x4131f8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
mov eax, dword [esp + 0x14]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x402330
lea edi, [esp + 0x64]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x402344
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x206
lea eax, [esp + 0x4fa]
and ecx, 3
push ebp
push eax
rep movsb byte es:[edi], byte [esi]
mov word [esp + 0x500], bp
call fcn.00408aa0
mov edx, dword [0x418128]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x4f8]
push ecx
push 0x3039
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x64]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x4023a4
mov ecx, dword [str.pt]
mov edx, dword [0x413200]
mov dword [eax], ecx
mov cx, word [0x413204]
mov dword [eax + 4], edx
mov word [eax + 8], cx
lea eax, [esp + 0x4f4]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4023d5
lea edi, [esp + 0x64]
sub eax, esi
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x4023f0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x100000
rep movsb byte es:[edi], byte [esi]
call fcn.00405ec8
push 0x100000
mov esi, eax
push ebp
push esi
call fcn.00408aa0
add esp, 0x10
push ebp
push ebp
push 0x100000
push esi
push 0xffffffffffffffff
lea edx, [esp + 0x78]
push edx
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402441
sub eax, ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], dl
push eax
push esi
lea esi, [esp + 0x4c]
mov dword [esp + 0x710], ebp
call fcn.00403fa0
add esp, 8
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x714], 1
call fcn.004027a0
mov edi, 0x10
mov byte [esp + 0x708], 0
cmp dword [esp + 0x5c], edi
jb 0x4024a6
mov eax, dword [esp + 0x48]
push eax
call fcn.0040608b
add esp, 4
cmp dword [esp + 0x40], edi
mov esi, dword [esp + 0x2c]
jae 0x4024b4
lea esi, [esp + 0x2c]
push 0x200000
call fcn.00405ec8
push 0x100000
mov ebp, eax
push 0
push ebp
call fcn.00408aa0
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4024d5
push 0x100000
push ebp
sub eax, edx
add eax, 1
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x206
lea ecx, [esp + 0x2f2]
push 0
push ecx
mov word [esp + 0x2f8], 0
call fcn.00408aa0
add esp, 0xc
call fcn.00401d20
test al, al
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x402534
push 0x418130
lea edx, [esp + 0x2f0]
push edx
jmp 0x402541
push str.http:__msn.live.cn_wlessentials_info.aspx
lea eax, [esp + 0x2f0]
push eax
call esi
push 0x413208
lea ecx, [esp + 0x2f0]
push ecx
call esi
push ebp
lea edx, [esp + 0x2f0]
push edx
call esi
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov bl, byte [esp + 0x14]
test bl, 0x20
jne 0x402648
push 0x7e
lea edx, [esp + 0x272]
push 0
push edx
mov word [esp + 0x278], 0
call fcn.00408aa0
add esp, 0xc
test bl, 4
push 0
push 0
push 0
jne 0x4025ac
push 4
lea eax, [esp + 0x27c]
push eax
jmp 0x4025b6
push 0
lea ecx, [esp + 0x27c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x402648
push 0
push 0x84000100
lea edx, [esp + 0x4c]
mov ecx, 8
mov esi, 0x41320c
lea edi, [esp + 0x4c]
push edx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2fc]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
jne 0x40261c
cmp dword [esp + 0x40], 0x10
jb 0x402615
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040608b
add esp, 4
mov eax, 1
jmp 0x402660
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x402630
push ebp
call fcn.0040608b
add esp, 4
cmp dword [esp + 0x40], 0x10
jb 0x402644
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040608b
add esp, 4
xor eax, eax
jmp 0x402660
cmp dword [esp + 0x40], edi
jb 0x40265b
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040608b
add esp, 4
mov eax, 4
mov ecx, dword [esp + 0x700]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6e8]
xor ecx, esp
call fcn.00406090
add esp, 0x6f8
ret