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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x684e64
sub esp, 0x48
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x684c1d
mov edx, dword [ecx + 0x18]
nop
test edx, edx
je 0x684e4b
lea eax, [ecx + 4]
mov dword [esp], eax
call fcn.004672b0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x18]
lea ebp, [0x6f80a0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0040f010
movzx eax, byte [esp + 0x10]
test al, al
je 0x684cdf
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x14]
cmp dword [eax + 8], edx
jne 0x684cc2
mov ebx, dword [eax + 4]
test byte [ebx], al
mov ebp, dword [0x995310]
nop
mov esi, dword [eax]
test ebp, ebp
je 0x684c77
call fcn.00468e70
mov dword [edi], esi
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], esi
mov ebx, dword [eax]
test byte [ebx], al
mov ebp, dword [0x995310]
mov esi, dword [eax + 4]
test ebp, ebp
je 0x684ca8
call fcn.00468ea0
mov dword [edi], esi
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov ebp, dword [eax]
mov dword [edi + 8], ebp
mov ebp, dword [eax + 4]
mov dword [edi + 0xc], ebp
mov ebp, dword [eax + 8]
mov dword [edi + 0x10], ebp
mov dword [ebx + 4], esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
dec dword [edx + 0x14]
mov eax, dword [esp + 0x50]
mov ebx, dword [ecx + 0x18]
lea ebp, [0x6f80a0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040f720
mov eax, dword [esp + 0x50]
lea esi, [eax + 0xc]
lea edi, [esp + 0x2c]
call fcn.004695ca
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0xc]
lea ebx, [0x6f8020]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x2c]
mov dword [esp + 8], edx
call fcn.0040d350
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x684d68
mov edx, dword [eax]
cmp ecx, 1
je 0x684d2a
mov ebx, dword [esp + 0x50]
xor ebp, ebp
jmp 0x684d73
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jne 0x684d63
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0xc]
lea ecx, [0x6f8020]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0040dd70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
sete al
jmp 0x684d6a
xor eax, eax
mov byte [esp + 0x54], al
add esp, 0x48
ret
inc ebp
cmp ebp, ecx
jge 0x684e43
lea esi, [edx + ebp*4]
cmp dword [esi], ebx
jne 0x684d72
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
lea ebx, [0x730600]
mov dword [esp], ebx
mov ebx, ebp
shl ebp, 2
sub eax, ebx
mov edi, eax
neg eax
sar eax, 0x1f
and ebp, eax
lea eax, [edx + ebp]
mov dword [esp + 4], eax
sub ecx, ebx
mov dword [esp + 8], ecx
dec ecx
lea ebp, [edi - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
lea edi, [ebx + 1]
shl edi, 2
and ebp, edi
add ebp, edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00411c10
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0xc]
lea ecx, [0x6f8020]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0040d8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [ecx - 1]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [0x995310]
test edx, edx
jne 0x684e2b
mov edx, dword [esp + 0x20]
cmp edx, ecx
mov edx, dword [esp + 0x28]
jmp 0x684e41
call fcn.00468e70
mov edx, dword [esp + 0x28]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
mov dword [eax], edx
setl al
jmp 0x684d6a
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b020c]
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00467a60
jmp fcn.00684be0