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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4ea7
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x52038c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], eax
mov dword [edi + 0x10], 0
jb 0x402703
mov eax, dword [edi]
jmp 0x402705
mov eax, edi
mov byte [eax], 0
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x40271a
mov eax, dword [eax]
mov byte [eax], 0
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 0
cmp byte [ebx], 0
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
jne 0x402763
xor ecx, ecx
jmp 0x402771
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402768
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004039c0
push 1
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.00403150
push eax
push 0
lea ecx, [ebp - 0x42c]
call fcn.00403bb0
push 1
sub esp, 8
lea ecx, [ebp - 0x42c]
call fcn.004030e0
lea ecx, [eax + 1]
cmp dword [ebp - 0x41c], ecx
jae 0x4027c5
push str.invalid_string_position
call fcn.00418611
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 3
cmovae eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], ecx
push 0
push 0x50d5a8
mov byte [eax + ecx], 0
lea ecx, [ebp - 0x42c]
call fcn.00403790
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4028ff
push 1
lea esi, [ebx + 3]
mov byte [ebp - 0x414], 0x2f
push esi
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00403790
sub eax, ebx
lea ecx, [ebp - 0x42c]
sub eax, 3
push eax
push esi
lea eax, [ebp - 0x47c]
push eax
call fcn.004036e0
push eax
lea eax, [ebp - 0x464]
mov byte [ebp - 4], 2
push str.Host:
push eax
call fcn.004031e0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x444]
cmp eax, esi
je 0x4028a4
mov eax, dword [ebp - 0x430]
cmp eax, 0x10
jb 0x40287d
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.004049b0
push esi
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
call fcn.00403c50
mov eax, dword [ebp - 0x450]
cmp eax, 0x10
jb 0x4028c2
inc eax
lea ecx, [ebp - 0x464]
push eax
push dword [ebp - 0x464]
call fcn.004049b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x450], 0xf
mov dword [ebp - 0x454], 0
mov byte [ebp - 0x464], 0
cmp eax, 0x10
jb 0x4028ff
inc eax
lea ecx, [ebp - 0x47c]
push eax
push dword [ebp - 0x47c]
call fcn.004049b0
push str.Accept:__
push 0
call fcn.0046fa20
push str.Accept_Language:_zh_CN
push eax
call fcn.0046fa20
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_70.0.3538.25_Safari_537.36_Core_1.70.3878.400_QQBrowser_10.8.4518.400
push eax
call fcn.0046fa20
cmp dword [ebp - 0x430], 0x10
lea ecx, [ebp - 0x444]
cmovae ecx, dword [ebp - 0x444]
push ecx
push eax
call fcn.0046fa20
push str.Connection:_Keep_Alive
push eax
call fcn.0046fa20
mov ebx, dword [ebp - 0x448]
add esp, 0x28
mov esi, eax
test ebx, ebx
je 0x4029eb
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004be240
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.004c18e8
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0
push eax
lea eax, [ebp - 0x410]
push 0x50d68c
push eax
call fcn.004c18a6
mov edx, eax
add esp, 0x24
test edx, edx
je 0x4029eb
nop word [eax + eax]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4029b5
sub ecx, ebx
cmp ecx, 1
jbe 0x4029cf
push edx
push esi
call fcn.0046fa20
add esp, 8
mov esi, eax
lea eax, [ebp - 0x448]
push eax
push 0x50d68c
push 0
call fcn.004c18a6
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x4029b0
push esi
push 0x2727
push dword [edi + 0x30]
call fcn.0046f8f0
mov eax, dword [edi + 0x4c]
add esp, 0xc
test eax, eax
je 0x402a14
push eax
push 0x2728
push dword [edi + 0x30]
call fcn.0046f8f0
add esp, 0xc
push dword [ebp - 0x44c]
push 0x2712
push dword [edi + 0x30]
call fcn.0046f8f0
push dword [edi + 0x30]
call fcn.0046cca0
mov ebx, eax
add esp, 0x10
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x402a52
push eax
call fcn.0046fd70
add esp, 4
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
test ebx, ebx
je 0x402a90
push ebx
call fcn.0046ff50
mov edx, eax
add esp, 4
cmp byte [edx], 0
jne 0x402a6a
xor ecx, ecx
jmp 0x402a79
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402a70
sub ecx, ebx
push ecx
push edx
lea ecx, [edi + 0x34]
call fcn.004039c0
push esi
call fcn.0046fa60
add esp, 4
xor bl, bl
jmp 0x402a9b
push esi
call fcn.0046fa60
add esp, 4
mov bl, 1
mov eax, dword [ebp - 0x418]
cmp eax, 0x10
jb 0x402ab9
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.004049b0
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x402af2
inc ecx
push ecx
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.004049b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c3a
mov esp, ebp
pop ebp
ret 0xc