Function at 0x140024620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov r15, rcx
mov r14, qword [0x1400f7448]
mov rax, qword [r14]
xor rax, rsp
mov ecx, edx
neg ecx
cmovs ecx, edx
mov qword [rsp + 0x30], rax
lea r12, [rsp + 0x30]
lea rsi, [rsp + 0x2f]
mov r8d, 0xcccccccd
nop dword [rax]
mov ebx, ecx
imul rbx, r8
shr rbx, 0x23
lea edi, [rbx + rbx]
lea edi, [rdi + rdi*4]
mov eax, ecx
sub eax, edi
or al, 0x30
mov byte [rsi], al
add rsi, 0xffffffffffffffff
cmp ecx, 9
mov ecx, ebx
ja 0x140024660
test edx, edx
js 0x14002468d
add rsi, 1
jmp 0x140024690
mov byte [rsi], 0x2d
mov rbx, r12
sub rbx, rsi
cmp rbx, 0xfffffffffffffff0
jae 0x140024887
cmp rbx, 0x16
ja 0x1400246bd
lea eax, [rbx + rbx]
mov byte [r15], al
mov rax, r15
add rax, 1
cmp rsi, r12
jne 0x1400246e5
jmp 0x140024863
lea rdi, [rbx + 0x10]
and rdi, 0xfffffffffffffff0
mov rcx, rdi
call fcn.1400c1200
mov qword [r15 + 0x10], rax
or rdi, 1
mov qword [r15], rdi
mov qword [r15 + 8], rbx
cmp rsi, r12
je 0x140024863
lea r9, [rsp + 0x23]
mov r10, r9
sub r10, rsi
add r10, 0xd
cmp r10, 0x20
jb 0x1400247ea
cmp rax, r12
jae 0x14002470f
add rbx, rax
cmp rsi, rbx
jb 0x1400247ea
mov r8, r10
and r8, 0xffffffffffffffe0
lea rcx, [r8 - 0x20]
mov rdi, rcx
shr rdi, 5
add rdi, 1
mov ebx, edi
and ebx, 3
cmp rcx, 0x60
jae 0x140024734
xor ecx, ecx
jmp 0x140024798
and rdi, 0xfffffffffffffffc
xor ecx, ecx
nop word [rax + rax]
movups xmm0, xmmword [rsi + rcx]
movups xmm1, xmmword [rsi + rcx + 0x10]
movups xmmword [rax + rcx], xmm0
movups xmmword [rax + rcx + 0x10], xmm1
movups xmm0, xmmword [rsi + rcx + 0x20]
movups xmm1, xmmword [rsi + rcx + 0x30]
movups xmmword [rax + rcx + 0x20], xmm0
movups xmmword [rax + rcx + 0x30], xmm1
movups xmm0, xmmword [rsi + rcx + 0x40]
movups xmm1, xmmword [rsi + rcx + 0x50]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmmword [rax + rcx + 0x50], xmm1
movups xmm0, xmmword [rsi + rcx + 0x60]
movups xmm1, xmmword [rsi + rcx + 0x70]
movups xmmword [rax + rcx + 0x60], xmm0
movups xmmword [rax + rcx + 0x70], xmm1
sub rcx, 0xffffffffffffff80
add rdi, 0xfffffffffffffffc
jne 0x140024740
test rbx, rbx
je 0x1400247db
lea rdi, [rax + rcx]
add rdi, 0x10
add rcx, rsi
add rcx, 0x10
shl rbx, 5
xor edx, edx
nop word cs:[rax + rax]
nop dword [rax]
movups xmm0, xmmword [rcx + rdx - 0x10]
movups xmm1, xmmword [rcx + rdx]
movups xmmword [rdi + rdx - 0x10], xmm0
movups xmmword [rdi + rdx], xmm1
add rdx, 0x20
cmp rbx, rdx
jne 0x1400247c0
add rax, r8
cmp r10, r8
je 0x140024863
add rsi, r8
mov ecx, r9d
sub ecx, esi
add ecx, 5
sub r9, rsi
add r9, 0xc
and rcx, 7
je 0x140024813
nop
movzx edx, byte [rsi]
mov byte [rax], dl
add rsi, 1
add rax, 1
add rcx, 0xffffffffffffffff
jne 0x140024800
cmp r9, 7
jb 0x140024863
nop dword [rax]
movzx ecx, byte [rsi]
mov byte [rax], cl
movzx ecx, byte [rsi + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rsi + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rsi + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rsi + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rsi + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rsi + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rsi + 7]
mov byte [rax + 7], cl
add rax, 8
add rsi, 8
cmp rsi, r12
jne 0x140024820
mov byte [rax], 0
mov rax, qword [rsp + 0x30]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14002488c
mov rax, r15
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
call fcn.1400763e0
int3