Function at 0x6b8450
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 0x6b87b4
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x6b8473
xor ecx, ecx
jmp 0x6b84b2
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
test byte [ecx], al
mov dword [esp], ecx
call fcn.006b7c60
mov eax, dword [esp + 0x7c]
cmp dword [esp + 8], eax
je 0x6b8494
mov ecx, 1
jmp 0x6b84b2
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004034e0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x7c]
test cl, cl
jne 0x6b8716
mov dword [esp], 3
call fcn.004e91e0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx]
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005be370
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x6b86f1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
lea edx, [0x6f4820]
mov dword [esp], edx
mov dword [esp + 4], 0x28
mov dword [esp + 8], 0x28
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.004ec460
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
lea ecx, [eax - 0x14]
neg ecx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call fcn.004ec460
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
cmp edx, 0x14
ja 0x6b87a7
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx + 0x14]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and edx, ebp
mov ebp, dword [esp + 0x50]
add edx, ebp
mov esi, dword [esp + 0x40]
cmp esi, edx
je 0x6b8620
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004697f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
lea edx, [ecx - 0x28]
neg edx
cmp edx, 0x28
ja 0x6b879b
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
lea ecx, [edx + ebp]
cmp eax, ecx
je 0x6b864e
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004697f0
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
test byte [eax], al
mov dword [esp], eax
call fcn.006b7c60
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x709b40]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6b8697
mov ecx, dword [esp + 0x4c]
jmp 0x6b86a2
call fcn.00468e60
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x28
mov dword [eax + 0x10], 0x28
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6b86c2
mov ecx, dword [esp + 0x50]
jmp 0x6b86cd
call fcn.00468e60
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x5c
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x74a06a]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x5c
ret
mov eax, edx
mov ecx, 0x28
call fcn.00468f30
mov eax, edx
mov ecx, 0x14
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.006b8450