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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xe8]
cmp eax, dword [ecx + 8]
jbe 0x6fd59b21
sub esp, 0x168
mov ecx, dword [esp + 0x18c]
lea eax, [ecx - 0x10]
cmp ecx, eax
jb 0x6fd59b1b
mov dword [esp + 0x34], eax
lea edi, [esp + 0x40]
xor eax, eax
call fcn.6fc62198
mov ecx, dword [esp + 0x16c]
test byte [ecx], al
lea edi, [esp + 0xb0]
call fcn.6fc62176
lea ecx, [esp + 0xb0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x20
mov dword [esp + 0xc], 0x20
mov ecx, dword [esp + 0x17c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x18], ecx
call fcn.6fd56500
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x164], ecx
mov dword [esp], ecx
lea edx, [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x20
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x18], 0x20
call fcn.6fd56850
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x18c]
sub ecx, edx
add ecx, 0x10
mov ebp, ecx
neg ecx
sar ecx, 0x1f
mov esi, dword [esp + 0x34]
and ecx, esi
mov eax, ebp
mov ebp, dword [esp + 0x188]
add ecx, ebp
nop
mov edi, ecx
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 0x70]
shr ebx, 6
sub edx, ebx
movzx ebx, byte [ecx + 0x74]
test bl, bl
jne 0x6fd59b03
cmp edx, 1
ja 0x6fd59b03
mov dword [esp + 0x38], eax
mov dword [esp + 0x160], edi
mov edx, dword [esp + 0x3c]
cmp edx, 1
jbe 0x6fd59839
dec edx
shl edx, 6
mov dword [ecx + 0x70], edx
jmp 0x6fd59847
mov dword [ecx + 0x20], 1
mov dword [ecx + 0x70], 0
lea edi, [esp + 0x60]
xor eax, eax
call fcn.6fc6218c
lea ecx, [esp + 0x40]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.6fd57d60
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x194]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x198]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0xc], ebx
call fcn.6fd590f0
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x188]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x190]
mov dword [esp + 0xc], ebp
call fcn.6fd590f0
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x198]
mov dword [esp + 4], edx
call fcn.6fd591e0
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.6fd591e0
nop
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x18c]
lea edx, [ecx + eax - 0x10]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x178]
cmp ebx, edx
jl 0x6fd59919
jb 0x6fd59afa
mov ebp, dword [esp + 0x170]
jmp 0x6fd59954
lea ecx, [0x6fe51840]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x170]
mov dword [esp + 0xc], ecx
call fcn.6fc4aca0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x30]
mov ebx, edx
mov ebp, eax
mov eax, dword [esp + 0x174]
cmp eax, edx
ja 0x6fd59af3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x158], ebp
mov esi, ebx
sub ebx, eax
mov dword [esp + 0x2c], ebx
mov edi, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 0x15c], eax
cmp ecx, 0x10
jne 0x6fd5998f
mov ebx, dword [esp + 0x188]
jmp 0x6fd599c1
jne 0x6fd5999a
mov ebx, dword [esp + 0x188]
jmp 0x6fd599c1
mov ebx, dword [esp + 0x188]
cmp ebx, eax
je 0x6fd599c1
nop
lea esi, [ebx + ecx - 0x11]
cmp esi, eax
jb 0x6fd599c1
mov esi, dword [esp + 0x15c]
lea edx, [esi + ecx - 0x11]
cmp edx, ebx
jae 0x6fd59adb
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.6fd57a00
movzx eax, byte [esp + 0x10]
test al, al
jne 0x6fd59a56
mov eax, dword [esp + 0x18c]
cmp eax, 0x10
je 0x6fd59a14
mov eax, dword [esp + 0x15c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.6fc626c0
mov eax, dword [0x700809e0]
mov ecx, dword [0x700809e4]
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], ecx
add esp, 0x168
ret
mov eax, dword [esp + 0x164]
mov dword [esp], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x18], eax
call fcn.6fd56850
mov eax, dword [esp + 0x158]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
add esp, 0x168
ret
lea eax, [0x6fe514c0]
mov dword [esp], eax
lea eax, [0x6fede83c]
mov dword [esp + 4], eax
call fcn.6fc36660
mov ecx, edx
call fcn.6fc61fe0
mov ecx, edx
mov edx, ebx
call fcn.6fc61fc0
lea eax, [0x6fe514c0]
mov dword [esp], eax
lea eax, [0x6fede844]
mov dword [esp + 4], eax
call fcn.6fc36660
call fcn.6fc61fe0
nop
call fcn.6fc60ad0
jmp fcn.6fd596e0