Function at 0x1400ab70e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r12, rcx
lea ecx, [r8 + 6]
mov eax, 1
shl eax, cl
cvtsi2ss xmm0, eax
movss xmm1, dword [rdx]
mulss xmm1, xmm0
cvttss2si r9d, xmm1
movss xmm1, dword [rdx + 4]
mulss xmm1, xmm0
cvttss2si ecx, xmm1
movss xmm1, dword [rdx + 8]
mulss xmm1, xmm0
cvttss2si r8d, xmm1
movss xmm1, dword [rdx + 0xc]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x2c], eax
movss xmm1, dword [rdx + 0x10]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [rdx + 0x14]
mulss xmm1, xmm0
cvttss2si edi, xmm1
movss xmm1, dword [rdx + 0x18]
mulss xmm1, xmm0
cvttss2si ebp, xmm1
mulss xmm0, dword [rdx + 0x1c]
cvttss2si edx, xmm0
mov r11b, 1
mov rsi, rcx
cmp ecx, edx
jle 0x1400ab7b3
mov r11b, 0xff
mov r13d, ebp
mov ebx, edx
mov r14d, eax
mov r10d, edi
jmp 0x1400ab7ce
mov r13d, r9d
mov ebx, esi
mov r14d, r8d
mov esi, dword [rsp + 0x2c]
mov r10d, esi
mov r8d, eax
mov dword [rsp + 0x2c], edi
mov r9d, ebp
mov esi, edx
lea eax, [rbx + 0x20]
lea edx, [rsi + 0x20]
xor edx, eax
cmp edx, 0x40
jae 0x1400ab7ee
xor eax, eax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, r13d
mov edx, r14d
mov qword [rsp + 0x40], rbx
mov rdi, r10
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x34], r8d
mov ebp, r11d
call fcn.1400ab98d
mov r15d, eax
mov ecx, ebx
mov edx, edi
mov edi, dword [rsp + 0x2c]
mov r8d, edi
mov r9d, esi
call fcn.1400ab98d
mov ecx, r15d
mov edx, eax
call fcn.1400ab5b0
cmp eax, 5
mov r10d, 5
cmovl r10d, eax
lea r8d, [r10 + 1]
mov eax, 0xffffffff
mov ecx, r8d
shl eax, cl
mov cl, 9
sub cl, r10b
lea edx, [r10 - 3]
mov ebx, r14d
sub ebx, r13d
mov byte [r12 + 0x23], bpl
mov byte [r12 + 0x20], al
mov r15d, edi
xor edi, edi
cmp r10d, 3
movzx r9d, dl
cmovl r9d, edi
movzx ecx, cl
mov edx, 6
cmovl edx, ecx
mov eax, r13d
sub eax, r14d
sub eax, r14d
lea edi, [rbx + rbx*2]
mov ecx, edx
shl edi, cl
mov byte [r12 + 0x21], r8b
mov ebp, dword [rsp + 0x34]
add eax, ebp
lea ebx, [rax + rax*2]
shl ebx, cl
sub r14d, ebp
lea eax, [r14 + r14*2]
sub eax, r13d
add eax, dword [rsp + 0x30]
shl eax, cl
mov r11, rsi
mov esi, ebx
mov ecx, r8d
sar esi, cl
mov byte [r12 + 0x22], r9b
shl r13d, 0xa
lea r9d, [r10 + r10]
add r9d, 2
mov ebp, eax
mov ecx, r9d
sar ebp, cl
mov dword [r12 + 0x28], r13d
add esi, edi
add ebp, esi
lea eax, [rax + rax*2]
mov ecx, r10d
sar eax, cl
mov dword [r12 + 0x30], ebp
lea ecx, [rax + rbx*2]
mov dword [r12 + 0x38], ecx
mov dword [r12 + 0x40], eax
mov rdi, qword [rsp + 0x38]
mov eax, edi
mov rsi, qword [rsp + 0x40]
sub eax, esi
lea eax, [rax + rax*2]
mov ecx, edx
shl eax, cl
mov ebp, esi
sub ebp, edi
sub ebp, edi
add ebp, r15d
lea ebx, [rbp + rbp*2]
mov ecx, edx
shl ebx, cl
sub edi, r15d
lea ebp, [rdi + rdi*2]
sub ebp, esi
add ebp, r11d
shl ebp, cl
shl esi, 0xa
mov dword [r12 + 0x2c], esi
mov edx, ebx
mov ecx, r8d
sar edx, cl
mov edi, ebp
mov ecx, r9d
sar edi, cl
add edx, eax
add edi, edx
mov dword [r12 + 0x34], edi
lea eax, [rbp + rbp*2]
mov ecx, r10d
sar eax, cl
lea ecx, [rax + rbx*2]
mov dword [r12 + 0x3c], ecx
mov dword [r12 + 0x44], eax
mov eax, dword [rsp + 0x30]
shl eax, 0xa
mov dword [r12 + 0x48], eax
shl r11d, 0xa
mov dword [r12 + 0x4c], r11d
mov rcx, r12
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400ab9d2