Function at 0x1000a610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x54
mov edi, dword [ebp + 8]
cmp word [edi + 0x14], 0
jne 0x1000a64d
jmp 0x1000a700
add ebx, 1
cmp bx, word [edi + 0x14]
jae 0x1000a700
lea eax, [ebx + ebx*2]
shl eax, 2
mov dword [esp + 0x18], eax
add eax, dword [edi + 0x34]
movzx esi, word [eax + 4]
cmp si, 4
jbe 0x1000a640
movzx edx, word [eax]
mov ecx, edx
shl ecx, 4
add ecx, dword [edi + 0x30]
test byte [ecx], 4
jne 0x1000a640
cmp word [edi + 0x16], 0
je 0x1000a640
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov ebx, ecx
jmp 0x1000a696
mov eax, dword [esp + 0x18]
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.1000a0e0
mov eax, dword [edi + 0x38]
lea edx, [esi + esi*4]
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
mov eax, dword [eax + ebx*8 + 4]
lea eax, [eax + edx*4]
movss xmm0, dword [eax + 0xc]
comiss xmm1, xmm0
ja 0x1000a6dc
movss xmm0, dword [eax + 8]
maxss xmm0, xmm1
movss dword [eax + 4], xmm0
add ebx, 1
cmp bx, word [edi + 0x16]
jb 0x1000a688
mov ebx, dword [esp + 0x14]
add ebx, 1
cmp bx, word [edi + 0x14]
jb 0x1000a64d
lea esi, cs:[esi]
mov edx, dword [edi + 0x58]
test edx, edx
je 0x1000a8a2
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x1a8]
movss xmm1, dword [ecx + 4]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x1002e170]
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 + 0x24], xmm1
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x18]
mov byte [esp + 0x28], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xf4]
mov byte [esp + 0x29], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x2c]
mov byte [esp + 0x2a], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x40]
mov byte [esp + 0x2b], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x54]
mov byte [esp + 0x2c], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x68]
mov byte [esp + 0x2d], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xcc]
mov byte [esp + 0x32], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xb8]
mov byte [esp + 0x31], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xa4]
mov byte [esp + 0x30], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x90]
mov byte [esp + 0x2f], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0x7c]
mov byte [esp + 0x2e], cl
mov ecx, dword [eax + 4]
cvttss2si ecx, dword [ecx + 0xe0]
mov byte [esp + 0x33], cl
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x11c]
movss dword [esp + 0x38], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x108]
movss dword [esp + 0x34], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x130]
movss dword [esp + 0x3c], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x144]
movss dword [esp + 0x40], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x158]
movss dword [esp + 0x44], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x16c]
movss dword [esp + 0x48], xmm0
mov ecx, dword [eax + 4]
movss xmm0, dword [ecx + 0x180]
movss dword [esp + 0x4c], xmm0
mov eax, dword [eax + 4]
movss xmm0, dword [eax + 0x194]
lea eax, [esp + 0x20]
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 + 0x50], xmm0
call fcn.10014ac0
add esp, 0x54
pop ebx
pop esi
pop edi
pop ebp
ret