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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6fc5203a
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
cmp ecx, 4
ja 0x6fc52021
test ecx, ecx
je 0x6fc52007
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x24], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.6fc52050
movzx eax, byte [esp + 0xc]
test al, al
je 0x6fc51ead
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0xd]
lea ecx, [ebx + ecx - 1]
neg ebx
and ecx, ebx
mov dword [eax + 0x14], ecx
mov edx, dword [edx]
add ecx, edx
mov dword [eax + 0x14], ecx
mov ecx, eax
jmp 0x6fc51fff
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 8], ecx
mov ecx, dword [0x700a7770]
test ecx, ecx
jne 0x6fc51ed1
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x6fc51eda
mov eax, dword [esp + 0x3c]
call fcn.6fc61f00
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0xd]
lea ecx, [ebx + ecx - 1]
neg ebx
and ecx, ebx
mov dword [edi + 0x10], ecx
xor eax, eax
lea edi, [esp + 0x28]
call fcn.6fc6219b
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x30], ebp
mov eax, edx
mov edx, dword [edx]
mov dword [esp + 0x38], edx
mov esi, edx
mov edx, dword [ecx]
mov edi, ebp
mov ebp, dword [ecx + 4]
test ebp, ebp
jne 0x6fc51f31
mov edx, 1
jmp 0x6fc51f7b
lea ebp, [ebp + ebp*4]
lea eax, [edx + ebp*4 - 0x14]
cmp dword [eax], 1
je 0x6fc51f42
xor eax, eax
jmp 0x6fc51f72
mov eax, dword [edx + ebp*4 - 0x10]
mov ecx, dword [edx + ebp*4 - 4]
add eax, ecx
cmp ebx, eax
jne 0x6fc51f6c
mov eax, dword [edx + ebp*4 - 0xc]
add eax, ecx
cmp edi, eax
jne 0x6fc51f6c
lea eax, [ecx + esi]
mov dword [edx + ebp*4 - 4], eax
mov ecx, dword [esp + 0x44]
mov eax, 1
jmp 0x6fc51f72
mov ecx, dword [esp + 0x44]
xor eax, eax
xor eax, 1
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x6fc51ffa
mov edx, dword [ecx + 4]
lea ebx, [edx + 1]
mov ebp, dword [ecx]
mov esi, eax
mov eax, dword [ecx + 8]
cmp eax, ebx
jae 0x6fc51fde
lea ecx, [0x6fe691c0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.6fc4af30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], edx
mov edx, dword [0x700a7770]
test edx, edx
jne 0x6fc51fcf
mov dword [edi], eax
jmp 0x6fc51fd4
call fcn.6fc61f00
mov esi, dword [esp + 0x48]
mov edx, ecx
mov ebp, eax
mov ecx, edi
lea eax, [edx + 1]
mov dword [ecx + 4], eax
lea eax, [edx + edx*4]
lea edi, [ebp + eax*4]
mov eax, esi
lea esi, [esp + 0x28]
call fcn.6fc6267e
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
add dword [ecx + 0x10], eax
add dword [ecx + 0xc], 4
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
movzx eax, byte [eax + 0xd]
lea edx, [eax + edx - 1]
neg eax
and edx, eax
mov dword [ecx + 0x10], edx
add esp, 0x40
ret
lea eax, [0x6fe514c0]
mov dword [esp], eax
lea eax, [0x6fede9fc]
mov dword [esp + 4], eax
call fcn.6fc36660
nop
call fcn.6fc60ad0
jmp fcn.6fc51e20