Function at 0x1401850ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and ecx, 0xf
mov rdx, r11
movsx rax, byte [rcx + r11 + 0xc1a30]
adc dl, 0x91
sal dl, 0x74
btr edx, esp
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
xadd dl, al
test r8w, 0x60df
mov eax, dword [r8 - 4]
cmc
shl rdx, cl
mov qword [r9 + 8], r8
shr eax, cl
dec cl
sets ch
bt rdx, r11
mov dword [r9 + 0x18], eax
btc dx, 0xb4
not ah
movzx ecx, byte [r8]
btr dx, 0x52
stc
and ecx, 0xf
shrd ax, bx, 0xc2
test r14, 0x191713c7
movsx rax, byte [rcx + r11 + 0xc1a30]
shld dx, r8w, 0xd7
mov cl, byte [rcx + r11 + 0xc1a40]
xchg rdx, rdx
test r14b, bpl
sub r8, rax
and ax, 0x1dee
xchg al, ah
cdqe
mov eax, dword [r8 - 4]
or dx, di
mov qword [r9 + 8], r8
not rdx
shl edx, 0xf8
bsf dx, r10w
shr eax, cl
not ecx
mov dword [r9 + 0x1c], eax
test ecx, 0x79e33903
lahf
movzx ecx, byte [r8]
bts edx, eax
and ecx, 0xf
rol dh, cl
bt rdx, rdi
movzx dx, bpl
movsx rax, byte [rcx + r11 + 0xc1a30]
movsx edx, cx
mov cl, byte [rcx + r11 + 0xc1a40]
sete dl
shl rdx, 0xea
sar dh, cl
sub r8, rax
shrd eax, eax, 0xb3
movsxd rdx, esi
mov eax, dword [r8 - 4]
lea rdx, [r8 + 4]
test spl, r9b
cmp dh, ch
cmp r11w, 0xa47
mov qword [r9 + 8], r8
shr eax, cl
mov dword [r9 + 0x20], eax
mov eax, dword [r8]
ror cx, cl
bswap ecx
mov qword [r9 + 8], rdx
add r8d, r10d
mov ecx, 0x71b05150
mov dword [r9 + 0x24], eax
ror r8w, 0x94
movzx ecx, byte [rdx]
btc r8w, 0xbf
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
rcl r8b, cl
mov cl, byte [rcx + r11 + 0xc1a40]
clc
sub rdx, rax
shld rax, rdx, 0x9b
cmp r13b, 0xd7
xadd al, r8b
mov eax, dword [rdx - 4]
setb r8b
shr eax, cl
bsr cx, dx
bsf ecx, r10d
add r8b, 0xfb
mov qword [r9 + 8], rdx
xor r8b, 0x93
mov dword [r9 + 0x18], eax
movzx rax, r11w
shl ch, 0x39
inc al
movzx ecx, byte [rdx]
rcr r8b, cl
stc
btr r8d, r9d
and ecx, 0xf
cbw
sar r8b, 0x3f
movsx rax, byte [rcx + r11 + 0xc1a30]
sal r8w, 0x1f
mov cl, byte [rcx + r11 + 0xc1a40]
movzx r8, r13w
bswap r8w
cmp ebx, 0x779878bb
sub rdx, rax
mov eax, dword [rdx - 4]
shr eax, cl
mov qword [r9 + 8], rdx
stc
or r8d, 0x759c5a5e
mov dword [r9 + 0x1c], eax
cmovne cx, r14w
sbb cl, r12b
movzx ecx, byte [rdx]
and ecx, 0xf
mov rax, 0x4cb01ce3
shrd ax, bp, 0x1c
add r8w, r14w
movsx rax, byte [rcx + r11 + 0xc1a30]
ror r8w, 0xd7
mov cl, byte [rcx + r11 + 0xc1a40]
mov r8w, si
cmp sp, 0x4d60
sub rdx, rax
bts r8d, r9d
shld r8, r13, 0xb9
mov eax, dword [rdx - 4]
shrd r8w, r10w, 0xa2
sbb r8b, sil
lea r8, [rdx + 4]
cmp ebp, r11d
clc
shr eax, cl
clc
mov qword [r9 + 8], rdx
mov dword [r9 + 0x20], eax
sub al, 0xf1
not eax
mov eax, dword [rdx]
cmc
jmp 0x1401e7a02
je 0x140232fdc
mov r10d, dword [rdx + 8]
ror al, cl
movzx ecx, byte [r8]
jmp 0x1400f172a
mov r8, qword [rcx + 0x10]
test r14b, cl
rcl r11b, 0x76
lea r11, [0x140000000]
and ah, 0x19
not al
rcl al, 0xf9
mov qword [rcx + 8], r8
shl ax, 0x9a
rcr r9b, 0x67
cbw
mov r9, rcx
shrd rax, rsi, 0x67
dec al
sbb ch, 0x79
movzx ecx, byte [r8]
movsx eax, r8w
bt eax, 0x98
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
jmp 0x1401cdca1
mov dword [r9 + 0x24], eax
jmp 0x140119180
mov cl, byte [rcx + r11 + 0xc1a40]
clc
test rbx, r8
sub r8, rax
rcl ah, cl
mov eax, dword [r8 - 4]
cmp r14b, 0x13
jmp 0x140282d80
mov qword [r9 + 8], r8
cmp rdi, rsi
mov dword [r9 + 0x24], eax
test rcx, 0x5dee2af2
sub r10, 1
jmp 0x140232fd6
mov qword [r9 + 8], r8
jmp 0x14018f824
jne 0x14011918c
ret
add r8, 4
cmc
clc
cmp dword [rdx + 8], 0
jmp 0x14020d410
shr eax, cl
add cl, r10b
bswap ecx
mov qword [r9 + 8], r8
test edx, r13d
mov dword [r9 + 0x18], eax
movzx ecx, byte [r8]
bt ax, r14w
adc eax, esp
and ecx, 0xf
mov ah, 0xf5
setne ah
movsx rax, byte [rcx + r11 + 0xc1a30]
cmc
test r11b, r8b
clc
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
movzx rax, si
stc
shrd eax, ecx, 0x5f
mov eax, dword [r8 - 4]
mov qword [r9 + 8], r8
cmp dx, dx
clc
cmc
shr eax, cl
btc rcx, r11
not cx
mov dword [r9 + 0x1c], eax
movzx ecx, byte [r8]
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
cmp esi, 0xb25507c
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
movzx eax, r8w
and ax, 0x2c56
mov eax, dword [r8 - 4]
mov qword [r9 + 8], r8
cmp eax, 0x7bef2010
test bpl, r9b
cmp edi, esp
shr eax, cl
cmp r10b, r12b
mov dword [r9 + 0x20], eax
movzx ax, r8b
mov eax, dword [r8]
cmp r10b, 0xc9
jmp 0x14027394c