Function at 0x100d01c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov ecx, dword [ebx]
add ecx, 4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push esi
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x70], ebx
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x100d0471
mov ecx, dword [0x101f46cc]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov esi, eax
test esi, esi
je 0x100d0471
mov edx, dword [0x101f5c4c]
mov ecx, dword [ebx]
add edx, 0xffffffc6
mov eax, dword [esi + 0xb0]
xor edx, 0xea42ce06
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edi, [eax + ecx*4]
add edi, esi
je 0x100d0471
xor ebx, ebx
cmp dword [edi + 4], ebx
jle 0x100d0471
xor eax, eax
mov dword [ebp - 0x68], eax
mov esi, dword [edi + 8]
add esi, eax
add esi, edi
je 0x100d0461
xorps xmm0, xmm0
lea ecx, [esi + 0x24]
comiss xmm0, dword [esi + 0x30]
lea edx, [ebp - 0x34]
jb 0x100d02b7
call dword [0x101f47d8]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x70]
shl ecx, 4
add ecx, dword [eax + 0x3ec]
call fcn.100b7c10
add esp, 4
jmp 0x100d045e
call dword [0x101f47d8]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x70]
shl ecx, 4
add ecx, dword [eax + 0x3ec]
call fcn.100b7c10
movss xmm4, dword [esi + 0xc]
add esp, 4
movss xmm3, dword [esi + 8]
movss xmm5, dword [esi + 0x10]
movss xmm6, dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x30]
movss xmm2, dword [ebp - 0x24]
mulss xmm0, xmm4
mulss xmm6, xmm3
movss xmm1, dword [ebp - 0x14]
mulss xmm2, xmm3
addss xmm6, xmm0
mulss xmm1, xmm3
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm5
addss xmm6, xmm0
movss xmm0, dword [ebp - 0x20]
mulss xmm0, xmm4
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm5
addss xmm6, dword [ebp - 0x28]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm4
movss xmm4, dword [ebp - 0xc]
movss dword [ebp - 0x88], xmm6
addss xmm2, dword [ebp - 0x18]
movss xmm6, dword [ebp - 0x34]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm5
movss xmm5, dword [ebp - 0x30]
movss dword [ebp - 0x84], xmm2
addss xmm1, xmm0
addss xmm1, dword [ebp - 8]
movss dword [ebp - 0x80], xmm1
movss xmm0, dword [esi + 0x14]
movss xmm2, dword [esi + 0x18]
movss xmm1, dword [esi + 0x1c]
mulss xmm6, xmm0
mulss xmm5, xmm2
mulss xmm4, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x2c]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x20]
mulss xmm5, xmm2
addss xmm6, dword [ebp - 0x28]
movss dword [ebp - 0x6c], xmm6
movss xmm6, dword [ebp - 0x24]
mulss xmm6, xmm0
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x1c]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x14]
mulss xmm5, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm2
addss xmm6, dword [ebp - 0x18]
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x78], xmm6
addss xmm5, xmm4
addss xmm5, dword [ebp - 8]
movss dword [ebp - 0x74], xmm5
movss xmm0, dword [esi + 0x30]
movss dword [ebp - 0x6c], xmm0
mov ecx, dword [0x101f46d0]
movzx eax, byte [ebp + 0xf]
push 0
push 0
mov esi, dword [ecx]
push ecx
mov dword [esp], 0x40000000
push eax
movzx eax, byte [ebp + 0xe]
push eax
mov eax, dword [ebp + 0xc]
movzx edx, ah
movzx eax, al
push edx
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi + 0x5c]
call eax
mov eax, dword [ebp - 0x68]
inc ebx
add eax, 0x44
mov dword [ebp - 0x68], eax
cmp ebx, dword [edi + 4]
jl 0x100d0270
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012838d
mov esp, ebp
pop ebp
ret 8