Function at 0x6d1ca6f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
and esp, 0xfffffff0
sub esp, 0x70
mov edi, dword [ebp + 8]
cmp word [edi + 0x14], 0
jne 0x6d1ca71d
jmp 0x6d1ca7d0
add ebx, 1
cmp bx, word [edi + 0x14]
jae 0x6d1ca7d0
lea eax, [ebx + ebx*2]
shl eax, 2
mov dword [esp + 0x28], eax
add eax, dword [edi + 0x34]
movzx esi, word [eax + 4]
cmp si, 4
jbe 0x6d1ca710
movzx edx, word [eax]
mov ecx, edx
shl ecx, 4
add ecx, dword [edi + 0x30]
test byte [ecx], 4
jne 0x6d1ca710
cmp word [edi + 0x16], 0
je 0x6d1ca710
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov ebx, ecx
jmp 0x6d1ca766
mov eax, dword [esp + 0x28]
add eax, dword [edi + 0x34]
movzx esi, word [eax + 4]
movzx edx, word [eax]
mov ecx, dword [edi + 0x4c]
sub esi, 5
movzx esi, si
movss xmm0, dword [ecx + edx*4]
mov dword [esp], eax
movss dword [esp + 4], xmm0
call fcn.6d1ca1b0
mov eax, dword [edi + 0x38]
lea edx, [esi + esi*4]
fstp dword [esp + 0x2c]
movss xmm1, dword [esp + 0x2c]
mov eax, dword [eax + ebx*8 + 4]
lea eax, [eax + edx*4]
movss xmm0, dword [eax + 0xc]
comiss xmm1, xmm0
ja 0x6d1ca7ac
movss xmm0, dword [eax + 8]
maxss xmm0, xmm1
movss dword [eax + 4], xmm0
add ebx, 1
cmp bx, word [edi + 0x16]
jb 0x6d1ca758
mov ebx, dword [esp + 0x24]
add ebx, 1
cmp bx, word [edi + 0x14]
jb 0x6d1ca71d
lea esi, [esi]
nop
mov edx, dword [edi + 0x58]
test edx, edx
je 0x6d1ca972
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x1a8]
movss xmm1, dword [ecx + 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [0x6d1ec460]
shufps xmm0, xmm0, 0
movaps xmm2, xmm0
cmpleps xmm2, xmm1
andps xmm0, xmm2
subps xmm1, xmm0
pslld xmm2, 0x1f
cvttps2dq xmm1, xmm1
pxor xmm1, xmm2
movd dword [esp + 0x40], xmm1
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x18]
mov byte [esp + 0x44], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xf4]
mov byte [esp + 0x45], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x2c]
mov byte [esp + 0x46], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x40]
mov byte [esp + 0x47], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x54]
mov byte [esp + 0x48], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x68]
mov byte [esp + 0x49], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xcc]
mov byte [esp + 0x4e], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xb8]
mov byte [esp + 0x4d], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xa4]
mov byte [esp + 0x4c], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x90]
mov byte [esp + 0x4b], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x7c]
mov byte [esp + 0x4a], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xe0]
mov byte [esp + 0x4f], cl
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x11c]
movss dword [esp + 0x54], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x108]
movss dword [esp + 0x50], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x130]
movss dword [esp + 0x58], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x144]
movss dword [esp + 0x5c], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x158]
movss dword [esp + 0x60], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x16c]
movss dword [esp + 0x64], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x180]
movss dword [esp + 0x68], xmm0
mov eax, dword [eax + 4]
movss xmm0, dword [eax + 0x194]
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x34
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
movss dword [esp + 0x6c], xmm0
call fcn.6d1d4000
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret