Function at 0x4c6f40
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm15
movaps xmmword [rsp + 0x120], xmm14
movaps xmmword [rsp + 0x110], xmm13
movaps xmmword [rsp + 0x100], xmm12
movaps xmmword [rsp + 0xf0], xmm11
movaps xmmword [rsp + 0xe0], xmm10
movaps xmmword [rsp + 0xd0], xmm9
movaps xmmword [rsp + 0xc0], xmm8
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm0, xmmword [rcx]
movdqa xmm12, xmmword [rcx + 0x20]
mov rax, qword [rcx + 0x20]
lea r8, [rax + 1]
movdqa xmm13, xmm12
pinsrd xmm13, r8d, 0
shr r8, 0x20
pinsrd xmm13, r8d, 1
lea r8, [rax + 2]
movdqa xmm14, xmm12
pinsrd xmm14, r8d, 0
shr r8, 0x20
pinsrd xmm14, r8d, 1
lea r8, [rax + 3]
movdqa xmm15, xmm12
pinsrd xmm15, r8d, 0
shr r8, 0x20
pinsrd xmm15, r8d, 1
movdqa xmm5, xmmword [rcx + 0x10]
movdqa xmm9, xmmword [0x0071f790]
mov r8d, 6
movdqa xmm8, xmm9
movdqa xmm7, xmm9
movdqa xmm6, xmm9
movdqa xmm11, xmm0
movdqa xmm3, xmm0
movdqa xmm1, xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmm10, xmm5
movdqa xmm4, xmm5
movdqa xmm2, xmm5
movdqa xmmword [rsp + 0x40], xmm5
movdqa xmmword [rsp + 0x50], xmm12
movdqa xmmword [rsp + 0x80], xmm13
movdqa xmmword [rsp + 0x70], xmm14
movdqa xmmword [rsp + 0x60], xmm15
nop dword [rax]
paddd xmm9, xmm11
paddd xmm8, xmm3
paddd xmm7, xmm1
paddd xmm6, xmm0
movdqa xmmword [rsp + 0x10], xmm6
pxor xmm12, xmm9
pxor xmm13, xmm8
pxor xmm14, xmm7
pxor xmm15, xmm6
pshuflw xmm12, xmm12, 0xb1
pshufhw xmm6, xmm12, 0xb1
movdqa xmmword [rsp + 0x20], xmm6
pshuflw xmm13, xmm13, 0xb1
pshufhw xmm12, xmm13, 0xb1
movdqa xmmword [rsp + 0x30], xmm12
pshuflw xmm14, xmm14, 0xb1
pshufhw xmm14, xmm14, 0xb1
pshuflw xmm15, xmm15, 0xb1
pshufhw xmm15, xmm15, 0xb1
paddd xmm10, xmm6
movdqa xmm6, xmmword [rsp + 0x10]
paddd xmm4, xmm12
paddd xmm2, xmm14
paddd xmm5, xmm15
pxor xmm11, xmm10
movdqa xmm12, xmm5
movdqa xmmword [rsp], xmm5
movdqa xmm5, xmm11
psrld xmm5, 0x14
pslld xmm11, 0xc
por xmm11, xmm5
pxor xmm3, xmm4
movdqa xmm5, xmm3
psrld xmm5, 0x14
pslld xmm3, 0xc
por xmm3, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
psrld xmm5, 0x14
pslld xmm1, 0xc
por xmm1, xmm5
pxor xmm0, xmm12
movdqa xmm5, xmm0
psrld xmm5, 0x14
pslld xmm0, 0xc
por xmm0, xmm5
paddd xmm9, xmm11
paddd xmm8, xmm3
paddd xmm7, xmm1
paddd xmm6, xmm0
movdqa xmm5, xmm9
movdqa xmm13, xmmword [0x0071f7a0]
pshufb xmm5, xmm13
movdqa xmm12, xmmword [rsp + 0x20]
pshufb xmm12, xmm13
pxor xmm12, xmm5
movdqa xmmword [rsp + 0x20], xmm12
movdqa xmm5, xmm8
pshufb xmm5, xmm13
movdqa xmm12, xmmword [rsp + 0x30]
pshufb xmm12, xmm13
pxor xmm12, xmm5
movdqa xmmword [rsp + 0x30], xmm12
movdqa xmm5, xmm7
pshufb xmm5, xmm13
pshufb xmm14, xmm13
pxor xmm14, xmm5
movdqa xmm5, xmm6
pshufb xmm5, xmm13
pshufb xmm15, xmm13
pxor xmm15, xmm5
movdqa xmm13, xmmword [rsp + 0x20]
paddd xmm10, xmm13
paddd xmm4, xmm12
paddd xmm2, xmm14
movdqa xmm5, xmmword [rsp]
paddd xmm5, xmm15
pxor xmm11, xmm10
pxor xmm3, xmm4
pxor xmm1, xmm2
pxor xmm0, xmm5
movdqa xmm12, xmm5
movdqa xmm5, xmm11
psrld xmm5, 0x19
pslld xmm11, 7
por xmm11, xmm5
movdqa xmm5, xmm3
psrld xmm5, 0x19
pslld xmm3, 7
por xmm3, xmm5
movdqa xmm5, xmm1
psrld xmm5, 0x19
pslld xmm1, 7
por xmm1, xmm5
movdqa xmm5, xmm0
psrld xmm5, 0x19
pslld xmm0, 7
por xmm0, xmm5
pshufd xmm11, xmm11, 0x39
pshufd xmm3, xmm3, 0x39
pshufd xmm1, xmm1, 0x39
pshufd xmm0, xmm0, 0x39
pshufd xmm10, xmm10, 0x4e
pshufd xmm4, xmm4, 0x4e
movdqa xmmword [rsp + 0x10], xmm4
pshufd xmm2, xmm2, 0x4e
movdqa xmmword [rsp], xmm2
pshufd xmm5, xmm12, 0x4e
paddd xmm9, xmm11
paddd xmm8, xmm3
paddd xmm7, xmm1
paddd xmm6, xmm0
pshuflw xmm2, xmm9, 0xb1
pshufhw xmm2, xmm2, 0xb1
movdqa xmm4, xmmword [0x0071f7b0]
movdqa xmm12, xmm13
pshufb xmm12, xmm4
pxor xmm12, xmm2
pshuflw xmm2, xmm8, 0xb1
pshufhw xmm2, xmm2, 0xb1
movdqa xmm13, xmmword [rsp + 0x30]
pshufb xmm13, xmm4
pxor xmm13, xmm2
pshuflw xmm2, xmm7, 0xb1
pshufhw xmm2, xmm2, 0xb1
pshufb xmm14, xmm4
pxor xmm14, xmm2
pshuflw xmm2, xmm6, 0xb1
pshufhw xmm2, xmm2, 0xb1
pshufb xmm15, xmm4
pxor xmm15, xmm2
paddd xmm10, xmm12
movdqa xmm4, xmmword [rsp + 0x10]
paddd xmm4, xmm13
movdqa xmm2, xmmword [rsp]
paddd xmm2, xmm14
movdqa xmmword [rsp], xmm2
paddd xmm5, xmm15
pxor xmm11, xmm10
pxor xmm3, xmm4
pxor xmm1, xmm2
pxor xmm0, xmm5
movdqa xmm2, xmm11
psrld xmm2, 0x14
pslld xmm11, 0xc
por xmm11, xmm2
movdqa xmm2, xmm3
psrld xmm2, 0x14
pslld xmm3, 0xc
por xmm3, xmm2
movdqa xmm2, xmm1
psrld xmm2, 0x14
pslld xmm1, 0xc
por xmm1, xmm2
movdqa xmm2, xmm0
psrld xmm2, 0x14
pslld xmm0, 0xc
por xmm0, xmm2
paddd xmm9, xmm11
paddd xmm8, xmm3
paddd xmm7, xmm1
paddd xmm6, xmm0
pxor xmm12, xmm9
movdqa xmm2, xmmword [0x0071f7a0]
pshufb xmm12, xmm2
pxor xmm13, xmm8
pshufb xmm13, xmm2
pxor xmm14, xmm7
pshufb xmm14, xmm2
pxor xmm15, xmm6
pshufb xmm15, xmm2
paddd xmm10, xmm12
paddd xmm4, xmm13
movdqa xmm2, xmmword [rsp]
paddd xmm2, xmm14
movdqa xmmword [rsp], xmm2
paddd xmm5, xmm15
pxor xmm11, xmm10
pxor xmm3, xmm4
pxor xmm1, xmm2
pxor xmm0, xmm5
movdqa xmm2, xmm11
psrld xmm2, 0x19
pslld xmm11, 7
por xmm11, xmm2
movdqa xmm2, xmm3
psrld xmm2, 0x19
pslld xmm3, 7
por xmm3, xmm2
movdqa xmm2, xmm1
psrld xmm2, 0x19
pslld xmm1, 7
por xmm1, xmm2
movdqa xmm2, xmm0
psrld xmm2, 0x19
pslld xmm0, 7
por xmm0, xmm2
pshufd xmm11, xmm11, 0x93
pshufd xmm3, xmm3, 0x93
pshufd xmm1, xmm1, 0x93
pshufd xmm0, xmm0, 0x93
pshufd xmm10, xmm10, 0x4e
pshufd xmm4, xmm4, 0x4e
pshufd xmm2, xmmword [rsp], 0x4e
pshufd xmm5, xmm5, 0x4e
pshufd xmm12, xmm12, 0x39
pshufd xmm13, xmm13, 0x39
pshufd xmm14, xmm14, 0x39
pshufd xmm15, xmm15, 0x39
dec r8d
jne 0x4c7070
movdqa xmmword [rsp], xmm5
movdqa xmm5, xmmword [0x0071f790]
paddd xmm6, xmm5
paddd xmm7, xmm5
paddd xmm8, xmm5
paddd xmm9, xmm5
add rax, 4
mov r8, rax
shr r8, 0x20
movdqa xmm5, xmmword [rsp + 0x50]
paddd xmm12, xmm5
pinsrd xmm5, eax, 0
pinsrd xmm5, r8d, 1
movdqa xmmword [rcx + 0x20], xmm5
movdqu xmmword [rdx], xmm9
movdqa xmm5, xmmword [rsp + 0x90]
paddd xmm11, xmm5
movdqu xmmword [rdx + 0x10], xmm11
movdqa xmm9, xmmword [rsp + 0x40]
paddd xmm10, xmm9
movdqu xmmword [rdx + 0x20], xmm10
movdqu xmmword [rdx + 0x30], xmm12
movdqu xmmword [rdx + 0x40], xmm8
paddd xmm3, xmm5
movdqu xmmword [rdx + 0x50], xmm3
paddd xmm4, xmm9
movdqu xmmword [rdx + 0x60], xmm4
paddd xmm13, xmmword [rsp + 0x80]
movdqu xmmword [rdx + 0x70], xmm13
movdqu xmmword [rdx + 0x80], xmm7
paddd xmm1, xmm5
movdqu xmmword [rdx + 0x90], xmm1
paddd xmm2, xmm9
movdqu xmmword [rdx + 0xa0], xmm2
paddd xmm14, xmmword [rsp + 0x70]
movdqu xmmword [rdx + 0xb0], xmm14
movdqu xmmword [rdx + 0xc0], xmm6
paddd xmm0, xmm5
movdqu xmmword [rdx + 0xd0], xmm0
movdqa xmm0, xmmword [rsp]
paddd xmm0, xmm9
movdqu xmmword [rdx + 0xe0], xmm0
paddd xmm15, xmmword [rsp + 0x60]
movdqu xmmword [rdx + 0xf0], xmm15
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm11, xmmword [rsp + 0xf0]
movaps xmm12, xmmword [rsp + 0x100]
movaps xmm13, xmmword [rsp + 0x110]
movaps xmm14, xmmword [rsp + 0x120]
movaps xmm15, xmmword [rsp + 0x130]
add rsp, 0x148
ret