Function at 0x14022dfc7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
shr eax, cl
clc
cmp bl, r11b
mov dword [r9 + 0x20], eax
rcr ax, 0x31
sbb ah, 0xae
shr ah, 0x9f
mov eax, dword [r8]
clc
cmc
add r8, 4
cmc
clc
cmp dword [rdx + 8], 0
jmp 0x140121f08
mov qword [r9 + 8], r8
mov dword [r9 + 0x24], eax
je 0x1401890be
mov r10d, dword [rdx + 8]
shr ch, 0xcc
movzx ecx, byte [r8]
jmp 0x14016d785
mov dword [r9 + 0x20], eax
mov eax, dword [rdx]
jmp 0x1401ef215
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
rcr rdx, cl
mov cl, byte [rcx + r11 + 0xc1a40]
setbe dl
sub r8, rax
shl dx, 0xef
movsx rax, cx
mov eax, dword [r8 - 4]
bsf dx, di
or rdx, 0x18c7d82
setno dl
lea rdx, [r8 + 4]
mov qword [r9 + 8], r8
clc
cmp r12b, 0xf7
shr eax, cl
movzx rcx, r15w
or rcx, 0x3c2c5ecb
mov dword [r9 + 0x20], eax
ror ecx, cl
mov eax, dword [r8]
sar r8w, 0x99
inc r8b
mov qword [r9 + 8], rdx
bswap r8
mov dword [r9 + 0x24], eax
movzx ecx, byte [rdx]
and ecx, 0xf
shr r8w, cl
btr r8, 0x92
movsx rax, byte [rcx + r11 + 0xc1a30]
btr r8w, 0xa9
mov cl, byte [rcx + r11 + 0xc1a40]
sub rdx, rax
shrd r8w, r13w, 0x1e
mov eax, dword [rdx - 4]
dec r8b
shr eax, cl
mov qword [r9 + 8], rdx
shr r8b, cl
btr r8, rax
mov dword [r9 + 0x18], eax
shld cx, r13w, 0xad
test dil, 0x60
movsx r8d, r12w
movzx ecx, byte [rdx]
movsx r8d, r8w
bt r8d, 0xc6
and ecx, 0xf
movsx r8, di
movsx rax, byte [rcx + r11 + 0xc1a30]
mov cl, byte [rcx + r11 + 0xc1a40]
shr r8b, cl
sub rdx, rax
cmp r15b, 0xf
add ah, 0x51
mov al, spl
mov eax, dword [rdx - 4]
shr eax, cl
shr r8b, cl
btc rcx, 0x84
add ch, 0x8e
mov qword [r9 + 8], rdx
and cx, 0x4fbe
and r8w, r14w
adc cx, 0x612e
mov dword [r9 + 0x1c], eax
cmovbe cx, di
sar ecx, 0xaf
sal cx, 0x8f
movzx ecx, byte [rdx]
bt ax, r11w
adc r8b, r14b
and ecx, 0xf
bswap r8d
clc
btr r8w, 0xb0
movsx rax, byte [rcx + r11 + 0xc1a30]
mov cl, byte [rcx + r11 + 0xc1a40]
setge r8b
sub rdx, rax
ror r8d, 0xbd
mov eax, dword [rdx - 4]
movzx r8d, ax
bsf r8w, di
bt r8d, 0xbf
lea r8, [rdx + 4]
test r14b, sil
stc
shr eax, cl
mov qword [r9 + 8], rdx
jmp 0x1401224db
and ecx, 0xf
sar dh, 0xcd
test di, 0x4fc
movsx rax, byte [rcx + r11 + 0xc1a30]
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
mov eax, dword [r8 - 4]
mov qword [r9 + 8], r8
shr dx, 0x52
test edx, esi
shr eax, cl
add cx, r12w
mov dword [r9 + 0x18], eax
add cl, r10b
movzx ecx, byte [r8]
movzx rax, cx
and ecx, 0xf
btc rdx, r14
movsx ax, spl
movsx rax, byte [rcx + r11 + 0xc1a30]
movzx edx, di
bsf rdx, r15
mov cl, byte [rcx + r11 + 0xc1a40]
bsf rdx, r14
cmp sil, 0x31
btc dx, 0x19
sub r8, rax
bt edx, r9d
mov eax, dword [r8 - 4]
btr dx, di
mov qword [r9 + 8], r8
shr eax, cl
stc
cdq
test ebx, ecx
mov dword [r9 + 0x1c], eax
btc ax, r9w
movzx rcx, ax
movzx ecx, byte [r8]
jmp 0x140124915
jne 0x140121f1d
ret
sub r8, rax
mov eax, dword [r8 - 4]
shr eax, cl
mov qword [r9 + 8], r8
cmp r12, rdx
test bx, 0x3ee3
mov dword [r9 + 0x18], eax
movzx ecx, byte [r8]
and ecx, 0xf
add eax, 0x5a7f1e53
bt rax, 0x6a
shl ax, 0xc9
movsx rax, byte [rcx + r11 + 0xc1a30]
test dh, 0x90
clc
mov cl, byte [rcx + r11 + 0xc1a40]
jmp 0x140254d97
mov qword [r9 + 8], r8
test r14d, 0x28017c1c
mov dword [r9 + 0x24], eax
sub r10, 1
jmp 0x1401890b8
mov r8, qword [rcx + 0x10]
lea r11, [0x140000000]
lahf
shr r9, 0x75
movzx rax, r8w
mov qword [rcx + 8], r8
dec al
adc al, r12b
xor r9w, 0x611f
mov r9, rcx
movzx ecx, byte [r8]
sal ax, 0x3b
and ecx, 0xf
not ax
cmovs eax, ebp
clc
movsx rax, byte [rcx + r11 + 0xc1a30]
test esi, 0x35525ba8
test ax, sp
cmp r9b, r8b
mov cl, byte [rcx + r11 + 0xc1a40]
jmp 0x1401adbf2
sub r8, rax
mov eax, dword [r8 - 4]
mov qword [r9 + 8], r8
shr eax, cl
dec cx
mov dword [r9 + 0x1c], eax
add al, r10b
sbb ax, r13w
movzx rax, r8w
movzx ecx, byte [r8]
rcl ax, cl
ror ax, 0x99
dec ax
and ecx, 0xf
mov ax, 0x27fa
movzx ax, r14b
rcl ah, 0
movsx rax, byte [rcx + r11 + 0xc1a30]
stc
mov cl, byte [rcx + r11 + 0xc1a40]
clc
cmp ax, 0x640f
sub r8, rax
sal al, 0xe2
cdqe
cmp r12b, spl
mov eax, dword [r8 - 4]
cmc
mov qword [r9 + 8], r8
stc
jmp 0x1400f5171