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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5ec3bf
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rsp + 0x50], rax
xor ecx, ecx
xor edx, edx
jmp 0x5ec120
mov rcx, rsi
cmp rbx, rcx
jle 0x5ec228
jbe 0x5ec3b3
movzx esi, byte [rax + rcx]
cmp sil, 0x25
je 0x5ec13f
lea rsi, [rcx + 1]
jmp 0x5ec11d
lea rsi, [rcx + 2]
cmp rbx, rsi
jle 0x5ec1bd
lea r8, [rcx + 1]
cmp rbx, r8
jbe 0x5ec3a8
movzx r8d, byte [rax + rcx + 1]
lea r9d, [r8 - 0x30]
nop
cmp r9b, 9
ja 0x5ec16b
cmp rbx, rsi
jmp 0x5ec189
lea r9d, [r8 - 0x61]
cmp r9b, 5
ja 0x5ec17a
cmp rbx, rsi
jmp 0x5ec189
add r8d, 0xffffffbf
nop
cmp r8b, 5
ja 0x5ec1bd
cmp rbx, rsi
jbe 0x5ec39d
movzx esi, byte [rax + rcx + 2]
lea r8d, [rsi - 0x30]
cmp r8b, 9
jbe 0x5ec1b1
lea r8d, [rsi - 0x61]
cmp r8b, 5
jbe 0x5ec1b1
add esi, 0xffffffbf
cmp sil, 5
ja 0x5ec1bd
inc rdx
lea rsi, [rcx + 3]
jmp 0x5ec11d
sub rbx, rcx
mov rdx, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
add rax, rcx
cmp rdx, 3
jle 0x5ec1db
mov edx, 3
movups xmmword [rsp + 0x30], xmm15
mov rbx, rdx
call fcn.0040ae40
lea rcx, [0x0065b7a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rax, [0x006bce1a]
mov ebx, 0x23
lea rcx, [rsp + 0x30]
mov edi, 1
mov rsi, rdi
call fcn.004dd6a0
mov rcx, rax
mov rdi, rbx
xor eax, eax
xor ebx, ebx
add rsp, 0x40
pop rbp
ret
test rdx, rdx
je 0x5ec269
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
shl rdx, 1
mov rcx, rbx
sub rcx, rdx
mov qword [rsp + 0x28], rcx
lea rax, [0x0065bae0]
mov rbx, rcx
call fcn.0044b7a0
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
xor ebx, ebx
xor edi, edi
jmp 0x5ec276
xor ecx, ecx
xor edi, edi
add rsp, 0x40
pop rbp
ret
mov rbx, r8
cmp rcx, rbx
jle 0x5ec355
nop
jbe 0x5ec395
movzx r8d, byte [rsi + rbx]
cmp r8b, 0x25
jne 0x5ec340
lea r8, [rbx + 1]
nop dword [rax]
cmp rcx, r8
jbe 0x5ec38d
movzx r8d, byte [rsi + rbx + 1]
lea r9d, [r8 - 0x30]
cmp r9b, 9
jbe 0x5ec2df
lea r9d, [r8 - 0x61]
nop dword [rax]
cmp r9b, 5
ja 0x5ec2cc
lea r9d, [r8 - 0x57]
jmp 0x5ec2df
lea r9d, [r8 - 0x41]
cmp r9b, 5
ja 0x5ec2dc
lea r9d, [r8 - 0x37]
jmp 0x5ec2df
xor r9d, r9d
lea r8, [rbx + 2]
cmp rcx, r8
jbe 0x5ec385
movzx r8d, byte [rsi + rbx + 2]
lea r10d, [r8 - 0x30]
cmp r10b, 9
jbe 0x5ec31f
lea r10d, [r8 - 0x61]
cmp r10b, 5
ja 0x5ec30c
lea r10d, [r8 - 0x57]
jmp 0x5ec31f
lea r10d, [r8 - 0x41]
cmp r10b, 5
ja 0x5ec31c
lea r10d, [r8 - 0x37]
jmp 0x5ec31f
xor r10d, r10d
shl r9d, 4
or r9d, r10d
cmp rdi, rdx
jae 0x5ec37a
mov byte [rax + rdi], r9b
inc rdi
lea r8, [rbx + 3]
jmp 0x5ec273
cmp rdi, rdx
jae 0x5ec36f
mov byte [rax + rdi], r8b
inc rdi
lea r8, [rbx + 1]
jmp 0x5ec273
mov rbx, rax
mov rcx, rdx
xor eax, eax
nop dword [rax]
call fcn.0044f9a0
xor ecx, ecx
xor edi, edi
add rsp, 0x40
pop rbp
ret
mov rax, rdi
mov rcx, rdx
call fcn.00466960
mov rax, rdi
mov rcx, rdx
call fcn.00466960
mov rax, r8
call fcn.00466960
mov rax, r8
call fcn.00466960
mov rax, rbx
call fcn.00466960
mov rax, rsi
mov rcx, rbx
call fcn.00466960
mov rax, r8
mov rcx, rbx
call fcn.00466960
mov rax, rcx
mov rcx, rbx
call fcn.00466960
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004646a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.005ec100