Function at 0x1404a7916
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
cmp esi, 0x24db24d5
cmp r9b, r13b
movsx r10d, bp
mov qword [rax + 8], rbx
shld bx, cx, 0x77
or bx, 0x5dad
sal bl, cl
mov qword [rax + 0x10], rbp
shl bx, 0x4e
rcl bx, cl
btr r10w, 0xb
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
shl sil, 0x37
push r14
xor sil, 0xbe
test r12b, r13b
push r15
movzx esi, word [rsp + 0x38]
xchg bh, bh
neg r10d
mov r10, r8
and r8w, dx
sar r8b, 0x2d
sub r15d, r15d
movsxd r8, edx
rcl ebx, 0xc4
sal bl, 0x24
mov ebx, ecx
mov cl, bpl
mov ecx, r8d
clc
test r14w, 0x3a68
test si, si
jmp 0x1404a7996
jne 0x1404a7b1d
mov rax, qword [r9]
rcl r11w, cl
mov r11, qword [r10]
jmp 0x1404a79ae
cmp rax, 1
jbe 0x1404a7ab9
mov eax, 0x66666667
btc edx, r13d
bts r8w, di
mov r8, r11
ror dl, cl
stc
imul ebx
shrd cx, cx, 0x9d
sar edx, 2
rol ax, 0xc1
or cl, r12b
mov eax, edx
shl ch, 0x61
shr eax, 0x1f
bsf cx, cx
movzx cx, r9b
add edx, eax
xchg cl, al
movzx eax, dx
test cl, 0xf6
cmp r9w, bp
shl ax, 2
xchg cx, cx
lea ecx, [rax + rdx]
bt ax, r13w
add cx, cx
test r14b, 0xb1
shl ah, cl
sub bx, cx
movsxd rax, r11d
bswap rax
add bx, 0x30
rcr ah, cl
not ah
setge ah
mov word [r11], bx
shld ax, si, 0x8c
movzx eax, dx
add r11, 2
mov rax, qword [r9]
not bl
movsx bx, al
mov ebx, edx
jmp 0x1404a7a48
dec rax
clc
mov qword [r9], rax
test edx, edx
jmp 0x1404a7a56
jle 0x1404a7a6b
cmp rax, 1
jmp 0x1404a7a65
ja 0x1404a79b8
mov rdx, qword [r10]
jmp 0x1404a7a73
mov qword [r10], r11
jmp 0x1404a7a7b
jmp 0x1404a7aa6
movzx eax, word [rdx]
bts rcx, r15
bsr cx, si
sar ch, 0x21
movzx ecx, word [r8]
mov word [r8], ax
cmp r15w, bx
stc
sub r8, 2
mov word [rdx], cx
add rdx, 2
cmp rdx, r8
jmp 0x1404a7aae
jb 0x1404a7a80
jmp 0x1404a7aec
lea rax, [rax + rax]
xor bp, r12w
shr bp, cl
sub r11, rax
cmovne ebx, r12d
movsx rbp, bx
movzx rdi, dx
mov qword [r10], r11
setns dil
xchg bp, r14w
movzx rbx, bx
mov qword [r9], r15
movzx r14d, bp
bswap r14
mov rbx, qword [rsp + 0x18]
seto sil
movsx rsi, cx
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movsx r14, si
movzx di, r9b
mov rdi, qword [rsp + 0x30]
movsxd r15, esp
movsx r15, dx
pop r15
pop r14
ret
cmp r8, qword [r9]
jae 0x1404a7ae2
dec r8d
shrd r11w, sp, 7
sar r11b, cl
mov r11d, r15d
stc
clc
test ecx, ecx
jmp 0x1404a7b3e
je 0x1404a7c19
movsxd rax, r8d
shr r14, cl
sbb dil, cl
lea rdi, [rax + rax]
sar bp, cl
bts ax, r15w
mov r14, qword [r10]
cdq
mov eax, 0x66666667
rcl bpl, cl
imul ebx
mov ebp, r8d
neg ax
sar edx, 2
not al
sub ax, r12w
mov eax, edx
test ax, 0x4c80
jmp 0x1404a7b85
shr eax, 0x1f
add edx, eax
test r14w, di
jmp 0x1404a7b96
test ebx, ebx
jmp 0x1404a7b9d
je 0x1404a7bd6
movzx eax, dx
shl ax, 2
movzx ecx, cx
dec cx
neg ecx
lea ecx, [rax + rdx]
btr rax, 0x57
add ax, 0x2824
add cx, cx
sub bx, cx
movsx rax, sp
cwde
lea eax, [rbx + 0x30]
jmp 0x1404a7bd1
jmp 0x1404a7be3
movzx eax, si
movzx ebx, dx
xchg ebx, ebx
cmovo bx, r8w
mov word [rdi + r14], ax
movzx rbx, r15w
inc r11d
rcl bx, cl
sub rdi, 2
movzx ebx, r9w
inc bl
movzx bx, dil
dec r8d
mov ebx, edx
test bp, 0x4acf
jmp 0x1404a7c11
test ebp, ebp
jne 0x1404a7b59
movsxd rcx, r11d
lea rax, [rcx + rcx]
cmp r11b, spl
stc
test r9w, si
add qword [r10], rax
sub qword [r9], rcx
jmp 0x1404a7aec