Function at 0x402fb0
Capabilities:
Check internet connectivity via wininet
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x428638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x434900]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x7c], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [esp + 0x18], 7
je 0x403118
lea esi, [edi + 0x60]
push 0x100
mov ecx, esi
call fcn.00420e31
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push 0x100
call ebx
push 0xffffffffffffffff
mov ecx, esi
call fcn.00420e80
mov ebp, dword [esi]
push 0x100
mov ecx, esi
call fcn.00420e31
push eax
push 0
push 0x43428c
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
call ebp
push 0xffffffffffffffff
mov ecx, esi
call fcn.00420e80
mov eax, dword [esi]
push 0
push 0
push eax
push str.http:__shengji.yxdown.cn_yxdown.htm
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov edx, dword [0x434900]
mov dword [esp + 0x14], edx
mov esi, dword [esi]
lea ecx, [esp + 0x14]
push esi
push 0x100
push 0x100
mov byte [esp + 0x80], 1
call fcn.00420e31
push eax
push 0x438834
push str.image
push str.tpgg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00420e80
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40310a
push 0x100
lea ecx, [esp + 0x14]
call fcn.00420e31
push eax
push 0x100
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00420e80
mov esi, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x14]
call fcn.00420e31
push eax
push 0
push 0x43428c
push esi
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00420e80
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
push ecx
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0
call fcn.00420a28
lea ecx, [esp + 0x50]
call fcn.00405ea8
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x7c], 2
call fcn.00405f6b
test eax, eax
je 0x40318f
mov ecx, dword [esp + 0x10]
push 0
push ecx
call fcn.004024e0
add esp, 8
mov ebx, eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x403173
lea eax, [esi + 4]
mov dword [esi], 0x42aa10
push eax
push ebx
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [esi + 8], eax
jmp 0x403175
xor esi, esi
test esi, esi
mov dword [edi + 0x17c], esi
je 0x40318f
lea edx, [esp + 0x10]
lea ecx, [edi + 0xa0]
push edx
call fcn.00420b61
mov eax, dword [edi + 0x60]
lea esi, [edi + 0xa4]
push eax
push 0x100
push 0x100
mov ecx, esi
call fcn.00420e31
push eax
push 0x438834
push 0x4344cc
push str.tpgg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00420e80
lea ecx, [esp + 0x3c]
call fcn.0041c48c
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 3
call fcn.0041c48c
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push str.rmyx
push eax
push ecx
mov byte [esp + 0x84], 4
call fcn.00401820
mov esi, eax
add esp, 0x10
cmp esi, 3
jge 0x40326f
push str.http:__www.yxdown.com_SoftView_SoftView_7325.html
lea ecx, [edi + 0x198]
call fcn.00420bb1
push str.http:__www.yxdown.com_SoftView_SoftView_4804.html
lea ecx, [edi + 0x1a0]
call fcn.00420bb1
push str.http:__www.yxdown.com_SoftView_SoftView_2219.html
lea ecx, [edi + 0x1a8]
call fcn.00420bb1
push 0x434404
lea ecx, [edi + 0x194]
call fcn.00420bb1
push 0x4343f0
lea ecx, [edi + 0x19c]
call fcn.00420bb1
push 0x4343dc
lea ecx, [edi + 0x1a4]
call fcn.00420bb1
jmp 0x4032f3
xor ebp, ebp
xor edx, edx
mov ebx, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
cmp ebp, ebx
je 0x40328d
cmp ebx, edx
je 0x40328d
cmp ebp, edx
jne 0x4032b7
call fcn.0040da7d
cdq
idiv esi
mov ebp, edx
mov dword [esp + 0x1c], ebp
call fcn.0040da7d
cdq
idiv esi
mov ebx, edx
mov dword [esp + 0x20], ebx
call fcn.0040da7d
cdq
idiv esi
mov dword [esp + 0x24], edx
jmp 0x403281
lea ebp, [esp + 0x1c]
add edi, 0x198
mov ebx, 3
mov esi, dword [ebp]
mov edx, dword [esp + 0x40]
shl esi, 2
lea ecx, [edi - 4]
lea eax, [esi + edx]
push eax
call fcn.00420b61
mov ecx, dword [esp + 0x2c]
add esi, ecx
mov ecx, edi
push esi
call fcn.00420b61
add edi, 8
add ebp, 4
dec ebx
jne 0x4032c6
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 3
call fcn.0041c4bf
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 2
call fcn.0041c4bf
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0
call fcn.00405ee5
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
call fcn.00420a28
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret