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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4274f6
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov word [ebp - 0x4b4], 0
push 0x206
push 0
lea eax, [ebp - 0x4b2]
push eax
call fcn.00413bb0
add esp, 0xc
push str.bmv
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
push str.aon
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
push str.aov
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x404cd2
push 0x429a58
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
jmp 0x404ce5
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
push 0x429a5c
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
movzx ecx, byte [0x432a11]
test ecx, ecx
je 0x404d10
mov dword [ebp - 0xa74], 0x429a68
jmp 0x404d1a
mov dword [ebp - 0xa74], 0x429a6c
mov edx, dword [ebp - 0xa74]
push edx
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
push 0x429a70
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
push str.csa
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
movzx edx, byte [0x432a10]
test edx, edx
je 0x404d82
mov dword [ebp - 0xa78], 0x429a88
jmp 0x404d8c
mov dword [ebp - 0xa78], 0x429a8c
mov eax, dword [ebp - 0xa78]
push eax
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
push 0x429a90
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00415e40
add esp, 8
push str.aoo
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
movzx eax, byte [0x432a15]
test eax, eax
je 0x404df4
mov dword [ebp - 0xa7c], 0x429aa8
jmp 0x404dfe
mov dword [ebp - 0xa7c], 0x429aac
mov ecx, dword [ebp - 0xa7c]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
push 0x429ab0
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
mov ecx, dword [ebp + 0x24]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
push str.ptn
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
mov ecx, dword [ebp + 0x28]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
push str.csn
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
mov ecx, dword [ebp + 0x34]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
push str.cso
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
mov ecx, dword [ebp + 0x30]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
mov word [ebp - 0x6cc], 0
push 0x206
push 0
lea eax, [ebp - 0x6ca]
push eax
call fcn.00413bb0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x6cc]
push ecx
push 0x3039
mov edx, dword [0x4329f8]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
push str.bmn
lea eax, [ebp - 0x4b4]
push eax
call fcn.00415e40
add esp, 8
lea ecx, [ebp - 0x6cc]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00415e40
add esp, 8
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.0040b540
add esp, 8
mov edx, dword [ebp - 0x98]
push edx
call fcn.00414110
add esp, 4
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x6e8]
call fcn.00405a30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0xa5c]
push edx
call fcn.0040b730
add esp, 0xc
mov dword [ebp - 0xa80], eax
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0xa84], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa84]
push ecx
lea ecx, [ebp - 0x6e8]
call fcn.004059f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa5c]
call fcn.00402b40
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x6e8]
call fcn.0040bf30
push eax
call fcn.0040b5f0
add esp, 8
mov word [ebp - 0x2a4], 0
push 0x206
push 0
lea eax, [ebp - 0x2a2]
push eax
call fcn.00413bb0
add esp, 0xc
call fcn.00404a20
movzx ecx, al
test ecx, ecx
je 0x405002
push 0x432a18
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x405015
mov eax, dword [str.http:__www.windowslive.cn_admin_wle_info.aspx]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x429aec
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x4bc], 4
push 0
lea edx, [ebp - 0x4c0]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 0x4c0]
and eax, 0x20
je 0x405086
mov dword [ebp - 0xa60], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6e8]
call fcn.00402b40
mov eax, dword [ebp - 0xa60]
jmp 0x4051e0
mov word [ebp - 0x94], 0
push 0x7e
push 0
lea ecx, [ebp - 0x92]
push ecx
call fcn.00413bb0
add esp, 0xc
mov edx, dword [ebp - 0x4c0]
and edx, 4
jne 0x4050ca
push 0
push 0
push 0
push 4
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4b8], eax
jmp 0x4050e5
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0
je 0x405176
mov ecx, 8
mov esi, 0x429af0
lea edi, [ebp - 0xa34]
rep movsd dword es:[edi], dword [esi]
push 0
push 0x84000100
lea edx, [ebp - 0xa34]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x4b8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 0
jne 0x405167
mov dword [ebp - 0xa64], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6e8]
call fcn.00402b40
mov eax, dword [ebp - 0xa64]
jmp 0x4051e0
mov eax, dword [ebp - 0x4b8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40519a
mov dword [ebp - 0xa68], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6e8]
call fcn.00402b40
mov eax, dword [ebp - 0xa68]
jmp 0x4051e0
cmp dword [ebp - 0x2a8], 0
je 0x4051be
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0xa6c], ecx
mov edx, dword [ebp - 0xa6c]
push edx
call fcn.00413746
add esp, 4
mov dword [ebp - 0xa70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6e8]
call fcn.00402b40
mov eax, dword [ebp - 0xa70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret