Function at 0x6866f0
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x686a24
sub esp, 0x50
mov eax, 0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x78]
test ecx, ecx
jg 0x686724
add esp, 0x50
ret
lea ecx, [eax + 0x38]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.00472830
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [0x686a80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x40]
lea edx, [0x6f8120]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.0040d350
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x686a02
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x44]
lea edx, [0x6f8060]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.0040d350
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x30]
call fcn.004695ca
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
test eax, eax
jg 0x686840
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x6867ff
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x40]
lea ecx, [0x6f8120]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0040dd70
jmp 0x68682f
dec eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0x40]
lea edx, [0x6f8120]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.0040d8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov ebp, edx
sub edx, ebx
mov esi, dword [esp + 0x44]
add edx, esi
mov dword [esp + 0x14], edx
test edx, edx
jle 0x68694b
cmp ebp, ebx
jg 0x68689e
test esi, esi
jne 0x68686a
xor ebp, ebp
jmp 0x6868d4
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jae 0x6869fd
mov ecx, dword [esp + 0x30]
mov ebx, dword [0x995310]
mov ebp, dword [ecx + eax*4]
test ebx, ebx
je 0x6868c9
mov ebx, dword [ecx + eax*4]
call fcn.00468e60
mov dword [edi], ebx
mov dword [ecx + eax*4], 0
inc dword [esp + 0x3c]
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp + 0x3c]
nop
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00406510
movzx eax, byte [esp + 8]
test al, al
jne 0x686840
lea eax, [0x707c40]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
lea ecx, [0x686a30]
mov dword [eax], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x686927
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
jmp 0x686939
call fcn.00468e70
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.004448d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
test eax, eax
jne 0x686984
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x44]
lea edx, [0x6f8060]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.0040dd70
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x6869e6
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x44]
lea edx, [0x6f8060]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.0040d8a0
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x995310]
test eax, eax
je 0x6869d7
mov dword [esp + 0x20], edi
lea eax, [0x7136e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
call fcn.00411b70
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x30]
call fcn.004695ca
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x6867d3
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
call fcn.00468ed0
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b0798]
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00438090
add esp, 0x50
ret
call fcn.00467a60
jmp fcn.006866f0