Function at 0x14001cfd4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xb0], rbx
mov r12d, r9d
movaps xmmword [rbp + 0x60], xmm6
mov r14, rdx
movaps xmmword [rbp + 0x50], xmm7
mov rbx, rcx
movaps xmmword [rbp + 0x40], xmm8
movaps xmmword [rbp + 0x30], xmm9
movaps xmmword [rbp + 0x20], xmm10
mov edi, r8d
cmp r8d, 3
jl 0x14001d37a
mov rax, qword [rcx + 0x38]
mov esi, 2
movss xmm8, dword [rax]
movss xmm9, dword [rax + 4]
test byte [rcx + 0x30], sil
je 0x14001d2f1
mov eax, r9d
lea edx, [rdi*8 - 6]
and eax, 0xffffff
add edx, edi
mov dword [rbp + 4], eax
lea eax, [rdi + rdi]
mov r8d, eax
mov dword [rbp + 8], eax
call fcn.14001c0b0
mov r14d, dword [rbx + 0x4c]
lea r15d, [rsi - 1]
mov dword [rbp], r14d
mov r8d, esi
mov rax, qword [rbx + 0x58]
movzx edx, r8w
add dx, dx
add r8d, r15d
add dx, r14w
movzx ecx, dx
mov word [rax], r14w
sub cx, si
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 4], dx
add qword [rbx + 0x58], 6
cmp r8d, edi
jl 0x14001d078
mov r14, qword [rbp + 0xb8]
movsxd rax, edi
shl rax, 3
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001d0cf
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14008d020
movss xmm10, dword [0x1400e0d88]
sub rsp, rcx
movsxd rax, edi
mov r12, r14
lea r13, [rsp + 0x20]
lea rsi, [rax*8 - 8]
mov rax, rdi
mov qword [rbp + 0x10], rax
movss xmm6, dword [r12]
movss xmm7, dword [r12 + 4]
subss xmm6, dword [rsi + r14]
subss xmm7, dword [rsi + r14 + 4]
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm1, xmm6
mulss xmm0, xmm7
addss xmm0, xmm1
comiss xmm0, dword [0x1400e0cd8]
jbe 0x14001d14f
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rax, qword [rbp + 0x10]
movaps xmm1, xmm10
divss xmm1, xmm0
mulss xmm6, xmm1
mulss xmm7, xmm1
xorps xmm6, xmmword [0x1400e1430]
movss dword [rsi + r13 + 4], xmm6
movss dword [rsi + r13], xmm7
mov rsi, r12
sub rsi, r14
add r12, 8
sub rax, r15
mov qword [rbp + 0x10], rax
jne 0x14001d101
movss xmm6, dword [0x1400e0d44]
lea r12, [r14 + 4]
mov r9d, dword [rbp]
xor ecx, ecx
mov r11d, dword [rbp + 0xc8]
mov r10, r13
mov esi, dword [rbp + 4]
sub r10, r14
lea r14d, [rdi - 1]
mov dword [rbp + 0xc0], ecx
movss xmm3, dword [r10 + r12 - 4]
movzx edx, cx
movss xmm4, dword [r10 + r12]
movaps xmm1, xmm6
movsxd rax, r14d
movaps xmm5, xmm10
add r14w, r14w
add dx, dx
addss xmm3, dword [r13 + rax*8]
addss xmm4, dword [r13 + rax*8 + 4]
mov rax, qword [rbx + 0x50]
lea ecx, [r14 + r9]
lea r8d, [rdx + r9]
mulss xmm3, xmm6
mulss xmm4, xmm6
movaps xmm0, xmm3
mulss xmm0, xmm3
movaps xmm2, xmm4
mulss xmm2, xmm4
addss xmm2, xmm0
movss xmm0, dword [r12 - 4]
maxss xmm1, xmm2
divss xmm5, xmm1
movaps xmm2, xmm5
mulss xmm5, xmm4
mulss xmm2, xmm3
mulss xmm5, xmm6
mulss xmm2, xmm6
subss xmm0, xmm2
movss dword [rax], xmm0
movss xmm1, dword [r12]
mov rax, qword [rbx + 0x50]
subss xmm1, xmm5
movss dword [rax + 4], xmm1
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm8
movss dword [rax + 0xc], xmm9
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], r11d
addss xmm2, dword [r12 - 4]
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm2
addss xmm5, dword [r12]
mov rax, qword [rbx + 0x50]
add r12, 8
movss dword [rax + 0x18], xmm5
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm8
movss dword [rax + 0x20], xmm9
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
mov rax, qword [rbx + 0x58]
add qword [rbx + 0x50], 0x28
mov word [rax], r8w
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [r9 + 1]
mov rax, qword [rbx + 0x58]
add ecx, r14d
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], cx
lea ecx, [r9 + 1]
mov rax, qword [rbx + 0x58]
add ecx, edx
mov word [rax + 8], cx
mov ecx, dword [rbp + 0xc0]
mov r14d, ecx
mov rax, qword [rbx + 0x58]
add ecx, r15d
mov dword [rbp + 0xc0], ecx
mov word [rax + 0xa], r8w
add qword [rbx + 0x58], 0xc
cmp ecx, edi
jl 0x14001d1a2
movzx eax, word [rbp + 8]
jmp 0x14001d377
lea eax, [rdi - 2]
mov r8d, edi
lea edx, [rax + rax*2]
call fcn.14001c0b0
mov rcx, rdi
mov r15d, 1
mov rax, qword [rbx + 0x50]
movsd xmm0, qword [r14]
lea r14, [r14 + 8]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm8
movss dword [rax + 0xc], xmm9
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], r12d
add qword [rbx + 0x50], 0x14
sub rcx, r15
jne 0x14001d308
mov rcx, qword [rbx + 0x58]
movzx eax, word [rbx + 0x4c]
mov word [rcx], ax
movzx ecx, si
add cx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x58]
sub cx, r15w
mov word [rax + 2], cx
movzx ecx, si
mov rax, qword [rbx + 0x58]
add esi, r15d
add cx, word [rbx + 0x4c]
mov word [rax + 4], cx
add qword [rbx + 0x58], 6
cmp esi, edi
jl 0x14001d33b
movzx eax, di
add dword [rbx + 0x4c], eax
mov rbx, qword [rbp + 0xb0]
movaps xmm6, xmmword [rbp + 0x60]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm8, xmmword [rbp + 0x40]
movaps xmm9, xmmword [rbp + 0x30]
movaps xmm10, xmmword [rbp + 0x20]
lea rsp, [rbp + 0x70]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret