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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4101da
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 0x40fd2f
lea rax, [0x00729d4e]
mov ebx, 0x26
nop dword [rax]
call fcn.00436e20
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 0x40fd65
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 0x40fd75
mov rdx, r11
mov r11, r9
jmp 0x40fe39
cmp qword [rax + 0x40], r8
jne 0x40fd86
cmp byte [rax + 0x49], 0
nop
jne 0x40fe4a
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x40fdff
movzx r10d, byte [rax + 0x4a]
cmp byte [rbx + 9], r10b
jne 0x40fdff
mov r10, qword [rax + 0x18]
movzx r11d, byte [r10 + 9]
movzx r10d, byte [r10 + 8]
test r10b, 8
jne 0x40fdb1
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 0x40fdf7
imul r11, r8
add r11, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
jmp 0x40fe13
mov rcx, r8
mov r11, r12
jmp 0x40fe13
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 0x40fe36
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 0x40fe80
cmp dword [0x00a04ed0], 0
jne 0x40fe59
movups xmmword [rax], xmm15
jmp 0x40fe6e
mov rdi, rax
xor ecx, ecx
nop
call fcn.00465b20
lea rdi, [rax + 8]
call fcn.00465b20
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
inc r10d
nop dword [rax + rax]
cmp r10b, 8
jae 0x40fd4b
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 0x40fe78
cmp r13b, 4
je 0x40fe78
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 0x40fedb
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 0x41003e
movzx r12d, byte [rbx + 8]
test r12b, 8
jne 0x41003e
mov qword [rsp + 0x30], r9
bt r8d, 2
jae 0x40ff2d
mov r8d, 1
jmp 0x40ff73
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 0x40ffb7
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 0x410044
mov rdx, r15
mov r8, rdi
mov r11, r13
jmp 0x40fe78
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 0x410012
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 0x40fe78
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 0x410044
mov r13, rcx
mov r15, rdx
movzx r8d, byte [r13 + r9]
cmp r8b, 2
je 0x41005d
cmp r8b, 3
je 0x41005d
mov ecx, 1
jmp 0x4100b2
mov r8d, dword [rsi + 0x54]
bt r8d, 2
jae 0x41006f
mov ecx, 1
jmp 0x4100af
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 0x410142
mov rax, rsi
mov rcx, qword [rsp + 0x48]
call fcn.0040ef00
test rax, rax
jne 0x4100f5
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 0x40fe78
cmp dword [0x00a04ed0], 0
jne 0x41010c
mov rdi, qword [rsp + 0x70]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
jmp 0x410128
mov rdi, qword [rsp + 0x70]
call fcn.00465a20
lea rax, [rdi + 8]
mov rcx, rdi
mov rdi, rax
call fcn.00465b60
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 0x410198
cmp dword [0x00a04ed0], 0
jne 0x410155
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x410168
mov rcx, rdi
mov rdi, rax
mov rdx, qword [rsp + 0x48]
call fcn.00465b40
mov rdi, rcx
mov ecx, dword [rsi + 0x54]
bt ecx, 1
jae 0x410174
mov r11, qword [r11]
cmp dword [0x00a04ed0], 0
jne 0x410183
mov qword [rax + 8], r11
jmp 0x410198
lea rcx, [rax + 8]
mov rdx, rdi
mov rdi, rcx
mov rbx, r11
call fcn.00465b60
mov rdi, rdx
mov qword [rax + 0x50], rdi
nop dword [rax]
cmp qword [rax + 0x28], r13
je 0x4101c5
cmp dword [0x00a04ed0], 0
jne 0x4101b5
mov qword [rax + 0x28], r13
jmp 0x4101c5
lea rdi, [rax + 0x28]
mov rcx, r13
nop dword [rax]
call fcn.00465b20
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.00463860
mov rax, qword [rsp + 8]
jmp fcn.0040fce0