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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push 0xc
call fcn.0041800e
add esp, 4
mov dword [ebp - 4], 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 - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004012ad
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409d73
push ebx
call fcn.00418014
add esp, 4
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x419a30
call fcn.00418026
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x4cc067
push dword [ebp - 0x1c]
push 0x4ba8cd
mov ecx, 3
call fcn.004010d0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x409dc0
push ebx
call fcn.00418014
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x409dd3
mov eax, 0x4ba8cf
push eax
push 0x10005
push 0x1601013e
push 0x52010006
push 2
mov ebx, 0x41a6c0
call fcn.00418026
add esp, 0x1c
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409e05
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.Keep_Alive
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.Connection
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409e47
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409e57
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, 0x4bbfe7
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.Accept
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409e99
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409ea9
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_91.0.4472.77_Safari_537.36
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409eeb
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409efb
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.www.douyin.com
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.Host
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409f3d
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409f4d
push ebx
call fcn.00418014
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.0041800e
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
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
push dword [ebp - 0x34]
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
push 1
push 1
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
lea eax, [ebp - 0x14]
push eax
push 1
push 0x5341a8
push 1
push 0x5341a4
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push 0
push 0x5341b4
call fcn.00401701
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40a065
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a075
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a085
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a095
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a0a5
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a0b5
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a0c5
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x24]
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 - 0x4c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a0fc
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00407323
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00408fdf
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a128
push ebx
call fcn.00418014
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a13c
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x4cc08d
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str._a_href_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00404afe
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a18c
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a19c
push ebx
call fcn.00418014
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [0x5341b8]
test ebx, ebx
je 0x40a1b3
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [0x5341b8], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x4babc0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.ticket
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00404afe
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a205
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a215
push ebx
call fcn.00418014
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [0x5341bc]
test ebx, ebx
je 0x40a22c
push ebx
call fcn.00418014
add esp, 4
pop eax
mov dword [0x5341bc], eax
call fcn.0040a26b
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a257
push ebx
call fcn.00418014
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a267
push ebx
call fcn.00418014
add esp, 4
mov esp, ebp
pop ebp
ret