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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.004c0084
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x85d3ed
push ebx
add ebx, 8
push ebx
push 8
call fcn.004c0084
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0044b97a
pop ebx
mov dword [ebp - 0x18], 0
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.haokan.baidu.com
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.00413ca4
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47ec0e
push ebx
call fcn.004c0096
add esp, 4
cmp dword [ebp - 0x28], 0
jle 0x47ec30
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047e2a2
jmp 0x47f33e
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.live.baidu.com
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.00413ca4
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47ec6f
push ebx
call fcn.004c0096
add esp, 4
cmp dword [ebp - 0x28], 0
jle 0x47f33e
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x854a3e
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.room_id
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.0040b41c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x47ecc4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47ecd4
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47ece8
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x685e5b
push dword [ebp - 4]
call fcn.00401abc
add esp, 8
cmp eax, 0
jne 0x47ed5c
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.room_id
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.004157e2
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47ed44
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47ed58
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x685e5b
push dword [ebp - 4]
call fcn.00401abc
add esp, 8
cmp eax, 0
jne 0x47ed7f
mov eax, 0
jmp 0x47f372
push 1
push 2
push 0x14
call fcn.0046101e
mov dword [ebp - 0x1c], eax
push 1
push 2
push 0xa
call fcn.0046101e
mov dword [ebp - 0x20], eax
push str.___source_type_:0
push dword [ebp - 0x20]
push str.___replay_slice_:0__nid_:____device_id_:_pc_a703
push dword [ebp - 4]
push str.___room_id_:_
push dword [ebp - 0x1c]
push str._data_:_jt_:_
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x47ede4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x47edf4
push ebx
call fcn.004c0096
add esp, 4
push 1
push 1
push 1
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.0047f3da
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47ee1e
push ebx
call fcn.004c0096
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
call fcn.00413f7a
mov dword [ebp - 0x30], eax
push str.callback__jsonp_callback_0__
push dword [ebp - 0x30]
push 0xdae36b
push dword [ebp - 0x28]
push str.https:__mbd.baidu.com_searchbox_cmd371actionstarservicebdboxosnamehaokan_homedata
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x47ee67
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x47ee77
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47ee8b
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 8], eax
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
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x47eea5
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 0xc], 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.004c0084
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
push 1
lea eax, [ebp - 0xc]
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
push 1
push 0
lea eax, [ebp - 8]
push eax
call fcn.00408076
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x47efb4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x47efc4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x47efd4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x47efe4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47eff4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x47f004
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x47f014
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x47f024
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4c61b0
call fcn.004c00a2
add esp, 0x10
call fcn.004c0096
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.0044a1b0
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x47f063
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x47f077
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 0x10], 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, 0xdb1705
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.__jsonp_callback_0___
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040b41c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x47f0c7
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47f0d7
push ebx
call fcn.004c0096
add esp, 4
push 0xdb1720
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x47f0ff
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x47f113
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x20
call fcn.004c0084
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f16f
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f183
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f197
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f1ab
push ebx
call fcn.004c0096
add esp, 4
pop ebx
call fcn.004c0096
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x764ca6
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str._data_:_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040b41c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x47f200
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47f210
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x47f224
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push str._.video_url_clarity_list__0_.urls.flv
push dword [ebp - 0x18]
push 0xdb1757
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x47f278
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f28e
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push str._.video.title
push dword [ebp - 0x18]
push 0xdb1757
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x47f2e4
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f2fa
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push str.page_frompclive_homesourcehaokan_home
push dword [ebp - 4]
push 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_r_nreferer:_https:__live.baidu.com_m_media_pclive_pchome_live.html_room_id
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f333
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
jmp 0x47f33e
push 0x685e5b
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.00401abc
add esp, 8
cmp eax, 0
je 0x47f368
mov eax, 1
jmp 0x47f372
mov eax, 0
jmp 0x47f372
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47f383
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47f393
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x47f3a3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x47f3b3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x47f3d3
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24