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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673a08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x74b738]
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 - 0x48], eax
mov edx, dword [str.User_Agent]
mov ecx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487355
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a9a0
mov edi, dword [esi + 0x50]
lea eax, [ebp - 0x28]
add esi, 0x50
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004881a0
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp edx, 0x10
jb 0x4873bb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4873ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4873ae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, edi
jne 0x4873eb
mov eax, dword [str.User_Agent]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.4044.92_Safari_537.36]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a020
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00489cb0
mov edx, dword [str.Connection]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487408
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a9a0
mov edi, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004881a0
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp edx, 0x10
jb 0x48746a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48745d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48745d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, edi
jne 0x48749a
mov eax, dword [str.User_Agent]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [str.HTTP_1.1]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a020
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00489cb0
mov edx, dword [str.Accept]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4874b7
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a9a0
mov edi, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004881a0
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp edx, 0x10
jb 0x487519
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48750c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48750c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, edi
jne 0x487549
mov eax, dword [str.Accept]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [0x74bb84]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a020
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00489cb0
mov edx, dword [str.Connection]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487566
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a9a0
mov edi, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004881a0
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp edx, 0x10
jb 0x4875c8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4875bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4875bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, edi
jne 0x4875f8
mov eax, dword [str.Connection]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [str.Keep_Alive]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a020
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00489cb0
mov edx, dword [str.Accept_Language]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487615
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a9a0
mov edi, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004881a0
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp edx, 0x10
jb 0x487677
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48766a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48766a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, edi
jne 0x4876a7
mov eax, dword [str.Accept_Language]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [str.zh_CN_zh_q0.9]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a020
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00489cb0
xor edi, edi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov esi, dword [eax]
cmp esi, eax
je 0x48784c
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4876d2
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp - 0x2c]
sub eax, edi
mov dword [ebp - 0x44], ecx
push ecx
push edx
cmp ecx, eax
ja 0x487708
cmp dword [ebp - 0x2c], 0x10
lea eax, [edi + ecx]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
add edi, eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x487718
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00429b60
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push 2
push 0x6d195c
cmp eax, 2
jb 0x48774f
cmp edx, 0x10
lea edi, [ebp - 0x40]
lea eax, [ecx + 2]
cmovae edi, dword [ebp - 0x40]
add edi, ecx
mov dword [ebp - 0x30], eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + 2], 0
jmp 0x487760
mov byte [ebp - 0x54], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x54]
push 2
call fcn.00429b60
cmp dword [esi + 0x3c], 0x10
lea edx, [esi + 0x28]
jb 0x48776c
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub eax, edi
mov dword [ebp - 0x44], ecx
push ecx
push edx
cmp ecx, eax
ja 0x4877a5
cmp dword [ebp - 0x2c], 0x10
lea eax, [ecx + edi]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
add edi, eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x4877b5
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00429b60
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push 2
push 0x6e96ec
cmp eax, 2
jb 0x4877ec
cmp edx, 0x10
lea edi, [ebp - 0x40]
lea eax, [ecx + 2]
cmovae edi, dword [ebp - 0x40]
add edi, ecx
mov dword [ebp - 0x30], eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + 2], 0
jmp 0x4877fd
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
push 2
call fcn.00429b60
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x487824
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x487820
nop
cmp esi, dword [eax + 8]
jne 0x487820
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x487810
mov esi, eax
jmp 0x48783c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x48783c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x487830
mov eax, dword [ebp - 0x5c]
cmp esi, dword [eax + 0x50]
je 0x48784c
mov edi, dword [ebp - 0x30]
jmp 0x4876c6
mov eax, dword [ebp - 0x60]
movups xmm0, xmmword [ebp - 0x40]
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.00669a1e
mov esp, ebp
pop ebp
ret 4