Function at 0x1400b4a70
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 0x1400b4fdc
mov r11, rcx
movzx r10d, word [rdx + 2]
xor ebp, ebp
test r10w, r10w
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 edi, edi
jmp 0x1400b4ad1
mov r15d, ebp
mov ebp, r15d
mov edi, ebx
cmp r14, r8
je 0x1400b4fdc
mov r15d, r10d
movzx r10d, word [rdx + r14*4 + 6]
add r14, 1
lea ebx, [rdi + 1]
cmp ebx, eax
jge 0x1400b4aea
cmp r15d, r10d
je 0x1400b4ac0
cmp ebx, ecx
jge 0x1400b4bad
mov r9d, r15d
movzx esi, word [r11 + r9*4 + 0xaf6]
mov ecx, dword [r11 + 0x1760]
mov eax, 0x10
sub eax, esi
movzx ebp, word [r11 + r9*4 + 0xaf4]
mov ebx, ebp
shl ebx, cl
or bx, word [r11 + 0x175c]
mov word [r11 + 0x175c], bx
cmp ecx, eax
jg 0x1400b4b61
add ecx, esi
mov dword [r11 + 0x1760], ecx
test edi, edi
jne 0x1400b4cd3
xor ebx, ebx
test r10w, r10w
je 0x1400b4c79
xor eax, eax
cmp r15d, r10d
sete al
mov ecx, 4
sub ecx, eax
xor eax, 7
jmp 0x1400b4ac3
mov r12, qword [r11 + 0x10]
mov ecx, dword [r11 + 0x28]
lea eax, [rcx + 1]
mov dword [r11 + 0x28], eax
mov byte [r12 + rcx], bl
mov r12b, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea eax, [rbx + 1]
mov dword [r11 + 0x28], eax
mov byte [rcx + rbx], r12b
mov eax, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebp, cl
mov word [r11 + 0x175c], bp
lea ecx, [rsi + rax]
add ecx, 0xfffffff0
mov ebx, ebp
jmp 0x1400b4b2f
test r15d, r15d
je 0x1400b4d13
cmp r15d, ebp
je 0x1400b4e6c
mov ecx, r15d
movzx eax, word [r11 + rcx*4 + 0xaf6]
mov r9d, dword [r11 + 0x1760]
mov ebp, 0x10
sub ebp, eax
movzx esi, word [r11 + rcx*4 + 0xaf4]
mov ebx, esi
mov ecx, r9d
shl ebx, cl
or bx, word [r11 + 0x175c]
mov word [r11 + 0x175c], bx
cmp r9d, ebp
jg 0x1400b4e1b
add r9d, eax
mov dword [r11 + 0x1760], r9d
movzx esi, word [r11 + 0xb36]
mov ebp, 0x10
movzx ebx, word [r11 + 0xb34]
mov eax, ebx
mov ecx, r9d
shl eax, cl
sub ebp, esi
or ax, word [r11 + 0x175c]
cmp r9d, ebp
jg 0x1400b4dca
add r9d, esi
add edi, 0xfffd
movzx esi, di
mov edi, esi
mov ecx, r9d
shl edi, cl
mov dword [r11 + 0x1760], r9d
or eax, edi
mov word [r11 + 0x175c], ax
cmp r9d, 0xf
jge 0x1400b4ee7
add r9d, 2
mov dword [r11 + 0x1760], r9d
jmp 0x1400b4b3e
mov eax, 0x8a
mov ecx, 3
jmp 0x1400b4ac3
mov rax, qword [r11 + 0x10]
mov ecx, dword [r11 + 0x28]
lea ebp, [rcx + 1]
mov dword [r11 + 0x28], ebp
mov byte [rax + rcx], bl
mov al, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebx, dword [r11 + 0x28]
lea ebp, [rbx + 1]
mov dword [r11 + 0x28], ebp
mov byte [rcx + rbx], al
mov eax, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, al
shr esi, cl
mov word [r11 + 0x175c], si
lea ecx, [r12 + rax]
add ecx, 0xfffffff0
mov ebx, esi
jmp 0x1400b4d02
movzx r12d, word [r11 + r9*4 + 0xaf6]
mov eax, 0x10
movzx esi, word [r11 + r9*4 + 0xaf4]
mov ebp, esi
shl ebp, cl
sub eax, r12d
or ebx, ebp
mov word [r11 + 0x175c], bx
cmp ecx, eax
jg 0x1400b4c88
add ecx, r12d
mov dword [r11 + 0x1760], ecx
dec edi
je 0x1400b4b3e
jmp 0x1400b4cd3
cmp edi, 9
jle 0x1400b4e7a
movzx esi, word [r11 + 0xb3e]
mov r9d, dword [r11 + 0x1760]
mov ebp, 0x10
movzx ebx, word [r11 + 0xb3c]
mov eax, ebx
mov ecx, r9d
shl eax, cl
sub ebp, esi
or ax, word [r11 + 0x175c]
cmp r9d, ebp
jg 0x1400b4f3a
add r9d, esi
add edi, 0xfff6
movzx esi, di
mov edi, esi
mov ecx, r9d
shl edi, cl
mov dword [r11 + 0x1760], r9d
or eax, edi
mov word [r11 + 0x175c], ax
cmp r9d, 0xa
jl 0x1400b4f31
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ebx, [rbp + 1]
mov dword [r11 + 0x28], ebx
mov byte [rcx + rbp], al
mov al, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ebx, [rbp + 1]
mov dword [r11 + 0x28], ebx
mov byte [rcx + rbp], al
mov r9d, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr esi, cl
mov word [r11 + 0x175c], si
add r9d, 0xfffffff7
jmp 0x1400b4c6d
mov word [r11 + 0x175c], ax
mov r9, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ecx, [rbp + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbp], al
mov r9b, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea eax, [rbp + 1]
mov dword [r11 + 0x28], eax
mov byte [rcx + rbp], r9b
mov eax, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
lea r9d, [rsi + rax]
add r9d, 0xfffffff0
mov eax, ebx
jmp 0x1400b4c3e
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
mov word [r11 + 0x175c], si
lea r9d, [rax + rbp]
add r9d, 0xfffffff0
jmp 0x1400b4c05
mov r9d, dword [r11 + 0x1760]
mov edi, ebx
jmp 0x1400b4c0c
movzx esi, word [r11 + 0xb3a]
mov r9d, dword [r11 + 0x1760]
mov ebp, 0x10
movzx ebx, word [r11 + 0xb38]
mov eax, ebx
mov ecx, r9d
shl eax, cl
sub ebp, esi
or ax, word [r11 + 0x175c]
cmp r9d, ebp
jg 0x1400b4f8b
add r9d, esi
add edi, 0xfffe
movzx esi, di
mov edi, esi
mov ecx, r9d
shl edi, cl
mov dword [r11 + 0x1760], r9d
or eax, edi
mov word [r11 + 0x175c], ax
cmp r9d, 0xe
jge 0x1400b4fe7
add r9d, 3
jmp 0x1400b4c6d
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ebx, [rbp + 1]
mov dword [r11 + 0x28], ebx
mov byte [rcx + rbp], al
mov al, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ebx, [rbp + 1]
mov dword [r11 + 0x28], ebx
mov byte [rcx + rbp], al
mov r9d, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr esi, cl
mov word [r11 + 0x175c], si
add r9d, 0xfffffff2
jmp 0x1400b4c6d
add r9d, 7
jmp 0x1400b4c6d
mov word [r11 + 0x175c], ax
mov r9, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ecx, [rbp + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbp], al
mov r9b, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea eax, [rbp + 1]
mov dword [r11 + 0x28], eax
mov byte [rcx + rbp], r9b
mov eax, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
lea r9d, [rsi + rax]
add r9d, 0xfffffff0
mov eax, ebx
jmp 0x1400b4d55
mov word [r11 + 0x175c], ax
mov r9, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ecx, [rbp + 1]
mov dword [r11 + 0x28], ecx
mov byte [r9 + rbp], al
mov r9b, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea eax, [rbp + 1]
mov dword [r11 + 0x28], eax
mov byte [rcx + rbp], r9b
mov eax, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
lea r9d, [rsi + rax]
add r9d, 0xfffffff0
mov eax, ebx
jmp 0x1400b4eb3
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ebx, [rbp + 1]
mov dword [r11 + 0x28], ebx
mov byte [rcx + rbp], al
mov al, byte [r11 + 0x175d]
mov rcx, qword [r11 + 0x10]
mov ebp, dword [r11 + 0x28]
lea ebx, [rbp + 1]
mov dword [r11 + 0x28], ebx
mov byte [rcx + rbp], al
mov r9d, dword [r11 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr esi, cl
mov word [r11 + 0x175c], si
add r9d, 0xfffffff3
jmp 0x1400b4c6d