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

Disassembly:
lea r12, [rsp - 0x140]
cmp r12, qword [r14 + 0x10]
jbe 0x616918
push rbp
mov rbp, rsp
sub rsp, 0x1b8
mov qword [rsp + 0x1e0], rdi
mov qword [rax + 0x150], 0
mov qword [rax + 0x160], 0
mov byte [rax + 0x168], 0
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x616184
mov byte [rsp + 0x1d8], cl
mov qword [rsp + 0x1f0], r8
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1e8], rsi
mov qword [rsp + 0x1e0], rdi
mov r9, qword [rbx + 0x88]
mov r10, qword [rbx + 0x80]
test r9, r9
jne 0x616155
mov r10, qword [rdx + 0x28]
mov r9, qword [rdx + 0x30]
mov rax, r10
mov rbx, r9
nop dword [rax + rax]
call fcn.005f8740
test rcx, rcx
jne 0x61616e
xor ecx, ecx
jmp 0x6161a5
xor eax, eax
xor ebx, ebx
mov rsi, rdi
mov rdi, rcx
mov rcx, rbx
add rsp, 0x1b8
pop rbp
ret
mov rdi, qword [0x008be0a0]
mov rsi, qword [0x008be0a8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x1b8
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x6161f5
movzx edx, byte [rax + rcx]
lea rsi, [0x008919c0]
movzx edx, byte [rdx + rsi]
test dl, dl
jne 0x6161a2
lea rax, [0x00673e00]
call fcn.0040d680
mov qword [rax + 8], 0x1a
lea rcx, [0x006b8b69]
mov qword [rax], rcx
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00728640]
mov rsi, rax
xor eax, eax
add rsp, 0x1b8
pop rbp
ret
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x1d0]
cmp qword [rdx + 8], 7
jne 0x61622e
mov rsi, qword [rdx]
cmp dword [rsi], 0x4e4e4f43
jne 0x61622e
cmp word [rsi + 4], 0x4345
jne 0x61622e
cmp byte [rsi + 6], 0x54
je 0x61644c
mov rax, qword [rdx + 0x10]
call fcn.0058b7c0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x90], rax
test rbx, rbx
je 0x616266
cmp byte [rax], 0x2f
je 0x61632b
cmp rbx, 1
jne 0x616266
cmp byte [rax], 0x2a
nop dword [rax + rax]
je 0x61632b
mov rdx, qword [rsp + 0x1d0]
mov r10, qword [rdx + 0x10]
mov rbx, qword [r10]
mov rcx, qword [r10 + 8]
lea rax, [rsp + 0x68]
lea rdi, [0x006b07e3]
mov esi, 3
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x58]
call fcn.0044f6c0
mov rcx, qword [rsp + 0x48]
cmp rbx, rcx
jle 0x6162aa
xor eax, eax
jmp 0x6162cf
mov qword [rsp + 0x40], rbx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0x90]
nop dword [rax]
call fcn.00403880
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test al, al
je 0x6162fd
cmp rbx, rcx
ja 0x61690f
mov rdx, rcx
sub rcx, rbx
mov rsi, rcx
neg rcx
sar rcx, 0x3f
and rcx, rbx
mov rax, qword [rsp + 0x90]
lea r8, [rcx + rax]
jmp 0x61630e
mov rax, qword [rsp + 0x90]
mov rdx, rcx
mov rsi, rdx
mov r8, rax
test rsi, rsi
je 0x61633e
cmp byte [r8], 0x2f
je 0x616325
cmp rsi, 1
jne 0x61633e
cmp byte [r8], 0x2a
jne 0x61633e
mov rbx, rsi
mov rax, r8
mov rdx, qword [rsp + 0x1d0]
mov rcx, rbx
mov rsi, rax
jmp 0x616450
mov rcx, qword [rsp + 0x1d0]
mov rsi, qword [rcx + 0x10]
cmp qword [rsi + 0x18], 0
je 0x6163ed
movups xmmword [rsp + 0xc8], xmm15
movups xmmword [rsp + 0xd8], xmm15
mov rbx, rdx
call fcn.0040ae40
lea rcx, [0x0065b7a0]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x1d0]
mov rdx, qword [rdx + 0x10]
mov rax, qword [rdx + 0x10]
mov rbx, qword [rdx + 0x18]
call fcn.0040ae40
lea rcx, [0x0065b7a0]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rax
lea rax, [0x006c060e]
mov ebx, 0x2d
lea rcx, [rsp + 0xc8]
mov edi, 2
mov rsi, rdi
call fcn.004dd6a0
xor ecx, ecx
mov rdi, rax
mov rsi, rbx
xor eax, eax
mov rbx, rcx
add rsp, 0x1b8
pop rbp
ret
movups xmmword [rsp + 0xa8], xmm15
mov rbx, rdx
call fcn.0040ae40
lea rcx, [0x0065b7a0]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
lea rax, [0x006b7bca]
mov ebx, 0x18
lea rcx, [rsp + 0xa8]
mov edi, 1
mov rsi, rdi
call fcn.004dd6a0
xor ecx, ecx
mov rdi, rax
mov rsi, rbx
xor eax, eax
mov rbx, rcx
add rsp, 0x1b8
pop rbp
ret
xor ecx, ecx
xor esi, esi
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x90], rsi
mov rbx, qword [rdx + 0x38]
lea rdi, [rsp + 0x158]
lea rdi, [rdi - 0x20]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466c8b
mov rbp, qword [rbp]
lea rax, [0x0069da20]
lea rcx, [rsp + 0x158]
call fcn.0040f4e0
jmp 0x6164b6
lea rax, [rsp + 0x158]
call fcn.0040f780
mov rsi, qword [rsp + 0x158]
nop
test rsi, rsi
je 0x616537
mov rbx, qword [rsi + 8]
mov rdx, qword [rsp + 0x160]
mov rax, qword [rsi]
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
nop dword [rax + rax]
test rbx, rbx
jne 0x6164f0
lea r9, [0x008905e0]
xor ecx, ecx
jmp 0x616528
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x98], rax
xor ecx, ecx
jmp 0x61678e
lea r9, [0x008905e0]
xor ecx, ecx
jmp 0x616528
lea r9, [0x008905e0]
mov ecx, 1
test cl, cl
je 0x6167fc
xor ecx, ecx
jmp 0x616862
lea rdi, [rsp + 0x108]
lea rdi, [rdi - 0x30]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466c90
mov rbp, qword [rbp]
lea rcx, [0x00616ac0]
mov qword [rsp + 0x108], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x110], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x118], rcx
mov rcx, qword [rsp + 0x1d0]
mov qword [rsp + 0x120], rcx
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x128], rbx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x130], rbx
mov rbx, qword [rsp + 0x1e0]
mov qword [rsp + 0x138], rbx
mov rbx, qword [rsp + 0x1e8]
mov qword [rsp + 0x140], rbx
mov rbx, qword [rsp + 0x1f0]
mov qword [rsp + 0x148], rbx
movzx ebx, byte [rsp + 0x1d8]
mov byte [rsp + 0x150], bl
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0xb8], xmm15
lea rbx, [0x00616aa0]
mov qword [rsp + 0xb8], rbx
lea rbx, [rsp + 0x60]
mov qword [rsp + 0xc0], rbx
mov rbx, qword [rsp + 0x108]
lea rax, [rsp + 0xb8]
lea rdx, [rsp + 0x108]
call rbx
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x1c8]
cmp qword [rbx + 0x108], rcx
jb 0x616765
mov rdx, qword [rsp + 0x1d0]
mov rsi, qword [rdx + 0xe8]
nop
test rsi, rsi
je 0x61666e
mov rdx, qword [rdx + 0xf0]
jmp 0x61667c
lea rsi, [0x0072a600]
lea rdx, [0x009210a0]
mov rsi, qword [rsi + 0x30]
mov rax, rdx
lea rbx, [0x0066cc20]
lea rcx, [0x009210a0]
call rsi
lea rdx, [0x00671180]
cmp rax, rdx
je 0x6166a1
xor ebx, ebx
nop
test rbx, rbx
je 0x6166b1
cmp qword [rbx + 0x60], 0
setne cl
jmp 0x6166b3
xor ecx, ecx
movups xmmword [rsp + 0xe8], xmm15
mov byte [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
lea rsi, [0x00616960]
mov qword [rsp + 0xe8], rsi
mov rsi, qword [rsp + 0x1c8]
mov qword [rsp + 0xf0], rsi
mov byte [rsp + 0xf8], cl
mov qword [rsp + 0x100], rbx
mov rcx, qword [rsp + 0x108]
lea rax, [rsp + 0xe8]
lea rdx, [rsp + 0x108]
call rcx
mov rcx, qword [rsp + 0x1c8]
mov rbx, qword [rcx + 0x150]
mov rax, qword [rcx + 0x160]
cmp rax, rbx
ja 0x616783
mov rdx, qword [rcx + 0x148]
mov rcx, qword [rcx + 0x158]
sub rcx, rax
sub rbx, rax
mov r8, rcx
neg r8
sar r8, 0x3f
and r8, rax
lea rax, [rdx + r8]
xor edi, edi
xor esi, esi
add rsp, 0x1b8
pop rbp
ret
mov rdi, qword [0x008be0d0]
mov rsi, qword [0x008be0d8]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x1b8
pop rbp
ret
mov rcx, rbx
call fcn.00466a20
mov rcx, r8
cmp rcx, rbx
jge 0x61651c
movzx edi, byte [rax + rcx]
nop dword [rax + rax]
cmp edi, 0x80
jge 0x6167ae
lea r8, [rcx + 1]
jmp 0x6167d2
call fcn.0045d600
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x88]
mov edi, eax
mov r8, rbx
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x50]
movsxd rdi, edi
cmp rdi, 0x7f
jge 0x616511
nop
jae 0x616902
lea r9, [0x008905e0]
movzx edi, byte [r9 + rdi]
test dil, dil
jne 0x61678b
jmp 0x616518
movups xmmword [rsp + 0xa8], xmm15
call fcn.0040ae40
lea rcx, [0x0065b7a0]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
lea rax, [0x006b93ba]
mov ebx, 0x1b
lea rcx, [rsp + 0xa8]
mov edi, 1
mov rsi, rdi
nop dword [rax]
call fcn.004dd6a0
xor ecx, ecx
mov rdi, rax
mov rsi, rbx
xor eax, eax
mov rbx, rcx
add rsp, 0x1b8
pop rbp
ret
lea rsi, [rdi + 0x10]
inc rcx
cmp rcx, rdx
jge 0x6164a9
mov rdi, rsi
mov r8, qword [rsi]
mov rsi, qword [rsi + 8]
xor r10d, r10d
jmp 0x616880
inc r10
nop dword [rax]
cmp r10, rsi
jge 0x61685b
movzx r11d, byte [r10 + r8]
cmp r11b, 0x20
jb 0x61689a
cmp r11b, 0x7f
jne 0x61687a
cmp r11b, 0x20
je 0x61687a
nop dword [rax]
cmp r11b, 9
je 0x61687a
movups xmmword [rsp + 0xa8], xmm15
call fcn.0040ae40
lea rcx, [0x0065b7a0]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
lea rax, [0x006be751]
mov ebx, 0x27
lea rcx, [rsp + 0xa8]
mov edi, 1
mov rsi, rdi
call fcn.004dd6a0
xor ecx, ecx
mov rdi, rax
mov rsi, rbx
xor eax, eax
mov rbx, rcx
add rsp, 0x1b8
pop rbp
ret
mov rax, rdi
mov ecx, 0x7f
call fcn.00466960
mov rax, rbx
call fcn.00466a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.004646a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.006160c0