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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebe67
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x52c0cc]
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 0x408313
mov eax, dword [edi]
jmp 0x408315
mov eax, edi
mov byte [eax], 0
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x40832a
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 0x408373
xor ecx, ecx
jmp 0x408381
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408378
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x42c]
call fcn.00406ed0
push 1
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.00409590
push eax
push 0
lea ecx, [ebp - 0x42c]
call fcn.004073d0
push 1
sub esp, 8
lea ecx, [ebp - 0x42c]
call fcn.00409520
lea ecx, [eax + 1]
cmp dword [ebp - 0x41c], ecx
jae 0x4083d5
push str.invalid_string_position
call fcn.00468937
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 3
cmovae eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], ecx
push 0
push 0x51332c
mov byte [eax + ecx], 0
lea ecx, [ebp - 0x42c]
call fcn.00409620
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40850f
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.00409620
sub eax, ebx
lea ecx, [ebp - 0x42c]
sub eax, 3
push eax
push esi
lea eax, [ebp - 0x47c]
push eax
call fcn.00409180
push eax
lea eax, [ebp - 0x464]
mov byte [ebp - 4], 2
push str.Host:
push eax
call fcn.00409940
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x444]
cmp eax, esi
je 0x4084b4
mov eax, dword [ebp - 0x430]
cmp eax, 0x10
jb 0x40848d
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.00407160
push esi
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
call fcn.00409890
mov eax, dword [ebp - 0x450]
cmp eax, 0x10
jb 0x4084d2
inc eax
lea ecx, [ebp - 0x464]
push eax
push dword [ebp - 0x464]
call fcn.00407160
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 0x40850f
inc eax
lea ecx, [ebp - 0x47c]
push eax
push dword [ebp - 0x47c]
call fcn.00407160
push str.Accept:__
push 0
call fcn.0046bce0
push str.Accept_Language:_zh_CN
push eax
call fcn.0046bce0
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.0046bce0
cmp dword [ebp - 0x430], 0x10
lea ecx, [ebp - 0x444]
cmovae ecx, dword [ebp - 0x444]
push ecx
push eax
call fcn.0046bce0
push str.Connection:_Keep_Alive
push eax
call fcn.0046bce0
add esp, 0x28
mov esi, eax
cmp dword [ebp + 0xc], 3
jne 0x408572
push str.X_HTTP_Method_Override:_PATCH
push esi
call fcn.0046bce0
add esp, 8
mov esi, eax
mov ebx, dword [ebp - 0x448]
test ebx, ebx
je 0x40860b
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004c5270
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.004c873e
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0
push eax
lea eax, [ebp - 0x410]
push 0x513434
push eax
call fcn.004c8426
mov edx, eax
add esp, 0x24
test edx, edx
je 0x40860b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4085d5
sub ecx, ebx
cmp ecx, 1
jbe 0x4085ef
push edx
push esi
call fcn.0046bce0
add esp, 8
mov esi, eax
lea eax, [ebp - 0x448]
push eax
push 0x513434
push 0
call fcn.004c8426
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x4085d0
push esi
push 0x2727
push dword [edi + 0x30]
call fcn.0046f2f0
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x40863e
cmp eax, 1
jne 0x40862d
push eax
push 0x50
jmp 0x40864b
cmp eax, 3
jne 0x40863e
push str.PATCH
push 0x2734
jmp 0x40864b
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x408656
push eax
push 0x2728
push dword [edi + 0x30]
call fcn.0046f2f0
add esp, 0xc
push dword [ebp - 0x44c]
push 0x2712
push dword [edi + 0x30]
call fcn.0046f2f0
push dword [edi + 0x30]
call fcn.0046b960
mov ebx, eax
add esp, 0x10
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x408694
push eax
call fcn.0046c030
add esp, 4
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
test ebx, ebx
je 0x4086d1
push ebx
call fcn.0046c210
mov edx, eax
add esp, 4
cmp byte [edx], 0
jne 0x4086ac
xor ecx, ecx
jmp 0x4086ba
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4086b1
sub ecx, ebx
push ecx
push edx
lea ecx, [edi + 0x34]
call fcn.00406ed0
push esi
call fcn.0046bd20
add esp, 4
xor bl, bl
jmp 0x4086dc
push esi
call fcn.0046bd20
add esp, 4
mov bl, 1
mov eax, dword [ebp - 0x418]
cmp eax, 0x10
jb 0x4086fa
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.00407160
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x408733
inc ecx
push ecx
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.00407160
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.004abe1b
mov esp, ebp
pop ebp
ret 0xc