Function at 0x1400edc90
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, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rdx + 0x17], 0
js 0x1400edcd7
mov word [rdx], 0
mov byte [rdx + 0x17], 0
cmp byte [r8 + 0x17], 0
js 0x1400edcee
mov word [r8], 0
mov byte [r8 + 0x17], 0
jmp 0x1400edcfe
mov rax, qword [rdx]
mov word [rax], 0
mov qword [rdx + 8], 0
cmp byte [r8 + 0x17], 0
jns 0x1400edcca
mov rax, qword [r8]
mov word [rax], 0
mov qword [r8 + 8], 0
movzx r14d, byte [rcx + 0x17]
mov rdi, rcx
test r14b, r14b
jns 0x1400edd12
mov rdi, qword [rcx]
mov r14, qword [rcx + 8]
movzx eax, byte [0x1403226f8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400ede2d
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x28], r8
xor r12d, r12d
movaps xmm6, xmmword [0x14029de10]
lea r13, [rsp + 0x40]
jmp 0x1400edd6f
test al, al
js 0x1400eddf0
inc r12
movzx eax, byte [0x1403226f8]
xor rax, 3
cmp r12, rax
jae 0x1400ede2d
mov rcx, r12
shl rcx, 4
lea rax, str.Rt_
add rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmmword [rsp + 0x40], xmm6
mov rdx, r13
call fcn.14002fd70
movzx eax, byte [rsp + 0x57]
test al, al
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rdx, rax
cmovs rdx, r15
cmp rdx, r14
ja 0x1400edd50
test rdx, rdx
je 0x1400eddfa
test al, al
mov rbx, r13
cmovs rbx, rcx
xor ebp, ebp
nop dword [rax]
movzx esi, word [rdi + rbp*2]
cmp si, word [rbx + rbp*2]
jne 0x1400edd50
inc rbp
cmp rdx, rbp
jne 0x1400eddd0
jmp 0x1400eddfa
call fcn.140255d7c
jmp 0x1400edd58
test al, al
js 0x1400ede03
mov r15, rax
jmp 0x1400ede08
call fcn.140255d7c
mov rdi, qword [rsp + 0x38]
test r15, r15
je 0x1400ede2d
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400ede24
mov rcx, rdi
cmp r15, rax
jne 0x1400ede57
jmp 0x1400ede2d
mov rax, qword [rdi + 8]
cmp r15, rax
jne 0x1400ede54
xor esi, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140257200
mov eax, esi
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rdi]
lea rbp, [rcx + rax*2]
mov rdx, rbp
test rax, rax
jle 0x1400ede8b
mov rdx, rcx
nop word cs:[rax + rax]
cmp word [rdx], 0x3d
je 0x1400ede84
add rdx, 2
dec rax
jne 0x1400ede70
mov rdx, rbp
jmp 0x1400ede8b
test rdx, rdx
cmove rdx, rbp
mov rax, rdx
sub rax, rcx
sar rax, 1
cmp rdx, rbp
mov rbx, 0xffffffffffffffff
cmovne rbx, rax
lea rbp, [rdi + 0x18]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.1400e9148
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + 0x17], 0
jns 0x1400eded6
mov rcx, qword [rcx]
call fcn.140255d7c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov sil, 1
cmp rbx, 0xffffffffffffffff
je 0x1400ede2f
inc rbx
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r8, rbx
mov r9, 0xffffffffffffffff
call fcn.1400e9148
mov rcx, qword [rsp + 0x28]
cmp byte [rcx + 0x17], 0
jns 0x1400edf2b
mov rcx, qword [rcx]
call fcn.140255d7c
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x1400ede2f