Function at 0x1400a8490
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r13
lea rbp, [rax - 0xc8]
sub rsp, 0x1b8
movsd xmm5, qword [0x1400e97f0]
movaps xmmword [rax - 0x48], xmm6
movsd xmm6, qword [0x1400e70e0]
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov r13, rcx
movsd xmm8, qword [0x1400ea508]
movsd xmm9, qword [0x1400e71d0]
movsd xmm7, qword [0x1400ea828]
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movsd xmm10, qword [0x1400e9ae0]
movsd xmm11, qword [0x1400ea060]
xorps xmm12, xmm12
movaps xmm3, xmm12
movaps xmm4, xmm12
nop dword [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 0x1400a8562
movaps xmm0, xmm4
mulsd xmm0, xmm5
subsd xmm3, xmm0
addsd xmm4, xmm6
comisd xmm7, xmm4
ja 0x1400a8520
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 0x1400a85c8
call fcn.1400c8cda
call fcn.1400c8cc0
mov rax, r13
add rsp, 0x1b8
pop r13
pop rbp
ret
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x1a8], 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 0x1400a8600
xor r9d, r9d
mov r10d, 0xff
mov r15d, 1
xor r8b, r8b
lea rdi, [fcn.1400c8cda]
nop dword [rax + rax]
xor ebx, ebx
mov r11d, r15d
cmp r10d, r15d
jbe 0x1400a8650
nop word [rax + rax]
lea r11d, [r11*2 + 1]
cmp r11d, r10d
jb 0x1400a8640
nop dword [rax]
mov eax, r9d
test r9d, r9d
je 0x1400a8696
dec eax
je 0x1400a868c
dec eax
je 0x1400a8682
dec eax
movzx eax, r8b
je 0x1400a8678
lea ecx, [r9 - 4]
movzx r8d, byte [rcx + rdi]
add r8b, byte [rsp + rax + 0x20]
jmp 0x1400a86a8
cvttsd2si rcx, xmm3
shr ecx, 0x18
jmp 0x1400a869f
cvttsd2si rcx, xmm3
shr ecx, 0x10
jmp 0x1400a869b
cvttsd2si rcx, xmm3
shr ecx, 8
jmp 0x1400a869b
cvttsd2si rcx, xmm3
movzx eax, r8b
movzx r8d, byte [rsp + rax + 0x20]
add r8b, cl
inc r9d
cmp r9d, 0x18
jb 0x1400a86b8
xor r9d, r9d
add r8b, 0x18
movzx eax, r8b
inc ebx
and eax, r11d
cmp ebx, 0xb
jbe 0x1400a86cd
xor edx, edx
div r10d
mov eax, edx
cmp eax, r10d
ja 0x1400a8650
cmp r10d, eax
je 0x1400a86fb
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 0x1400a8630
movzx edx, byte [rsp + 0x27]
movzx edi, byte [rsp + 0x21]
movzx r14d, byte [rsp + 0x25]
movzx esi, byte [rsp + rdi + 0x20]
movzx eax, r8b
lea r12, [fcn.1400c8cc0]
movzx ecx, byte [rsp + rax + 0x20]
add sil, byte [rsp + 0x23]
movzx ebx, byte [r12 + 1]
movzx r10d, byte [rsp + rcx + 0x20]
movzx eax, byte [r12]
mov r9d, ecx
shl al, 4
movzx r8d, sil
add bl, 0x64
or bl, al
movzx eax, byte [rsp + r8 + 0x20]
inc dil
mov byte [rsp + rcx + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
movzx r11d, dil
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + r11 + 0x20]
add r12, 2
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + r11 + 0x20], r10b
add r14b, byte [rsp + r10 + 0x20]
add sil, byte [rsp + r11 + 0x20]
movzx eax, r14b
inc dil
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r9 + 0x20]
movzx r9d, sil
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx r8d, bl
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx r10d, byte [rsp + r8 + 0x20]
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
movzx edx, byte [r12 + 1]
xor cl, byte [rsp + rax + 0x20]
movzx eax, byte [r12]
add dl, 0x64
shl al, 4
xor cl, bl
lea rbx, [rsp + 0x20]
or dl, al
movzx eax, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rbp + 0xd8], dl
movzx edx, cl
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, dil
add rbx, rax
movzx eax, byte [rbx]
mov byte [rsp + rdx + 0x20], al
mov byte [rbx], r10b
add r14b, byte [rsp + r10 + 0x20]
movzx eax, r14b
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 + 0xd8]
xor cl, byte [rsp + rax + 0x20]
xor cl, dl
mov byte [r13], cl
mov r13d, 4
nop dword [rax]
nop word [rax + rax]
add sil, byte [rbx]
movzx eax, byte [r12 + 2]
movzx r11d, byte [r12 + 3]
shl al, 4
movzx r8d, dl
movzx edx, cl
movzx r10d, byte [rsp + r8 + 0x20]
movzx r9d, sil
lea r12, [r12 + 2]
add r11b, 0x64
inc dil
lea rbx, [rsp + 0x20]
or r11b, al
movzx eax, byte [rsp + r9 + 0x20]
inc r15
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, dil
add rbx, rax
movzx eax, byte [rbx]
mov byte [rsp + rdx + 0x20], al
mov byte [rbx], r10b
add r14b, byte [rsp + r10 + 0x20]
movzx eax, r14b
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 r15, r15
jle 0x1400a8922
mov rax, qword [rbp + 0xd0]
mov byte [r15 + rax - 1], cl
dec r13
jne 0x1400a8870
mov r13, qword [rbp + 0xd0]
movzx r9d, dl
movzx edx, cl
movzx r10d, byte [rsp + r9 + 0x20]
lea r15, [fcn.1400c8cc0]
lea r12, [rsp + 0x20]
movzx ebx, byte [r15 + 0xd]
movzx eax, byte [r15 + 0xc]
add r15, 0xe
shl al, 4
add bl, 0x64
or bl, al
movzx eax, dil
inc dil
add sil, byte [rsp + rax + 0x20]
movzx r11d, dil
inc dil
movzx r8d, sil
movzx eax, byte [rsp + r8 + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + r11 + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + r11 + 0x20], r10b
add r14b, byte [rsp + r10 + 0x20]
add sil, byte [rsp + r11 + 0x20]
movzx eax, r14b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r9 + 0x20]
movzx r9d, sil
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx r8d, bl
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx r10d, byte [rsp + r8 + 0x20]
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, bl
mov ebx, 7
mov byte [r13 + 5], cl
movzx edx, byte [r15 + 1]
movzx eax, byte [r15]
shl al, 4
add dl, 0x64
or dl, al
movzx eax, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rbp + 0xd8], dl
movzx edx, cl
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, dil
add r12, rax
movzx eax, byte [r12]
mov byte [rsp + rdx + 0x20], al
mov byte [r12], r10b
add r14b, byte [rsp + r10 + 0x20]
movzx eax, r14b
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 + 0xd8]
xor cl, byte [rsp + rax + 0x20]
xor cl, dl
mov byte [r13 + 6], cl
lea r13d, [rbx - 2]
add sil, byte [r12]
movzx eax, byte [r15 + 2]
movzx r11d, byte [r15 + 3]
shl al, 4
movzx r8d, dl
movzx edx, cl
movzx r10d, byte [rsp + r8 + 0x20]
movzx r9d, sil
lea r15, [r15 + 2]
add r11b, 0x64
inc dil
lea r12, [rsp + 0x20]
or r11b, al
movzx eax, byte [rsp + r9 + 0x20]
inc rbx
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, dil
add r12, rax
movzx eax, byte [r12]
mov byte [rsp + rdx + 0x20], al
mov byte [r12], r10b
add r14b, byte [rsp + r10 + 0x20]
movzx eax, r14b
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 0x1400a8b34
mov rax, qword [rbp + 0xd0]
mov byte [rbx + rax - 1], cl
dec r13
jne 0x1400a8a82
mov r15, qword [rsp + 0x190]
mov r14, qword [rsp + 0x198]
mov r12, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x1e0]
movzx eax, dil
movzx edx, cl
add sil, byte [rsp + rax + 0x20]
movzx r9d, r11b
inc dil
movzx r11d, byte [rsp + r9 + 0x20]
movzx r10d, sil
mov rsi, qword [rsp + 0x1b0]
movzx eax, byte [rsp + r10 + 0x20]
movzx ecx, dil
mov rdi, qword [rsp + 0x1a8]
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r10 + 0x20], al
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov rax, qword [rbp + 0xd0]
mov byte [rsp + rcx + 0x20], r11b
mov byte [rax + 0xc], r13b
add rsp, 0x1b8
pop r13
pop rbp
ret