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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41449b
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdi
test rbx, rbx
je 0x414487
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rax
movzx ecx, byte [rbx + 8]
nop
test cl, 4
je 0x414120
lea rax, [0x01091f41]
mov ebx, 0x15
call fcn.00439f00
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rdx]
mov esi, dword [rbx + 0xc]
lea rax, [rsp + 0x80]
mov rbx, rsi
call rcx
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x78]
movzx ecx, byte [rbx + 8]
xor ecx, 4
mov byte [rbx + 8], cl
cmp qword [rbx + 0x10], 0
jne 0x414198
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx + 0x40]
mov rax, qword [rbx]
mov ecx, 1
call fcn.0040de80
cmp dword [0x01bfb600], 0
jne 0x41417c
mov rbx, qword [rsp + 0x78]
mov qword [rbx + 0x10], rax
jmp 0x414193
mov rdi, qword [rsp + 0x78]
lea rdx, [rdi + 0x10]
mov rcx, rdi
mov rdi, rdx
call fcn.0046d880
mov rbx, rcx
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x70]
jmp 0x4141be
mov rax, rdx
call fcn.00410fa0
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
mov rdx, qword [rsp + 0x70]
movzx ecx, byte [rbx + 9]
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
and rcx, rax
cmp qword [rbx + 0x18], 0
je 0x4141f9
mov qword [rsp + 0x30], rcx
mov rax, rdx
call fcn.00414860
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
movzx esi, word [rdx + 0x52]
imul rcx, rsi
add rcx, qword [rbx + 0x10]
mov rsi, rax
shr rax, 0x38
cmp al, 5
jae 0x414213
add eax, 5
mov byte [rsp + 0x1f], al
xor edi, edi
xor r8d, r8d
nop dword [rax]
jmp 0x41429e
mov rcx, r10
cmp qword [rbx + 0x18], 0
jne 0x4143ba
mov r9, qword [rbx]
inc r9
movzx r10d, byte [rbx + 9]
nop
cmp r9, 8
jle 0x41426b
mov r11, rcx
mov ecx, r10d
mov r12d, 1
shl r12, cl
shr r12, 1
lea r13, [r12 + r12*2]
lea r12, [r12 + r13*4]
cmp r12, r9
jb 0x41419f
jmp 0x414271
mov r11, rcx
mov ecx, r10d
movzx r9d, word [rbx + 0xa]
cmp cl, 0xf
jbe 0x414280
mov ecx, 0xf
and ecx, 0xf
mov r10d, 1
shl r10d, cl
cmp r9w, r10w
jae 0x41419f
jmp 0x4143c0
mov rcx, r9
mov qword [rsp + 0x58], rcx
xor r9d, r9d
jmp 0x4142cd
movzx r9d, word [rdx + 0x52]
mov r10, rcx
lea r9, [rcx + r9]
lea r9, [r9 - 8]
mov r9, qword [r9]
nop dword [rax + rax]
test r9, r9
jne 0x41429b
jmp 0x414225
inc r9
cmp r9, 8
jae 0x4142a8
test byte [rcx], al
movzx r10d, byte [rcx + r9]
cmp al, r10b
je 0x4142fb
nop
cmp r10b, 1
ja 0x4142f1
test rdi, rdi
jne 0x4142f1
mov rdi, rcx
mov r8, r9
test r10b, r10b
jne 0x4142ca
jmp 0x414228
mov r10, r9
shl r9, 4
mov r11, rcx
lea r9, [r9 + rcx]
lea r9, [r9 + 8]
mov rcx, qword [rsp + 0x88]
cmp qword [r9 + 8], rcx
je 0x414323
mov rcx, r11
mov r9, r10
jmp 0x4142ca
mov r12, qword [r9]
mov r13, qword [rsp + 0x80]
cmp r13, r12
jne 0x414337
xor ecx, ecx
jmp 0x414388
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x50], rdi
mov rax, r12
mov rbx, r13
call fcn.00403500
xor eax, 1
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x58]
mov ecx, eax
movzx eax, byte [rsp + 0x1f]
test cl, cl
je 0x414397
mov rcx, r11
mov r9, r10
jmp 0x4142ca
mov rcx, qword [rsp + 0x80]
cmp dword [0x01bfb600], 0
jne 0x4143b0
mov qword [r9], rcx
jmp 0x414437
mov rdi, r9
call fcn.0046d980
jmp 0x414437
mov r11, rcx
nop dword [rax]
test rdi, rdi
jne 0x4143e8
mov rax, rbx
mov rbx, rdx
mov rcx, r11
call fcn.0040f080
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rdi, rax
xor r8d, r8d
movzx eax, byte [rsp + 0x1f]
test byte [rdi], al
mov rcx, r8
and r8d, 7
mov byte [rdi + r8], al
mov rsi, rcx
shl rcx, 4
mov r8, rdi
lea rdi, [rdi + rcx]
lea rdi, [rdi + 8]
mov rcx, qword [rsp + 0x88]
mov r9, qword [rsp + 0x80]
mov qword [rdi + 8], rcx
cmp dword [0x01bfb600], 0
jne 0x414429
mov qword [rdi], r9
jmp 0x41442e
call fcn.0046da20
inc qword [rbx]
mov r11, r8
mov r10, rsi
movzx ecx, byte [rdx + 0x51]
imul r10, rcx
movzx ecx, byte [rbx + 8]
lea rax, [r10 + r11]
lea rax, [rax + 0x88]
test cl, 4
jne 0x414473
mov qword [rsp + 0x40], rax
lea rax, [0x01091f41]
mov ebx, 0x15
call fcn.00439f00
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x78]
movzx ecx, byte [rbx + 8]
and ecx, 0xfffffffb
mov byte [rbx + 8], cl
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x00f3d740]
lea rbx, [0x014343f0]
call fcn.00439660
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046b6c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004140c0