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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4973f9
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
movzx edx, byte [rcx + 0x17]
and edx, 0x1f
cmp rdx, 0x14
jne 0x497248
mov rdx, qword [rcx + 0x38]
nop word [rax + rax]
cmp qword [rcx + 0x40], r8
jbe 0x4973e5
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdx
mov ebx, dword [rdx + r8*8]
mov rax, rcx
nop dword [rax + rax]
call fcn.00462200
movzx ecx, byte [rax]
test cl, 1
je 0x49739c
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
nop dword [rax]
test rdx, rdx
je 0x497358
mov rsi, qword [rdx + 8]
mov rax, qword [rsp + 0xa8]
nop word [rax + rax]
nop
cmp rax, 0x186a0
jae 0x49734e
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x50]
mov ebx, dword [rcx + rax*8 + 4]
mov rax, qword [rsp + 0x60]
call fcn.00462240
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*8]
lea rcx, [rcx + 0x18]
mov rdx, qword [rsp + 0x40]
jmp 0x4972e7
mov rax, rcx
call fcn.0048dd80
mov rcx, qword [rsp + 0xa8]
nop dword [rax + rax]
cmp rbx, rcx
jbe 0x49733b
shl rcx, 4
mov edx, dword [rax + rcx + 4]
mov dword [rsp + 0x3c], edx
mov esi, dword [rax + rcx + 8]
mov dword [rsp + 0x38], esi
mov ebx, dword [rax + rcx]
mov rax, qword [rsp + 0x60]
call fcn.00462200
movzx ecx, byte [rax]
test cl, 1
je 0x4972f7
lea rax, [0x00869060]
call fcn.0040ee60
mov qword [rsp + 0x68], rax
mov ebx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
call fcn.00462280
cmp dword [0x00bc2240], 0
jne 0x4972c4
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
jmp 0x4972ce
mov rdi, qword [rsp + 0x68]
call fcn.00466ec0
nop
mov rax, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x3c]
call fcn.00462240
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbx, rax
mov rax, rdx
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
xor eax, eax
lea rbx, [0x008d4fe5]
mov ecx, 9
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
lea r8, [0x008d9b7b]
mov r9d, 0x15
call fcn.00450d00
call fcn.0040c5a0
mov rbx, rax
lea rax, [0x00868e20]
call fcn.00438e60
lea rax, [0x00868e20]
lea rbx, [0x0096ed10]
call fcn.00438e60
mov ecx, 0x186a0
call fcn.00467360
xor eax, eax
lea rbx, [0x008d4fe5]
mov ecx, 9
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
lea r8, [0x008e03cb]
mov r9d, 0x21
call fcn.00450d00
call fcn.0040c5a0
mov rbx, rax
lea rax, [0x00868e20]
call fcn.00438e60
xor eax, eax
lea rbx, [0x008d4fe5]
mov ecx, 9
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
lea r8, [0x008d9b7b]
mov r9d, 0x15
call fcn.00450d00
call fcn.0040c5a0
mov rbx, rax
lea rax, [0x00868e20]
nop dword [rax + rax]
call fcn.00438e60
lea rax, [0x00868e20]
lea rbx, [0x0096ed10]
call fcn.00438e60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00464c60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.00497140