Function at 0x100a6e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
movss dword [esp + 0x30], xmm0
lea eax, [edx + edx*4]
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm2
subss xmm0, dword [esp + 0x30]
movaps xmm2, xmm3
mov ecx, dword [ecx + 0x20]
subss xmm2, xmm1
movss dword [esp + 0x34], xmm1
push esi
push edi
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
mulss xmm1, xmm0
lea edi, [ecx + eax*4]
mov eax, dword [ebp + 8]
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x1012ad2c]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
movss dword [esp + 0x34], xmm3
addss xmm1, xmm0
mov ecx, dword [ebp + 0xc]
movaps xmm0, xmm2
mov eax, ecx
shr eax, 0x10
movzx eax, al
divss xmm0, xmm1
movss xmm1, dword [0x1012ac34]
movss dword [esp + 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012b250]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm5, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm5, xmm1
addsd xmm0, qword [eax*8 + 0x1012b250]
movzx eax, cl
mov ecx, dword [ebp + 0x10]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm1
addsd xmm0, qword [eax*8 + 0x1012b250]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm7, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm7, xmm1
addsd xmm0, qword [eax*8 + 0x1012b250]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012b250]
movzx eax, cl
cvtpd2ps xmm6, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm6, xmm1
addsd xmm0, qword [eax*8 + 0x1012b250]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
comiss xmm7, xmm3
xorps xmm4, xmm4
movss dword [esp + 0x10], xmm0
xorps xmm1, xmm1
movss dword [esp + 0xc], xmm4
jbe 0x100a6f7f
movss xmm4, dword [0x1012af44]
movss dword [esp + 0xc], xmm4
movaps xmm0, xmm3
maxss xmm3, xmm7
minss xmm0, xmm7
movss xmm7, dword [0x1012af28]
comiss xmm3, xmm5
movss dword [esp + 0x14], xmm0
jbe 0x100a6fad
movaps xmm0, xmm7
subss xmm0, xmm4
movaps xmm4, xmm0
movss dword [esp + 0xc], xmm4
movaps xmm4, xmm5
minss xmm5, xmm3
maxss xmm4, xmm3
movaps xmm0, xmm5
minss xmm0, dword [esp + 0x14]
subss xmm5, dword [esp + 0x14]
movaps xmm3, xmm4
movss dword [esp + 0x1c], xmm4
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1012ada8]
addss xmm0, dword [0x1012ac1c]
divss xmm5, xmm0
movaps xmm0, xmm4
movss xmm4, dword [esp + 0x10]
comiss xmm4, xmm6
addss xmm0, dword [0x1012ac1c]
addss xmm5, dword [esp + 0xc]
divss xmm3, xmm0
andps xmm5, xmmword [0x1012b270]
xorps xmm0, xmm0
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0xc], xmm0
jbe 0x100a7035
movss xmm0, dword [0x1012af44]
movss dword [esp + 0xc], xmm0
movaps xmm4, xmm6
maxss xmm4, dword [esp + 0x10]
minss xmm6, dword [esp + 0x10]
comiss xmm4, dword [esp + 0x18]
movss dword [esp + 0x14], xmm6
jbe 0x100a705e
subss xmm7, xmm0
movaps xmm0, xmm7
movss dword [esp + 0xc], xmm0
movaps xmm7, xmm4
minss xmm4, dword [esp + 0x18]
maxss xmm7, dword [esp + 0x18]
movaps xmm0, xmm4
minss xmm0, xmm6
movaps xmm6, xmm7
subss xmm4, dword [esp + 0x14]
subss xmm6, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x1012ada8]
addss xmm0, dword [0x1012ac1c]
divss xmm4, xmm0
movaps xmm0, xmm7
addss xmm0, dword [0x1012ac1c]
addss xmm4, dword [esp + 0xc]
subss xmm7, dword [esp + 0x1c]
divss xmm6, xmm0
andps xmm4, xmmword [0x1012b270]
movss dword [esp + 0x10], xmm7
subss xmm4, xmm5
subss xmm6, xmm3
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x14], xmm6
cmp edi, edx
jae 0x100a7233
sub edx, edi
lea esi, [edi + 0x10]
dec edx
mov eax, 0xcccccccd
mul edx
mov edi, edx
shr edi, 4
inc edi
nop
movss xmm0, dword [esi - 0x10]
movss xmm3, dword [esi - 0xc]
subss xmm3, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x38]
mulss xmm3, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x24]
addss xmm3, xmm0
mulss xmm3, dword [esp + 0x28]
comiss xmm1, xmm3
jbe 0x100a7126
xorps xmm3, xmm3
jmp 0x100a712a
minss xmm3, xmm2
movaps xmm2, xmm7
mov dword [esp + 0x48], 0
movaps xmm1, xmm6
mulss xmm2, xmm3
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 0
movaps xmm0, xmm4
mulss xmm1, xmm3
lea edx, [esp + 0x44]
mov dword [esp + 0x40], 0
mulss xmm0, xmm3
lea ecx, [esp + 0x40]
push eax
addss xmm2, dword [esp + 0x20]
addss xmm1, dword [esp + 0x30]
addss xmm0, xmm5
call fcn.100b0570
movss xmm0, dword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm1, xmm0
movss xmm2, dword [0x1012ad2c]
jbe 0x100a7194
xorps xmm0, xmm0
jmp 0x100a7198
minss xmm0, xmm2
movss xmm6, dword [0x1012ae7c]
movss xmm7, dword [0x1012acd8]
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x44]
shl edx, 0x10
comiss xmm1, xmm0
jbe 0x100a71c7
xorps xmm0, xmm0
jmp 0x100a71cb
minss xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x48]
shl eax, 8
or edx, eax
comiss xmm1, xmm0
jbe 0x100a71ec
xorps xmm0, xmm0
jmp 0x100a71f0
minss xmm0, xmm2
mov ecx, dword [esi]
movss xmm4, dword [esp + 0x18]
and ecx, 0xff000000
movss xmm5, dword [esp + 0x30]
mulss xmm0, xmm6
movss xmm6, dword [esp + 0x14]
addss xmm0, xmm7
movss xmm7, dword [esp + 0x10]
cvttss2si eax, xmm0
or eax, edx
and eax, 0xffffff
xor eax, ecx
mov dword [esi], eax
add esi, 0x14
sub edi, 1
jne 0x100a70f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc