Function at 0x1400090c0
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 0x140009606
mov r15, rcx
movzx r10d, word [rdx + 2]
xor eax, eax
test r10w, r10w
sete al
mov ebp, 0x8a
mov ecx, 7
cmove ecx, ebp
mov ebp, 4
sub ebp, eax
add r8d, 1
xor r11d, r11d
mov esi, 0xffffffff
xor edi, edi
jmp 0x140009122
mov r14d, esi
mov esi, r14d
mov edi, r12d
cmp r11, r8
je 0x140009606
mov r14d, r10d
movzx r10d, word [rdx + r11*4 + 6]
add r11, 1
lea r12d, [rdi + 1]
cmp r12d, ecx
jge 0x14000913d
cmp r14d, r10d
je 0x140009110
cmp r12d, ebp
jge 0x1400091f0
mov r9d, r14d
mov ecx, dword [r15 + 0x1714]
movzx ebx, word [r15 + 0x1710]
jmp 0x140009173
add ecx, esi
mov dword [r15 + 0x1714], ecx
add r12d, 0xffffffff
je 0x1400095d7
movzx esi, word [r15 + r9*4 + 0xaa6]
mov ebp, 0x10
movzx eax, word [r15 + r9*4 + 0xaa4]
mov edi, eax
shl edi, cl
sub ebp, esi
or ebx, edi
mov word [r15 + 0x1710], bx
cmp ecx, ebp
jle 0x140009160
mov rcx, qword [r15 + 0x10]
mov edi, dword [r15 + 0x28]
lea ebp, [rdi + 1]
mov dword [r15 + 0x28], ebp
mov byte [rcx + rdi], bl
movzx ecx, byte [r15 + 0x1711]
mov rdi, qword [r15 + 0x10]
mov ebx, dword [r15 + 0x28]
lea ebp, [rbx + 1]
mov dword [r15 + 0x28], ebp
mov byte [rdi + rbx], cl
mov edi, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, dil
shr eax, cl
mov word [r15 + 0x1710], ax
lea ecx, [rsi + rdi]
add ecx, 0xfffffff0
mov ebx, eax
jmp 0x140009162
test r14d, r14d
je 0x140009215
cmp r14d, esi
jne 0x1400092ae
mov r9d, dword [r15 + 0x1714]
movzx ebp, word [r15 + 0x1710]
mov edi, r12d
jmp 0x1400093dd
cmp r12d, 0xa
jg 0x140009344
movzx ebp, word [r15 + 0xaea]
mov r9d, dword [r15 + 0x1714]
mov esi, 0x10
sub esi, ebp
movzx eax, word [r15 + 0xae8]
mov ebx, eax
mov ecx, r9d
shl ebx, cl
or bx, word [r15 + 0x1710]
mov word [r15 + 0x1710], bx
cmp r9d, esi
jle 0x1400094d7
mov r9, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea ecx, [rsi + 1]
mov dword [r15 + 0x28], ecx
mov byte [r9 + rsi], bl
mov r9b, byte [r15 + 0x1711]
mov rbx, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea ecx, [rsi + 1]
mov dword [r15 + 0x28], ecx
mov byte [rbx + rsi], r9b
mov ebx, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, bl
shr eax, cl
mov word [r15 + 0x1710], ax
lea r9d, [rbx + rbp]
add r9d, 0xfffffff0
mov ebx, eax
jmp 0x1400094da
mov eax, r14d
movzx ebx, word [r15 + rax*4 + 0xaa6]
mov r9d, dword [r15 + 0x1714]
mov esi, 0x10
sub esi, ebx
movzx eax, word [r15 + rax*4 + 0xaa4]
mov ebp, eax
mov ecx, r9d
shl ebp, cl
or bp, word [r15 + 0x1710]
mov word [r15 + 0x1710], bp
cmp r9d, esi
jle 0x1400093d3
mov r9, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea ecx, [rsi + 1]
mov dword [r15 + 0x28], ecx
mov byte [r9 + rsi], bpl
mov r9b, byte [r15 + 0x1711]
mov rbp, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea ecx, [rsi + 1]
mov dword [r15 + 0x28], ecx
mov byte [rbp + rsi], r9b
mov ebp, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, bpl
shr eax, cl
mov word [r15 + 0x1710], ax
lea r9d, [rbx + rbp]
add r9d, 0xfffffff0
mov ebp, eax
jmp 0x1400093d6
movzx ebp, word [r15 + 0xaee]
mov r9d, dword [r15 + 0x1714]
mov esi, 0x10
sub esi, ebp
movzx eax, word [r15 + 0xaec]
mov ebx, eax
mov ecx, r9d
shl ebx, cl
or bx, word [r15 + 0x1710]
mov word [r15 + 0x1710], bx
cmp r9d, esi
jle 0x140009550
mov r9, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea ecx, [rsi + 1]
mov dword [r15 + 0x28], ecx
mov byte [r9 + rsi], bl
mov r9b, byte [r15 + 0x1711]
mov rbx, qword [r15 + 0x10]
mov esi, dword [r15 + 0x28]
lea ecx, [rsi + 1]
mov dword [r15 + 0x28], ecx
mov byte [rbx + rsi], r9b
mov ebx, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, bl
shr eax, cl
mov word [r15 + 0x1710], ax
lea r9d, [rbx + rbp]
add r9d, 0xfffffff0
mov ebx, eax
jmp 0x140009553
add r9d, ebx
mov dword [r15 + 0x1714], r9d
movzx r12d, word [r15 + 0xae6]
mov eax, 0x10
movzx ebx, word [r15 + 0xae4]
mov esi, ebx
mov ecx, r9d
shl esi, cl
sub eax, r12d
or ebp, esi
mov word [r15 + 0x1710], bp
cmp r9d, eax
jle 0x140009458
mov rax, qword [r15 + 0x10]
mov ecx, dword [r15 + 0x28]
lea esi, [rcx + 1]
mov dword [r15 + 0x28], esi
mov byte [rax + rcx], bpl
mov al, byte [r15 + 0x1711]
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea esi, [rbp + 1]
mov dword [r15 + 0x28], esi
mov byte [rcx + rbp], al
mov eax, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, al
shr ebx, cl
mov word [r15 + 0x1710], bx
lea r9d, [r12 + rax]
add r9d, 0xfffffff0
mov ebp, ebx
jmp 0x14000945b
add r9d, r12d
add edi, 0xfffd
movzx eax, di
mov esi, eax
mov ecx, r9d
shl esi, cl
mov dword [r15 + 0x1714], r9d
or ebp, esi
mov word [r15 + 0x1710], bp
cmp r9d, 0xf
jl 0x1400094ce
mov rcx, qword [r15 + 0x10]
mov ebx, dword [r15 + 0x28]
lea edi, [rbx + 1]
mov dword [r15 + 0x28], edi
mov byte [rcx + rbx], bpl
mov cl, byte [r15 + 0x1711]
mov rbp, qword [r15 + 0x10]
mov ebx, dword [r15 + 0x28]
lea edi, [rbx + 1]
mov dword [r15 + 0x28], edi
mov byte [rbp + rbx], cl
mov r9d, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, r9b
shr eax, cl
mov word [r15 + 0x1710], ax
add r9d, 0xfffffff2
jmp 0x1400095d0
add r9d, 2
jmp 0x1400095d0
add r9d, ebp
add edi, 0xfffe
movzx eax, di
mov esi, eax
mov ecx, r9d
shl esi, cl
mov dword [r15 + 0x1714], r9d
or ebx, esi
mov word [r15 + 0x1710], bx
cmp r9d, 0xe
jl 0x1400095c2
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea edi, [rbp + 1]
mov dword [r15 + 0x28], edi
mov byte [rcx + rbp], bl
mov cl, byte [r15 + 0x1711]
mov rbp, qword [r15 + 0x10]
mov ebx, dword [r15 + 0x28]
lea edi, [rbx + 1]
mov dword [r15 + 0x28], edi
mov byte [rbp + rbx], cl
mov r9d, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, r9b
shr eax, cl
mov word [r15 + 0x1710], ax
add r9d, 0xfffffff3
jmp 0x1400095d0
add r9d, ebp
add edi, 0xfff6
movzx eax, di
mov esi, eax
mov ecx, r9d
shl esi, cl
mov dword [r15 + 0x1714], r9d
or ebx, esi
mov word [r15 + 0x1710], bx
cmp r9d, 0xa
jl 0x1400095c8
mov rcx, qword [r15 + 0x10]
mov ebp, dword [r15 + 0x28]
lea edi, [rbp + 1]
mov dword [r15 + 0x28], edi
mov byte [rcx + rbp], bl
mov cl, byte [r15 + 0x1711]
mov rbp, qword [r15 + 0x10]
mov ebx, dword [r15 + 0x28]
lea edi, [rbx + 1]
mov dword [r15 + 0x28], edi
mov byte [rbp + rbx], cl
mov r9d, dword [r15 + 0x1714]
mov cl, 0x10
sub cl, r9b
shr eax, cl
mov word [r15 + 0x1710], ax
add r9d, 0xfffffff7
jmp 0x1400095d0
add r9d, 3
jmp 0x1400095d0
add r9d, 7
nop dword [rax]
mov dword [r15 + 0x1714], r9d
xor r12d, r12d
test r10w, r10w
je 0x1400095f7
xor ecx, ecx
cmp r14d, r10d
sete cl
mov ebp, 4
sub ebp, ecx
xor ecx, 7
jmp 0x140009113
mov ecx, 0x8a
mov ebp, 3
jmp 0x140009113
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret