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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
push 0xc
call fcn.0041800e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4bbeab
push ebx
add ebx, 4
push ebx
push 8
call fcn.0041800e
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ba985
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0041800e
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ba985
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, str.https:__www.douyin.com_falcon_webcast_openpc_pages_douyin_recharge_index.html_is_new_connect0is_new_user0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a7df
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.Keep_Alive
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Connection
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a825
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a835
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x4bbfe7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Accept
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a877
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a887
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.2_
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a8c9
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a8d9
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.www.douyin.com
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Host
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a91b
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a92b
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
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 dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0041800e
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 - 0x18]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
push 0x5341a4
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.00401701
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40aa4d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40aa5d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40aa6d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40aa7d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40aa8d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40aa9d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40aaad
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40aabd
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41b960
call fcn.00418026
add esp, 0x10
call fcn.00418014
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40aaf4
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407323
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00408fdf
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ab20
push ebx
call fcn.00418014
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ab34
push ebx
call fcn.00418014
add esp, 4
pop eax
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 eax, 0x4cc1f2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.aid:
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404afe
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ab84
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ab94
push ebx
call fcn.00418014
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5341c4]
test ebx, ebx
je 0x40abab
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [0x5341c4], eax
call fcn.0040abfa
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40abc6
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40abe6
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40abf6
push ebx
call fcn.00418014
add esp, 4
mov esp, ebp
pop ebp
ret