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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 8]
cmp rax, qword [rcx + 0x10]
jbe 0x498c36
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov rax, qword [rsp + 0xa0]
mov rcx, rax
and rax, 0x1f
cmp rax, 0x15
jne 0x498b9c
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x30]
test rcx, 0x60
mov ebx, 0
mov esi, 0x20
cmovne rbx, rsi
movzx esi, byte [rdx + 0x17]
and esi, 0x1f
or rbx, rsi
cmp qword [rax], 8
nop
jne 0x498c19
cmp qword [rax + 8], 0
je 0x498c19
bt ecx, 7
jae 0x498b8f
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], rbx
test rcx, rcx
jne 0x498b6a
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.00465a60
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x68], rax
lea rcx, [0x006596e0]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rcx
call fcn.0044dcc0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x78], rax
xor ecx, ecx
jmp 0x498a81
mov rax, qword [rsp + 0x68]
mov qword [rsp], rax
call fcn.00465ae0
mov rax, qword [rsp + 0x30]
lea rcx, [rax + 1]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
cmp rdx, rcx
jle 0x498b37
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp], rax
nop dword [rax]
call fcn.00465b40
mov rax, qword [rsp + 8]
test rax, rax
je 0x498b2a
mov rcx, qword [rsp + 0x58]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rax
call fcn.00499160
mov rax, qword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x78]
mov qword [rdi + rcx*8 + 0x10], rsi
lea rsi, [rdi + rcx*8]
lea r8, [rdi + rcx*8]
lea r8, [r8 + 8]
cmp dword [0x00811460], 0
jne 0x498b11
mov qword [rdi + rcx*8], rdx
mov qword [rdi + rcx*8 + 8], rbx
jmp 0x498a65
mov rdi, rsi
call fcn.0046ca40
mov rdi, r8
nop dword [rax]
call fcn.0046ca60
jmp 0x498a65
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jb 0x498c14
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rdx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov qword [rsp + 0x60], rcx
mov qword [rsp], rcx
call fcn.00465b80
mov rsi, qword [rsp + 8]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
jmp 0x498a1b
mov rcx, qword [rsp + 0x98]
jmp 0x498a06
mov qword [rsp + 0x50], rax
call fcn.00496d60
mov rax, qword [rsp]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], rcx
lea rdx, [0x0062e740]
mov qword [rsp], rdx
call fcn.0040e560
mov rdi, qword [rsp + 8]
mov rax, qword [rsp + 0x48]
mov qword [rdi + 8], rax
cmp dword [0x00811460], 0
nop
jne 0x498bec
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
jmp 0x498bf6
mov rax, qword [rsp + 0x70]
call fcn.0046c920
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x10], rax
lea rax, [0x0061b9a0]
mov qword [rsp], rax
mov qword [rsp + 8], rdi
call fcn.00438920
call fcn.0046ce40
lea rax, [0x00613e40]
mov qword [rsp], rax
lea rax, [0x006a15f0]
mov qword [rsp + 8], rax
call fcn.00438920
nop
call fcn.0046abe0
nop dword [rax + rax]
jmp fcn.00498960