Function at 0x1008d3e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100da4f8], 0
push ebx
push esi
push edi
je 0x1008d739
mov ecx, dword [0x100f1a44]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1008d739
movzx eax, byte [0x100e2ecb]
xor ebx, ebx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100a2cb8]
movss dword [ebp - 0xc], xmm0
test edx, edx
jle 0x1008d739
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ecx]
add esi, edi
cmp dword [esi + 0x34], 0xfffffffe
jne 0x1008d729
mov eax, dword [esi]
test eax, eax
je 0x1008d729
lea ecx, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edx, dword [eax + 0x14]
cmp edx, 9
je 0x1008d46c
cmp edx, 0x62
je 0x1008d46c
cmp edx, 0x86
jne 0x1008d4ef
cmp byte [0x100e4ac4], 0
movss xmm3, dword [0x100a2cb8]
je 0x1008d4f7
mov eax, dword [0x100e4b68]
movzx ecx, al
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, dword [0x100a2cc4]
movss dword [esi + 8], xmm1
mov dword [esi + 0x1c], 0x3f800000
movss dword [esi + 0x10], xmm0
jmp 0x1008d4f7
movss xmm3, dword [0x100a2cb8]
cmp edx, 0x6c
jne 0x1008d571
cmp byte [0x100e4f30], 0
je 0x1008d571
mov eax, dword [0x100e4fd4]
movzx ecx, al
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, xmm3
movss dword [esi + 8], xmm1
mov dword [esi + 0x1c], 0x3f800000
movss dword [esi + 0x10], xmm0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x1008d61e
mov eax, dword [0x100e4848]
mov ecx, dword [0x100e484c]
cmp eax, ecx
je 0x1008d61e
cmp dword [eax], 3
je 0x1008d5a6
add eax, 4
cmp eax, ecx
jne 0x1008d598
jmp 0x1008d61e
cmp eax, ecx
je 0x1008d61e
mov eax, dword [0x100e48e0]
movss xmm3, dword [0x100a2cb8]
movzx ecx, al
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
mov dword [esi + 0x1c], 0x3f800000
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, xmm3
movss dword [esi + 8], xmm1
movss dword [esi + 0x10], xmm0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1008d723
mov ecx, dword [esi]
test ecx, ecx
je 0x1008d723
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1008d723
mov edi, dword [esi]
mov eax, dword [0x100f1b8c]
cmp byte [eax + edi], 0
jne 0x1008d720
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x100f1bf0]
add edx, 0xffffffd5
xor edx, 0xd134f069
lea eax, [eax*4 + 0x100f459c]
mov dword [ebp - 8], eax
mov eax, dword [0x100da4f8]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1008d6a9
mov ecx, dword [0x100f1abc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x1008d6a9
cmp byte [0x100e1d6c], al
jmp 0x1008d6b0
cmp byte [0x100e2d9c], 0
je 0x1008d720
mov eax, dword [0x100e2ec8]
movss xmm3, dword [0x100a2cb8]
mov word [esi + 0x24], 1
mov cl, byte [0x100e2e24]
mov byte [esi + 0x26], cl
movzx ecx, al
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
shr eax, 0x10
movzx eax, al
movzx ecx, cl
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mov eax, dword [ebp - 8]
movd xmm1, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm3
mulss xmm2, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
movss xmm0, dword [eax]
mulss xmm0, dword [ebp - 0xc]
movss dword [esi + 0x10], xmm0
mov edi, dword [ebp - 4]
mov ecx, dword [0x100f1a44]
inc ebx
add edi, 0x38
mov dword [ebp - 4], edi
cmp ebx, dword [ecx + 0xc]
jl 0x1008d431
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret