Function at 0x14008b7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xchg rcx, rbx
mov qword [rsp + 8], rcx
xchg rbx, rcx
mov qword [rsp + 0x10], rbp
mov rdi, rdi
xchg rsi, r15
mov qword [rsp + 0x18], r15
xchg rsi, r15
xchg rdi, rbp
mov qword [rsp + 0x20], rbp
xchg rdi, rbp
nop
mov qword [rsp - 8], r12
sub rsp, 8
push rax
mov qword [rsp], r13
push r14
mov dword [rsp - 0x14], 0x57e06117
push r15
movsxd rax, r8d
mov r13, rcx
xor ecx, ecx
xchg r8, r8
xchg rsp, r12
mov rsp, r9
xchg rsp, r12
xchg rsi, rdx
mov rbx, rsi
xchg rsi, rdx
mov r10d, ecx
mov dword [rsp - 0x40], 0x599faab1
lea r11, [rax + rax*2]
shl r11, 1
shl r11, 1
nop word [rax + rax]
xchg rbx, rbx
movsxd rax, dword [r12 + r10*4]
mov edi, ecx
mov r9, qword [r13 + 8]
mov r8, r8
add r9, r11
mov dword [r9 + 8], ecx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
and eax, 3
mov dword [rsp - 0x1c], 0x64f04252
mov qword [r9], 0xef7b651
add qword [r9], 0x6804b5e0
sub qword [r9], 0x710bd94d
add qword [r9], 0x5f5c16da
sub qword [r9], 0x654ca9be
lea rsi, [rbx + rax*2]
lea rax, [rcx + 1]
mov rcx, rcx
and eax, 3
lea r14, [rbx + rax*2]
lea rax, [rcx - 2]
xchg rcx, rcx
and eax, 3
lea r15, [rbx + rax*2]
lea rax, [rcx - 1]
and eax, 3
mov dword [rsp - 0x30], esp
lea rbp, [rbx + rax*2]
mov eax, 0x3b43538a
sub eax, 0x37bc9f14
add eax, 0x4fbb2ea1
add eax, 0x5768c794
mov ecx, edi
mul edi
mov r8, r8
inc edi
shr edx, 1
lea eax, [rdx + rdx*2]
movzx edx, word [rsi]
mov dword [rsp - 0x1c], 0x1d1a792b
sub ecx, eax
and dx, 1
movsxd rax, ecx
mov ecx, dword [r9 + rax*4]
xchg rsi, rsi
lea r8, [r9 + rax*4]
movzx eax, dx
add ecx, ecx
mov r10, r10
or ecx, eax
not dx
mov dword [r8], ecx
mov dword [rsp - 0x10], 0x3d608e5e
movzx eax, word [rsi]
shl dx, 3
shl dx, 1
shl dx, 2
shl dx, 5
shl dx, 3
shl dx, 1
shr ax, 1
mov dword [rsp - 0x2c], ebp
or dx, ax
mov word [rsi], dx
movzx edx, word [r14]
xchg rcx, rcx
mov ecx, dword [r8]
and dx, 1
movzx eax, dx
mov dword [rsp - 0x3c], 0x799d3f48
add ecx, ecx
or ecx, eax
not dx
mov dword [r8], ecx
mov dword [rsp - 0x24], 0x29ad7fb4
movzx eax, word [r14]
shl dx, 3
shl dx, 9
shl dx, 1
shl dx, 1
shl dx, 1
shr ax, 1
xchg rsi, rsi
or dx, ax
mov word [r14], dx
movzx edx, word [r15]
mov ecx, dword [r8]
xchg rcx, rcx
and dx, 1
movzx eax, dx
add ecx, ecx
mov dword [rsp - 0xc], esi
or ecx, eax
not dx
mov dword [r8], ecx
mov dword [rsp - 0x10], 0x181eca10
movzx eax, word [r15]
shl dx, 1
shl dx, 0xe
shr ax, 1
or dx, ax
mov word [r15], dx
mov dword [rsp - 0x38], ebx
movzx edx, word [rbp]
mov ecx, dword [r8]
and dx, 1
movzx eax, dx
xchg rcx, rcx
add ecx, ecx
or ecx, eax
not dx
mov dword [rsp - 0x38], 0x161fe519
mov dword [r8], ecx
movzx eax, word [rbp]
shr ax, 1
shl dx, 9
shl dx, 3
shl dx, 1
shl dx, 1
shl dx, 1
or dx, ax
xchg rsi, rsi
mov word [rbp], dx
cmp edi, 0xf
jl 0x14008b89c
inc r10
xchg r14, r14
sub r11, 0xfffffffffffffff4
mov ecx, 0x712c5459
sub ecx, 0x48b37fc
xor ecx, 0x39b3acd5
sub ecx, 0x5512b088
cmp r10, 8
jl 0x14008b824
mov r10, r10
mov rbx, qword [rsp + 0x28]
xchg rbp, r11
mov r11, qword [rsp + 0x30]
xchg r11, rbp
xchg r12, rsi
mov r12, qword [rsp + 0x38]
xchg rsi, r12
mov rdi, qword [rsp + 0x40]
pop r15
mov dword [rsp - 0x24], edi
nop
add rsp, 8
mov r14, qword [rsp - 8]
pop r13
mov dword [rsp - 0x28], edx
pop r12
ret