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

Disassembly:
lea r12, [rsp - 0xe0]
cmp r12, qword [r14 + 0x10]
jbe 0x409865
push rbp
mov rbp, rsp
sub rsp, 0x158
mov rax, qword [rsp + 0x160]
call fcn.00452260
test rax, rax
jne 0x40984d
xor eax, eax
xor ecx, ecx
mov rbx, rax
mov rax, rcx
nop dword [rax]
call fcn.00459040
mov r9, r8
mov r8, rsi
mov rsi, rdi
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x98]
nop
call fcn.0044f6c0
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x28
call fcn.00403d80
xorps xmm15, xmm15
mov r14, qword [0x00921328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
test rcx, rcx
jl 0x409825
lea rax, [rcx - 1]
mov rdx, qword [rsp + 0x38]
cmp rdx, rax
jb 0x40981a
lea r8, [rcx + 2]
nop
cmp rdx, r8
jg 0x4095aa
xor eax, eax
lea rbx, [0x006c184c]
mov ecx, 0x31
mov rdi, qword [rsp + 0xb8]
mov rsi, rdx
nop
call fcn.0044f620
call fcn.00437240
jb 0x409812
cmp r8, rax
jb 0x40980a
mov rdi, qword [rsp + 0xb8]
movzx r9d, word [rcx + rdi - 1]
cmp r9w, 0x282e
jne 0x409585
movzx r9d, byte [rcx + rdi + 1]
cmp r9b, 0x2a
jne 0x409585
mov qword [rsp + 0x40], rax
sub rdx, rcx
mov qword [rsp + 0x50], rdx
lea rax, [rdx - 2]
mov qword [rsp + 0x48], 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.00403d80
xorps xmm15, xmm15
mov r14, qword [0x00921328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x4097de
lea r8, [rcx + 2]
mov rdx, qword [rsp + 0x48]
cmp r8, rdx
jl 0x40966d
xor eax, eax
lea rbx, [0x006c0886]
mov ecx, 0x2e
mov rdi, qword [rsp + 0xc0]
mov rsi, rdx
call fcn.0044f620
call fcn.00437240
ja 0x4097d6
cmp rcx, r8
ja 0x4097cb
mov rdi, qword [rsp + 0xc0]
movzx r9d, word [rdi + rcx]
cmp r9w, 0x2e29
jne 0x40964a
mov rdx, qword [rsp + 0x50]
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 dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00466c79
mov rbp, qword [rbp]
lea r8, [0x006b2df9]
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd0], 0xd
mov r8, qword [rsp + 0xb8]
mov qword [rsp + 0xd8], r8
mov r8, qword [rsp + 0x40]
mov qword [rsp + 0xe0], r8
lea r8, [0x00725a18]
mov qword [rsp + 0xe8], r8
mov qword [rsp + 0xf0], 1
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], r8
mov qword [rsp + 0x110], 1
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x120], rsi
lea rdx, [0x006b4fdc]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], 0x13
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rcx
lea rdx, [0x006b1521]
mov qword [rsp + 0x148], rdx
mov qword [rsp + 0x150], 8
xor eax, eax
lea rbx, [rsp + 0xc8]
mov ecx, 9
mov rdi, rcx
call fcn.0044f3e0
call fcn.0040ae40
mov rbx, rax
lea rax, [0x0066c200]
call fcn.00436ac0
mov rax, rcx
mov rcx, r8
call fcn.00466a20
mov rcx, r8
call fcn.004669a0
lea rax, [rsp + 0x58]
lea rbx, [0x006b4fc9]
mov ecx, 0x13
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0x48]
nop dword [rax]
call fcn.0044f620
call fcn.00437240
mov rcx, r8
call fcn.00466a20
mov rcx, r8
call fcn.004669a0
mov rcx, rax
nop dword [rax]
call fcn.004669a0
lea rax, [rsp + 0x78]
lea rbx, [0x006b4fb6]
mov ecx, 0x13
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x38]
call fcn.0044f620
call fcn.00437240
mov ecx, dword [rax + 4]
mov rax, rbx
mov ebx, ecx
call fcn.00451ec0
mov rcx, rax
mov rax, rbx
jmp 0x4094f7
call fcn.004646a0
jmp fcn.004094c0