Function at 0x100a22a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100c3040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101f81a4], 0
push ebx
push esi
push edi
je 0x100a2598
mov eax, dword [0x1020e9a4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100a2598
movss xmm0, dword [0x1020002c]
mulss xmm0, dword [0x100b845c]
mov dword [ebp - 0x14], 0
movss dword [ebp - 0x10], xmm0
jle 0x100a2598
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [0x1020e9a4]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x100a257c
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100a23fe
push 0
push dword [0x101ffcd8]
push dword [0x101ffcd4]
call fcn.100a5da0
cmp eax, dword [0x101ffcd8]
je 0x100a257c
mov esi, dword [edi]
mov eax, dword [0x1020eaf0]
cmp byte [eax + esi], 0
jne 0x100a257c
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x1020eb60]
add edx, 0xffffffd6
xor edx, 0x5a3701a6
lea ebx, [eax*4 + 0x102123e0]
mov eax, dword [0x101f81a4]
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x100a238f
mov ecx, dword [0x1020ea0c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100a257c
mov eax, dword [0x101ffd7c]
movss xmm1, dword [0x100b844c]
mov dword [edi + 0x2c], eax
mov al, byte [0x101ffdf0]
mov byte [edi + 0x26], al
movzx eax, byte [0x101ffe94]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
mov eax, dword [0x101ffe94]
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movzx eax, byte [0x101ffe96]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebx]
jmp 0x100a2571
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xabe104c9
call fcn.100315d0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a2425
mov eax, dword [eax + 0x14]
jmp 0x100a2428
or eax, 0xffffffff
cmp ebx, eax
je 0x100a24f0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xe31dc1b8
call fcn.100315d0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a2457
mov eax, dword [eax + 0x14]
jmp 0x100a245a
or eax, 0xffffffff
cmp ebx, eax
je 0x100a24f0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xc09c6702
call fcn.100315d0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a2489
mov eax, dword [eax + 0x14]
jmp 0x100a248c
or eax, 0xffffffff
cmp ebx, eax
je 0x100a24f0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xa239ea8f
call fcn.100315d0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a24b7
mov eax, dword [eax + 0x14]
jmp 0x100a24ba
or eax, 0xffffffff
cmp ebx, eax
je 0x100a24f0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0x69629121
call fcn.100315d0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100a24e5
mov eax, dword [eax + 0x14]
jmp 0x100a24e8
or eax, 0xffffffff
cmp ebx, eax
jne 0x100a257c
push 1
push dword [0x101ffcd8]
push dword [0x101ffcd4]
call fcn.100a5da0
cmp eax, dword [0x101ffcd8]
je 0x100a257c
mov eax, dword [0x101ffd7c]
movss xmm1, dword [0x100b844c]
mov dword [edi + 0x2c], eax
mov al, byte [0x101ffdf0]
mov byte [edi + 0x26], al
movzx eax, byte [0x101fff24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
mov eax, dword [0x101fff24]
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movzx eax, byte [0x101fff26]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
mov word [edi + 0x24], 1
movss dword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x1020e9a4]
inc ecx
add dword [ebp - 0xc], 0x38
mov dword [ebp - 0x14], ecx
cmp ecx, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
jl 0x100a22f7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a5f76
mov esp, ebp
pop ebp
ret