Function at 0x1800a7bcc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [r9 + 8], rax
jmp 0x18009e920
mov dword [r9 + 0x24], ecx
je 0x1800a2214
mov r8d, dword [rdx + 8]
cmovb rax, r12
mov rdx, qword [r9 + 8]
and rax, rsi
sbb ah, 0xa5
clc
movzx ecx, byte [rdx]
test ah, 0x18
and ecx, 0xf
and ah, 0x79
rol rax, 0x56
mov al, sil
movsx rax, byte [rcx + r10 + 0x7c8b0]
clc
mov cl, byte [rcx + r10 + 0x7c8c0]
sub rdx, rax
mov eax, dword [rdx - 4]
stc
jmp 0x1800a3a18
mov cl, byte [rcx + r10 + 0x7c8c0]
cmc
sub rdx, rax
cmc
sal rax, 0x99
movsxd rax, r8d
mov eax, dword [rdx - 4]
mov qword [r9 + 8], rdx
jmp 0x1800aa5ec
sub r8, rax
xadd ah, al
xor ax, 0x3642
mov eax, dword [r8 - 4]
cmp al, sil
shr eax, cl
or ch, 0xda
movsx ecx, r11w
cmp dword [rdx + 8], 0
jmp 0x1800aa46c
shr eax, cl
rcl cx, 0x80
cmp bpl, 0x46
mov qword [r9 + 8], rdx
shrd rcx, r15, 0xa0
shr cx, cl
mov dword [r9 + 0x1c], eax
movzx rax, si
movsx rax, cx
adc rcx, 0x3807bf0
movzx ecx, byte [rdx]
and rax, 0x1f5a00ec
and ecx, 0xf
movsx rax, byte [rcx + r10 + 0x7c8b0]
mov cl, byte [rcx + r10 + 0x7c8c0]
test ebx, 0x3cc56281
stc
test dil, r12b
sub rdx, rax
lahf
setno al
mov eax, dword [rdx - 4]
stc
shr eax, cl
adc cx, sp
shl cx, 0x73
rol cx, 0x7c
mov dword [r9 + 0x20], eax
sar rcx, cl
cbw
lea rax, [rdx + 4]
mov qword [r9 + 8], rdx
clc
movzx ecx, sp
inc rcx
mov ecx, dword [rdx]
mov qword [r9 + 8], rax
mov dword [r9 + 0x24], ecx
test r8d, esp
stc
cmp bp, 0x3e67
sub r8, 1
jne 0x18009e932
ret
mov qword [r9 + 8], rdx
test dil, 0x8c
shr eax, cl
test r10, 0x4a253685
jmp 0x1800a6906
sub rdx, rax
cmp r10b, 0xdd
mov eax, dword [rdx - 4]
cmc
jmp 0x1800a2176
mov dword [r9 + 0x18], eax
xchg ch, cl
movzx ecx, byte [rdx]
or ah, 0xc5
cwde
or ax, r10w
and ecx, 0xf
movsx rax, byte [rcx + r10 + 0x7c8b0]
mov cl, byte [rcx + r10 + 0x7c8c0]
sub rdx, rax
rol rax, cl
mov eax, dword [rdx - 4]
test eax, 0xbbb35a9
test r14b, r15b
mov qword [r9 + 8], rdx
cmp r13d, edi
clc
shr eax, cl
sar cx, cl
btc cx, bx
mov cx, r8w
mov dword [r9 + 0x1c], eax
mov rax, 0x48b40dc2
bt cx, ax
movzx ecx, byte [rdx]
movzx eax, r14w
and al, r12b
and ecx, 0xf
rcr eax, 0x3d
ror al, cl
bt rax, rbp
movsx rax, byte [rcx + r10 + 0x7c8b0]
clc
jmp 0x18009f3c0
mov r8, qword [rcx + 0x10]
shl rax, cl
sar ax, 0xf3
bt r10w, 0xfb
lea r10, [0x180000000]
mov r9d, 0x515b6b14
adc eax, 0x197d2817
mov qword [rcx + 8], r8
mov r9, rcx
sal ch, cl
movzx ecx, byte [r8]
cmp r15w, 0x55ae
sar ah, cl
bt ax, r14w
and ecx, 0xf
shr al, 0xfa
movzx ax, r8b
movsx rax, byte [rcx + r10 + 0x7c8b0]
cmc
mov cl, byte [rcx + r10 + 0x7c8c0]
sub r8, rax
inc eax
mov eax, dword [r8 - 4]
test r14b, dil
mov qword [r9 + 8], r8
cmp cl, r11b
test dx, 0x7749
shr eax, cl
mov dword [r9 + 0x18], eax
rcl cx, 0x45
sar rax, cl
movzx ecx, byte [r8]
and ecx, 0xf
shld ax, r14w, 0xb5
movsx rax, byte [rcx + r10 + 0x7c8b0]
mov cl, byte [rcx + r10 + 0x7c8c0]
sub r8, rax
sal rax, 0xe7
neg ah
sar al, cl
mov eax, dword [r8 - 4]
mov qword [r9 + 8], r8
shr eax, cl
or cl, bpl
mov dword [r9 + 0x1c], eax
btr rcx, rax
cbw
ror ch, cl
movzx ecx, byte [r8]
and ecx, 0xf
movsx rax, byte [rcx + r10 + 0x7c8b0]
clc
stc
test r12b, 0x4d
mov cl, byte [rcx + r10 + 0x7c8c0]
cmc
jmp 0x18009ffd3
mov qword [r9 + 8], r8
movzx cx, r15b
not ch
movsx rcx, ax
mov dword [r9 + 0x20], eax
cdqe
cbw
lea rax, [r8 + 4]
not ch
mov ecx, dword [r8]
jmp 0x18009d869
shr eax, cl
cmc
mov dword [r9 + 0x20], eax
mov eax, dword [rdx]
add rdx, 4
mov dword [r9 + 0x24], eax
mov qword [r9 + 8], rdx
bts eax, esp
movzx ecx, byte [rdx]
sub al, dil
btr ax, 0x3e
and ecx, 0xf
btr ax, ax
sbb al, r8b
setge ah
movsx rax, byte [rcx + r10 + 0x7c8b0]
mov cl, byte [rcx + r10 + 0x7c8c0]
clc
stc
cmp sil, cl
sub rdx, rax
mov eax, dword [rdx - 4]
shr eax, cl
sal ch, 0x2b
mov qword [r9 + 8], rdx
rcr ecx, 0xf7
mov dword [r9 + 0x18], eax
btc cx, 0xd9
clc
movzx ecx, byte [rdx]
and ecx, 0xf
clc
cdqe
movsx rax, byte [rcx + r10 + 0x7c8b0]
mov cl, byte [rcx + r10 + 0x7c8c0]
cmp si, 0x8f9
jmp 0x1800a46a8