Function at 0x100a45f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov edx, edi
mov dword [ebp - 4], edi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100a4602
sub edx, esi
sar edx, 1
jne 0x100a461c
pop edi
xorps xmm0, xmm0
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, word [edi]
xor ecx, ecx
mov dword [ebp - 8], ecx
sub eax, 0x2b
je 0x100a4635
sub eax, 2
jne 0x100a463a
mov dword [ebp - 8], 1
mov ecx, 1
xorps xmm1, xmm1
cmp ecx, edx
jge 0x100a4868
movss xmm2, dword [0x103a65cc]
mov eax, edx
sub eax, ecx
cmp eax, 4
jl 0x100a4706
lea esi, [edi + 4]
lea esi, [esi + ecx*2]
movzx edi, word [esi - 4]
lea eax, [edi - 0x30]
cmp ax, 9
ja 0x100a473c
lea eax, [edi - 0x30]
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, word [esi - 2]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cmp eax, 0x30
jb 0x100a4886
cmp eax, 0x39
ja 0x100a4886
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, word [esi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cmp eax, 0x30
jb 0x100a487e
cmp eax, 0x39
ja 0x100a487e
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, word [esi + 2]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cmp eax, 0x30
jb 0x100a4739
cmp eax, 0x39
ja 0x100a4739
sub eax, 0x30
mulss xmm1, xmm2
add ecx, 4
add esi, 8
movd xmm0, eax
lea eax, [edx - 3]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cmp ecx, eax
jl 0x100a4660
mov edi, dword [ebp - 4]
cmp ecx, edx
jge 0x100a4868
nop
movzx esi, word [edi + ecx*2]
lea eax, [esi - 0x30]
cmp ax, 9
ja 0x100a473f
lea eax, [esi - 0x30]
mulss xmm1, xmm2
inc ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cmp ecx, edx
jl 0x100a4710
jmp 0x100a4868
add ecx, 3
mov edi, dword [ebp - 4]
cmp ecx, edx
jge 0x100a4868
cmp word [edi + ecx*2], 0x2e
jne 0x100a4868
movss xmm3, dword [0x103a60cc]
inc ecx
movaps xmm2, xmm3
cmp ecx, edx
jge 0x100a4868
mov eax, edx
sub eax, ecx
cmp eax, 4
jl 0x100a4836
lea esi, [ecx + 2]
lea esi, [edi + esi*2]
nop dword [eax]
movzx edi, word [esi - 4]
lea eax, [edi - 0x30]
cmp ax, 9
ja 0x100a4868
lea eax, [edi - 0x30]
movd xmm0, eax
movzx eax, word [esi - 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm2, xmm3
addss xmm1, xmm0
cmp eax, 0x30
jb 0x100a4868
cmp eax, 0x39
ja 0x100a4868
sub eax, 0x30
movd xmm0, eax
movzx eax, word [esi]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm2, xmm3
addss xmm1, xmm0
cmp eax, 0x30
jb 0x100a4868
cmp eax, 0x39
ja 0x100a4868
sub eax, 0x30
movd xmm0, eax
movzx eax, word [esi + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm2, xmm3
addss xmm1, xmm0
cmp eax, 0x30
jb 0x100a4868
cmp eax, 0x39
ja 0x100a4868
sub eax, 0x30
add ecx, 4
add esi, 8
movd xmm0, eax
lea eax, [edx - 3]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm2, xmm3
addss xmm1, xmm0
cmp ecx, eax
jl 0x100a4780
mov edi, dword [ebp - 4]
cmp ecx, edx
jge 0x100a4868
nop word [eax + eax]
movzx esi, word [edi + ecx*2]
lea eax, [esi - 0x30]
cmp ax, 9
ja 0x100a4868
lea eax, [esi - 0x30]
inc ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm2, xmm3
addss xmm1, xmm0
cmp ecx, edx
jl 0x100a4840
cmp dword [ebp - 8], 0
je 0x100a4875
xorps xmm1, xmmword [0x103a6b60]
pop edi
movaps xmm0, xmm1
pop esi
mov esp, ebp
pop ebp
ret
add ecx, 2
jmp 0x100a473c
inc ecx
jmp 0x100a473c