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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6fd85713
sub esp, 0x44
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
xor eax, eax
jmp 0x6fd850b6
inc eax
cmp ebx, eax
jle 0x6fd8510d
jbe 0x6fd8570b
movzx ebp, byte [edx + eax]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
jb 0x6fd850d2
xchg ebp, eax
cmp al, 0x7f
xchg ebp, eax
jne 0x6fd850b5
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x6fe896a3]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
test ebx, ebx
jne 0x6fd85155
movzx eax, byte [esp + 0x50]
test al, al
je 0x6fd85155
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x6fe7cf69]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
lea eax, [0x6fe70660]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x4c]
cmp ecx, 1
jne 0x6fd851a5
mov edx, dword [esp + 0x48]
cmp byte [edx], 0x2a
jne 0x6fd851a9
mov dword [eax + 0x20], 1
lea ecx, [0x6fedd53b]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.6fd84cc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ebx, dword [0x700a7770]
test ebx, ebx
jne 0x6fd851ee
mov dword [eax], ecx
jmp 0x6fd851fd
mov ebx, edi
mov edi, eax
mov eax, ecx
call fcn.6fc61f00
mov eax, edi
mov edi, ebx
test ebp, ebp
jne 0x6fd856da
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.6fcc5830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x38]
mov dword [edi + 4], ecx
mov ecx, dword [0x700a7770]
test ecx, ecx
jne 0x6fd8522e
mov dword [edi], eax
jmp 0x6fd85233
call fcn.6fc61f00
mov edx, dword [esp + 0x24]
cmp edx, 1
jl 0x6fd852b6
lea eax, [edx - 1]
cmp edx, eax
jb 0x6fd85704
mov eax, dword [esp + 0x30]
lea ecx, [edx + eax - 1]
mov dword [esp], ecx
lea ecx, [0x6fe7bb86]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.6fc02ba0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6fd8527e
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
xor eax, eax
jmp 0x6fd852b8
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
lea edx, [0x6fe7bb86]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.6fcc4580
cmp dword [esp + 0x10], 1
sete al
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
jmp 0x6fd852b8
xor eax, eax
test al, al
je 0x6fd852d5
mov byte [edi + 0x2d], 1
lea ecx, [edx - 1]
cmp edx, ecx
jb 0x6fd856ff
mov ebp, edi
mov ebx, ecx
mov edx, dword [esp + 0x30]
jmp 0x6fd85325
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x6fe7bb86]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.6fcc6d40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
mov dword [ebp + 0x34], ecx
mov ecx, dword [0x700a7770]
test ecx, ecx
jne 0x6fd8531d
mov dword [ebp + 0x30], eax
jmp 0x6fd85325
lea edi, [ebp + 0x30]
call fcn.6fc61f00
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
cmp ebx, 1
jge 0x6fd85336
xor eax, eax
jmp 0x6fd85361
mov dword [esp], edx
lea eax, [0x6fe7bb7e]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.6fc02ba0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
test al, al
jne 0x6fd8540d
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x6fd853a4
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x700a7770]
test ecx, ecx
jne 0x6fd85382
mov dword [ebp + 8], edx
jmp 0x6fd8538c
lea edi, [ebp + 8]
mov eax, edx
call fcn.6fc61f00
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
movzx eax, byte [esp + 0x50]
test al, al
jne 0x6fd8569f
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6fe7bb7e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.6fcc6d40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6fe7bb82]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.6fcc6900
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x6fd85664
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
mov esi, dword [ebp + 4]
test esi, esi
je 0x6fd8541b
mov eax, 1
jmp 0x6fd85461
movzx esi, byte [esp + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
je 0x6fd8542a
xor eax, eax
jmp 0x6fd85461
cmp ebx, 3
jge 0x6fd85433
xor eax, eax
jmp 0x6fd8545e
mov dword [esp], edx
lea eax, [0x6fe7bcc0]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.6fc02ba0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
xor eax, 1
test al, al
je 0x6fd8549c
nop
cmp ebx, 2
jge 0x6fd8546f
xor eax, eax
jmp 0x6fd8549e
mov dword [esp], edx
lea eax, [0x6fe7bbae]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.6fc02ba0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
jmp 0x6fd8549e
xor eax, eax
test al, al
je 0x6fd855d1
cmp ebx, 2
jb 0x6fd856f3
lea eax, [ebx - 2]
mov dword [esp + 0x2c], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6fe7bb7e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.6fcc6900
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x6fd85512
mov edx, dword [esp + 0x2c]
cmp ecx, edx
ja 0x6fd856ee
mov edx, dword [esp + 0x24]
sub edx, ecx
add edx, 0xfffffffe
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebp, dword [esp + 0x3c]
add edx, ebp
jmp 0x6fd8551e
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
xor edx, edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.6fd85720
mov eax, dword [0x700a7770]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x6fd85563
mov eax, esi
mov esi, dword [esp + 0x38]
mov dword [esi + 0x10], ebx
jmp 0x6fd85587
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x38]
lea ebp, [esi + 0x10]
mov edi, ebp
mov eax, ebx
call fcn.6fc61f00
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x18], edx
mov edx, dword [0x700a7770]
test edx, edx
jne 0x6fd85599
mov dword [esi + 0x14], ecx
jmp 0x6fd855ad
lea edx, [esi + 0x14]
mov ebx, edi
mov edi, edx
mov eax, ecx
call fcn.6fc61f00
mov eax, dword [esp + 0x40]
mov edi, ebx
test ebp, ebp
jne 0x6fd855bd
mov ebp, esi
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
jmp 0x6fd85614
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
add esp, 0x44
ret
mov eax, dword [ebp + 4]
test eax, eax
je 0x6fd85614
cmp ebx, 1
jge 0x6fd855e1
xor eax, eax
jmp 0x6fd8560c
mov dword [esp], edx
lea eax, [0x6fe7bb7e]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.6fc02ba0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
test al, al
je 0x6fd85614
mov byte [ebp + 0x2c], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.6fd861e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x6fd85648
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
add esp, 0x44
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x6fe8aa1f]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x6fe822d7]
mov dword [eax], ecx
mov dword [esp + 0x54], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
add esp, 0x44
ret
call fcn.6fc61fa0
mov eax, 2
mov ecx, ebx
call fcn.6fc61fe0
call fcn.6fc61fa0
mov ecx, edx
call fcn.6fc61fe0
mov ecx, ebx
call fcn.6fc61f80
nop
call fcn.6fc60ad0
jmp fcn.6fd85090