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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.004c0084
add esp, 4
mov dword [ebp - 0xc], 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 - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.live.bilibili.com
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00413ca4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e3c8
push ebx
call fcn.004c0096
add esp, 4
cmp dword [ebp - 0x1c], 0
jle 0x45e886
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x7650c0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x8549f5
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.00413857
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45e41d
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e42d
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45e441
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 0x45e468
mov eax, 0
jmp 0x45e968
push dword [ebp - 4]
push str.https:__api.live.bilibili.com_xlive_web_room_v2_index_getRoomPlayInfo_devicephoneplatformhtml5scale3build10000protocol0_1format0_1_2codec0_1room_id
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.004c0084
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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
push 1
mov eax, str.User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_11_0_like_Mac_OS_X__AppleWebKit_604.1.38__KHTML__like_Gecko__Version_11.0_Mobile_15A372_Safari_604.1
mov dword [ebp - 0x48], eax
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
push 1
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00408076
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x45e593
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x45e5a3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x45e5b3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x45e5c3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x45e5d3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x45e5e3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x45e5f3
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45e603
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45e613
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45e623
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x20]
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 - 0x58]
push eax
call fcn.0044a1b0
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x45e662
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45e676
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x20
call fcn.004c0084
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e6d2
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e6e6
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e6fa
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e70e
push ebx
call fcn.004c0096
add esp, 4
pop ebx
call fcn.004c0096
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, str.data_playurl_info_.playurl.stream_0_.format_0_.codec_0__url_info__0_.host
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45e752
push ebx
call fcn.004c0096
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
mov eax, str.data_playurl_info_.playurl.stream_0_.format_0_.codec_0__base_url_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
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 - 0x20]
test ebx, ebx
je 0x45e78d
push ebx
call fcn.004c0096
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.data_playurl_info_.playurl.stream_0_.format_0_.codec_0__url_info__0_.extra
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45e7c8
push ebx
call fcn.004c0096
add esp, 4
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e7f1
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45e801
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45e811
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e827
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_11_0_like_Mac_OS_X__AppleWebKit_604.1.38__KHTML__like_Gecko__Version_11.0_Mobile_15A372_Safari_604.1_r_nreferer:
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e85d
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, 0xdad2b9
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e87b
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
jmp 0x45e934
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.bilibili.com_video_
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00413ca4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45e8c5
push ebx
call fcn.004c0096
add esp, 4
cmp dword [ebp - 0x1c], 0
jle 0x45e934
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044ac73
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e8f3
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_11_0_like_Mac_OS_X__AppleWebKit_604.1.38__KHTML__like_Gecko__Version_11.0_Mobile_15A372_Safari_604.1_r_nreferer:
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45e929
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
jmp 0x45e934
push 0x685e5b
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.00401abc
add esp, 8
cmp eax, 0
jne 0x45e95e
mov eax, 0
jmp 0x45e968
mov eax, 1
jmp 0x45e968
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45e979
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45e989
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c0096
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24