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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c66dd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4fa534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edi, [ecx + 0x50]
mov dword [ebp - 0x44], eax
mov ecx, edi
movq xmm0, qword [str.User_Agent]
mov dword [ebp - 0x5c], eax
mov ax, word [0x4e94dc]
mov word [ebp - 0x20], ax
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 0xa
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], 0
call fcn.00410580
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0xd], 0
jne 0x40e96d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e970
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x50]
jne 0x40e992
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.User_Agent
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.4044.92_Safari_537.36
push eax
mov ecx, edi
call fcn.004103b0
mov ax, word [0x4e9508]
mov ecx, edi
movq xmm0, qword [str.Connection]
mov word [ebp - 0x20], ax
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 0xa
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], 0
call fcn.00410580
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0xd], 0
jne 0x40e9e9
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e9ec
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x50]
jne 0x40ea0e
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.User_Agent
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], 0x4e8ce4
push eax
mov ecx, edi
call fcn.004103b0
mov ax, word [0x4e9510]
mov ecx, edi
mov esi, dword [str.Accept]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x22], 0
call fcn.00410580
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
cmp byte [eax + 0xd], 0
jne 0x40ea5f
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40ea64
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
cmp dword [ebp - 0x44], eax
jne 0x40ea88
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.Accept
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], 0x4e8c6c
push eax
mov ecx, edi
call fcn.004103b0
push 0xa
push str.Connection
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00406f50
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00410580
mov esi, dword [ebp - 0x50]
cmp byte [esi + 0xd], 0
jne 0x40eada
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40eadd
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40eb11
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ece9
push edx
push ecx
call fcn.0043c464
add esp, 8
cmp esi, dword [ebp - 0x44]
jne 0x40eb33
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.Connection
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], str.Keep_Alive
push eax
mov ecx, edi
call fcn.004103b0
push 0xf
push str.Accept_Language
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00406f50
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00410580
mov esi, dword [ebp - 0x50]
cmp byte [esi + 0xd], 0
jne 0x40eb85
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40eb88
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ebbc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ece9
push edx
push ecx
call fcn.0043c464
add esp, 8
cmp esi, dword [ebp - 0x44]
jne 0x40ebde
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], str.Accept_Language
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], str.zh_CN_zh_q0.9
push eax
mov ecx, edi
call fcn.004103b0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x40eca4
nop word [eax + eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x40ec1c
mov ecx, dword [esi + 0x10]
push dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404ba0
push 2
push 0x4e9538
lea ecx, [ebp - 0x40]
call fcn.00404ba0
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x40ec43
mov ecx, dword [esi + 0x28]
push dword [esi + 0x38]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404ba0
push 2
push 0x4e8c4c
lea ecx, [ebp - 0x40]
call fcn.00404ba0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x40ec84
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40ec80
cmp esi, dword [eax + 8]
jne 0x40ec80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40ec70
mov esi, eax
jmp 0x40ec9c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40ec9c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x40ec90
cmp esi, dword [edi]
jne 0x40ec10
mov eax, dword [ebp - 0x5c]
movups xmm0, xmmword [ebp - 0x40]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c480
mov esp, ebp
pop ebp
ret 4
call fcn.00470977
int3