Function at 0x4204f0
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
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.00420f96
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x420640
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x420650
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x420660
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x420670
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x420680
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x420690
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4206a0
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4206b0
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4206c0
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4206d0
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4206e0
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4206f0
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420700
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420710
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420720
push ebx
call fcn.0043e0a3
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x420733
mov eax, 0x511a19
push eax
push 1
mov ebx, 0x4401e0
call fcn.0043e097
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x420759
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42076d
push ebx
call fcn.0043e0a3
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.004032d2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4207bd
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4207cd
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4207e1
push ebx
call fcn.0043e0a3
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, 0x883641
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.004032d2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420831
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420841
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x420855
push ebx
call fcn.0043e0a3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x511a19
push dword [ebp - 8]
call fcn.00403590
add esp, 8
cmp eax, 0
je 0x42088f
push 0x511a19
push dword [ebp - 0xc]
call fcn.00403590
add esp, 8
cmp eax, 0
je 0x42088f
xor eax, eax
jmp 0x420894
mov eax, 1
test eax, eax
je 0x420ea9
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.0043e09d
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.004120bc
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4209b7
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4209c7
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4209d7
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4209e7
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4209f7
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x420a07
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x420a17
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x420a27
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x420a37
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420a47
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x442c60
call fcn.0043e097
add esp, 0x10
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x420a7e
push ebx
call fcn.0043e0a3
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, 0x43f970
call fcn.0043e097
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x8836eb
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00403690
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420acb
push ebx
call fcn.0043e0a3
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x8836eb
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.004245ce
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420b03
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420b13
push ebx
call fcn.0043e0a3
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x420b26
mov eax, 0x511a1a
push eax
push 1
mov ebx, 0x4401e0
call fcn.0043e097
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420b4c
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x420b60
push ebx
call fcn.0043e0a3
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
push 0x8836f4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x420b83
mov eax, 0x511a19
push eax
push 2
mov ebx, 0x43e520
call fcn.0043e097
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x420bd3
push dword [ebp - 0x14]
push str.http:
mov ecx, 2
call fcn.00402104
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x420bcf
push ebx
call fcn.0043e0a3
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.0043e09d
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.004120bc
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x420cea
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x420cfa
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x420d0a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x420d1a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x420d2a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x420d3a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x420d4a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x420d5a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420d6a
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x442c60
call fcn.0043e097
add esp, 0x10
call fcn.0043e0a3
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.0042480e
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x420da9
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420dbd
push ebx
call fcn.0043e0a3
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, 0x883708
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004032d2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420e0d
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420e1d
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420e31
push ebx
call fcn.0043e0a3
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, 0x88371e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004032d2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420e81
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420e91
push ebx
call fcn.0043e0a3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x420ea5
push ebx
call fcn.0043e0a3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x511a19
push dword [ebp - 8]
call fcn.00403590
add esp, 8
cmp eax, 0
jne 0x420edc
mov eax, str.IP
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420ed8
push ebx
call fcn.0043e0a3
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x511a19
push dword [ebp - 0xc]
call fcn.00403590
add esp, 8
cmp eax, 0
jne 0x420f0f
mov eax, 0x88372e
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x420f0b
push ebx
call fcn.0043e0a3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x420f2b
push eax
mov ebx, eax
call fcn.00402099
inc eax
push eax
call fcn.0043e09d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420f30
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420f41
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420f51
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x420f61
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x420f71
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x420f81
push ebx
call fcn.0043e0a3
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420f91
push ebx
call fcn.0043e0a3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret