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

Disassembly:
sub rsp, 0x1b8
vmovaps xmmword [rsp + 0x1a0], xmm15
vmovaps xmmword [rsp + 0x190], xmm14
vmovdqa xmmword [rsp + 0x180], xmm13
vmovaps xmmword [rsp + 0x170], xmm12
vmovaps xmmword [rsp + 0x160], xmm11
vmovdqa xmmword [rsp + 0x150], xmm10
vmovaps xmmword [rsp + 0x140], xmm9
vmovaps xmmword [rsp + 0x130], xmm8
vmovaps xmmword [rsp + 0x120], xmm7
vmovaps xmmword [rsp + 0x110], xmm6
mov r8, rdx
vmovdqa xmm12, xmmword [rcx]
vmovdqa xmm8, xmmword [rcx + 0x20]
mov r9, qword [rcx + 0x20]
lea rax, [r9 + 1]
vpinsrd xmm0, xmm8, eax, 0
shr rax, 0x20
vpinsrd xmm7, xmm0, eax, 1
vmovdqa xmm9, xmmword [rcx + 0x10]
lea rax, [r9 + 2]
vpinsrd xmm0, xmm8, eax, 0
shr rax, 0x20
vpinsrd xmm6, xmm0, eax, 1
lea rax, [r9 + 3]
vpinsrd xmm0, xmm8, eax, 0
shr rax, 0x20
vpinsrd xmm5, xmm0, eax, 1
vmovdqa xmm15, xmmword [0x140102d30]
mov eax, 6
vmovdqa xmmword [rsp + 0x40], xmm5
vmovdqa xmmword [rsp + 0x50], xmm6
vmovdqa xmmword [rsp], xmm15
vmovdqa xmmword [rsp + 0x30], xmm15
vmovdqa xmmword [rsp + 0x20], xmm15
vmovdqa xmmword [rsp + 0x60], xmm7
vmovdqa xmmword [rsp + 0x90], xmm8
vmovdqa xmm3, xmm9
vmovdqa xmm11, xmm9
vmovdqa xmm2, xmm9
vmovdqa xmm4, xmm12
vmovdqa xmm14, xmm12
vmovdqa xmm0, xmm12
nop word cs:[rax + rax]
vpaddd xmm1, xmm14, xmm15
vmovdqa xmmword [rsp + 0x10], xmm1
vpxor xmm8, xmm8, xmm1
vpshuflw xmm8, xmm8, 0xb1
vmovdqa xmm1, xmm12
vpshufhw xmm12, xmm8, 0xb1
vpaddd xmm8, xmm12, xmm2
vmovdqa xmmword [rsp + 0x70], xmm8
vmovdqa xmm2, xmm9
vpxor xmm9, xmm8, xmm14
vpsrld xmm10, xmm9, 0x14
vpslld xmm9, xmm9, 0xc
vpor xmm13, xmm9, xmm10
vpaddd xmm9, xmm0, xmmword [rsp]
vpxor xmm7, xmm9, xmm7
vpshuflw xmm7, xmm7, 0xb1
vpshufhw xmm7, xmm7, 0xb1
vpaddd xmm8, xmm11, xmm7
vmovdqa xmmword [rsp + 0x80], xmm8
vpxor xmm10, xmm8, xmm0
vpsrld xmm14, xmm10, 0x14
vpslld xmm10, xmm10, 0xc
vpor xmm8, xmm10, xmm14
vpaddd xmm10, xmm4, xmmword [rsp + 0x30]
vpxor xmm6, xmm10, xmm6
vpshuflw xmm6, xmm6, 0xb1
vpshufhw xmm14, xmm6, 0xb1
vpaddd xmm11, xmm14, xmm3
vpxor xmm6, xmm11, xmm4
vpsrld xmm15, xmm6, 0x14
vpslld xmm6, xmm6, 0xc
vpor xmm4, xmm15, xmm6
vpaddd xmm3, xmm1, xmmword [rsp + 0x20]
vpxor xmm5, xmm3, xmm5
vpshuflw xmm5, xmm5, 0xb1
vpshufhw xmm0, xmm5, 0xb1
vpaddd xmm2, xmm2, xmm0
vpxor xmm5, xmm2, xmm1
vpsrld xmm6, xmm5, 0x14
vpslld xmm5, xmm5, 0xc
vpor xmm1, xmm5, xmm6
vpaddd xmm5, xmm13, xmmword [rsp + 0x10]
vmovdqa xmm15, xmmword [0x140102900]
vpshufb xmm6, xmm12, xmm15
vpshufb xmm12, xmm5, xmm15
vpxor xmm6, xmm12, xmm6
vpaddd xmm9, xmm8, xmm9
vmovdqa xmmword [rsp], xmm9
vpshufb xmm7, xmm7, xmm15
vpshufb xmm9, xmm9, xmm15
vpxor xmm7, xmm9, xmm7
vpaddd xmm9, xmm10, xmm4
vpshufb xmm10, xmm14, xmm15
vpshufb xmm12, xmm9, xmm15
vpxor xmm10, xmm12, xmm10
vpaddd xmm3, xmm1, xmm3
vmovdqa xmmword [rsp + 0x20], xmm3
vpshufb xmm0, xmm0, xmm15
vpshufb xmm12, xmm3, xmm15
vpxor xmm14, xmm12, xmm0
vpaddd xmm0, xmm6, xmmword [rsp + 0x70]
vmovdqa xmmword [rsp + 0x10], xmm0
vpxor xmm0, xmm13, xmm0
vpsrld xmm12, xmm0, 0x19
vpslld xmm0, xmm0, 7
vpor xmm0, xmm12, xmm0
vpaddd xmm15, xmm7, xmmword [rsp + 0x80]
vpxor xmm8, xmm15, xmm8
vpsrld xmm12, xmm8, 0x19
vpslld xmm8, xmm8, 7
vpor xmm3, xmm8, xmm12
vpaddd xmm12, xmm11, xmm10
vpxor xmm4, xmm12, xmm4
vpsrld xmm11, xmm4, 0x19
vpslld xmm4, xmm4, 7
vpor xmm4, xmm11, xmm4
vpaddd xmm13, xmm14, xmm2
vpxor xmm1, xmm13, xmm1
vpsrld xmm2, xmm1, 0x19
vpslld xmm1, xmm1, 7
vpor xmm1, xmm1, xmm2
vpshufd xmm2, xmm0, 0x39
vpaddd xmm8, xmm2, xmm5
vpshuflw xmm5, xmm8, 0xb1
vpshufhw xmm5, xmm5, 0xb1
vmovdqa xmm0, xmmword [0x140102d60]
vpshufb xmm11, xmm6, xmm0
vpxor xmm5, xmm11, xmm5
vpshufd xmm11, xmm3, 0x39
vpaddd xmm3, xmm11, xmmword [rsp]
vmovdqa xmmword [rsp], xmm3
vpshuflw xmm6, xmm3, 0xb1
vpshufhw xmm6, xmm6, 0xb1
vpshufb xmm7, xmm7, xmm0
vpxor xmm6, xmm7, xmm6
vpshufd xmm4, xmm4, 0x39
vpaddd xmm3, xmm9, xmm4
vmovdqa xmmword [rsp + 0x30], xmm3
vpshuflw xmm7, xmm3, 0xb1
vpshufhw xmm7, xmm7, 0xb1
vpshufb xmm9, xmm10, xmm0
vpxor xmm9, xmm9, xmm7
vpshufd xmm1, xmm1, 0x39
vpaddd xmm7, xmm1, xmmword [rsp + 0x20]
vpshuflw xmm3, xmm7, 0xb1
vpshufhw xmm3, xmm3, 0xb1
vpshufb xmm10, xmm14, xmm0
vpxor xmm10, xmm10, xmm3
vpshufd xmm3, xmmword [rsp + 0x10], 0x4e
vpaddd xmm3, xmm3, xmm5
vpxor xmm2, xmm3, xmm2
vpsrld xmm14, xmm2, 0x14
vpslld xmm2, xmm2, 0xc
vpor xmm2, xmm14, xmm2
vpshufd xmm14, xmm15, 0x4e
vpaddd xmm14, xmm14, xmm6
vpxor xmm11, xmm14, xmm11
vpsrld xmm0, xmm11, 0x14
vpslld xmm11, xmm11, 0xc
vpor xmm0, xmm11, xmm0
vpshufd xmm11, xmm12, 0x4e
vpaddd xmm12, xmm11, xmm9
vpxor xmm4, xmm12, xmm4
vpsrld xmm11, xmm4, 0x14
vpslld xmm4, xmm4, 0xc
vpor xmm4, xmm11, xmm4
vpshufd xmm11, xmm13, 0x4e
vpaddd xmm15, xmm11, xmm10
vpxor xmm1, xmm15, xmm1
vpsrld xmm13, xmm1, 0x14
vpslld xmm1, xmm1, 0xc
vpor xmm11, xmm13, xmm1
vpaddd xmm1, xmm8, xmm2
vmovdqa xmmword [rsp + 0x10], xmm1
vpxor xmm1, xmm1, xmm5
vpshufb xmm13, xmm1, xmmword [0x140102900]
vpaddd xmm1, xmm13, xmm3
vpxor xmm2, xmm1, xmm2
vpsrld xmm8, xmm2, 0x19
vpslld xmm2, xmm2, 7
vpor xmm2, xmm8, xmm2
vpaddd xmm3, xmm0, xmmword [rsp]
vmovdqa xmmword [rsp], xmm3
vpxor xmm5, xmm3, xmm6
vmovdqa xmm3, xmmword [0x140102900]
vpshufb xmm5, xmm5, xmm3
vpaddd xmm8, xmm14, xmm5
vpxor xmm0, xmm8, xmm0
vpsrld xmm14, xmm0, 0x19
vpslld xmm0, xmm0, 7
vpor xmm0, xmm14, xmm0
vpaddd xmm6, xmm4, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm6
vpxor xmm6, xmm9, xmm6
vpshufb xmm6, xmm6, xmm3
vpaddd xmm9, xmm12, xmm6
vpxor xmm4, xmm9, xmm4
vpsrld xmm12, xmm4, 0x19
vpslld xmm4, xmm4, 7
vpor xmm4, xmm12, xmm4
vpaddd xmm7, xmm11, xmm7
vmovdqa xmmword [rsp + 0x20], xmm7
vpxor xmm7, xmm10, xmm7
vpshufb xmm10, xmm7, xmm3
vpaddd xmm7, xmm15, xmm10
vpxor xmm11, xmm11, xmm7
vpsrld xmm12, xmm11, 0x19
vpslld xmm11, xmm11, 7
vpor xmm11, xmm11, xmm12
vpshufd xmm14, xmm2, 0x93
vpshufd xmm0, xmm0, 0x93
vpshufd xmm4, xmm4, 0x93
vmovdqa xmm15, xmmword [rsp + 0x10]
vpshufd xmm12, xmm11, 0x93
vpshufd xmm2, xmm1, 0x4e
vpshufd xmm11, xmm8, 0x4e
vpshufd xmm3, xmm9, 0x4e
vpshufd xmm9, xmm7, 0x4e
vpshufd xmm8, xmm13, 0x39
vpshufd xmm7, xmm5, 0x39
vpshufd xmm6, xmm6, 0x39
vpshufd xmm5, xmm10, 0x39
dec eax
jne 0x140071f60
vmovdqa xmmword [rsp + 0xb0], xmm2
vmovdqa xmmword [rsp + 0xd0], xmm0
vmovdqa xmmword [rsp + 0x80], xmm12
mov eax, dword [0x141dcadd8]
xor edx, edx
div dword [0x141dcaddc]
or eax, 0x50104000
and eax, 0x78984080
vmovdqa xmm0, xmmword [rsp + 0x90]
vpaddd xmm12, xmm8, xmm0
vmovdqa xmm8, xmm0
vpaddd xmm13, xmm7, xmmword [rsp + 0x60]
vpaddd xmm0, xmm6, xmmword [rsp + 0x50]
vmovdqa xmmword [rsp + 0x50], xmm0
vpaddd xmm0, xmm5, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
cmp eax, 0x98e7ad7e
vmovdqa xmmword [rsp + 0x70], xmm9
vmovdqa xmmword [rsp + 0x100], xmm3
vmovdqa xmmword [rsp + 0xf0], xmm4
vmovdqa xmmword [rsp + 0xe0], xmm11
vmovdqa xmmword [rsp + 0xc0], xmm14
vmovdqa xmmword [rsp + 0xa0], xmm12
vmovdqa xmmword [rsp + 0x60], xmm13
jne 0x1400724d9
vmovdqa xmm0, xmmword [0x140102d30]
vpaddd xmm10, xmm0, xmmword [rsp + 0x20]
vpaddd xmm2, xmm0, xmmword [rsp + 0x30]
vpaddd xmm1, xmm0, xmmword [rsp]
vpaddd xmm0, xmm15, xmm0
vmovdqa xmm7, xmmword [rcx]
vmovdqa xmm5, xmmword [rcx + 0x10]
lea rax, [r9 + 4]
vpinsrd xmm6, xmm8, eax, 0
shr rax, 0x20
vpinsrd xmm6, xmm6, eax, 1
vmovdqa xmmword [rcx + 0x20], xmm6
vmovdqu xmmword [r8], xmm0
vpaddd xmm0, xmm14, xmm7
vmovdqu xmmword [r8 + 0x10], xmm0
vpaddd xmm0, xmm5, xmmword [rsp + 0xb0]
vmovdqu xmmword [r8 + 0x20], xmm0
vmovdqu xmmword [r8 + 0x30], xmm12
vmovdqu xmmword [r8 + 0x40], xmm1
vpaddd xmm0, xmm7, xmmword [rsp + 0xd0]
vmovdqu xmmword [r8 + 0x50], xmm0
vpaddd xmm0, xmm11, xmm5
vmovdqu xmmword [r8 + 0x60], xmm0
vmovdqu xmmword [r8 + 0x70], xmm13
vmovdqu xmmword [r8 + 0x80], xmm2
vpaddd xmm0, xmm4, xmm7
vmovdqu xmmword [r8 + 0x90], xmm0
vpaddd xmm0, xmm3, xmm5
vmovdqu xmmword [r8 + 0xa0], xmm0
vmovaps xmm0, xmmword [rsp + 0x50]
vmovups xmmword [r8 + 0xb0], xmm0
vmovdqu xmmword [r8 + 0xc0], xmm10
vpaddd xmm0, xmm7, xmmword [rsp + 0x80]
vmovdqu xmmword [r8 + 0xd0], xmm0
vpaddd xmm0, xmm9, xmm5
vmovdqu xmmword [r8 + 0xe0], xmm0
vmovdqa xmm0, xmmword [rsp + 0x40]
vmovdqu xmmword [r8 + 0xf0], xmm0
vzeroupper
vmovdqa xmm13, xmmword [rsp + 0x60]
vmovdqa xmm12, xmmword [rsp + 0xa0]
vmovdqa xmm15, xmmword [rsp + 0x10]
vmovdqa xmm14, xmmword [rsp + 0xc0]
vmovdqa xmm11, xmmword [rsp + 0xe0]
vmovdqa xmm4, xmmword [rsp + 0xf0]
vmovdqa xmm3, xmmword [rsp + 0x100]
vmovdqa xmm9, xmmword [rsp + 0x70]
vmovdqa xmm8, xmmword [rsp + 0x90]
add r9, 4
mov rax, r9
shr rax, 0x20
vmovdqa xmm0, xmmword [0x140102d30]
vpaddd xmm1, xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm1
vpaddd xmm1, xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm1
vpaddd xmm1, xmm0, xmmword [rsp]
vmovdqa xmmword [rsp], xmm1
vpaddd xmm0, xmm15, xmm0
vmovdqa xmmword [rsp + 0x10], xmm0
nop dword [rax + rax]
mov edx, dword [0x141dcade0]
add edx, dword [0x141dcade4]
vmovdqa xmm0, xmmword [rcx]
vpinsrd xmm1, xmm8, r9d, 0
vmovdqa xmm2, xmmword [rcx + 0x10]
vpinsrd xmm1, xmm1, eax, 1
vmovdqa xmmword [rcx + 0x20], xmm1
vmovaps xmm1, xmmword [rsp + 0x10]
vmovups xmmword [r8], xmm1
vpaddd xmm1, xmm14, xmm0
vmovdqu xmmword [r8 + 0x10], xmm1
vpaddd xmm1, xmm2, xmmword [rsp + 0xb0]
vmovdqu xmmword [r8 + 0x20], xmm1
vmovdqu xmmword [r8 + 0x30], xmm12
vmovaps xmm1, xmmword [rsp]
vmovups xmmword [r8 + 0x40], xmm1
vpaddd xmm1, xmm0, xmmword [rsp + 0xd0]
vmovdqu xmmword [r8 + 0x50], xmm1
vpaddd xmm1, xmm11, xmm2
vmovdqu xmmword [r8 + 0x60], xmm1
vmovdqu xmmword [r8 + 0x70], xmm13
vmovaps xmm1, xmmword [rsp + 0x30]
vmovups xmmword [r8 + 0x80], xmm1
vpaddd xmm1, xmm4, xmm0
vmovdqu xmmword [r8 + 0x90], xmm1
vpaddd xmm1, xmm3, xmm2
vmovdqu xmmword [r8 + 0xa0], xmm1
vmovaps xmm1, xmmword [rsp + 0x50]
vmovups xmmword [r8 + 0xb0], xmm1
vmovdqa xmm1, xmmword [rsp + 0x20]
vmovdqu xmmword [r8 + 0xc0], xmm1
vpaddd xmm0, xmm0, xmmword [rsp + 0x80]
vmovdqu xmmword [r8 + 0xd0], xmm0
vpaddd xmm0, xmm9, xmm2
vmovdqu xmmword [r8 + 0xe0], xmm0
vmovdqa xmm0, xmmword [rsp + 0x40]
vmovdqu xmmword [r8 + 0xf0], xmm0
vzeroupper
vmovdqa xmm13, xmmword [rsp + 0x60]
vmovdqa xmm12, xmmword [rsp + 0xa0]
vmovdqa xmm14, xmmword [rsp + 0xc0]
vmovdqa xmm11, xmmword [rsp + 0xe0]
vmovdqa xmm4, xmmword [rsp + 0xf0]
vmovdqa xmm3, xmmword [rsp + 0x100]
vmovdqa xmm9, xmmword [rsp + 0x70]
vmovdqa xmm8, xmmword [rsp + 0x90]
imul edx, edx, 0xb0f11e1a
cmp edx, 0x8038ca95
je 0x140072520
vmovaps xmm6, xmmword [rsp + 0x110]
vmovaps xmm7, xmmword [rsp + 0x120]
vmovaps xmm8, xmmword [rsp + 0x130]
vmovaps xmm9, xmmword [rsp + 0x140]
vmovaps xmm10, xmmword [rsp + 0x150]
vmovaps xmm11, xmmword [rsp + 0x160]
vmovaps xmm12, xmmword [rsp + 0x170]
vmovaps xmm13, xmmword [rsp + 0x180]
vmovaps xmm14, xmmword [rsp + 0x190]
vmovaps xmm15, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
ret