Function at 0x1400f2f10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r12
push r13
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movss xmm0, dword [rcx + 0x3ac]
xor eax, eax
xor r12d, r12d
cvtps2pd xmm0, xmm0
mov r13, rcx
mov qword [rbp - 0x59], rcx
mov qword [rsp + 0xe8], r14
mov edx, r12d
mov r14d, 0xe
addsd xmm0, qword [0x1401f6ca0]
mov r8d, r12d
mov dword [rbp - 0x75], r12d
mov qword [rbp - 0x49], rax
cvttsd2si ecx, xmm0
mov dword [rbp - 0x79], edx
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov dword [rsp + 0x28], r14d
cmp ecx, 0xa
jge 0x1400f2fa2
mov dword [rsp + 0x20], 0x96
jmp 0x1400f2fc0
cmp ecx, 0xc
jle 0x1400f2fb1
mov dword [rsp + 0x20], 0x14
jmp 0x1400f2fc0
mov eax, r14d
sub eax, ecx
lea eax, [rax + rax*4]
shl eax, 2
mov dword [rsp + 0x20], eax
movss xmm1, dword [r13 + 0x3a8]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jp 0x1400f2fd3
je 0x1400f2fdb
mov dword [rsp + 0x20], 0x50
movzx eax, word [r13 + 0x44f4]
sub eax, r14d
mov dword [rbp - 0x6d], eax
cmp eax, r14d
jle 0x1400f32fa
movzx ecx, word [r13 + 0x44f6]
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0xe0], r15
mov r15d, 0x1c
mov dword [rbp - 0x7d], r15d
mov dword [rsp + 0x24], 0xa
cmp ecx, 0xa
jle 0x1400f32b8
mov rax, qword [r13 + 0x4510]
movzx edx, word [r13 + 0x4500]
movzx r8d, word [r13 + 0x44fc]
mov esi, dword [r13 + 0x3d0]
mov ecx, 0xffffffec
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x61], rdx
mov dword [rbp - 0x71], ecx
nop dword [rax]
nop word [rax + rax]
mov r13d, dword [rsp + 0x24]
mov r10d, r12d
mov r12, qword [rbp - 0x51]
mov edi, esi
movzx ebx, r8w
mov r11d, ecx
nop word [rax + rax]
mov ecx, r10d
mov eax, r11d
sub r11d, 2
and eax, 2
and ecx, 0xfffffffe
add ecx, r15d
lea r9d, [rcx + rcx]
mov rcx, rbx
and r9d, 0x1c
add r9d, eax
mov eax, r10d
sar eax, 1
add eax, r14d
movsxd r8, eax
mov eax, r10d
and eax, 1
sar r8, cl
add eax, r13d
imul r8, rdx
movsxd rdx, eax
mov rax, rdi
sar rdx, cl
movzx ecx, r9b
add r8, rdx
shr rax, cl
mov edx, esi
and eax, 3
mov ecx, r9d
shr edx, cl
lea rax, [rax + r8*4]
movzx r8d, word [r12 + rax*2]
and edx, 3
mov eax, r10d
and eax, 4
inc r10d
add edx, eax
mov dword [rbp + rdx*4 - 9], r8d
mov rdx, qword [rbp - 0x61]
cmp r10d, 8
jl 0x1400f3090
mov r13, qword [rbp - 0x59]
xor r12d, r12d
lea rcx, [rbp - 9]
mov edx, r12d
nop dword [rax]
mov eax, dword [rcx]
sub eax, 0x96
cmp eax, 0x546
ja 0x1400f327c
inc edx
add rcx, 4
cmp edx, 8
jl 0x1400f3120
mov rcx, r12
mov eax, dword [rbp + rcx*4 - 9]
sub eax, dword [rbp + rcx*4 + 7]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jg 0x1400f327c
inc rcx
cmp rcx, 4
jl 0x1400f3140
mov rdi, r12
lea rsi, [rbp - 0x69]
lea rbx, [rbp - 5]
lea r14, [rbp + 0x1f]
mov r15d, 2
nop dword [rax]
nop dword [rax + rax]
mov r8, r12
mov r9d, 2
nop dword [rax]
mov eax, dword [rbx]
mov rcx, r8
add rbx, 8
sub eax, dword [rbx - 0xc]
sar rcx, 1
add r8, 2
shl eax, 0xa
add rcx, rdi
cdq
idiv dword [rbx - 0xc]
mov dword [rbp + rcx*4 + 0x1f], eax
dec r9
jne 0x1400f3190
mov r8d, dword [rsp + 0x20]
mov rdx, r14
mov rcx, r13
call fcn.1400f3520
add rsi, 4
add r14, 8
mov dword [rsi - 4], eax
add rdi, 2
dec r15
jne 0x1400f3180
mov r9d, dword [rbp - 0x69]
or r9d, dword [rbp - 0x65]
cmp r9d, 1
jg 0x1400f326c
mov rdx, r12
lea r8, [rbp + 0x23]
lea rcx, [rbp - 5]
cmp dword [rbp + rdx*4 - 0x69], r12d
je 0x1400f3222
mov eax, dword [r8 - 4]
add eax, 0x400
imul eax, dword [rcx - 4]
sar eax, 0xa
mov dword [rcx], eax
mov eax, dword [r8]
add eax, 0x400
imul eax, dword [rcx + 4]
sar eax, 0xa
mov dword [rcx + 8], eax
inc rdx
add r8, 8
add rcx, 0x10
cmp rdx, 2
jl 0x1400f31f7
movdqu xmm0, xmmword [rbp - 9]
movsxd rcx, r9d
inc dword [rbp + rcx*4 - 0x79]
lea rax, [rcx*8]
movdqu xmm1, xmmword [rbp + rax*4 - 0x49]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rbp + 7]
movdqu xmmword [rbp + rax*4 - 0x49], xmm1
movdqu xmm1, xmmword [rbp + rax*4 - 0x39]
paddd xmm1, xmm0
movdqu xmmword [rbp + rax*4 - 0x39], xmm1
mov r15d, dword [rbp - 0x7d]
mov r14d, dword [rsp + 0x28]
mov esi, dword [r13 + 0x3d0]
mov eax, dword [rsp + 0x24]
mov ecx, dword [rbp - 0x71]
movzx edx, word [r13 + 0x44f6]
movzx r8d, word [r13 + 0x44fc]
add eax, 2
sub ecx, 4
cmp eax, edx
movzx edx, word [r13 + 0x4500]
mov dword [rsp + 0x24], eax
mov dword [rbp - 0x71], ecx
jl 0x1400f3070
movzx ecx, word [r13 + 0x44f6]
add r14d, 4
add r15d, 8
mov dword [rsp + 0x28], r14d
mov dword [rbp - 0x7d], r15d
cmp r14d, dword [rbp - 0x6d]
jl 0x1400f3024
mov r8d, dword [rbp - 0x75]
mov edx, dword [rbp - 0x79]
mov r15, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x118]
mov r14, qword [rsp + 0xe8]
mov eax, r8d
or eax, edx
je 0x1400f33bb
movsd xmm2, qword [0x140269a98]
imul eax, edx, 0xc8
movaps xmm0, xmm2
cmp eax, r8d
setl r12b
shl r12, 5
mov eax, dword [rbp + r12 - 0x39]
add eax, dword [rbp + r12 - 0x49]
movd xmm1, eax
mov eax, dword [rbp + r12 - 0x45]
add eax, dword [rbp + r12 - 0x35]
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm0, xmm0
movss dword [r13 + 0x246ac], xmm0
movd xmm0, eax
mov eax, dword [rbp + r12 - 0x41]
add eax, dword [rbp + r12 - 0x31]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm2
movss dword [r13 + 0x246b0], xmm0
movd xmm0, eax
mov eax, dword [rbp + r12 - 0x3d]
add eax, dword [rbp + r12 - 0x2d]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [r13 + 0x246b4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
movss dword [r13 + 0x246b8], xmm0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0xf0
pop r13
pop r12
pop rbp
ret