Function at 0x430b30
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm15
movaps xmmword [rsp + 0x140], xmm14
movaps xmmword [rsp + 0x130], xmm13
movaps xmmword [rsp + 0x120], xmm12
movaps xmmword [rsp + 0x110], xmm11
movaps xmmword [rsp + 0x100], xmm10
movaps xmmword [rsp + 0xf0], xmm9
movaps xmmword [rsp + 0xe0], xmm8
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xc0], xmm6
mov rsi, r8
mov ebx, edx
mov rdi, rcx
mov r14, qword [0x0052c2b0]
mov rax, qword [r14]
test rax, rax
je 0x4311aa
test ax, ax
js 0x4311b8
mov rax, qword [r14]
test rax, rax
je 0x431229
test eax, 0x4000
jne 0x431239
mov rax, qword [r14]
test rax, rax
je 0x43145b
test eax, 0x400
jne 0x43146b
mov rax, qword [r14]
test rax, rax
je 0x4314dc
test eax, 0x200
jne 0x4314ec
movdqa xmm3, xmmword [rdi]
movdqa xmm2, xmmword [rdi + 0x10]
movdqa xmm4, xmmword [rdi + 0x20]
mov rax, qword [rdi + 0x20]
lea rcx, [rax + 1]
movd xmm7, ecx
shr rcx, 0x20
pshufd xmm1, xmm4, 0xf8
pslldq xmm1, 4
movd xmm0, ecx
pslldq xmm0, 8
shufps xmm0, xmm4, 0xe8
por xmm7, xmm0
lea rcx, [rax + 2]
movd xmm12, ecx
shr rcx, 0x20
movd xmm0, ecx
pslldq xmm0, 8
shufps xmm0, xmm4, 0xe8
por xmm12, xmm0
lea rcx, [rax + 3]
movd xmm5, ecx
shr rcx, 0x20
movd xmm0, ecx
pslldq xmm0, 8
shufps xmm0, xmm4, 0xe8
por xmm5, xmm0
test ebx, ebx
movdqa xmmword [rsp + 0xb0], xmm2
movdqa xmmword [rsp + 0xa0], xmm3
movaps xmmword [rsp + 0x90], xmm4
movdqa xmmword [rsp + 0x80], xmm7
movdqa xmmword [rsp + 0x70], xmm12
movdqa xmmword [rsp + 0x60], xmm5
movdqa xmmword [rsp + 0x50], xmm1
je 0x4312aa
movdqa xmm10, xmmword [0x00534960]
movdqa xmm9, xmm10
movdqa xmm8, xmm10
movdqa xmmword [rsp + 0x30], xmm10
movdqa xmm1, xmm3
movdqa xmm15, xmm3
movdqa xmm13, xmm3
movdqa xmm11, xmm3
movdqa xmm6, xmm2
movdqa xmm0, xmm2
movdqa xmm14, xmm2
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmm3, xmm4
movdqa xmm4, xmm7
movdqa xmm2, xmm12
nop dword [rax]
paddd xmm10, xmm1
paddd xmm9, xmm15
paddd xmm8, xmm13
movdqa xmm7, xmmword [rsp + 0x30]
paddd xmm7, xmm11
movdqa xmmword [rsp + 0x30], xmm7
pxor xmm3, xmm10
pxor xmm4, xmm9
pxor xmm2, xmm8
pxor xmm5, xmm7
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm12, xmm3, 0xb1
pshuflw xmm3, xmm4, 0xb1
pshufhw xmm4, xmm3, 0xb1
pshuflw xmm2, xmm2, 0xb1
pshufhw xmm2, xmm2, 0xb1
pshuflw xmm3, xmm5, 0xb1
pshufhw xmm7, xmm3, 0xb1
paddd xmm6, xmm12
paddd xmm0, xmm4
paddd xmm14, xmm2
movdqa xmm3, xmmword [rsp + 0x20]
paddd xmm3, xmm7
movdqa xmm5, xmm3
movdqa xmmword [rsp + 0x20], xmm3
pxor xmm1, xmm6
movdqa xmm3, xmm1
psrld xmm3, 0x14
pslld xmm1, 0xc
por xmm1, xmm3
pxor xmm15, xmm0
movdqa xmm3, xmm15
psrld xmm3, 0x14
pslld xmm15, 0xc
por xmm15, xmm3
pxor xmm13, xmm14
movdqa xmm3, xmm13
psrld xmm3, 0x14
pslld xmm13, 0xc
por xmm13, xmm3
pxor xmm11, xmm5
movdqa xmm3, xmm11
psrld xmm3, 0x14
pslld xmm11, 0xc
por xmm11, xmm3
paddd xmm10, xmm1
paddd xmm9, xmm15
paddd xmm8, xmm13
movdqa xmm5, xmmword [rsp + 0x30]
paddd xmm5, xmm11
movdqa xmmword [rsp + 0x30], xmm5
pxor xmm12, xmm10
movdqa xmm3, xmm12
psrld xmm3, 0x18
pslld xmm12, 8
por xmm12, xmm3
pxor xmm4, xmm9
movdqa xmm3, xmm4
psrld xmm3, 0x18
pslld xmm4, 8
por xmm4, xmm3
pxor xmm2, xmm8
movdqa xmm3, xmm2
psrld xmm3, 0x18
pslld xmm2, 8
por xmm2, xmm3
pxor xmm7, xmm5
movdqa xmm3, xmm7
psrld xmm3, 0x18
pslld xmm7, 8
por xmm7, xmm3
paddd xmm6, xmm12
paddd xmm0, xmm4
paddd xmm14, xmm2
movdqa xmm3, xmmword [rsp + 0x20]
paddd xmm3, xmm7
movdqa xmmword [rsp + 0x20], xmm3
pxor xmm1, xmm6
pxor xmm15, xmm0
pxor xmm13, xmm14
pxor xmm11, xmm3
movdqa xmm3, xmm1
psrld xmm3, 0x19
pslld xmm1, 7
por xmm1, xmm3
movdqa xmm3, xmm15
psrld xmm3, 0x19
pslld xmm15, 7
por xmm15, xmm3
movdqa xmm3, xmm13
psrld xmm3, 0x19
pslld xmm13, 7
por xmm13, xmm3
movdqa xmm3, xmm11
psrld xmm3, 0x19
pslld xmm11, 7
por xmm11, xmm3
pshufd xmm1, xmm1, 0x39
pshufd xmm5, xmm15, 0x39
pshufd xmm13, xmm13, 0x39
pshufd xmm11, xmm11, 0x39
pshufd xmm6, xmm6, 0x4e
pshufd xmm0, xmm0, 0x4e
movdqa xmmword [rsp + 0x40], xmm0
pshufd xmm14, xmm14, 0x4e
pshufd xmm3, xmmword [rsp + 0x20], 0x4e
pshufd xmm12, xmm12, 0x93
pshufd xmm4, xmm4, 0x93
pshufd xmm0, xmm2, 0x93
movdqa xmmword [rsp + 0x20], xmm0
pshufd xmm7, xmm7, 0x93
paddd xmm10, xmm1
paddd xmm9, xmm5
paddd xmm8, xmm13
movdqa xmm15, xmmword [rsp + 0x30]
paddd xmm15, xmm11
pshuflw xmm2, xmm10, 0xb1
pshufhw xmm0, xmm2, 0xb1
pshuflw xmm2, xmm12, 0xb1
pshufhw xmm2, xmm2, 0xb1
pxor xmm2, xmm0
pshuflw xmm0, xmm9, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm4, xmm4, 0xb1
pshufhw xmm4, xmm4, 0xb1
pxor xmm4, xmm0
pshuflw xmm0, xmm8, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm12, xmmword [rsp + 0x20], 0xb1
pshufhw xmm12, xmm12, 0xb1
pxor xmm12, xmm0
pshuflw xmm0, xmm15, 0xb1
pshufhw xmm0, xmm0, 0xb1
pshuflw xmm7, xmm7, 0xb1
pshufhw xmm7, xmm7, 0xb1
pxor xmm7, xmm0
paddd xmm6, xmm2
movdqa xmm0, xmmword [rsp + 0x40]
paddd xmm0, xmm4
movdqa xmmword [rsp + 0x40], xmm0
paddd xmm14, xmm12
paddd xmm3, xmm7
pxor xmm1, xmm6
pxor xmm5, xmm0
pxor xmm13, xmm14
pxor xmm11, xmm3
movdqa xmm0, xmm1
psrld xmm0, 0x14
pslld xmm1, 0xc
por xmm1, xmm0
movdqa xmm0, xmm5
psrld xmm0, 0x14
pslld xmm5, 0xc
por xmm5, xmm0
movdqa xmm0, xmm13
psrld xmm0, 0x14
pslld xmm13, 0xc
por xmm13, xmm0
movdqa xmm0, xmm11
psrld xmm0, 0x14
pslld xmm11, 0xc
por xmm11, xmm0
paddd xmm10, xmm1
paddd xmm9, xmm5
paddd xmm8, xmm13
paddd xmm15, xmm11
pxor xmm2, xmm10
movdqa xmm0, xmm2
psrld xmm0, 0x18
pslld xmm2, 8
por xmm2, xmm0
pxor xmm4, xmm9
movdqa xmm0, xmm4
psrld xmm0, 0x18
pslld xmm4, 8
por xmm4, xmm0
pxor xmm12, xmm8
movdqa xmm0, xmm12
psrld xmm0, 0x18
pslld xmm12, 8
por xmm12, xmm0
movdqa xmmword [rsp + 0x30], xmm15
pxor xmm7, xmm15
movdqa xmm0, xmm7
psrld xmm0, 0x18
pslld xmm7, 8
por xmm7, xmm0
paddd xmm6, xmm2
movdqa xmm0, xmmword [rsp + 0x40]
paddd xmm0, xmm4
movdqa xmmword [rsp + 0x40], xmm0
paddd xmm14, xmm12
paddd xmm3, xmm7
pxor xmm1, xmm6
pxor xmm5, xmm0
pxor xmm13, xmm14
pxor xmm11, xmm3
movdqa xmm0, xmm1
psrld xmm0, 0x19
pslld xmm1, 7
por xmm1, xmm0
movdqa xmm0, xmm5
psrld xmm0, 0x19
pslld xmm5, 7
por xmm5, xmm0
movdqa xmm0, xmm13
psrld xmm0, 0x19
pslld xmm13, 7
por xmm13, xmm0
movdqa xmm0, xmm11
psrld xmm0, 0x19
pslld xmm11, 7
por xmm11, xmm0
pshufd xmm1, xmm1, 0x93
pshufd xmm15, xmm5, 0x93
pshufd xmm13, xmm13, 0x93
pshufd xmm11, xmm11, 0x93
pshufd xmm6, xmm6, 0x4e
pshufd xmm0, xmmword [rsp + 0x40], 0x4e
pshufd xmm14, xmm14, 0x4e
pshufd xmm3, xmm3, 0x4e
movdqa xmmword [rsp + 0x20], xmm3
pshufd xmm3, xmm2, 0x39
pshufd xmm4, xmm4, 0x39
pshufd xmm2, xmm12, 0x39
pshufd xmm5, xmm7, 0x39
dec ebx
jne 0x430d00
movdqa xmm7, xmmword [0x00534960]
paddd xmm10, xmm7
paddd xmm9, xmm7
paddd xmm8, xmm7
movdqa xmm12, xmmword [rsp + 0x30]
paddd xmm12, xmm7
movdqa xmmword [rsp + 0x30], xmm12
jmp 0x4312f7
call dbg.detect_and_initialize
test ax, ax
jns 0x430bb8
mov rcx, rdi
mov edx, ebx
mov r8, rsi
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm13, xmmword [rsp + 0x130]
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.rand_chacha::guts::refill_wide::impl_avx2::hbac552a56f861089
call dbg.detect_and_initialize
test eax, 0x4000
je 0x430bcf
mov rcx, rdi
mov edx, ebx
mov r8, rsi
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm13, xmmword [rsp + 0x130]
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.rand_chacha::guts::refill_wide::impl_avx::h0ad16d961261286c
movdqa xmm10, xmmword [0x00534970]
movdqa xmm11, xmm3
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmm13, xmm3
movdqa xmm8, xmm10
movdqa xmm14, xmm2
movdqa xmm15, xmm3
movdqa xmm9, xmm10
movdqa xmm0, xmm2
movdqa xmm1, xmm3
movdqa xmmword [rsp + 0x30], xmm10
movdqa xmm6, xmm2
movdqa xmm3, xmm4
movdqa xmm2, xmm12
movdqa xmm4, xmm7
add rax, 4
mov rcx, rax
shr rcx, 0x20
movd xmm7, ecx
por xmm7, xmmword [rsp + 0x50]
movdqa xmm12, xmm7
pslldq xmm12, 8
shufps xmm12, xmm7, 0xe8
movd xmm7, eax
por xmm7, xmm12
movdqa xmmword [rdi + 0x20], xmm7
movdqu xmmword [rsi], xmm10
movdqa xmm7, xmmword [rsp + 0xa0]
paddd xmm1, xmm7
movdqu xmmword [rsi + 0x10], xmm1
movdqa xmm1, xmmword [rsp + 0xb0]
paddd xmm6, xmm1
movdqu xmmword [rsi + 0x20], xmm6
paddd xmm3, xmmword [rsp + 0x90]
movdqu xmmword [rsi + 0x30], xmm3
movdqu xmmword [rsi + 0x40], xmm9
paddd xmm15, xmm7
movdqu xmmword [rsi + 0x50], xmm15
paddd xmm0, xmm1
movdqu xmmword [rsi + 0x60], xmm0
paddd xmm4, xmmword [rsp + 0x80]
movdqu xmmword [rsi + 0x70], xmm4
movdqu xmmword [rsi + 0x80], xmm8
paddd xmm13, xmm7
movdqu xmmword [rsi + 0x90], xmm13
paddd xmm14, xmm1
movdqu xmmword [rsi + 0xa0], xmm14
paddd xmm2, xmmword [rsp + 0x70]
movdqu xmmword [rsi + 0xb0], xmm2
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0xc0], xmm0
paddd xmm11, xmm7
movdqu xmmword [rsi + 0xd0], xmm11
movdqa xmm0, xmmword [rsp + 0x20]
paddd xmm0, xmm1
movdqu xmmword [rsi + 0xe0], xmm0
paddd xmm5, xmmword [rsp + 0x60]
movdqu xmmword [rsi + 0xf0], xmm5
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm13, xmmword [rsp + 0x130]
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
ret
call dbg.detect_and_initialize
test eax, 0x400
je 0x430be6
mov rcx, rdi
mov edx, ebx
mov r8, rsi
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm13, xmmword [rsp + 0x130]
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.rand_chacha::guts::refill_wide::impl_sse41::hd654b52565ddf855
call dbg.detect_and_initialize
test eax, 0x200
je 0x430bfd
mov rcx, rdi
mov edx, ebx
mov r8, rsi
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm13, xmmword [rsp + 0x130]
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.rand_chacha::guts::refill_wide::impl_ssse3::h88f1af421d1e37c7