Function at 0x1401c8cae
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x70], rdx
mov rax, rcx
mov dl, byte [rsp + 0x310]
mov r10, qword [rsp + 0x308]
mov r13, qword [rsp + 0x300]
mov r11, qword [rsp + 0x2f8]
mov ebp, dword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2e8]
cmp dl, 0xf
mov dword [rsp + 0x5c], r9d
jne 0x1401c91dc
mov r15d, 8
mov edx, 8
mov ecx, r13d
shr edx, cl
mov qword [rsp + 0xe0], rdx
movaps xmm0, xmmword [0x1401ce030]
movups xmmword [rsp + 0x138], xmm0
movaps xmm0, xmmword [0x1401ce040]
movups xmmword [rsp + 0x148], xmm0
add r11b, 0x18
movzx ecx, r11b
xor edx, edx
bt r9d, ecx
setb dl
mov ecx, r10d
shr r15d, cl
mov rcx, qword [rsp + rdx*8 + 0x138]
mov qword [rsp + 0x128], rcx
mov rcx, qword [rsp + rdx*8 + 0x148]
mov qword [rsp + 0x130], rcx
mov ecx, 1
mov edx, 1
sub rdx, r8
lea rsi, [r8 + r8]
mov r14d, 2
mov r10d, 2
sub r10, rsi
lea r11, [r8 + r14]
sub r14, r8
lea rdi, [r8 + 1]
mov qword [rsp + 0x158], rdx
lea rdx, [r8*2 + 2]
mov qword [rsp + 0x160], r10
mov r10, rsi
or r10, rcx
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x170], r14
lea r14, [r8*2 - 1]
mov qword [rsp + 0x178], rcx
mov qword [rsp + 0x180], 2
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], r11
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x1a0], rdx
mov qword [rsp + 0x1a8], r8
mov qword [rsp + 0x1b0], r10
mov qword [rsp + 0x1b8], r8
mov qword [rsp + 0x1c0], rsi
mov esi, dword [rsp + 0x2e0]
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0x1c8], r8
lea ecx, [rbx + 2]
and ecx, 7
lea edx, [rbx + 6]
and edx, 7
bsr r10d, r9d
mov r8d, ebp
sub r8d, r10d
xor r10d, r10d
test r8d, r8d
cmovle r8d, r10d
mov qword [rsp + 0x1d0], r14
and r8d, 0x1f
mov dword [rsp + 0x6c], r8d
bsr r8d, esi
sub ebp, r8d
test ebp, ebp
cmovle ebp, r10d
and ebp, 0x1f
mov r8, qword [rax + 0x28]
mov qword [rsp + 0xc8], r8
mov r8, qword [rax + 0x20]
mov qword [rsp + 0x78], r8
mov r8, qword [rax]
mov qword [rsp + 0xc0], r8
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
shl ecx, 4
lea rax, [rsp + rcx]
add rax, 0x158
mov qword [rsp + 0x100], rax
shl edx, 4
lea rax, [rsp + rdx]
add rax, 0x158
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0xa0], r15
cmp r10, r15
je 0x1401c931b
lea rax, [r10 + 1]
mov qword [rsp + 0xb0], rax
mov rax, r10
imul rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*2]
mov qword [rsp + 0xd8], rax
xor ecx, ecx
mov qword [rsp + 0xd0], r10
cmp rcx, qword [rsp + 0xe0]
je 0x1401c91b3
lea rax, [rcx + 1]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rcx
lea rax, [rax + rcx*2]
mov qword [rsp + 0x80], rax
movzx r15d, word [rax]
xor edx, edx
xor r12d, r12d
mov r14d, r15d
mov edi, r15d
cmp rdx, 2
je 0x1401c913e
cmp rbx, 8
jae 0x1401c91c8
lea rax, [rdx + 1]
mov qword [rsp + 0x120], rax
shl rbx, 4
lea rax, [rsp + rbx]
add rax, 0x158
mov rax, qword [rax + rdx*8]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + rdx*8]
mov qword [rsp + 0x108], rcx
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + rdx*8]
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov r13d, dword [rsp + rdx*4 + 0x128]
mov rdx, qword [rsp + 0x80]
movzx ecx, word [rdx + rax*2]
add rax, rax
sub rdx, rax
movzx eax, word [rdx]
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x8c], eax
xor ebp, ebp
cmp rbp, 8
je 0x1401c905f
mov ebx, dword [rsp + rbp + 0x88]
test r9d, r9d
je 0x1401c9038
mov esi, ebx
sub esi, r15d
mov edx, esi
neg edx
cmovs edx, esi
mov eax, edx
mov ecx, dword [rsp + 0x6c]
sar eax, cl
mov ecx, r9d
sub ecx, eax
call fcn.140071114
mov r9d, dword [rsp + 0x5c]
mov ecx, eax
neg ecx
test esi, esi
mov esi, dword [rsp + 0x2e0]
cmovns ecx, eax
jmp 0x1401c903a
xor ecx, ecx
imul ecx, r13d
add r12d, ecx
cmp ebx, r14d
mov eax, r14d
cmovg eax, ebx
cmp ebx, 0x8000
cmovne r14d, eax
cmp ebx, edi
cmovl edi, ebx
add rbp, 4
jmp 0x1401c8ff1
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x108]
movzx eax, word [r8 + rcx*2]
add rcx, rcx
neg rcx
movzx ecx, word [r8 + rcx]
mov r9, qword [rsp + 0x110]
movzx edx, word [r8 + r9*2]
add r9, r9
neg r9
movzx r8d, word [r8 + r9]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], ecx
mov dword [rsp + 0x98], edx
mov dword [rsp + 0x9c], r8d
mov rax, qword [rsp + 0x118]
mov ebx, dword [rsp + rax*4 + 0x130]
xor r13d, r13d
cmp r13, 0x10
je 0x1401c9124
mov ebp, dword [rsp + r13 + 0x90]
cmp ebp, r14d
mov eax, r14d
cmovg eax, ebp
cmp ebp, 0x8000
cmovne r14d, eax
cmp ebp, edi
cmovl edi, ebp
test esi, esi
je 0x1401c9116
sub ebp, r15d
mov edx, ebp
neg edx
cmovs edx, ebp
mov eax, edx
mov ecx, dword [rsp + 0x60]
sar eax, cl
mov ecx, esi
sub ecx, eax
call fcn.140071114
mov ecx, eax
neg ecx
test ebp, ebp
cmovns ecx, eax
jmp 0x1401c9118
xor ecx, ecx
imul ecx, ebx
add r12d, ecx
add r13, 4
jmp 0x1401c90c6
mov rdx, qword [rsp + 0x120]
mov r9d, dword [rsp + 0x5c]
mov rbx, qword [rsp + 0x2e8]
jmp 0x1401c8f62
mov eax, r12d
sar eax, 0x1f
add eax, r12d
add eax, 8
sar eax, 4
add eax, r15d
cmp eax, r14d
cmovl r14d, eax
cmp eax, edi
cmovl r14d, edi
mov r10, qword [rsp + 0xd0]
cmp qword [rsp + 0xc8], r10
jbe 0x1401c9344
mov rdx, qword [rsp + 0xf0]
cmp rdx, qword [rsp + 0x78]
je 0x1401c9330
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
imul rax, r10
mov rcx, qword [rsp + 0xb8]
lea rax, [rcx + rax*2]
mov word [rax + rdx*2], r14w
mov rcx, qword [rsp + 0xe8]
jmp 0x1401c8f1d
mov r10, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa0]
jmp 0x1401c8ee1
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rav1e_0.7.1_srccdef.rs
mov edx, 8
mov rcx, rbx
call fcn.1401c6eb0
mov ecx, r13d
and ecx, 0x3f
xor r9d, r9d
cmp r9, 0x90
je 0x1401c91fe
mov word [rsp + r9*2 + 0x158], 0x8000
inc r9
jmp 0x1401c91e5
mov esi, 8
shr rsi, cl
mov r14d, 8
lea rbp, [rsi + 4]
mov ecx, r10d
shr r14, cl
mov ecx, edx
and cl, 1
lea rdi, [rsi + 2]
lea ebx, [rcx + rcx]
xor bl, 2
xor r15d, r15d
test cl, cl
sete r15b
movzx ecx, bl
lea r12, [rsp + rcx*2 + 0x158]
mov rcx, qword [rsp + 0x70]
lea r9, [rcx + r15*4]
cmove rdi, rsi
mov ecx, edx
and cl, 2
movzx ecx, cl
add rcx, rdi
mov qword [rsp + 0x60], rbp
lea edi, [rbp*2]
lea rsi, [r14 + 2]
add r8, r8
mov rbp, r8
neg rbp
xor ebx, ebx
test dl, 4
mov r15d, 0
cmove r15, rdi
cmove rbp, rbx
lea r15, [r12 + r15*2]
lea r12, [r9 + rbp*2 - 4]
cmove rsi, r14
shr dl, 2
and dl, 2
movzx edx, dl
add rdx, rsi
mov r9d, dword [rsp + 0x2e0]
cmp rbx, rdx
je 0x1401c92cd
xor r14d, r14d
cmp rcx, r14
je 0x1401c92c2
movzx esi, word [r12 + r14*2]
mov word [r15 + r14*2], si
mov r9d, dword [rsp + 0x2e0]
inc r14
jmp 0x1401c92a6
inc rbx
add r15, rdi
add r12, r8
jmp 0x1401c929e
lea rdx, [rsp + rdi*2]
add rdx, 0x15c
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r11
mov ecx, dword [rsp + 0x2f0]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x2e8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x50], 0xf
mov rcx, rax
mov r8, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x5c]
call fcn.1401c8cae
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rav1e_0.7.1_srccdef.rs
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
call fcn.1401c6eb0
lea rcx, [0x14023c72b]
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rav1e_0.7.1_srccdef.rs
mov edx, 0x2a
call fcn.1401c6f30
int3