Function at 0x1400a6720
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
push rbp
push r13
lea rbp, [rax - 0xb8]
sub rsp, 0x1a8
movsd xmm5, qword [0x1400e99f0]
movaps xmmword [rax - 0x38], xmm6
movsd xmm6, qword [0x1400e6020]
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov r13, rcx
movsd xmm8, qword [0x1400ea338]
movsd xmm9, qword [0x1400e7330]
movsd xmm7, qword [0x1400ea870]
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movsd xmm10, qword [0x1400e9bb8]
movsd xmm11, qword [0x1400ea110]
xorps xmm12, xmm12
movaps xmm3, xmm12
movaps xmm4, xmm12
nop word [rax + rax]
movaps xmm2, xmm4
movaps xmm1, xmm4
movaps xmm0, xmm4
mulsd xmm2, xmm8
mulsd xmm1, xmm9
mulsd xmm0, xmm4
mulsd xmm2, xmm4
mulsd xmm1, xmm4
subsd xmm2, xmm0
addsd xmm1, xmm10
divsd xmm2, xmm1
addsd xmm3, xmm2
comisd xmm3, xmm11
jbe 0x1400a67f2
movaps xmm0, xmm4
mulsd xmm0, xmm5
subsd xmm3, xmm0
addsd xmm4, xmm6
comisd xmm7, xmm4
ja 0x1400a67b0
movaps xmm11, xmmword [rsp + 0x130]
movaps xmm10, xmmword [rsp + 0x140]
movaps xmm9, xmmword [rsp + 0x150]
comisd xmm12, xmm3
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
jbe 0x1400a6858
call fcn.1400c7e14
call fcn.1400c7dfc
mov rax, r13
add rsp, 0x1a8
pop r13
pop rbp
ret
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], rdi
mov qword [rsp + 0x1a0], r12
mov qword [rsp + 0x198], r14
xor eax, eax
mov qword [rsp + 0x190], r15
lea rcx, [rsp + 0x20]
nop
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, 0x100
jb 0x1400a6890
xor r9d, r9d
mov r10d, 0xff
lea rdi, [fcn.1400c7e14]
xor r8b, r8b
mov r11d, 1
xor ebx, ebx
cmp r10d, r11d
jbe 0x1400a68d0
nop
lea r11d, [r11*2 + 1]
cmp r11d, r10d
jb 0x1400a68c0
nop dword [rax]
mov eax, r9d
test r9d, r9d
je 0x1400a6916
dec eax
je 0x1400a690c
dec eax
je 0x1400a6902
dec eax
movzx eax, r8b
je 0x1400a68f8
lea ecx, [r9 - 4]
movzx r8d, byte [rcx + rdi]
add r8b, byte [rsp + rax + 0x20]
jmp 0x1400a6928
cvttsd2si rcx, xmm3
shr ecx, 0x18
jmp 0x1400a691f
cvttsd2si rcx, xmm3
shr ecx, 0x10
jmp 0x1400a691b
cvttsd2si rcx, xmm3
shr ecx, 8
jmp 0x1400a691b
cvttsd2si rcx, xmm3
movzx eax, r8b
movzx r8d, byte [rsp + rax + 0x20]
add r8b, cl
inc r9d
cmp r9d, 0x15
jb 0x1400a6938
xor r9d, r9d
add r8b, 0x15
movzx eax, r8b
inc ebx
and eax, r11d
cmp ebx, 0xb
jbe 0x1400a694d
xor edx, edx
div r10d
mov eax, edx
cmp eax, r10d
ja 0x1400a68d0
cmp r10d, eax
je 0x1400a697b
mov edx, eax
mov ecx, r10d
movzx eax, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
movzx eax, byte [rsp + rcx + 0x20]
xor byte [rsp + rdx + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
dec r10d
jne 0x1400a68b2
movzx r10d, byte [rsp + 0x27]
movzx r14d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x25]
movzx r15d, byte [rsp + r14 + 0x20]
movzx eax, r8b
lea rdi, [fcn.1400c7dfc]
movzx edx, byte [rsp + rax + 0x20]
add r15b, byte [rsp + 0x23]
movzx esi, byte [rdi]
movzx r11d, byte [rsp + rdx + 0x20]
movzx ecx, byte [rdi + 1]
movzx r8d, r15b
movzx eax, byte [rsp + r8 + 0x20]
dec cl
sub sil, 2
mov byte [rsp + rdx + 0x20], al
movzx eax, byte [rsp + r10 + 0x20]
shl sil, 4
mov byte [rsp + r8 + 0x20], al
or sil, cl
inc r14b
movzx ebx, r14b
add r15b, r11b
inc r14b
movzx eax, byte [rsp + rbx + 0x20]
movzx r9d, r15b
mov byte [rsp + r10 + 0x20], al
mov byte [rsp + rbx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx r8d, sil
movzx edx, byte [rsp + rax + 0x20]
movzx r10d, byte [rsp + r8 + 0x20]
add ecx, r11d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
movzx r11d, r14b
xor cl, byte [rsp + rax + 0x20]
movzx eax, byte [rdi + 3]
movzx edi, byte [rdi + 2]
xor cl, sil
dec al
sub dil, 2
movzx edx, cl
shl dil, 4
lea rsi, [fcn.1400c7dfc]
or dil, al
movzx eax, byte [rsp + r9 + 0x20]
add rsi, 4
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + r11 + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + r11 + 0x20], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, dil
mov byte [r13], cl
movzx edx, byte [rsi + 1]
movzx eax, byte [rsi]
dec dl
add r15b, byte [rsp + r11 + 0x20]
sub al, 2
movzx r8d, dil
movzx r10d, byte [rsp + r8 + 0x20]
shl al, 4
movzx r9d, r15b
or dl, al
movzx eax, byte [rsp + r9 + 0x20]
inc r14b
mov byte [rsp + r8 + 0x20], al
mov byte [rbp + 0xc0], dl
movzx edx, cl
movzx eax, byte [rsp + rdx + 0x20]
lea rdi, [rsp + 0x20]
mov ebx, 2
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rdi, rax
movzx eax, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, byte [rbp + 0xc0]
add ecx, eax
mov qword [rbp + 0xc0], rbx
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx edx, byte [rsp + rdx + 0x20]
movzx eax, cl
xor dl, byte [rsp + rax + 0x20]
xor dl, r8b
mov byte [r13 + 1], dl
nop word [rax + rax]
add r15b, byte [rdi]
movzx eax, byte [rsi + 2]
movzx r11d, byte [rsi + 3]
sub al, 2
movzx edx, dl
movzx r8d, r8b
movzx r10d, byte [rsp + r8 + 0x20]
shl al, 4
movzx r9d, r15b
lea rsi, [rsi + 2]
dec r11b
inc r14b
or r11b, al
movzx eax, byte [rsp + r9 + 0x20]
lea rdi, [rsp + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
inc rbx
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rdi, rax
movzx eax, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, r11b
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx edx, byte [rsp + rdx + 0x20]
movzx eax, cl
xor dl, byte [rsp + rax + 0x20]
xor dl, r11b
test rbx, rbx
jle 0x1400a6c38
mov byte [rbx + r13 - 1], dl
dec qword [rbp + 0xc0]
jne 0x1400a6b90
movzx edx, dl
movzx r9d, r8b
movzx eax, r14b
add r15b, byte [rsp + rax + 0x20]
movzx r10d, byte [rsp + r9 + 0x20]
lea rsi, [fcn.1400c7dfc]
movzx ecx, byte [rsi + 0xa]
movzx r11d, byte [rsi + 0xb]
movzx r8d, r15b
movzx eax, byte [rsp + r8 + 0x20]
sub cl, 2
inc r14b
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
shl cl, 4
mov byte [rsp + r8 + 0x20], al
movzx ebx, r14b
dec r11b
movzx eax, byte [rsp + rbx + 0x20]
or r11b, cl
inc r14b
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rbx + 0x20], r10b
add r12b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + rbx + 0x20]
movzx eax, r12b
movzx ebx, r14b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add rsi, 0xe
add ecx, eax
movzx eax, byte [rsp + r9 + 0x20]
movzx r9d, r15b
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx r8d, r11b
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx r10d, byte [rsp + rdx + 0x20]
movzx eax, cl
xor r10b, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
xor r10b, r11b
movzx r11d, byte [rsp + r8 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [r13 + 4], r10b
movzx ecx, byte [rsi - 2]
movzx edi, byte [rsi - 1]
sub cl, 2
movzx edx, r10b
dec dil
movzx eax, byte [rsp + rdx + 0x20]
shl cl, 4
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rbx + 0x20]
or dil, cl
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rbx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r11d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, dil
mov byte [r13 + 5], cl
movzx edx, byte [rsi]
movzx eax, byte [rsi + 1]
sub dl, 2
dec al
shl dl, 4
or dl, al
movzx r8d, dil
mov byte [rbp + 0xc0], dl
movzx edx, cl
movzx r10d, byte [rsp + r8 + 0x20]
add r15b, r11b
inc r14b
movzx r9d, r15b
lea rdi, [rsp + 0x20]
mov ebx, 7
movzx eax, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rdi, rax
movzx eax, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
movzx edx, byte [rbp + 0xc0]
xor cl, byte [rsp + rax + 0x20]
mov qword [rbp + 0xc0], 4
xor cl, dl
mov byte [r13 + 6], cl
add r15b, byte [rdi]
movzx eax, byte [rsi + 2]
movzx r11d, byte [rsi + 3]
sub al, 2
movzx r8d, dl
movzx edx, cl
movzx r10d, byte [rsp + r8 + 0x20]
shl al, 4
movzx r9d, r15b
lea rsi, [rsi + 2]
dec r11b
inc r14b
or r11b, al
movzx eax, byte [rsp + r9 + 0x20]
lea rdi, [rsp + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
inc rbx
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rdi, rax
movzx eax, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
movzx edx, r11b
xor cl, byte [rsp + rax + 0x20]
xor cl, r11b
test rbx, rbx
jle 0x1400a6eda
mov byte [rbx + r13 - 1], cl
dec qword [rbp + 0xc0]
jne 0x1400a6e32
mov r12, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1c8]
movzx eax, r14b
movzx edx, cl
add r15b, byte [rsp + rax + 0x20]
movzx r9d, r11b
inc r14b
movzx r11d, byte [rsp + r9 + 0x20]
movzx r10d, r15b
mov r15, qword [rsp + 0x190]
movzx eax, byte [rsp + r10 + 0x20]
movzx ecx, r14b
mov r14, qword [rsp + 0x198]
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [r13 + 0xb], 0
mov byte [rsp + r10 + 0x20], al
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
mov rax, r13
add rsp, 0x1a8
pop r13
pop rbp
ret