Function at 0x1400ad9a0
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, 0xe8
mov byte [rsp + 0x23], r8b
mov r14, rdx
mov rsi, rcx
mov rax, rdx
shld rax, rcx, 0x3f
mov r8, rdx
shr r8, 1
add r8, rax
adc r8, 0
movabs r10, 0xcccccccccccccccd
mov rax, r8
mul r10
mov rcx, qword [rsp + 0x150]
xor r13d, r13d
cmp rsi, 0xa
mov rax, r14
sbb rax, 0
movabs r11, 0xcccccccccccccccc
mov byte [rsp + 0x24], r9b
jb 0x1400adac2
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
mov eax, esi
and eax, 1
lea rax, [rax + r8*2]
test rax, rax
jne 0x1400adac2
xor r13d, r13d
nop
mov r9, r14
mov rdi, rsi
mov rsi, r14
shld rsi, rdi, 0x3f
shr r14, 1
mov r8, rsi
add r8, r14
adc r8, 0
mov rax, r8
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
sub rsi, r8
sbb r14, 0
mov r8, rsi
imul r8, r11
mov rax, rsi
mul r10
add rdx, r8
imul r14, r10
add r14, rdx
inc r13
mov rdx, r14
mov rsi, rax
shld rdx, rax, 0x3f
mov r8, r14
shr r8, 1
add r8, rdx
adc r8, 0
mov rax, r8
mul r10
cmp rdi, 0x64
sbb r9, 0
jb 0x1400adac2
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
mov eax, esi
and eax, 1
lea rax, [rax + r8*2]
test rax, rax
je 0x1400ada30
cmp qword [rcx + 0x10], 0
je 0x1400adb4c
mov r15, qword [rcx + 0x18]
cmp rsi, 0xa
mov rax, r14
sbb rax, 0
jb 0x1400adb53
xor ebx, ebx
mov r12d, 0x63
mov rdi, rsi
mov rcx, r14
mov rbp, r14
nop
mov r8, rcx
shld r8, rdi, 0x3f
shr rbp, 1
mov r9, r8
add r9, rbp
adc r9, 0
mov rax, r9
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r9, rax
sub r8, r9
sbb rbp, 0
mov r9, r8
imul r9, r11
mov rax, r8
mul r10
add rdx, r9
imul rbp, r10
add rbp, rdx
inc rbx
cmp r12, rdi
mov edx, 0
sbb rdx, rcx
mov rdi, rax
mov rcx, rbp
jb 0x1400adaf0
jmp 0x1400adb55
xor edi, edi
jmp 0x1400adc7b
xor ebx, ebx
xor eax, eax
mov rdi, r15
sub rdi, rbx
cmovb rdi, rax
mov r9, rbx
sub r9, r15
cmovb r9, rax
cmp r9, 2
jb 0x1400adbe9
add r9, r13
cmp rbx, r15
mov r12, r15
cmovb r12, rbx
not r12
add r12, rbx
mov rcx, qword [rsp + 0x150]
nop dword [rax]
shrd rsi, r14, 1
shr r14, 1
mov r8, rsi
add r8, r14
adc r8, 0
mov rax, r8
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
sub rsi, r8
sbb r14, 0
mov r8, rsi
imul r8, r11
mov rax, rsi
mul r10
add rdx, r8
imul r14, r10
add r14, rdx
mov rsi, rax
dec r12
jne 0x1400adb90
dec r9
mov r13, r9
cmp rbx, r15
ja 0x1400adbfa
jmp 0x1400adc7b
mov rcx, qword [rsp + 0x150]
cmp rbx, r15
jbe 0x1400adc7b
mov r8, r14
shld r8, rsi, 0x3f
mov rbx, r14
shr rbx, 1
mov r9, r8
add r9, rbx
adc r9, 0
mov rax, r9
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r9, rax
sub r8, r9
sbb rbx, 0
imul r11, r8
mov rax, r8
mul r10
mov r8, rax
mov r9, rdx
add r9, r11
imul rbx, r10
lea rax, [r9 + rbx]
lea r10, [rax + rax*4]
mov edx, 0xa
mov rax, r8
mul rdx
lea rdx, [rdx + r10*2]
sub rsi, rax
sbb r14, rdx
inc r13
xor eax, eax
mov edx, 4
cmp rdx, rsi
sbb rax, r14
adc r8, 0
adc rbx, r9
mov rsi, r8
mov r14, rbx
cmp rsi, 0x64
mov rax, r14
sbb rax, 0
jb 0x1400add32
mov qword [rsp + 0x28], rdi
xor ebx, ebx
lea r12, [rsp + 0x30]
lea r15, [0x1400e07cc]
mov edi, 0x270f
nop word cs:[rax + rax]
mov rbp, rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.1400bba60
pshufd xmm1, xmm0, 0xee
movq rsi, xmm0
imul rax, rsi, 0x64
mov rdx, rbp
sub rdx, rax
movzx eax, word [r15 + rdx*2]
mov word [rsp + rbx + 0xe6], ax
add rbx, 0xfffffffffffffffe
cmp rdi, rbp
mov eax, 0
sbb rax, r14
movq r14, xmm1
jb 0x1400adcb0
mov rax, r13
sub rax, rbx
add rbx, 0x28
mov rcx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x28]
cmp rsi, 9
ja 0x1400add40
jmp 0x1400add68
mov ebx, 0x28
mov rax, r13
cmp rsi, 9
jbe 0x1400add68
movzx edx, sil
imul esi, edx, 0xcd
shr esi, 0xb
lea r8d, [rsi + rsi]
lea r8d, [r8 + r8*4]
sub dl, r8b
or dl, 0x30
mov byte [rsp + rbx + 0xbf], dl
dec rbx
inc rax
test rdi, rdi
jne 0x1400add72
cmp rax, r13
je 0x1400add7d
mov byte [rsp + rbx + 0xbf], 0x2e
dec rbx
movzx r9d, byte [rsp + 0x23]
lea r8, [rsp + 0xc0]
lea rdx, [rbx + r8]
dec rdx
add sil, 0x30
mov byte [rbx + r8 - 1], sil
movzx r8d, byte [rsp + 0x24]
xor r8b, 1
shl r8b, 5
or r8b, 0x45
mov byte [rsp + 0x25], r8b
cmp rax, 0xa
jae 0x1400addc5
add al, 0x30
mov byte [rsp + 0x26], al
mov eax, 2
jmp 0x1400adddb
lea r8, [0x1400e07cc]
movzx eax, word [r8 + rax*2]
mov word [rsp + 0x26], ax
mov eax, 3
mov r8d, 0x29
sub r8, rbx
mov word [rsp + 0x78], 2
mov qword [rsp + 0x80], rdx
add byte [rcx + rcx*4 - 0x7c], cl
and al, 0x88
add byte [rax], al
add byte [rsi - 0x39], ah
test byte [rax + rdx*4], ah
add byte [rax], al
add byte [rax], al
add byte [rax - 0x77], cl
mov esp, 0x9824
add byte [rsi - 0x39], ah
test byte [rax + rbp*4], ah
add byte [rax], al
add byte [rdx], al
add byte [rax - 0x73], cl
push rsp
and al, 0x25