Function at 0x1400bdf40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
test r8d, r8d
js 0x1400be43b
mov r11, rcx
movzx r10d, word [rdx + 2]
xor eax, eax
test r10d, r10d
sete al
mov ebp, 0x8a
mov ecx, 7
cmove ecx, ebp
mov ebp, 4
sub ebp, eax
inc r8d
xor r14d, r14d
mov eax, 0xffffffff
xor edi, edi
jmp 0x1400bdfa1
mov r15d, eax
mov eax, r15d
mov edi, ebx
cmp r14, r8
je 0x1400be43b
mov r15d, r10d
movzx r10d, word [rdx + r14*4 + 6]
add r14, 1
lea ebx, [rdi + 1]
cmp ebx, ecx
jge 0x1400bdfba
cmp r15d, r10d
je 0x1400bdf90
cmp ebx, ebp
jge 0x1400be062
mov r9d, r15d
mov ecx, dword [r11 + 0x1760]
movzx edi, word [r11 + 0x175c]
movzx r12d, word [r11 + r9*4 + 0xaf6]
mov ebp, 0x10
movzx eax, word [r11 + r9*4 + 0xaf4]
mov esi, eax
shl esi, cl
sub ebp, r12d
or edi, esi
mov word [r11 + 0x175c], di
cmp ecx, ebp
jg 0x1400be015
add ecx, r12d
mov dword [r11 + 0x1760], ecx
add ebx, 0xffffffff
je 0x1400be120
jmp 0x1400bdfd4
mov rcx, qword [r11 + 0x10]
mov esi, dword [r11 + 0x28]
lea ebp, [rsi + 1]
mov dword [r11 + 0x28], ebp
mov byte [rcx + rsi], dil
mov cl, byte [r11 + 0x175d]
mov rsi, qword [r11 + 0x10]
mov edi, dword [r11 + 0x28]
lea ebp, [rdi + 1]
mov dword [r11 + 0x28], ebp
mov byte [rsi + rdi], cl
mov esi, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, sil
shr eax, cl
mov word [r11 + 0x175c], ax
lea ecx, [r12 + rsi]
add ecx, 0xfffffff0
mov edi, eax
jmp 0x1400be003
test r15d, r15d
je 0x1400be14d
cmp r15d, eax
je 0x1400be309
mov ecx, r15d
movzx eax, word [r11 + rcx*4 + 0xaf6]
mov r9d, dword [r11 + 0x1760]
mov ebx, 0x10
sub ebx, eax
movzx esi, word [r11 + rcx*4 + 0xaf4]
mov ebp, esi
mov ecx, r9d
shl ebp, cl
or bp, word [r11 + 0x175c]
mov word [r11 + 0x175c], bp
cmp r9d, ebx
jg 0x1400be256
add r9d, eax
mov dword [r11 + 0x1760], r9d
movzx eax, word [r11 + 0xb36]
movzx esi, word [r11 + 0xb34]
mov ebx, esi
mov ecx, r9d
shl ebx, cl
mov ecx, 0x10
sub ecx, eax
or ebp, ebx
cmp r9d, ecx
jg 0x1400be203
add r9d, eax
mov dword [r11 + 0x1760], r9d
add edi, 0xfffd
cmp r9d, 0xf
jge 0x1400be31f
mov ecx, r9d
shl edi, cl
or ebp, edi
mov word [r11 + 0x175c], bp
add r9d, 2
mov dword [r11 + 0x1760], r9d
nop
xor ebx, ebx
test r10d, r10d
je 0x1400be13e
xor ecx, ecx
cmp r15d, r10d
sete cl
mov ebp, 4
sub ebp, ecx
xor ecx, 7
jmp 0x1400bdf93
mov ecx, 0x8a
mov ebp, 3
jmp 0x1400bdf93
cmp edi, 9
jle 0x1400be2a1
movzx eax, word [r11 + 0xb3e]
mov r9d, dword [r11 + 0x1760]
mov ebp, 0x10
movzx esi, word [r11 + 0xb3c]
mov ebx, esi
mov ecx, r9d
shl ebx, cl
sub ebp, eax
or bx, word [r11 + 0x175c]
cmp r9d, ebp
jg 0x1400be395
add r9d, eax
mov dword [r11 + 0x1760], r9d
add edi, 0xfff6
cmp r9d, 0xa
jl 0x1400be37d
movzx eax, di
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [r11 + 0x175c], bx
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea edi, [rbp + 1]
mov dword [r11 + 0x28], edi
mov byte [rcx + rbp], bl
mov cl, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea edi, [rbx + 1]
mov dword [r11 + 0x28], edi
mov byte [rbp + rbx], cl
mov r9d, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr eax, cl
mov word [r11 + 0x175c], ax
add r9d, 0xfffffff7
jmp 0x1400be117
mov word [r11 + 0x175c], bp
mov r9, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ecx, [rbx + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbx], bpl
mov r9b, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ecx, [rbx + 1]
mov dword [r11 + 0x28], ecx
mov byte [rbp + rbx], r9b
mov ebp, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr esi, cl
lea r9d, [rax + rbp]
add r9d, 0xfffffff0
mov ebp, esi
jmp 0x1400be0ed
mov r9, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ecx, [rbx + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbx], bpl
mov r9b, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ecx, [rbx + 1]
mov dword [r11 + 0x28], ecx
mov byte [rbp + rbx], r9b
mov ebp, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr esi, cl
lea r9d, [rax + rbp]
add r9d, 0xfffffff0
mov ebp, esi
jmp 0x1400be0ba
movzx eax, word [r11 + 0xb3a]
mov r9d, dword [r11 + 0x1760]
mov ebp, 0x10
movzx esi, word [r11 + 0xb38]
mov ebx, esi
mov ecx, r9d
shl ebx, cl
sub ebp, eax
or bx, word [r11 + 0x175c]
cmp r9d, ebp
jg 0x1400be3e8
add r9d, eax
mov dword [r11 + 0x1760], r9d
add edi, 0xfffe
cmp r9d, 0xe
jge 0x1400be446
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [r11 + 0x175c], bx
add r9d, 3
jmp 0x1400be117
mov r9d, dword [r11 + 0x1760]
movzx ebp, word [r11 + 0x175c]
mov edi, ebx
jmp 0x1400be0c1
movzx eax, di
mov ecx, r9d
shl edi, cl
or ebp, edi
mov word [r11 + 0x175c], bp
mov rcx, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea edi, [rbx + 1]
mov dword [r11 + 0x28], edi
mov byte [rcx + rbx], bpl
mov cl, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea edi, [rbx + 1]
mov dword [r11 + 0x28], edi
mov byte [rbp + rbx], cl
mov r9d, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr eax, cl
mov word [r11 + 0x175c], ax
add r9d, 0xfffffff2
jmp 0x1400be117
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [r11 + 0x175c], bx
add r9d, 7
jmp 0x1400be117
mov word [r11 + 0x175c], bx
mov r9, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ecx, [rbp + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbp], bl
mov r9b, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ecx, [rbx + 1]
mov dword [r11 + 0x28], ecx
mov byte [rbp + rbx], r9b
mov ebp, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr esi, cl
lea r9d, [rax + rbp]
add r9d, 0xfffffff0
mov ebx, esi
jmp 0x1400be18f
mov word [r11 + 0x175c], bx
mov r9, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ecx, [rbp + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbp], bl
mov r9b, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ecx, [rbx + 1]
mov dword [r11 + 0x28], ecx
mov byte [rbp + rbx], r9b
mov ebp, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr esi, cl
lea r9d, [rax + rbp]
add r9d, 0xfffffff0
mov ebx, esi
jmp 0x1400be2da
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, di
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [r11 + 0x175c], bx
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea edi, [rbp + 1]
mov dword [r11 + 0x28], edi
mov byte [rcx + rbp], bl
mov cl, byte [r11 + 0x175d]
mov rbp, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea edi, [rbx + 1]
mov dword [r11 + 0x28], edi
mov byte [rbp + rbx], cl
mov r9d, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr eax, cl
mov word [r11 + 0x175c], ax
add r9d, 0xfffffff3
jmp 0x1400be117