Function at 0x100b51d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x100d0008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov ecx, dword [ebx]
add ecx, 4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ecx]
push esi
push edi
mov dword [ebp - 0x60], ebx
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x100b5655
mov ecx, dword [0x100f48d0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov esi, eax
test esi, esi
je 0x100b5655
mov edx, dword [0x100f4ab4]
mov ecx, dword [ebx]
add edx, 0xffffffc6
mov eax, dword [esi + 0xb0]
xor edx, 0xd8948d5e
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edi, [eax + ecx*4]
add edi, esi
je 0x100b5655
cmp byte [0x100ea32c], 0
movss xmm0, dword [0x100ea274]
mulss xmm0, dword [0x100c4634]
mulss xmm0, dword [0x100c47e4]
cvttss2si eax, xmm0
mov dword [ebp - 0x5c], eax
jne 0x100b5492
xor ebx, ebx
cmp dword [edi + 4], ebx
jle 0x100b5655
xor eax, eax
mov dword [ebp - 0x58], eax
nop dword [eax]
mov esi, dword [edi + 8]
add esi, eax
add esi, edi
je 0x100b546f
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x30]
jae 0x100b546f
lea ecx, [esi + 0x24]
lea edx, [ebp - 0x3c]
call dword [0x100f49cc]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0x3c]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x60]
shl ecx, 4
add ecx, dword [eax + 0x3c4]
call fcn.100a6440
movss xmm4, dword [esi + 0xc]
add esp, 4
movss xmm3, dword [esi + 8]
movss xmm5, dword [esi + 0x10]
movss xmm6, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x2c]
mulss xmm0, xmm4
mulss xmm6, xmm3
movss xmm1, dword [ebp - 0x1c]
mulss xmm2, xmm3
addss xmm6, xmm0
mulss xmm1, xmm3
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm5
addss xmm6, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm4
addss xmm6, dword [ebp - 0x30]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm5
movss dword [ebp - 0x54], xmm6
addss xmm2, xmm0
movss xmm6, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm4
movss xmm4, dword [ebp - 0x14]
addss xmm2, dword [ebp - 0x20]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm5
movss xmm5, dword [ebp - 0x38]
movss dword [ebp - 0x50], xmm2
addss xmm1, xmm0
addss xmm1, dword [ebp - 0x10]
movss dword [ebp - 0x4c], xmm1
movss xmm0, dword [esi + 0x14]
movss xmm2, dword [esi + 0x18]
movss xmm1, dword [esi + 0x1c]
mulss xmm5, xmm2
mulss xmm6, xmm0
mulss xmm4, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x34]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x28]
mulss xmm5, xmm2
addss xmm6, dword [ebp - 0x30]
movss dword [ebp - 0xc], xmm6
movss xmm6, dword [ebp - 0x2c]
mulss xmm6, xmm0
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x24]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x1c]
mulss xmm5, xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm2
addss xmm6, dword [ebp - 0x20]
addss xmm5, xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm6
addss xmm5, xmm4
addss xmm5, dword [ebp - 0x10]
movss dword [ebp - 0x40], xmm5
mov ecx, dword [0x100f48d4]
movzx eax, byte [ebp + 0xe]
movss xmm0, dword [esi + 0x30]
push 1
push 0
push ecx
mov dword [esp], 0x40a00000
push dword [ebp - 0x5c]
movss dword [ebp - 0xc], xmm0
mov esi, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
movzx edx, ah
movzx eax, al
push edx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0x5c]
call eax
mov eax, dword [ebp - 0x58]
inc ebx
add eax, 0x44
mov dword [ebp - 0x58], eax
cmp ebx, dword [edi + 4]
jl 0x100b52b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100b78d7
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 8]
shl ecx, 4
add ecx, dword [ebp - 0xc]
lea esi, [eax + ecx*4]
add esi, edi
je 0x100b5655
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x30]
jae 0x100b5655
lea ecx, [esi + 0x24]
lea edx, [ebp - 0x3c]
call dword [0x100f49cc]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0x3c]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [ebx + 0x3c4]
call fcn.100a6440
movss xmm4, dword [esi + 0xc]
add esp, 4
movss xmm3, dword [esi + 8]
movss xmm5, dword [esi + 0x10]
movss xmm6, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x2c]
mulss xmm0, xmm4
mulss xmm6, xmm3
movss xmm1, dword [ebp - 0x1c]
mulss xmm2, xmm3
addss xmm6, xmm0
mulss xmm1, xmm3
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm5
addss xmm6, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm4
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm5
addss xmm6, dword [ebp - 0x30]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm4
movss xmm4, dword [ebp - 0x14]
movss dword [ebp - 0x54], xmm6
addss xmm2, dword [ebp - 0x20]
movss xmm6, dword [ebp - 0x3c]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm5
movss xmm5, dword [ebp - 0x38]
movss dword [ebp - 0x50], xmm2
addss xmm1, xmm0
addss xmm1, dword [ebp - 0x10]
movss dword [ebp - 0x4c], 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 - 0x34]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x28]
mulss xmm5, xmm2
addss xmm6, dword [ebp - 0x30]
movss dword [ebp - 0xc], xmm6
movss xmm6, dword [ebp - 0x2c]
mulss xmm6, xmm0
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x24]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [ebp - 0x1c]
mulss xmm5, xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm2
addss xmm6, dword [ebp - 0x20]
addss xmm5, xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm6
addss xmm5, xmm4
addss xmm5, dword [ebp - 0x10]
movss dword [ebp - 0x40], xmm5
movss xmm0, dword [esi + 0x30]
mov ecx, dword [0x100f48d4]
movzx eax, byte [ebp + 0xe]
push 1
push 0
push ecx
mov dword [esp], 0x40a00000
push dword [ebp - 0x5c]
movss dword [ebp - 0xc], xmm0
mov esi, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
movzx edx, ah
movzx eax, al
push edx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0x5c]
call eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b78d7
mov esp, ebp
pop ebp
ret 0xc