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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f29f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x686300]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x20]
push 0xa
push str.User_Agent
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00421120
mov esi, dword [edi + 0x50]
lea eax, [esp + 0x20]
add edi, 0x50
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00429420
cmp dword [eax], esi
sete al
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x13], al
jb 0x4289e0
push dword [esp + 0x20]
call fcn.005b7634
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x428a13
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.User_Agent
push eax
mov ecx, edi
mov dword [esp + 0x1c], 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.0042a010
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x20]
push eax
call fcn.00429cc0
push 0xa
push str.Connection
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00421120
mov esi, dword [edi]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00429420
cmp dword [eax], esi
sete al
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x13], al
jb 0x428a6b
push dword [esp + 0x20]
call fcn.005b7634
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x428a9e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.User_Agent
push eax
mov ecx, edi
mov dword [esp + 0x1c], str.HTTP_1.1
call fcn.0042a010
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x20]
push eax
call fcn.00429cc0
push 6
push str.Accept
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00421120
mov esi, dword [edi]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00429420
cmp dword [eax], esi
sete al
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x13], al
jb 0x428af6
push dword [esp + 0x20]
call fcn.005b7634
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x428b29
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Accept
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0x65ba00
call fcn.0042a010
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x20]
push eax
call fcn.00429cc0
push 0xa
push str.Connection
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00421120
mov esi, dword [edi]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00429420
cmp dword [eax], esi
sete al
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x13], al
jb 0x428b81
push dword [esp + 0x20]
call fcn.005b7634
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x428bb4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Connection
push eax
mov ecx, edi
mov dword [esp + 0x1c], str.Keep_Alive
call fcn.0042a010
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x20]
push eax
call fcn.00429cc0
push 0xf
push str.Accept_Language
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00421120
mov esi, dword [edi]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00429420
cmp dword [eax], esi
sete al
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x13], al
jb 0x428c0c
push dword [esp + 0x20]
call fcn.005b7634
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x428c3f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Accept_Language
push eax
mov ecx, edi
mov dword [esp + 0x1c], str.zh_CN_zh_q0.9
call fcn.0042a010
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x20]
push eax
call fcn.00429cc0
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x60], 0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x428cf2
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x44]
call fcn.00423410
push 2
push 0x65b9d8
lea ecx, [esp + 0x40]
call fcn.00423510
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.00423410
push 2
push 0x65b9e0
lea ecx, [esp + 0x40]
call fcn.00423510
cmp byte [esi + 0xd], 0
jne 0x428cea
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x428ccf
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x428cea
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x428cc3
jmp 0x428cea
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x428ce8
cmp esi, dword [eax + 8]
jne 0x428ce8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x428cd8
mov esi, eax
cmp esi, dword [edi]
jne 0x428c68
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
jae 0x428d28
mov eax, dword [esp + 0x48]
inc eax
je 0x428d2e
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.005b7780
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x428d2e
mov ecx, dword [esp + 0x38]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x48]
mov eax, ebx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005b7dc4
mov esp, ebp
pop ebp
ret 4