Function at 0x4806d0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x5cd79e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x68]
push esi
lea esi, [ebp + 0x68]
sub eax, 0x10
mov dword [esp + 0x14], 0xff
mov byte [esp + 0xf], 0
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0xff
or eax, ecx
push edi
mov dword [esp + 0x28], ebp
jge 0x48072a
push 0xff
mov ecx, esi
call fcn.00402690
mov eax, dword [esi]
mov ebx, dword [esp + 0x4c]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x14
push ebx
call edi
test eax, eax
jne 0x48074d
mov dword [esp + 0x18], eax
jmp 0x480751
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x480765
mov eax, dword [esi]
test eax, eax
je 0x48076d
push eax
call fcn.0057a0fd
add esp, 4
test eax, eax
jl 0x480c8b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x480c8b
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov word [edx + eax*2], 0
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x480c76
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x480827
push str.baidu.php
push eax
call fcn.0057aad0
add esp, 8
test eax, eax
je 0x480827
sub eax, dword [ebp + 0x50]
sar eax, 1
test eax, eax
jle 0x480827
lea ecx, [esp + 0x1c]
call fcn.00401b20
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 4]
mov esi, dword [esp + 0x18]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
jge 0x4807f3
push esi
lea ecx, [esp + 0x20]
call fcn.00402690
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x47
push ebx
call edi
test eax, eax
jne 0x480808
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00404fa0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00401b70
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x480834
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x18
call fcn.005abebb
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], 1
test eax, eax
je 0x480859
push 0
mov ecx, eax
call fcn.00412b20
jmp 0x48085b
xor eax, eax
mov dword [esp + 0x44], 0xffffffff
mov edi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push ebx
mov dword [ebp + 8], eax
call edi
test eax, eax
je 0x4808e3
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x4808ef
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
jne 0x4808e7
mov ecx, dword [ebp + 8]
push eax
call fcn.00412c80
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0xc]
push ecx
add edx, dword [eax + 8]
push edx
push ebx
call esi
test eax, eax
je 0x4808e3
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
add edx, ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x60]
test eax, eax
jbe 0x4808d3
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], eax
ja 0x4808e3
push 0
push 0
lea eax, [esp + 0x28]
push eax
push ebx
call edi
test eax, eax
jne 0x480882
mov eax, dword [esp + 0x20]
test eax, eax
ja 0x480c76
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1b]
push edx
push 0x15
push ebx
mov dword [esp + 0x2c], 0
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480c76
lea eax, [eax + eax + 2]
push eax
call fcn.005abeeb
add esp, 4
push 0
mov esi, eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push 0x15
push ebx
mov dword [esp + 0x48], esi
mov word [esi + 2], 0
mov word [esi], 0
call edi
cmp word [esi], 0
mov edi, esi
je 0x480c48
jmp 0x480960
mov edi, dword [esp + 0x2c]
jmp 0x480960
push edi
lea ecx, [esp + 0x28]
call fcn.00406630
mov dword [esp + 0x44], 2
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
test eax, eax
lea edx, [edi + eax*2 + 2]
mov dword [esp + 0x2c], edx
jle 0x480c14
push 0x3a
push ecx
call fcn.0057a3c2
add esp, 8
test eax, eax
je 0x480c14
sub eax, dword [esp + 0x24]
sar eax, 1
mov ebx, eax
test ebx, ebx
jle 0x480c10
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x44], 4
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041ce60
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x14]
call fcn.0040daf0
mov ecx, eax
call fcn.0040d7f0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x480a03
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402470
mov eax, dword [esp + 0x14]
push eax
call dword [0x652c8c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x480a16
xor eax, eax
jmp 0x480a2b
push ecx
call fcn.0057a0fd
add esp, 4
test eax, eax
jl 0x480c8b
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x480c8b
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
mov word [edx + eax*2], 0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
add ebp, 0x70
push ecx
mov ecx, ebp
call fcn.005ab294
test eax, eax
je 0x480ac8
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 4]
mov edi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x480a8b
push esi
lea ecx, [esp + 0x18]
call fcn.00402690
mov edx, dword [esp + 0x14]
test esi, esi
mov word [edx + edi*2], 0x5f
jl 0x480c8b
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x480c8b
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov word [edx + esi*2], 0
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.005ab294
test eax, eax
jne 0x480a60
inc ebx
push ebx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x2c]
call fcn.0040db40
mov byte [esp + 0x44], 6
push eax
lea ecx, [esp + 0x20]
call fcn.00405540
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x30]
call fcn.00401b70
lea ecx, [esp + 0x1c]
call fcn.0040daf0
mov ecx, eax
call fcn.0040d7f0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.005ab356
test esi, esi
mov edi, eax
jne 0x480b1f
xor eax, eax
jmp 0x480b28
push esi
call fcn.0057a0fd
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004053c0
mov ecx, dword [esp + 0x14]
push str.location
push ecx
call fcn.0057a418
add esp, 8
test eax, eax
jne 0x480bec
push 0x98
call fcn.005abebb
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x44], 7
test eax, eax
je 0x480b70
mov ecx, eax
call fcn.0047fca0
mov esi, eax
jmp 0x480b72
xor esi, esi
mov byte [esp + 0x44], 5
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00480170
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_1.1.4322_
mov ecx, esi
call fcn.00480250
push 0x5e7ce4
push str.Accept_Encoding
mov ecx, esi
call fcn.004805d0
push str.zh_cn
push str.Accept_Language
mov ecx, esi
call fcn.004805d0
mov eax, dword [0x661324]
test eax, eax
je 0x480bbd
mov eax, dword [eax + 0x1c]
push 4
push 0x593
push eax
mov ecx, esi
call fcn.0047f630
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
push 1
mov ecx, esi
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], 1
call fcn.00480f50
mov byte [esp + 0x44], 4
lea ecx, [esp + 0x14]
call fcn.00401b70
mov byte [esp + 0x44], 2
lea ecx, [esp + 0x1c]
call fcn.00401b70
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480c3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
cmp word [eax], 0
jne 0x480953
push esi
call fcn.005abee6
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
lea eax, [ebp + 0x64]
push eax
push 0x20000013
push ebx
mov dword [esp + 0x2c], 4
mov dword [eax], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
push 0x80070057
call fcn.00401180
int3