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

Disassembly:
lea r12, [rsp - 0xe0]
cmp r12, qword [r14 + 0x10]
jbe 0x409a90
push rbp
mov rbp, rsp
sub rsp, 0x158
mov rax, qword [rsp + 0x160]
call fcn.00451c60
test rax, rax
jne 0x409a78
xor eax, eax
xor ecx, ecx
mov rbx, rax
mov rax, rcx
nop dword [rax]
call fcn.0045a040
mov r9, r8
mov r8, rsi
mov rsi, rdi
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x78]
nop dword [rax]
call fcn.0044f8e0
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x28
call fcn.00403360
xorps xmm15, xmm15
mov r14, qword [0x00696838]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
nop
test rcx, rcx
jl 0x409a4d
lea rax, [rcx - 1]
mov rdx, qword [rsp + 0x98]
cmp rdx, rax
jb 0x409a45
lea r8, [rcx + 2]
cmp rdx, r8
jg 0x4097aa
xor eax, eax
lea rbx, [0x004ea09b]
mov ecx, 0x31
mov rdi, qword [rsp + 0xb8]
mov rsi, rdx
call fcn.0044f840
call fcn.00437040
jb 0x409a38
cmp r8, rax
jb 0x409a30
mov rdi, qword [rsp + 0xb8]
movzx r9d, word [rcx + rdi - 1]
cmp r9w, 0x282e
jne 0x409787
movzx r9d, byte [rcx + rdi + 1]
cmp r9b, 0x2a
jne 0x409787
mov qword [rsp + 0xa0], rax
sub rdx, rcx
mov qword [rsp + 0xb0], rdx
lea rax, [rdx - 2]
mov qword [rsp + 0xa8], rax
mov rcx, rax
neg rax
sar rax, 0x3f
and rax, r8
add rax, rdi
mov qword [rsp + 0xc0], rax
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x29
call fcn.00403360
xorps xmm15, xmm15
mov r14, qword [0x00696838]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
test rcx, rcx
jl 0x409a05
lea r8, [rcx + 2]
mov rdx, qword [rsp + 0xa8]
cmp r8, rdx
jl 0x409880
xor eax, eax
lea rbx, [0x004e99a1]
mov ecx, 0x2e
mov rdi, qword [rsp + 0xc0]
mov rsi, rdx
call fcn.0044f840
call fcn.00437040
nop dword [rax]
ja 0x4099f9
cmp rcx, r8
ja 0x4099ee
mov rdi, qword [rsp + 0xc0]
movzx r9d, word [rdi + rcx]
nop dword [rax]
cmp r9w, 0x2e29
jne 0x40985a
mov rdx, qword [rsp + 0xb0]
sub rdx, rcx
add rdx, 0xfffffffffffffffc
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rdx, r8
add rdx, rdi
mov rax, rdi
lea rdi, [rsp + 0xc8]
lea rdi, [rdi - 0x30]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466a99
mov rbp, qword [rbp]
mov qword [rsp + 0xd0], 0xd
lea r8, [0x004e09ab]
mov qword [rsp + 0xc8], r8
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], r8
mov r8, qword [rsp + 0xb8]
mov qword [rsp + 0xd8], r8
mov qword [rsp + 0xf0], 1
lea r8, [0x005087a8]
mov qword [rsp + 0xe8], r8
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x110], 1
mov qword [rsp + 0x108], r8
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x130], 0x13
lea rdx, [0x004e253f]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x140], rcx
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x150], 8
lea rdx, [0x004df831]
mov qword [rsp + 0x148], rdx
xor eax, eax
lea rbx, [rsp + 0xc8]
mov ecx, 9
mov rdi, rcx
call fcn.0044f620
call fcn.0040b0c0
mov rbx, rax
lea rax, [0x004c9180]
call fcn.00436480
mov rax, rcx
mov rcx, r8
call fcn.004668c0
mov rcx, r8
nop dword [rax]
call fcn.00466840
lea rax, [rsp + 0x38]
lea rbx, [0x004e252c]
mov ecx, 0x13
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xa8]
call fcn.0044f840
call fcn.00437040
mov rcx, r8
call fcn.004668c0
mov rcx, r8
nop dword [rax + rax]
call fcn.00466840
mov rcx, rax
call fcn.00466840
lea rax, [rsp + 0x58]
lea rbx, [0x004e2519]
mov ecx, 0x13
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x98]
call fcn.0044f840
call fcn.00437040
mov ecx, dword [rax + 4]
mov rax, rbx
mov ebx, ecx
call fcn.00451a80
mov rcx, rax
mov rax, rbx
jmp 0x4096f7
call fcn.00464520
jmp fcn.004096c0