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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7107
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x63506c]
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 0x421323
mov eax, dword [edi]
jmp 0x421325
mov eax, edi
mov byte [eax], 0
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x42133a
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 0x421383
xor ecx, ecx
jmp 0x421391
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421388
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004229d0
push 1
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.00422070
push eax
push 0
lea ecx, [ebp - 0x42c]
call fcn.00422b10
push 1
sub esp, 8
lea ecx, [ebp - 0x42c]
call fcn.00422000
lea ecx, [eax + 1]
cmp dword [ebp - 0x41c], ecx
jae 0x4213e5
push str.invalid_string_position
call fcn.0043fd09
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 3
cmovae eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], ecx
push 0
push 0x61c5d8
mov byte [eax + ecx], 0
lea ecx, [ebp - 0x42c]
call fcn.00422670
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42151f
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.00422670
sub eax, ebx
lea ecx, [ebp - 0x42c]
sub eax, 3
push eax
push esi
lea eax, [ebp - 0x47c]
push eax
call fcn.004225c0
push eax
lea eax, [ebp - 0x464]
mov byte [ebp - 4], 2
push str.Host:
push eax
call fcn.00422100
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x444]
cmp eax, esi
je 0x4214c4
mov eax, dword [ebp - 0x430]
cmp eax, 0x10
jb 0x42149d
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.00423840
push esi
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
call fcn.00422bb0
mov eax, dword [ebp - 0x450]
cmp eax, 0x10
jb 0x4214e2
inc eax
lea ecx, [ebp - 0x464]
push eax
push dword [ebp - 0x464]
call fcn.00423840
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 0x42151f
inc eax
lea ecx, [ebp - 0x47c]
push eax
push dword [ebp - 0x47c]
call fcn.00423840
push str.Accept:__
push 0
call fcn.0048dfa0
push str.Accept_Language:_zh_CN
push eax
call fcn.0048dfa0
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.0048dfa0
cmp dword [ebp - 0x430], 0x10
lea ecx, [ebp - 0x444]
cmovae ecx, dword [ebp - 0x444]
push ecx
push eax
call fcn.0048dfa0
push str.Connection:_Keep_Alive
push eax
call fcn.0048dfa0
add esp, 0x28
mov esi, eax
cmp dword [ebp + 0xc], 3
jne 0x421582
push str.X_HTTP_Method_Override:_PATCH
push esi
call fcn.0048dfa0
add esp, 8
mov esi, eax
mov ebx, dword [ebp - 0x448]
test ebx, ebx
je 0x42161b
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0058b9c0
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0058f85f
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0
push eax
lea eax, [ebp - 0x410]
push 0x61c6dc
push eax
call fcn.0058f81d
mov edx, eax
add esp, 0x24
test edx, edx
je 0x42161b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4215e5
sub ecx, ebx
cmp ecx, 1
jbe 0x4215ff
push edx
push esi
call fcn.0048dfa0
add esp, 8
mov esi, eax
lea eax, [ebp - 0x448]
push eax
push 0x61c6dc
push 0
call fcn.0058f81d
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x4215e0
push esi
push 0x2727
push dword [edi + 0x30]
call fcn.0048de70
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x42164e
cmp eax, 1
jne 0x42163d
push eax
push 0x50
jmp 0x42165b
cmp eax, 3
jne 0x42164e
push str.PATCH
push 0x2734
jmp 0x42165b
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x421666
push eax
push 0x2728
push dword [edi + 0x30]
call fcn.0048de70
add esp, 0xc
push dword [ebp - 0x44c]
push 0x2712
push dword [edi + 0x30]
call fcn.0048de70
push dword [edi + 0x30]
call fcn.0048ac10
mov ebx, eax
add esp, 0x10
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4216a4
push eax
call fcn.0048e2f0
add esp, 4
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
test ebx, ebx
je 0x4216e1
push ebx
call fcn.0048e4d0
mov edx, eax
add esp, 4
cmp byte [edx], 0
jne 0x4216bc
xor ecx, ecx
jmp 0x4216ca
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4216c1
sub ecx, ebx
push ecx
push edx
lea ecx, [edi + 0x34]
call fcn.004229d0
push esi
call fcn.0048dfe0
add esp, 4
xor bl, bl
jmp 0x4216ec
push esi
call fcn.0048dfe0
add esp, 4
mov bl, 1
mov eax, dword [ebp - 0x418]
cmp eax, 0x10
jb 0x42170a
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.00423840
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
cmp ecx, 0x10
jb 0x421743
inc ecx
push ecx
push dword [ebp - 0x444]
lea ecx, [ebp - 0x444]
call fcn.00423840
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.00572b23
mov esp, ebp
pop ebp
ret 0xc