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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40c9fe
push rbp
mov rbp, rsp
sub rsp, 0x28
cmp word [0x005fcb64], 0x10
nop word [rax + rax]
jne 0x40c9ec
mov rdx, qword [0x006966b8]
test rdx, rdx
je 0x40c9db
nop word [rax + rax]
nop
cmp rdx, 0x80000
ja 0x40c96c
cmp rdx, 0x1000
jb 0x40c900
lea rsi, [rdx - 1]
nop
test rdx, rsi
jne 0x40c8ae
mov rdx, qword [0x006966c0]
lea rsi, [rdx - 1]
test rdx, rsi
jne 0x40c865
nop dword [rax]
cmp rdx, 0x400000
jbe 0x40c734
mov qword [0x006966c0], 0
cmp qword [0x006966c0], 0
nop dword [rax]
jne 0x40c839
xor eax, eax
jmp 0x40c74d
inc rax
cmp rax, 0x44
jge 0x40c81d
lea rcx, [0x005fcb60]
movzx edx, word [rcx + rax*2]
cmp rdx, 0x200
jne 0x40c74a
lea rax, [0x00618540]
call fcn.00427900
call fcn.00415280
mov qword [0x00696780], rax
xor eax, eax
jmp 0x40c78a
inc rax
cmp rax, 3
jl 0x40c787
mov eax, 0x7f
jmp 0x40c7c7
mov qword [rsp + 0x20], rbx
lea rax, [0x0062f178]
call fcn.00419480
mov rcx, qword [rsp + 0x10]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
mov qword [rax + 0x10], rdx
mov qword [rcx], rax
mov rax, qword [rsp + 0x18]
dec rax
test rax, rax
jl 0x40c802
mov qword [rsp + 0x18], rax
mov rcx, rax
shl rax, 0x28
movabs rdx, 0xc000000000
or rax, rdx
mov qword [rsp + 0x10], rax
cmp rcx, 0x3f
jle 0x40c7f9
lea rbx, [0x0062f1c0]
jmp 0x40c797
lea rbx, [0x00628940]
jmp 0x40c797
nop
movabs rax, 0x7fffffffffffffff
lea rcx, [0x00697068]
xchg qword [rcx], rax
add rsp, 0x28
pop rbp
ret
lea rax, [0x004ea65a]
mov ebx, 0x36
call fcn.00437040
lea rdx, [rcx + 1]
mov qword [0x006966c8], rdx
mov rcx, qword [0x006966c8]
mov edx, 1
shl rdx, cl
cmp rcx, 0x40
sbb rsi, rsi
and rdx, rsi
cmp qword [0x006966c0], rdx
jne 0x40c82e
nop dword [rax + rax]
jmp 0x40c746
call fcn.00438ae0
lea rax, [0x004e3e7f]
mov ebx, 0x17
call fcn.00439360
mov rax, qword [0x006966c0]
call fcn.004390a0
lea rax, [0x004e3e68]
mov ebx, 0x17
call fcn.00439360
call fcn.00438b40
lea rax, [0x004e4b22]
mov ebx, 0x19
call fcn.00437040
call fcn.00438ae0
lea rax, [0x004e20a5]
mov ebx, 0x12
nop
call fcn.00439360
mov rax, qword [0x006966b8]
call fcn.004390a0
lea rax, [0x004e3e68]
mov ebx, 0x17
nop dword [rax]
call fcn.00439360
call fcn.00438b40
lea rax, [0x004e2d57]
mov ebx, 0x14
call fcn.00437040
nop dword [rax + rax]
call fcn.00438ae0
lea rax, [0x004e20a5]
mov ebx, 0x12
call fcn.00439360
mov rax, qword [0x006966b8]
nop dword [rax]
call fcn.004390a0
lea rax, [0x004e823b]
mov ebx, 0x25
call fcn.00439360
mov eax, 0x1000
nop dword [rax + rax]
call fcn.00439180
lea rax, [0x004deffc]
mov ebx, 2
call fcn.00439360
call fcn.00438b40
lea rax, [0x004e2d57]
mov ebx, 0x14
call fcn.00437040
call fcn.00438ae0
lea rax, [0x004e20a5]
mov ebx, 0x12
nop dword [rax]
call fcn.00439360
mov rax, qword [0x006966b8]
call fcn.004390a0
lea rax, [0x004e7e8f]
mov ebx, 0x24
nop dword [rax]
call fcn.00439360
mov eax, 0x80000
call fcn.00439180
lea rax, [0x004deffc]
mov ebx, 2
nop dword [rax + rax]
call fcn.00439360
call fcn.00438b40
lea rax, [0x004e2d57]
mov ebx, 0x14
call fcn.00437040
lea rax, [0x004e670b]
mov ebx, 0x1e
call fcn.00437040
lea rax, [0x004e1b94]
mov ebx, 0x11
call fcn.00437040
nop
nop
call fcn.00464520
jmp fcn.0040c6a0