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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
call fcn.0042d05f
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebx], 0x83bb15
push ebx
add ebx, 4
push ebx
push 0x28
call fcn.0042d05f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0x83bb61
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0042d05f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x82ee98
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040746b
pop ebx
mov dword [ebp - 8], 0
push 1
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 3
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
push 1
push 0xbb8
push 1
push 0xbb8
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
push dword [ebp + 8]
push 1
mov eax, 0x83ba4a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c9b8
push ebx
call fcn.0042d065
add esp, 4
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40c9fe
push dword [ebp + 0xc]
mov eax, str.cookie
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c9fe
push ebx
call fcn.0042d065
add esp, 4
mov eax, str.keep_alive
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.Connection
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ca34
push ebx
call fcn.0042d065
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ca44
push ebx
call fcn.0042d065
add esp, 4
mov eax, str.zh_CN_zh_q0.9
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ca7a
push ebx
call fcn.0042d065
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ca8a
push ebx
call fcn.0042d065
add esp, 4
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_72.0.3626.81_Safari_537.36_SE_2.X_MetaSr_1.0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40cac0
push ebx
call fcn.0042d065
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40cad0
push ebx
call fcn.0042d065
add esp, 4
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40cb2a
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cb24
push ebx
call fcn.0042d065
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x40cb43
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0042d065
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40cb64
push ebx
call fcn.0042d065
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14