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

Disassembly:
push 0xffffffffffffffff
push 0x4179bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3cc
push ebp
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00409e20
mov edi, dword [esp + 0x3ec]
mov dword [esp + 0x3e0], 0
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov esi, dword [esp + 0x3e8]
lea ecx, [esp + 0x28]
push esi
call fcn.0040a090
mov eax, dword [esp + 0x3f4]
push str.9_0_16_0
lea ecx, [esp + 0x48]
push str.x_flash_version:__s
push ecx
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
push esi
call fcn.00415e3c
mov eax, dword [esp + 0x3f8]
mov ebp, dword [sym.imp.MSVCRT.dll__mbsstr]
test eax, eax
mov byte [esp + 0x3e0], 1
je 0x40b9e6
push str.video.baidu.com
push esi
call ebp
add esp, 8
test eax, eax
jne 0x40b9e6
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00415740
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3e4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x3e0], 1
call sub.MFC42.DLL_CString::CString
push str.video.baidu.com
push esi
call ebp
add esp, 8
test eax, eax
je 0x40ba26
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00415bc0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3e4], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x3e0], 1
call sub.MFC42.DLL_CString::CString
push 0x420114
push 0x420110
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0xc]
push str.www.tudou.com
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40ba5f
mov edx, dword [esp + 0xc]
push str.tudou.letv.com
push edx
call ebp
add esp, 8
test eax, eax
je 0x40ba6d
push str.http:__www.tudou.com
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0xc]
push str.2008.vod.itc.cn_antixtw.php
push eax
call ebp
add esp, 8
test eax, eax
je 0x40ba8e
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__zh_CN__rv:1.8.1.5__Gecko_20070713__FoxPlus__Firefox_2.0.0.5
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push 0x7530
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.0040a500
test eax, eax
jne 0x40bb19
push 0x7d0
call ebp
inc esi
cmp esi, 2
jl 0x40ba96
lea ecx, [esp + 0xc]
mov byte [esp + 0x3e0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.00409f80
or eax, 0xffffffff
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3d8
ret
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x40bb69
mov ecx, dword [esp + 0x10]
push ecx
push 0x41f1e0
push edi
call sub.MFC42.DLL_CString::Format
mov edx, dword [edi]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edx - 8]
cmp eax, ecx
jae 0x40bb69
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0x20
mov edx, dword [esp + 0x10]
push edx
push 0x41f1e0
push edi
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, ecx
jb 0x40bb41
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x3e0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.00409f80
xor eax, eax
jmp 0x40bb01