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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c669d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 esi, ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x60], eax
jne 0x40e49d
push 8
push 0x4e8ce4
lea ecx, [esi + 8]
call fcn.00406f50
mov ax, word [0x4e94dc]
lea edi, [esi + 0x50]
movq xmm0, qword [str.User_Agent]
mov ecx, edi
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 0x40e4f7
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e4fa
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x50]
jne 0x40e51c
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 0x40e573
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e576
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x50]
jne 0x40e598
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 0x40e5e9
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e5ee
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
cmp dword [ebp - 0x44], eax
jne 0x40e612
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 0x40e664
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e667
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40e69b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e691
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d3
push edx
push ecx
call fcn.0043c464
add esp, 8
cmp esi, dword [ebp - 0x44]
jne 0x40e6bd
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 0x40e70f
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410760
test al, al
je 0x40e712
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40e746
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e73c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d3
push edx
push ecx
call fcn.0043c464
add esp, 8
cmp esi, dword [ebp - 0x44]
jne 0x40e768
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
push 4
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.GET
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406f50
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
lea eax, [esi + 0x38]
push eax
call fcn.0040f920
push 1
push 0x4e9534
lea ecx, [ebp - 0x40]
call fcn.00404ba0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f920
push 2
push 0x4e8c4c
lea ecx, [ebp - 0x40]
call fcn.00404ba0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x40e874
nop dword [eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x40e7ec
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 0x40e813
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 0x40e854
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40e850
cmp esi, dword [eax + 8]
jne 0x40e850
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40e840
mov esi, eax
jmp 0x40e86c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40e86c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x40e860
cmp esi, dword [edi]
jne 0x40e7e0
push 0x4e8c4c
lea ecx, [ebp - 0x40]
call fcn.00404c00
push 0x4e8c4c
lea ecx, [ebp - 0x40]
call fcn.00404c00
mov eax, dword [ebp - 0x60]
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 8
call fcn.00470977
int3