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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41009a
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rbx, qword [rax + 0x18]
mov qword [rsp + 0x50], rbx
movzx esi, byte [rbx + 8]
test sil, 4
je 0x40fbef
lea rax, [0x006d7334]
mov ebx, 0x26
nop dword [rax]
call fcn.00436cc0
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rax + 0x10]
mov qword [rsp + 0x40], rsi
mov r8, qword [rax + 0x50]
mov r9, qword [rax + 0x28]
movzx r10d, byte [rax + 0x4b]
mov r11, qword [rax + 0x58]
jmp 0x40fc25
movzx r12d, word [rsi + 0x52]
lea r12, [r11 + r12]
lea r12, [r12 - 8]
test byte [rsi], al
mov r9, qword [r12]
xor r10d, r10d
mov r11, rdx
test r9, r9
je 0x40fc35
mov rdx, r11
mov r11, r9
jmp 0x40fcf9
cmp qword [rax + 0x40], r8
jne 0x40fc46
cmp byte [rax + 0x49], 0
nop
jne 0x40fd0a
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x40fcbf
movzx r10d, byte [rax + 0x4a]
cmp byte [rbx + 9], r10b
jne 0x40fcbf
mov r10, qword [rax + 0x18]
movzx r11d, byte [r10 + 9]
movzx r10d, byte [r10 + 8]
test r10b, 8
jne 0x40fc71
dec r11d
mov ecx, r11d
mov r10d, 1
shl r10, cl
dec r10
and r10, r8
movzx r11d, word [rsi + 0x52]
imul r10, r11
lea r12, [r9 + r10]
movzx r9d, byte [r10 + r9]
add r9d, 0xfffffffe
nop
nop word [rax + rax]
cmp r9b, 3
jae 0x40fcb7
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
jmp 0x40fcd3
mov rcx, r8
mov r11, r12
jmp 0x40fcd3
movzx r11d, word [rsi + 0x52]
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
inc r8
movzx r9d, byte [rax + 0x4a]
mov rdx, rcx
mov ecx, r9d
mov r10d, 1
shl r10, cl
cmp r10, r8
jne 0x40fcf6
mov byte [rax + 0x49], 1
xor r8d, r8d
xor r10d, r10d
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x58], r11
jmp 0x40fd40
cmp dword [0x0092b0b0], 0
jne 0x40fd19
movups xmmword [rax], xmm15
jmp 0x40fd2e
mov rdi, rax
xor ecx, ecx
nop
call fcn.00465a00
lea rdi, [rax + 8]
call fcn.00465a00
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
inc r10d
nop dword [rax + rax]
cmp r10b, 8
jae 0x40fc0b
test byte [r11], al
movzx r9d, byte [rax + 0x48]
add r9d, r10d
mov r12d, r9d
and r9d, 7
movzx r13d, byte [r11 + r9]
cmp r13b, 1
jbe 0x40fd38
cmp r13b, 4
je 0x40fd38
and r12d, 7
movzx r13d, byte [rsi + 0x50]
mov r15, r13
imul r13, r12
mov rcx, r11
lea r13, [r13 + r11]
lea r13, [r13 + 8]
mov rdi, r8
mov r8d, dword [rsi + 0x54]
bt r8d, 0
jae 0x40fd9b
mov r13, qword [r13]
mov byte [rsp + 0x1f], r10b
mov qword [rsp + 0x48], r13
movzx r13d, byte [rsi + 0x51]
imul r13, r12
lea r12, [r13 + r15*8]
lea r11, [r12 + r11]
lea r11, [r11 + 8]
mov qword [rsp + 0x38], r11
cmp rdx, 0xffffffffffffffff
je 0x40fefe
movzx r12d, byte [rbx + 8]
test r12b, 8
jne 0x40fefe
mov qword [rsp + 0x30], r9
bt r8d, 2
jae 0x40fded
mov r8d, 1
jmp 0x40fe33
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov rbx, rax
call rcx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r8d, eax
mov rax, qword [rsp + 0x70]
test r8b, r8b
jne 0x40fe77
movzx r8d, byte [rax + 0x4a]
dec r8d
cmp r8b, 0x40
sbb r12, r12
mov r13, rcx
mov ecx, r8d
mov r15, rdx
shr rdx, cl
and rdx, r12
movzx r8d, byte [r13 + r9]
and r8d, 1
cmp r8, rdx
je 0x40ff04
mov rdx, r15
mov r8, rdi
mov r11, r13
jmp 0x40fd38
mov rdx, qword [rsi + 0x48]
mov rcx, qword [rdx]
mov edi, dword [rbx + 0xc]
mov rax, qword [rsp + 0x48]
mov rbx, rdi
call rcx
mov rdi, qword [rsp + 0x70]
movzx ecx, byte [rdi + 0x4a]
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
and rax, rcx
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x40fed2
mov rax, rdi
mov rdx, rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x58]
jmp 0x40fd38
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r13, qword [rsp + 0x58]
mov r15, rcx
jmp 0x40ff04
mov r13, rcx
mov r15, rdx
movzx r8d, byte [r13 + r9]
cmp r8b, 2
je 0x40ff1d
cmp r8b, 3
je 0x40ff1d
mov ecx, 1
jmp 0x40ff72
mov r8d, dword [rsi + 0x54]
bt r8d, 2
jae 0x40ff2f
mov ecx, 1
jmp 0x40ff6f
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x48]
mov rbx, rax
call rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x38]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov ecx, eax
mov rax, qword [rsp + 0x70]
xor ecx, 1
test cl, cl
jne 0x410002
mov rax, rsi
mov rcx, qword [rsp + 0x48]
call fcn.0040edc0
test rax, rax
jne 0x40ffb5
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r11, qword [rsp + 0x58]
jmp 0x40fd38
cmp dword [0x0092b0b0], 0
jne 0x40ffcc
mov rdi, qword [rsp + 0x70]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
jmp 0x40ffe8
mov rdi, qword [rsp + 0x70]
call fcn.00465900
lea rax, [rdi + 8]
mov rcx, rdi
mov rdi, rax
call fcn.00465a40
mov rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x28]
movzx r10d, byte [rsp + 0x1f]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
jmp 0x410058
cmp dword [0x0092b0b0], 0
jne 0x410015
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x410028
mov rcx, rdi
mov rdi, rax
mov rdx, qword [rsp + 0x48]
call fcn.00465a20
mov rdi, rcx
mov ecx, dword [rsi + 0x54]
bt ecx, 1
jae 0x410034
mov r11, qword [r11]
cmp dword [0x0092b0b0], 0
jne 0x410043
mov qword [rax + 8], r11
jmp 0x410058
lea rcx, [rax + 8]
mov rdx, rdi
mov rdi, rcx
mov rbx, r11
call fcn.00465a40
mov rdi, rdx
mov qword [rax + 0x50], rdi
nop dword [rax]
cmp qword [rax + 0x28], r13
je 0x410085
cmp dword [0x0092b0b0], 0
jne 0x410075
mov qword [rax + 0x28], r13
jmp 0x410085
lea rdi, [rax + 0x28]
mov rcx, r13
nop dword [rax]
call fcn.00465a00
lea ecx, [r10 + 1]
mov byte [rax + 0x4b], cl
mov qword [rax + 0x58], r15
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov qword [rsp + 8], rax
nop
call fcn.00463740
mov rax, qword [rsp + 8]
jmp fcn.0040fba0