Function at 0x1400c70d0
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 0x1400c75bc
mov r14, rcx
movzx r10d, word [rdx + 2]
xor ebp, ebp
test r10d, r10d
sete bpl
mov eax, 0x8a
mov ecx, 7
cmove ecx, eax
mov eax, 4
sub eax, ebp
inc r8d
xor r11d, r11d
mov esi, 0xffffffff
xor edi, edi
jmp 0x1400c7131
mov r15d, esi
mov esi, r15d
mov edi, ebx
cmp r11, r8
je 0x1400c75bc
mov r15d, r10d
movzx r10d, word [rdx + r11*4 + 6]
add r11, 1
lea ebx, [rdi + 1]
cmp ebx, ecx
jge 0x1400c714a
cmp r15d, r10d
je 0x1400c7120
cmp ebx, eax
jge 0x1400c71eb
mov r9d, r15d
mov ecx, dword [r14 + 0x1760]
movzx edi, word [r14 + r9*4 + 0xaf6]
mov eax, 0x10
sub eax, edi
movzx ebp, word [r14 + r9*4 + 0xaf4]
mov esi, ebp
shl esi, cl
or si, word [r14 + 0x175c]
mov word [r14 + 0x175c], si
cmp ecx, eax
jg 0x1400c71a1
add ecx, edi
mov dword [r14 + 0x1760], ecx
add ebx, 0xffffffff
je 0x1400c72b0
jmp 0x1400c715c
mov r12, qword [r14 + 0x10]
mov ecx, dword [r14 + 0x28]
lea eax, [rcx + 1]
mov dword [r14 + 0x28], eax
mov byte [r12 + rcx], sil
mov r12b, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov esi, dword [r14 + 0x28]
lea eax, [rsi + 1]
mov dword [r14 + 0x28], eax
mov byte [rcx + rsi], r12b
mov eax, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebp, cl
mov word [r14 + 0x175c], bp
lea ecx, [rdi + rax]
add ecx, 0xfffffff0
jmp 0x1400c718f
test r15d, r15d
je 0x1400c72dd
cmp r15d, esi
je 0x1400c73f0
mov ecx, r15d
movzx eax, word [r14 + rcx*4 + 0xaf6]
mov r9d, dword [r14 + 0x1760]
mov ebp, 0x10
sub ebp, eax
movzx esi, word [r14 + rcx*4 + 0xaf4]
mov ebx, esi
mov ecx, r9d
shl ebx, cl
or bx, word [r14 + 0x175c]
mov word [r14 + 0x175c], bx
cmp r9d, ebp
jg 0x1400c739f
add r9d, eax
mov dword [r14 + 0x1760], r9d
movzx esi, word [r14 + 0xb36]
mov ebp, 0x10
movzx ebx, word [r14 + 0xb34]
mov eax, ebx
mov ecx, r9d
shl eax, cl
sub ebp, esi
or ax, word [r14 + 0x175c]
cmp r9d, ebp
jg 0x1400c734e
add r9d, esi
mov dword [r14 + 0x1760], r9d
add edi, 0xfffd
cmp r9d, 0xf
jge 0x1400c73fe
mov ecx, r9d
shl edi, cl
or eax, edi
mov word [r14 + 0x175c], ax
add r9d, 2
mov dword [r14 + 0x1760], r9d
nop dword [rax]
xor ebx, ebx
test r10d, r10d
je 0x1400c72ce
xor ecx, ecx
cmp r15d, r10d
sete cl
mov eax, 4
sub eax, ecx
xor ecx, 7
jmp 0x1400c7123
mov ecx, 0x8a
mov eax, 3
jmp 0x1400c7123
cmp edi, 9
jg 0x1400c745a
movzx esi, word [r14 + 0xb3a]
mov r9d, dword [r14 + 0x1760]
mov ebp, 0x10
movzx ebx, word [r14 + 0xb38]
mov eax, ebx
mov ecx, r9d
shl eax, cl
sub ebp, esi
or ax, word [r14 + 0x175c]
cmp r9d, ebp
jg 0x1400c756b
add r9d, esi
mov dword [r14 + 0x1760], r9d
add edi, 0xfffe
cmp r9d, 0xe
jge 0x1400c75c7
mov ecx, r9d
shl edi, cl
or eax, edi
mov word [r14 + 0x175c], ax
add r9d, 3
jmp 0x1400c72a6
mov word [r14 + 0x175c], ax
mov r9, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ecx, [rbp + 1]
mov dword [r14 + 0x28], ecx
mov byte [r9 + rbp], al
mov r9b, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea eax, [rbp + 1]
mov dword [r14 + 0x28], eax
mov byte [rcx + rbp], r9b
mov eax, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
lea r9d, [rsi + rax]
add r9d, 0xfffffff0
mov eax, ebx
jmp 0x1400c727c
mov r9, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ecx, [rbp + 1]
mov dword [r14 + 0x28], ecx
mov byte [r9 + rbp], bl
mov r9b, byte [r14 + 0x175d]
mov rbp, qword [r14 + 0x10]
mov ebx, dword [r14 + 0x28]
lea ecx, [rbx + 1]
mov dword [r14 + 0x28], ecx
mov byte [rbp + rbx], r9b
mov ebp, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, bpl
shr esi, cl
mov word [r14 + 0x175c], si
lea r9d, [rax + rbp]
add r9d, 0xfffffff0
jmp 0x1400c7243
mov r9d, dword [r14 + 0x1760]
mov edi, ebx
jmp 0x1400c724a
movzx esi, di
mov ecx, r9d
shl edi, cl
or eax, edi
mov word [r14 + 0x175c], ax
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ebx, [rbp + 1]
mov dword [r14 + 0x28], ebx
mov byte [rcx + rbp], al
mov al, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ebx, [rbp + 1]
mov dword [r14 + 0x28], ebx
mov byte [rcx + rbp], al
mov r9d, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr esi, cl
mov word [r14 + 0x175c], si
add r9d, 0xfffffff2
jmp 0x1400c72a6
movzx esi, word [r14 + 0xb3e]
mov r9d, dword [r14 + 0x1760]
mov ebp, 0x10
movzx ebx, word [r14 + 0xb3c]
mov eax, ebx
mov ecx, r9d
shl eax, cl
sub ebp, esi
or ax, word [r14 + 0x175c]
cmp r9d, ebp
jg 0x1400c751a
add r9d, esi
mov dword [r14 + 0x1760], r9d
add edi, 0xfff6
cmp r9d, 0xa
jge 0x1400c74be
mov ecx, r9d
shl edi, cl
or eax, edi
mov word [r14 + 0x175c], ax
add r9d, 7
jmp 0x1400c72a6
movzx esi, di
mov ecx, r9d
shl edi, cl
or eax, edi
mov word [r14 + 0x175c], ax
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ebx, [rbp + 1]
mov dword [r14 + 0x28], ebx
mov byte [rcx + rbp], al
mov al, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ebx, [rbp + 1]
mov dword [r14 + 0x28], ebx
mov byte [rcx + rbp], al
mov r9d, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr esi, cl
mov word [r14 + 0x175c], si
add r9d, 0xfffffff7
jmp 0x1400c72a6
mov word [r14 + 0x175c], ax
mov r9, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ecx, [rbp + 1]
mov dword [r14 + 0x28], ecx
mov byte [r9 + rbp], al
mov r9b, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea eax, [rbp + 1]
mov dword [r14 + 0x28], eax
mov byte [rcx + rbp], r9b
mov eax, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
lea r9d, [rsi + rax]
add r9d, 0xfffffff0
mov eax, ebx
jmp 0x1400c7493
mov word [r14 + 0x175c], ax
mov r9, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ecx, [rbp + 1]
mov dword [r14 + 0x28], ecx
mov byte [r9 + rbp], al
mov r9b, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea eax, [rbp + 1]
mov dword [r14 + 0x28], eax
mov byte [rcx + rbp], r9b
mov eax, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, al
shr ebx, cl
lea r9d, [rsi + rax]
add r9d, 0xfffffff0
mov eax, ebx
jmp 0x1400c731f
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx esi, di
mov ecx, r9d
shl edi, cl
or eax, edi
mov word [r14 + 0x175c], ax
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ebx, [rbp + 1]
mov dword [r14 + 0x28], ebx
mov byte [rcx + rbp], al
mov al, byte [r14 + 0x175d]
mov rcx, qword [r14 + 0x10]
mov ebp, dword [r14 + 0x28]
lea ebx, [rbp + 1]
mov dword [r14 + 0x28], ebx
mov byte [rcx + rbp], al
mov r9d, dword [r14 + 0x1760]
mov cl, 0x10
sub cl, r9b
shr esi, cl
mov word [r14 + 0x175c], si
add r9d, 0xfffffff3
jmp 0x1400c72a6