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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62e608
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6bae70]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x6bae70]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x28]
push 0xa
push str.User_Agent
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00422c80
mov edi, dword [ebx + 0x50]
lea eax, [esp + 0x28]
add ebx, 0x50
push eax
mov ecx, ebx
call fcn.004482c0
mov esi, eax
cmp esi, dword [ebx]
je 0x49e91e
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x49e903
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x34]
push 0
call fcn.004970e0
test eax, eax
js 0x49e91e
mov dword [esp + 0x18], esi
jmp 0x49e924
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
cmp dword [eax], edi
sete al
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x17], al
jb 0x49e948
push dword [esp + 0x28]
call fcn.005e8fa6
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x49e97a
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.User_Agent
push eax
mov ecx, ebx
mov dword [esp + 0x20], str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.4044.92_Safari_537.36
call fcn.0049f640
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00468fc0
push 0xa
push str.Connection
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00422c80
mov edi, dword [ebx]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004482c0
mov esi, eax
cmp esi, dword [ebx]
je 0x49e9dc
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x49e9c1
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x34]
push 0
call fcn.004970e0
test eax, eax
js 0x49e9dc
mov dword [esp + 0x18], esi
jmp 0x49e9e2
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
cmp dword [eax], edi
sete al
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x17], al
jb 0x49ea06
push dword [esp + 0x28]
call fcn.005e8fa6
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x49ea38
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.User_Agent
push eax
mov ecx, ebx
mov dword [esp + 0x20], 0x68e0b8
call fcn.0049f640
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00468fc0
push 6
push str.Accept
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00422c80
mov edi, dword [ebx]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004482c0
mov esi, eax
cmp esi, dword [ebx]
je 0x49ea9a
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x49ea7f
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x34]
push 0
call fcn.004970e0
test eax, eax
js 0x49ea9a
mov dword [esp + 0x18], esi
jmp 0x49eaa0
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
cmp dword [eax], edi
sete al
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x17], al
jb 0x49eac4
push dword [esp + 0x28]
call fcn.005e8fa6
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x49eaf6
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.Accept
push eax
mov ecx, ebx
mov dword [esp + 0x20], 0x68e0b4
call fcn.0049f640
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00468fc0
push 0xa
push str.Connection
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00422c80
mov edi, dword [ebx]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004482c0
mov esi, eax
cmp esi, dword [ebx]
je 0x49eb58
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x49eb3d
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x34]
push 0
call fcn.004970e0
test eax, eax
js 0x49eb58
mov dword [esp + 0x18], esi
jmp 0x49eb5e
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
cmp dword [eax], edi
sete al
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x17], al
jb 0x49eb82
push dword [esp + 0x28]
call fcn.005e8fa6
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x49ebb4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.Connection
push eax
mov ecx, ebx
mov dword [esp + 0x20], str.Keep_Alive
call fcn.0049f640
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00468fc0
push 0xf
push str.Accept_Language
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00422c80
mov edi, dword [ebx]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004482c0
mov esi, eax
cmp esi, dword [ebx]
je 0x49ec16
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x49ebfb
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x34]
push 0
call fcn.004970e0
test eax, eax
js 0x49ec16
mov dword [esp + 0x18], esi
jmp 0x49ec1c
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
cmp dword [eax], edi
sete al
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x17], al
jb 0x49ec40
push dword [esp + 0x28]
call fcn.005e8fa6
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x49ec72
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.Accept_Language
push eax
mov ecx, ebx
mov dword [esp + 0x20], str.zh_CN_zh_q0.9
call fcn.0049f640
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00468fc0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x68], 0
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x49ed2f
jmp 0x49eca0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x4c]
call fcn.004246f0
push 2
push 0x68e568
lea ecx, [esp + 0x48]
call fcn.004296c0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.004246f0
push 2
push 0x68df98
lea ecx, [esp + 0x48]
call fcn.004296c0
cmp byte [esi + 0xd], 0
jne 0x49ed27
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x49ed0c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x49ed27
jmp 0x49ed00
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x49ed00
jmp 0x49ed27
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x49ed25
cmp esi, dword [eax + 8]
jne 0x49ed25
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x49ed15
mov esi, eax
cmp esi, dword [ebx]
jne 0x49eca0
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov edx, dword [esp + 0x54]
cmp edx, 0x10
jae 0x49ed69
mov eax, dword [esp + 0x50]
inc eax
je 0x49ed6f
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.005e90f0
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x49ed6f
mov ecx, dword [esp + 0x40]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x50]
mov eax, ebx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005e9734
mov esp, ebp
pop ebp
ret 4