Function at 0x14000edd8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
xorps xmm5, xmm5
movaps xmmword [rax - 0x48], xmm6
movsd xmm6, qword [0x14025af50]
movaps xmm4, xmm5
movaps xmm3, xmm5
mov r13, rcx
movaps xmm1, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm3
mulsd xmm2, qword [0x14025ac88]
mulsd xmm1, qword [0x14025a120]
mulsd xmm0, xmm3
mulsd xmm2, xmm3
mulsd xmm1, xmm3
addsd xmm1, qword [0x14025a618]
subsd xmm2, xmm0
divsd xmm2, xmm1
addsd xmm4, xmm2
comisd xmm4, xmmword [0x14025a970]
jbe 0x14000ee5f
movaps xmm0, xmm3
mulsd xmm0, qword [0x14025a030]
subsd xmm4, xmm0
addsd xmm3, qword [0x14025a110]
comisd xmm6, xmm3
ja 0x14000ee0d
comisd xmm5, xmm4
jbe 0x14000ee82
call int.140035fc2
call fcn.140035fa8
jmp 0x14000f3b1
xor eax, eax
lea rcx, [rsp + 0x20]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x100
jb 0x14000ee89
xor r10d, r10d
mov r9d, 0xff
xor r8b, r8b
xor ebx, ebx
lea r11d, [rbx + 1]
cmp r9d, r11d
jbe 0x14000eebb
lea r11d, [r11*2 + 1]
cmp r11d, r9d
jb 0x14000eeae
mov eax, r10d
test r10d, r10d
je 0x14000ef09
dec eax
je 0x14000eeff
dec eax
je 0x14000eef5
dec eax
je 0x14000eeeb
lea rax, [int.140035fc2]
lea ecx, [r10 - 4]
add rcx, rax
movzx eax, r8b
mov r8b, byte [rcx]
add r8b, byte [rsp + rax + 0x20]
jmp 0x14000ef1a
cvttsd2si rcx, xmm4
shr ecx, 0x18
jmp 0x14000ef0e
cvttsd2si rcx, xmm4
shr ecx, 0x10
jmp 0x14000ef0e
cvttsd2si rcx, xmm4
shr ecx, 8
jmp 0x14000ef0e
cvttsd2si rcx, xmm4
movzx eax, r8b
mov r8b, byte [rsp + rax + 0x20]
add r8b, cl
inc r10d
cmp r10d, 0x14
jb 0x14000ef2a
xor r10d, r10d
add r8b, 0x14
movzx eax, r8b
inc ebx
and eax, r11d
cmp ebx, 0xb
jbe 0x14000ef3f
xor edx, edx
div r9d
mov eax, edx
cmp eax, r9d
ja 0x14000eebb
cmp r9d, eax
je 0x14000ef6a
mov edx, eax
mov ecx, r9d
mov al, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
mov al, byte [rsp + rcx + 0x20]
xor byte [rsp + rdx + 0x20], al
mov al, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
dec r9d
jne 0x14000eea3
movzx r10d, byte [rsp + 0x27]
movzx r14d, byte [rsp + 0x21]
mov r12b, byte [rsp + 0x25]
mov r15b, byte [rsp + r14 + 0x20]
movzx eax, r8b
lea rdi, [fcn.140035fa8]
movzx edx, byte [rsp + rax + 0x20]
add r15b, byte [rsp + 0x23]
mov sil, byte [rdi]
movzx r11d, byte [rsp + rdx + 0x20]
mov cl, byte [rdi + 1]
movzx r8d, r15b
mov al, byte [rsp + r8 + 0x20]
add cl, 0x66
add sil, 6
mov byte [rsp + rdx + 0x20], al
mov al, byte [rsp + r10 + 0x20]
inc r14b
mov byte [rsp + r8 + 0x20], al
movzx ebx, r14b
shl sil, 4
mov al, byte [rsp + rbx + 0x20]
or sil, cl
add r15b, r11b
mov byte [rsp + r10 + 0x20], al
mov byte [rsp + rbx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx r9d, r15b
inc r14b
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
mov cl, byte [rsp + rdx + 0x20]
movzx r11d, r14b
xor cl, byte [rsp + rax + 0x20]
mov al, byte [rdi + 3]
mov dil, byte [rdi + 2]
add al, 0x66
xor cl, sil
add dil, 6
movzx edx, cl
shl dil, 4
lea rsi, [fcn.140035fa8]
or dil, al
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
mov al, 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
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
mov eax, 4
xor cl, dil
add rsi, rax
mov qword [rbp + 0x78], rax
mov byte [r13], cl
mov dl, byte [rsi]
add r15b, byte [rsp + r11 + 0x20]
mov al, byte [rsi + 1]
add dl, 6
add al, 0x66
shl dl, 4
movzx r8d, dil
movzx r10d, byte [rsp + r8 + 0x20]
or dl, al
movzx r9d, r15b
mov al, byte [rsp + r9 + 0x20]
mov byte [rbp + 0x70], dl
movzx edx, cl
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
inc r14b
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
lea rbx, [rsp + 0x20]
add rbx, rax
mov edi, 2
mov al, byte [rbx]
mov byte [rsp + rdx + 0x20], al
mov byte [rbx], 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
mov cl, byte [rsp + rdx + 0x20]
mov dl, byte [rbp + 0x70]
xor cl, byte [rsp + rax + 0x20]
xor cl, dl
mov byte [r13 + 1], cl
add r15b, byte [rbx]
movzx r8d, dl
movzx edx, cl
movzx r10d, byte [rsp + r8 + 0x20]
movzx r9d, r15b
lea rsi, [rsi + 2]
mov al, byte [rsi]
mov r11b, byte [rsi + 1]
inc r14b
add al, 6
add r11b, 0x66
lea rbx, [rsp + 0x20]
shl al, 4
inc rdi
or r11b, al
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rbx, rax
mov al, byte [rbx]
mov byte [rsp + rdx + 0x20], al
mov byte [rbx], 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
mov cl, byte [rsp + rdx + 0x20]
mov dl, r11b
xor cl, byte [rsp + rax + 0x20]
xor cl, r11b
test rdi, rdi
jle 0x14000f1fe
mov byte [rdi + r13 - 1], cl
dec qword [rbp + 0x78]
jne 0x14000f15d
movzx r9d, dl
movzx edx, cl
lea rbx, [fcn.140035fa8]
movzx r10d, byte [rsp + r9 + 0x20]
mov dil, byte [rbx + 0xf]
add rbx, 0xe
mov al, byte [rbx]
add dil, 0x66
lea rsi, [rsp + 0x20]
add al, 6
mov qword [rbp + 0x70], 5
shl al, 4
or dil, al
movzx eax, r14b
inc r14b
add r15b, byte [rsp + rax + 0x20]
movzx r8d, r15b
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, r14b
add rsi, rax
mov al, byte [rsi]
mov byte [rsp + rdx + 0x20], al
mov byte [rsi], 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 + r9 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
mov eax, 7
xor cl, dil
mov byte [r13 + 6], cl
add r15b, byte [rsi]
inc rax
movzx edx, cl
mov qword [rbp + 0x78], rax
movzx r8d, dil
movzx r9d, r15b
movzx r10d, byte [rsp + r8 + 0x20]
lea rbx, [rbx + 2]
inc r14b
mov al, byte [rbx + 1]
mov r11b, byte [rbx]
lea rsi, [rsp + 0x20]
add al, 0x66
add r11b, 6
shl r11b, 4
or r11b, al
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov dil, r11b
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rsi, rax
mov al, byte [rsi]
mov byte [rsp + rdx + 0x20], al
mov byte [rsi], 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
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
mov rax, qword [rbp + 0x78]
xor cl, r11b
test rax, rax
jle 0x14000f361
mov byte [rax + r13 - 1], cl
dec qword [rbp + 0x70]
jne 0x14000f2b7
movzx eax, r14b
movzx edx, cl
movzx r9d, r11b
add r15b, byte [rsp + rax + 0x20]
movzx r11d, byte [rsp + r9 + 0x20]
inc r14b
movzx r10d, r15b
movzx ecx, r14b
mov byte [r13 + 0xc], 0
mov al, byte [rsp + r10 + 0x20]
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
lea r11, [rsp + 0x130]
mov rax, r13
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret