Function at 0x47fec1
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x47ff06
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 3
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov eax, str.http:__pv.sohu.com_cityjson
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00480989
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x480023
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x480033
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x480043
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x480053
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x480063
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x480073
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x480083
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x480093
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4800a3
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4800b3
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4800c3
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4800d3
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4800e3
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4800f3
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x480103
push ebx
call fcn.00496925
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x480116
mov eax, 0x568709
push eax
push 1
mov ebx, 0x498b20
call fcn.00496931
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x48013c
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x480150
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.____cid_:__
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str._cip_:__
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00484be4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4801a0
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4801b0
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4801c4
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x7cb29f
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str._cname_:__
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00484be4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x480214
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x480224
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x480238
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x568709
push dword [ebp - 8]
call fcn.00405554
add esp, 8
cmp eax, 0
je 0x480272
push 0x568709
push dword [ebp - 0xc]
call fcn.00405554
add esp, 8
cmp eax, 0
je 0x480272
xor eax, eax
jmp 0x480277
mov eax, 1
test eax, eax
je 0x48088c
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0049691f
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 3
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov eax, str.http:__www.ip138.com
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00486074
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x48039a
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4803aa
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4803ba
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4803ca
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4803da
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4803ea
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4803fa
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x48040a
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x48041a
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48042a
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x49bf00
call fcn.00496931
add esp, 0x10
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x480461
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
push str._iframe_src
push 1
mov ebx, 0x4982b0
call fcn.00496931
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x7cb2d0
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.0041591f
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4804ae
push ebx
call fcn.00496925
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x7cb2d0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00488627
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4804e6
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4804f6
push ebx
call fcn.00496925
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x480509
mov eax, 0x56870a
push eax
push 1
mov ebx, 0x498b20
call fcn.00496931
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x48052f
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x480543
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
push 0x7cb2d9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x480566
mov eax, 0x568709
push eax
push 2
mov ebx, 0x496da0
call fcn.00496931
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4805b6
push dword [ebp - 0x14]
push str.http:
mov ecx, 2
call fcn.00402133
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4805b2
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0049691f
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x14]
push eax
call fcn.00486074
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4806cd
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4806dd
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4806ed
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4806fd
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x48070d
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x48071d
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x48072d
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x48073d
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48074d
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x49bf00
call fcn.00496931
add esp, 0x10
call fcn.00496925
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.00488867
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x48078c
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4807a0
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.__title_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x7cb2ed
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00484be4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4807f0
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x480800
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x480814
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str._r_n__p_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x7cb303
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00484be4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x480864
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x480874
push ebx
call fcn.00496925
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x480888
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x568709
push dword [ebp - 8]
call fcn.00405554
add esp, 8
cmp eax, 0
jne 0x4808bf
mov eax, str.IP
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4808bb
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x568709
push dword [ebp - 0xc]
call fcn.00405554
add esp, 8
cmp eax, 0
jne 0x4808f2
mov eax, 0x7cb313
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4808ee
push ebx
call fcn.00496925
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x48090e
push eax
mov ebx, eax
call fcn.004020c8
inc eax
push eax
call fcn.0049691f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x480923
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x480934
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x480944
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x480954
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x480964
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x480974
push ebx
call fcn.00496925
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x480984
push ebx
call fcn.00496925
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret