Function at 0x14023061f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
je 0x14019f5a2
mov r10d, dword [rdx + 8]
btc ecx, 0xb3
movzx ecx, byte [r8]
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
rcl rdx, cl
not dx
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
and dx, 0x3199
mov eax, dword [r8 - 4]
not dl
mov qword [r9 + 8], r8
btr edx, r8d
add dl, 0xe4
bt dx, r11w
shr eax, cl
mov dword [r9 + 0x18], eax
or ch, 0xbb
btr dx, 0xf
cmc
movzx ecx, byte [r8]
adc al, r8b
ror dh, cl
cwd
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
ror dh, cl
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
and eax, 0x320f3664
neg dh
mov eax, dword [r8 - 4]
btc edx, 0x8e
rcl dx, cl
cwd
mov qword [r9 + 8], r8
mov rdx, rbp
rcl edx, 0x75
shr eax, cl
mov dword [r9 + 0x1c], eax
cmc
movzx dx, r10b
sar cl, 1
movzx ecx, byte [r8]
and rax, 0x13db0dd7
movzx eax, cx
and ecx, 0xf
xor al, r8b
sub dx, 0x6ea0
and ah, 0xf1
movsx rax, byte [rcx + r11 + 0xc1a30]
shr dx, 0xc0
bt dx, ax
mov cl, byte [rcx + r11 + 0xc1a40]
rcl rdx, 0x81
sub r8, rax
mov eax, dword [r8 - 4]
jmp 0x14018549d
sub r8, rax
mov eax, dword [r8 - 4]
stc
mov qword [r9 + 8], r8
shr eax, cl
mov dword [r9 + 0x1c], eax
movzx ecx, byte [r8]
and ecx, 0xf
sbb ah, 0x6b
bsr ax, r14w
movsx rax, byte [rcx + r11 + 0xc1a30]
mov cl, byte [rcx + r11 + 0xc1a40]
test r9w, 0x5df2
cmp esi, r8d
sub r8, rax
sal ax, 0x2c
mov eax, dword [r8 - 4]
clc
stc
cmp r13b, r9b
mov qword [r9 + 8], r8
cmp sil, 0xe6
shr eax, cl
cmp bl, sil
clc
mov dword [r9 + 0x20], eax
cmovp eax, esi
test sil, al
mov eax, dword [r8]
cmp r11b, 0x6f
test sil, r8b
add r8, 4
test rsi, 0x76c94bfc
cmp r11b, 0xb
cmp dword [rdx + 8], 0
mov qword [r9 + 8], r8
jmp 0x1401ac8f1
mov qword [r9 + 8], r8
shr ch, 0x41
movzx ecx, r13w
mov dword [r9 + 0x18], eax
btr rax, rsi
movzx ecx, dx
rcr ecx, cl
movzx ecx, byte [r8]
cwde
mov al, dil
and ecx, 0xf
cmp r11b, al
or al, r11b
movsxd rax, r8d
movsx rax, byte [rcx + r11 + 0xc1a30]
mov cl, byte [rcx + r11 + 0xc1a40]
jmp 0x14017fe27
lea rdx, [r8 + 4]
cmc
clc
cmp ah, 0x66
mov qword [r9 + 8], r8
shr eax, cl
mov dword [r9 + 0x20], eax
bsr ax, bp
xchg al, cl
mov eax, dword [r8]
mov qword [r9 + 8], rdx
mov dword [r9 + 0x24], eax
cmc
movzx ecx, byte [rdx]
sbb ax, 0x6ca7
and r8w, 0x4581
and ecx, 0xf
neg r8w
clc
bts r8, r8
movsx rax, byte [rcx + r11 + 0xc1a30]
setg r8b
sub r8b, 0xe
mov cl, byte [rcx + r11 + 0xc1a40]
adc r8b, bl
movzx r8d, ax
bswap r8w
sub rdx, rax
mov eax, dword [rdx - 4]
movzx r8d, r13w
movzx r8, r11w
not r8
shr eax, cl
sal r8b, cl
mov qword [r9 + 8], rdx
shld r8w, r14w, 0x4f
mov dword [r9 + 0x18], eax
sbb ax, ax
movzx ecx, byte [rdx]
shld r8, rcx, 0xed
bswap rax
and ecx, 0xf
movsx rax, byte [rcx + r11 + 0xc1a30]
movsx r8d, bx
adc r8w, 0xf72
mov cl, byte [rcx + r11 + 0xc1a40]
sub rdx, rax
rol r8d, cl
sal r8, cl
sbb al, 0xd6
mov eax, dword [rdx - 4]
test r9w, 0x6a1d
sub r8b, spl
sub r8b, 0xcf
shr eax, cl
adc ch, 0x2b
mov qword [r9 + 8], rdx
mov dword [r9 + 0x1c], eax
movzx ecx, byte [rdx]
movzx eax, r8w
bsf r8d, esp
stc
and ecx, 0xf
and ah, bl
movsx rax, byte [rcx + r11 + 0xc1a30]
mov r8b, spl
rol r8b, cl
bts r8, rax
mov cl, byte [rcx + r11 + 0xc1a40]
cmp sp, 0x36e6
sub rdx, rax
mov eax, dword [rdx - 4]
lea r8, [rdx + 4]
shr eax, cl
mov qword [r9 + 8], rdx
mov dword [r9 + 0x20], eax
bsr rax, rdx
stc
mov eax, dword [rdx]
stc
mov qword [r9 + 8], r8
mov dword [r9 + 0x24], eax
sub r10, 1
jmp 0x14019f59c
jne 0x1400e7ad6
ret
mov dword [r9 + 0x24], eax
jmp 0x1400e7ac8
mov r8, qword [rcx + 0x10]
rcl r9w, 0x42
cwde
lea r11, [0x140000000]
shr r9w, 0xe8
cwde
rol ax, cl
mov qword [rcx + 8], r8
sub eax, r15d
mov r9, rcx
movzx ecx, byte [r8]
and ecx, 0xf
cbw
movsx rax, byte [rcx + r11 + 0xc1a30]
cmc
mov cl, byte [rcx + r11 + 0xc1a40]
sub r8, rax
bsf ax, si
inc ax
shl ah, 0x6f
mov eax, dword [r8 - 4]
cmp sil, 0x53
test r11b, 0x90
stc
shr eax, cl
btc cx, 0x12
jmp 0x140183158