Function at 0x1400f1bc0
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 0x1400f21ad
mov r9, rcx
movzx r11d, word [rdx + 2]
xor ebp, ebp
test r11w, r11w
sete bpl
mov ecx, 0x8a
mov eax, 7
cmove eax, ecx
mov ecx, 4
sub ecx, ebp
inc r8d
xor r14d, r14d
mov ebp, 0xffffffff
xor ebx, ebx
jmp 0x1400f1c21
mov r15d, ebp
mov ebp, r15d
mov ebx, esi
cmp r14, r8
je 0x1400f21ad
mov r15d, r11d
movzx r11d, word [rdx + r14*4 + 6]
add r14, 1
lea esi, [rbx + 1]
cmp esi, eax
jge 0x1400f1c3a
cmp r15d, r11d
je 0x1400f1c10
cmp esi, ecx
jge 0x1400f1d1a
mov r12d, r15d
movzx eax, word [r9 + r12*4 + 0xaf6]
mov ecx, dword [r9 + 0x1760]
mov ebp, 0x10
sub ebp, eax
cmp ecx, ebp
jg 0x1400f1caf
movzx edi, word [r9 + r12*4 + 0xaf4]
shl edi, cl
or di, word [r9 + 0x175c]
mov word [r9 + 0x175c], di
add eax, ecx
mov dword [r9 + 0x1760], eax
test ebx, ebx
jne 0x1400f1e45
xor esi, esi
test r11w, r11w
je 0x1400f1dd2
xor eax, eax
cmp r15d, r11d
sete al
mov ecx, 4
sub ecx, eax
xor eax, 7
jmp 0x1400f1c13
movzx edi, word [r9 + r12*4 + 0xaf4]
mov ebp, edi
shl ebp, cl
or bp, word [r9 + 0x175c]
mov word [r9 + 0x175c], bp
mov r10, qword [r9 + 0x10]
mov ecx, dword [r9 + 0x28]
lea esi, [rcx + 1]
mov dword [r9 + 0x28], esi
mov byte [r10 + rcx], bpl
mov r10b, byte [r9 + 0x175d]
mov rbp, qword [r9 + 0x10]
mov esi, dword [r9 + 0x28]
lea ecx, [rsi + 1]
mov dword [r9 + 0x28], ecx
mov byte [rbp + rsi], r10b
mov ebp, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr edi, cl
mov word [r9 + 0x175c], di
add eax, ebp
add eax, 0xfffffff0
jmp 0x1400f1c7d
test r15d, r15d
je 0x1400f1e88
cmp r15d, ebp
je 0x1400f2005
mov eax, r15d
movzx r10d, word [r9 + rax*4 + 0xaf6]
mov ecx, dword [r9 + 0x1760]
mov esi, 0x10
sub esi, r10d
cmp ecx, esi
jg 0x1400f1f9a
movzx eax, word [r9 + rax*4 + 0xaf4]
shl eax, cl
or word [r9 + 0x175c], ax
add r10d, ecx
mov dword [r9 + 0x1760], r10d
movzx eax, word [r9 + 0xb36]
mov ecx, 0x10
sub ecx, eax
cmp r10d, ecx
jg 0x1400f1f35
movzx esi, word [r9 + 0xb34]
mov ecx, r10d
shl esi, cl
or si, word [r9 + 0x175c]
add eax, r10d
mov dword [r9 + 0x1760], eax
add ebx, 0xfffd
cmp eax, 0xf
jge 0x1400f2074
movzx ebp, bx
mov ecx, eax
shl ebp, cl
or esi, ebp
mov word [r9 + 0x175c], si
add eax, 2
mov dword [r9 + 0x1760], eax
jmp 0x1400f1c8c
mov eax, 0x8a
mov ecx, 3
jmp 0x1400f1c13
movzx ebp, word [r9 + r12*4 + 0xaf4]
mov esi, ebp
mov ecx, eax
shl esi, cl
or edi, esi
mov word [r9 + 0x175c], di
mov rax, qword [r9 + 0x10]
mov ecx, dword [r9 + 0x28]
lea esi, [rcx + 1]
mov dword [r9 + 0x28], esi
mov byte [rax + rcx], dil
mov al, byte [r9 + 0x175d]
mov rcx, qword [r9 + 0x10]
mov esi, dword [r9 + 0x28]
lea edi, [rsi + 1]
mov dword [r9 + 0x28], edi
mov byte [rcx + rsi], al
mov eax, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebp, cl
mov word [r9 + 0x175c], bp
add eax, r10d
add eax, 0xfffffff0
mov edi, ebp
jmp 0x1400f1e77
movzx r10d, word [r9 + r12*4 + 0xaf6]
mov ecx, 0x10
sub ecx, r10d
cmp eax, ecx
jg 0x1400f1de1
movzx esi, word [r9 + r12*4 + 0xaf4]
mov ecx, eax
shl esi, cl
or edi, esi
mov word [r9 + 0x175c], di
add r10d, eax
mov eax, r10d
mov dword [r9 + 0x1760], eax
dec ebx
je 0x1400f1c8c
jmp 0x1400f1e45
cmp ebx, 9
jle 0x1400f2013
movzx eax, word [r9 + 0xb3e]
mov ecx, dword [r9 + 0x1760]
mov ebp, 0x10
sub ebp, eax
cmp ecx, ebp
jg 0x1400f20e9
movzx edi, word [r9 + 0xb3c]
shl edi, cl
or di, word [r9 + 0x175c]
add eax, ecx
mov dword [r9 + 0x1760], eax
add ebx, 0xfff6
cmp eax, 0xa
jl 0x1400f20d0
movzx ebx, bx
mov ebp, ebx
mov ecx, eax
shl ebp, cl
or edi, ebp
mov word [r9 + 0x175c], di
mov rax, qword [r9 + 0x10]
mov ecx, dword [r9 + 0x28]
lea ebp, [rcx + 1]
mov dword [r9 + 0x28], ebp
mov byte [rax + rcx], dil
mov al, byte [r9 + 0x175d]
mov rcx, qword [r9 + 0x10]
mov ebp, dword [r9 + 0x28]
lea edi, [rbp + 1]
mov dword [r9 + 0x28], edi
mov byte [rcx + rbp], al
mov eax, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
mov word [r9 + 0x175c], bx
add eax, 0xfffffff7
jmp 0x1400f1dc6
movzx esi, word [r9 + 0xb34]
mov edi, esi
mov ecx, r10d
shl edi, cl
or di, word [r9 + 0x175c]
mov word [r9 + 0x175c], di
mov r10, qword [r9 + 0x10]
mov ebp, dword [r9 + 0x28]
lea ecx, [rbp + 1]
mov dword [r9 + 0x28], ecx
mov byte [r10 + rbp], dil
mov r10b, byte [r9 + 0x175d]
mov rbp, qword [r9 + 0x10]
mov edi, dword [r9 + 0x28]
lea ecx, [rdi + 1]
mov dword [r9 + 0x28], ecx
mov byte [rbp + rdi], r10b
mov ebp, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr esi, cl
add eax, ebp
add eax, 0xfffffff0
jmp 0x1400f1d9c
movzx eax, word [r9 + rax*4 + 0xaf4]
mov esi, eax
shl esi, cl
or si, word [r9 + 0x175c]
mov word [r9 + 0x175c], si
mov rcx, qword [r9 + 0x10]
mov edi, dword [r9 + 0x28]
lea ebp, [rdi + 1]
mov dword [r9 + 0x28], ebp
mov byte [rcx + rdi], sil
mov cl, byte [r9 + 0x175d]
mov rsi, qword [r9 + 0x10]
mov edi, dword [r9 + 0x28]
lea ebp, [rdi + 1]
mov dword [r9 + 0x28], ebp
mov byte [rsi + rdi], cl
mov esi, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, sil
shr eax, cl
mov word [r9 + 0x175c], ax
add r10d, esi
add r10d, 0xfffffff0
jmp 0x1400f1d65
mov r10d, dword [r9 + 0x1760]
mov ebx, esi
jmp 0x1400f1d6c
movzx eax, word [r9 + 0xb3a]
mov ecx, dword [r9 + 0x1760]
mov ebp, 0x10
sub ebp, eax
cmp ecx, ebp
jg 0x1400f214b
movzx edi, word [r9 + 0xb38]
shl edi, cl
or di, word [r9 + 0x175c]
add eax, ecx
mov dword [r9 + 0x1760], eax
add ebx, 0xfffe
cmp eax, 0xe
jge 0x1400f21b8
movzx ebp, bx
mov ecx, eax
shl ebp, cl
or edi, ebp
mov word [r9 + 0x175c], di
add eax, 3
jmp 0x1400f1dc6
movzx ebx, bx
mov ebp, ebx
mov ecx, eax
shl ebp, cl
or esi, ebp
mov word [r9 + 0x175c], si
mov rax, qword [r9 + 0x10]
mov ecx, dword [r9 + 0x28]
lea ebp, [rcx + 1]
mov dword [r9 + 0x28], ebp
mov byte [rax + rcx], sil
mov al, byte [r9 + 0x175d]
mov rcx, qword [r9 + 0x10]
mov ebp, dword [r9 + 0x28]
lea edi, [rbp + 1]
mov dword [r9 + 0x28], edi
mov byte [rcx + rbp], al
mov eax, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
mov word [r9 + 0x175c], bx
add eax, 0xfffffff2
jmp 0x1400f1dc6
movzx ebp, bx
mov ecx, eax
shl ebp, cl
or edi, ebp
mov word [r9 + 0x175c], di
add eax, 7
jmp 0x1400f1dc6
movzx edi, word [r9 + 0xb3c]
mov ebp, edi
shl ebp, cl
or bp, word [r9 + 0x175c]
mov word [r9 + 0x175c], bp
mov r10, qword [r9 + 0x10]
mov esi, dword [r9 + 0x28]
lea ecx, [rsi + 1]
mov dword [r9 + 0x28], ecx
mov byte [r10 + rsi], bpl
mov r10b, byte [r9 + 0x175d]
mov rbp, qword [r9 + 0x10]
mov esi, dword [r9 + 0x28]
lea ecx, [rsi + 1]
mov dword [r9 + 0x28], ecx
mov byte [rbp + rsi], r10b
mov ebp, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr edi, cl
add eax, ebp
add eax, 0xfffffff0
jmp 0x1400f1ec3
movzx edi, word [r9 + 0xb38]
mov ebp, edi
shl ebp, cl
or bp, word [r9 + 0x175c]
mov word [r9 + 0x175c], bp
mov r10, qword [r9 + 0x10]
mov esi, dword [r9 + 0x28]
lea ecx, [rsi + 1]
mov dword [r9 + 0x28], ecx
mov byte [r10 + rsi], bpl
mov r10b, byte [r9 + 0x175d]
mov rbp, qword [r9 + 0x10]
mov esi, dword [r9 + 0x28]
lea ecx, [rsi + 1]
mov dword [r9 + 0x28], ecx
mov byte [rbp + rsi], r10b
mov ebp, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr edi, cl
add eax, ebp
add eax, 0xfffffff0
jmp 0x1400f2045
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx ebx, bx
mov ebp, ebx
mov ecx, eax
shl ebp, cl
or edi, ebp
mov word [r9 + 0x175c], di
mov rax, qword [r9 + 0x10]
mov ecx, dword [r9 + 0x28]
lea ebp, [rcx + 1]
mov dword [r9 + 0x28], ebp
mov byte [rax + rcx], dil
mov al, byte [r9 + 0x175d]
mov rcx, qword [r9 + 0x10]
mov ebp, dword [r9 + 0x28]
lea edi, [rbp + 1]
mov dword [r9 + 0x28], edi
mov byte [rcx + rbp], al
mov eax, dword [r9 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
mov word [r9 + 0x175c], bx
add eax, 0xfffffff3
jmp 0x1400f1dc6