Function at 0x1009b7d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x100bf364]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [esi + 0x10]
add ecx, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push edi
mov eax, dword [ecx]
mov dword [ebp - 0xa0], esi
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1009bb03
mov ecx, dword [0x1013e46c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov edi, eax
test edi, edi
je 0x1009bb03
mov edx, dword [0x1013e66c]
mov ecx, dword [esi + 0x10]
add edx, 0xffffffc6
mov eax, dword [edi + 0xb0]
xor edx, 0xd2ca0fa4
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea ebx, [eax + ecx*4]
add ebx, edi
je 0x1009bb03
xor eax, eax
mov dword [ebp - 0xa4], 0
cmp byte [0x100c2d80], al
setne al
cmp dword [ebx + 4], 0
mov dword [ebp - 0xa8], eax
jle 0x1009bb03
xor eax, eax
mov dword [ebp - 0x9c], eax
nop dword [eax]
lea edi, [eax + ebx]
add edi, dword [ebx + 8]
je 0x1009bae4
xorps xmm0, xmm0
lea ecx, [edi + 0x24]
comiss xmm0, dword [edi + 0x30]
jb 0x1009b963
lea edx, [ebp - 0x98]
call dword [0x1013e590]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi]
lea edx, [ebp - 0x98]
add eax, 0x16
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, esi
call fcn.10085c50
add esp, 4
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x54], 0
call fcn.10085b80
movzx eax, byte [ebp + 0xe]
movss xmm0, dword [ebp - 0x28]
mov edx, dword [0x1013e474]
push ecx
mov dword [esp], 0x40a00000
push 0
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, ah
push ecx
movzx eax, al
mov ecx, edx
push eax
movss dword [ebp - 0x68], xmm0
lea eax, [ebp - 0x5c]
movss xmm0, dword [ebp - 0x18]
push eax
movss dword [ebp - 0x64], xmm0
lea eax, [edi + 0x14]
movss xmm0, dword [ebp - 8]
push eax
movss dword [ebp - 0x60], xmm0
lea eax, [edi + 8]
mov esi, dword [edx]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [esi + 4]
call eax
jmp 0x1009bad8
lea edx, [ebp - 0x34]
call dword [0x1013e590]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi]
lea edx, [ebp - 0x34]
add eax, 0x16
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, esi
call fcn.10085c50
movss xmm2, dword [edi + 0xc]
add esp, 4
movss xmm5, dword [edi + 8]
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x30]
movaps xmm4, xmm5
mov ecx, dword [0x1013e474]
mulss xmm4, dword [ebp - 0x34]
movaps xmm1, xmm5
movzx eax, byte [ebp + 0xf]
movss xmm3, dword [edi + 0x10]
mulss xmm1, dword [ebp - 0x24]
mulss xmm5, dword [ebp - 0x14]
addss xmm4, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x2c]
push dword [ebp - 0xa8]
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x20]
push 0
mulss xmm2, dword [ebp - 0x10]
push ecx
addss xmm4, dword [ebp - 0x28]
addss xmm1, xmm0
mov dword [esp], 0x40a00000
addss xmm5, xmm2
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x1c]
mulss xmm3, dword [ebp - 0xc]
addss xmm1, xmm0
movss dword [ebp - 0x4c], xmm4
addss xmm5, xmm3
addss xmm1, dword [ebp - 0x18]
addss xmm5, dword [ebp - 8]
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x44], xmm5
movss xmm3, dword [edi + 0x18]
movss xmm5, dword [edi + 0x14]
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x30]
movaps xmm4, xmm5
mulss xmm4, dword [ebp - 0x34]
movaps xmm1, xmm5
movss xmm2, dword [edi + 0x1c]
mulss xmm1, dword [ebp - 0x24]
mulss xmm5, dword [ebp - 0x14]
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x2c]
addss xmm4, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x20]
mulss xmm3, dword [ebp - 0x10]
addss xmm4, dword [ebp - 0x28]
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x1c]
addss xmm5, xmm3
mulss xmm2, dword [ebp - 0xc]
addss xmm1, xmm0
movss dword [ebp - 0x40], xmm4
addss xmm5, xmm2
addss xmm1, dword [ebp - 0x18]
addss xmm5, dword [ebp - 8]
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], xmm5
movss xmm0, dword [edi + 0x30]
movss dword [ebp - 0x50], xmm0
mov esi, dword [ecx]
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 - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [esi + 0x5c]
call eax
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa4]
add eax, 0x44
inc edi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], edi
cmp edi, dword [ebx + 4]
jl 0x1009b8a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a04d8
mov esp, ebp
pop ebp
ret 8