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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x6646c1
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
xor edx, edx
jmp 0x664417
mov ebp, dword [esp + 0x30]
lea ecx, [ebp + 0x14]
inc edx
cmp edx, ebx
jge 0x664459
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x5c]
mov esi, ecx
call fcn.004695de
lea edi, [esp + 0x48]
lea esi, [esp + 0x5c]
call fcn.004695de
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x664449
mov ebp, dword [esp + 0x48]
cmp byte [ebp], 0x3a
je 0x66440f
mov ebx, dword [eax + 0xc]
cmp edx, ebx
ja 0x6646b7
mov eax, dword [eax + 4]
jmp 0x664461
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov ecx, eax
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x664485
add eax, 0x14
inc ebx
movzx ecx, byte [esp + 0x12]
mov ecx, edi
mov edx, esi
movzx esi, byte [esp + 0x12]
cmp ebx, edx
jge 0x6645c1
mov dword [esp + 0x18], ebx
xchg esi, eax
mov byte [esp + 0x12], al
xchg esi, eax
mov dword [esp + 0x30], eax
lea edi, [esp + 0x70]
mov esi, eax
call fcn.004695de
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp ecx, 5
jne 0x6644ce
cmp dword [esi], 0x7461703a
jne 0x66458e
cmp byte [esi + 4], 0x68
je 0x664564
jmp 0x66458e
cmp ecx, 7
jne 0x664525
cmp dword [esi], 0x74656d3a
jne 0x6644e9
cmp word [esi + 4], 0x6f68
jne 0x6644e9
cmp byte [esi + 6], 0x64
je 0x664564
cmp dword [esi], 0x6863733a
jne 0x6644ff
cmp word [esi + 4], 0x6d65
jne 0x6644ff
cmp byte [esi + 6], 0x65
je 0x664564
cmp dword [esi], 0x6174733a
jne 0x66458e
cmp word [esi + 4], 0x7574
jne 0x66458e
cmp byte [esi + 6], 0x73
jne 0x66458e
mov ebp, 1
movzx ecx, byte [esp + 0x12]
jmp 0x664569
cmp ecx, 0xa
jne 0x66458e
xchg ebp, eax
mov byte [esp + 0x11], al
xchg ebp, eax
mov dword [esp], esi
lea eax, [0x73c08e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x66458e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx ebp, byte [esp + 0x11]
mov ecx, 1
xchg ebp, eax
mov byte [esp + 0x13], al
xchg ebp, eax
mov byte [esp + 0x12], cl
mov esi, edx
mov edx, dword [esp + 0x28]
mov edi, edx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
jmp 0x664626
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x7b11f0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
xchg esi, eax
test al, al
xchg esi, eax
je 0x6645ee
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6645ee
mov eax, dword [0x967460]
mov ecx, dword [0x967464]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x84
ret
add edx, 0x14
mov ecx, dword [esp + 0x1c]
inc ecx
mov ebp, esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esp + 0x12]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jge 0x664473
lea edi, [esp + 0x34]
mov esi, edx
call fcn.004695de
mov ecx, dword [esp + 0x74]
mov esi, ebp
lea ebp, [esp + 0x34]
cmp dword [ebp + 4], ecx
jne 0x66460b
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x664684
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
movzx esi, byte [esp + 0x13]
jmp 0x66460b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x7b1204]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x84
ret
mov ecx, edx
mov edx, ebx
call fcn.00468f10
nop
call fcn.00467a60
jmp fcn.006643e0