Function at 0x1400e5e30
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 r12, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rdx + 0x17], 0
js 0x1400e60d5
mov word [r12], 0
mov byte [r12 + 0x17], 0
cmp byte [r8 + 0x17], 0
js 0x1400e60ec
mov word [r8], 0
mov byte [r8 + 0x17], 0
movzx r13d, byte [rdi + 0x17]
mov r15, rdi
test r13b, r13b
jns 0x1400e5e9b
mov r15, qword [rdi]
mov r13, qword [rdi + 8]
movzx eax, byte [0x140221c78]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400e60bb
mov qword [rsp + 0x38], r8
xor ebp, ebp
lea rcx, [0x1401f03b0]
movabs rdx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1401e90c0]
lea rsi, [rsp + 0x40]
mov rax, rbp
shl rax, 4
mov qword [rsp + 0x50], rdx
movaps xmmword [rsp + 0x40], xmm6
mov rdx, qword [rax + rcx]
mov rbx, qword [rax + rcx + 8]
mov byte [rsp + 0x57], bl
lea r8, [rbx + rbx]
mov rcx, rsi
call fcn.140113df0
mov word [rsp + rbx*2 + 0x40], 0
movzx eax, byte [rsp + 0x57]
mov rcx, rax
test al, al
jns 0x1400e5f18
mov rcx, qword [rsp + 0x48]
cmp r13, rcx
jb 0x1400e5f91
mov r14b, 1
test rcx, rcx
je 0x1400e60bf
mov rdx, rsi
test al, al
jns 0x1400e5f35
mov rdx, qword [rsp + 0x40]
xor ebx, ebx
movzx esi, word [r15 + rbx*2]
cmp si, word [rdx + rbx*2]
jne 0x1400e5f91
inc rbx
cmp rcx, rbx
jne 0x1400e5f37
mov rsi, rcx
test al, al
js 0x1400e60c6
test r14b, r14b
jne 0x1400e5f9b
mov qword [rsp + 0x30], rsi
inc rbp
movzx eax, byte [0x140221c78]
xor rax, 3
cmp rbp, rax
lea rcx, [0x1401f03b0]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
jb 0x1400e5ed6
jmp 0x1400e60bb
xor r14d, r14d
mov rsi, qword [rsp + 0x30]
jmp 0x1400e5f4d
test rsi, rsi
je 0x1400e60bb
movzx edx, byte [rdi + 0x17]
mov rcx, rdx
test dl, dl
jns 0x1400e5fb3
mov rcx, qword [rdi + 8]
cmp rsi, rcx
je 0x1400e60bb
mov rax, rdi
test dl, dl
jns 0x1400e5fc6
mov rax, qword [rdi]
lea rbp, [rax + rcx*2]
mov rdx, rbp
test rcx, rcx
jle 0x1400e5ffc
mov rdx, rax
nop word cs:[rax + rax]
nop
cmp word [rdx], 0x3d
je 0x1400e5ff5
add rdx, 2
add rcx, 0xffffffffffffffff
jne 0x1400e5fe0
mov rdx, rbp
jmp 0x1400e5ffc
test rdx, rdx
cmove rdx, rbp
mov rcx, rdx
sub rcx, rax
sar rcx, 1
cmp rdx, rbp
mov rsi, 0xffffffffffffffff
cmovne rsi, rcx
lea rbp, [rdi + 0x18]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
xor r8d, r8d
mov r9, rsi
call fcn.140032520
cmp byte [r12 + 0x17], 0
js 0x1400e6101
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r12], xmm0
mov bl, 1
cmp rsi, 0xffffffffffffffff
je 0x1400e6096
inc rsi
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r8, rsi
mov r9, 0xffffffffffffffff
call fcn.140032520
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0x17], 0
js 0x1400e610f
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
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
xor ebx, ebx
jmp 0x1400e6096
xor esi, esi
jmp 0x1400e5f4d
mov rcx, qword [rsp + 0x40]
call fcn.1401109f8
jmp 0x1400e5f55
mov rax, qword [r12]
mov word [rax], 0
mov qword [r12 + 8], 0
jmp 0x1400e5e71
mov rax, qword [r8]
mov word [rax], 0
mov qword [r8 + 8], 0
jmp 0x1400e5e87
mov rcx, qword [r12]
call fcn.1401109f8
jmp 0x1400e603b
mov rcx, qword [rsi]
call fcn.1401109f8
jmp 0x1400e6085