Function at 0x10092fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x100f03c8]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x1010e9f0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xac], esi
je 0x1009361c
mov ecx, dword [esi]
add ecx, 4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1009361c
mov ecx, dword [0x1011c450]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov ebx, eax
test ebx, ebx
je 0x1009361c
mov edx, dword [0x1011c664]
mov ecx, dword [esi]
add edx, 0xffffffc2
mov eax, dword [ebx + 0xb0]
xor edx, 0xfd99873a
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edi, [eax + ecx*4]
add edi, ebx
je 0x1009361c
cmp dword [0x1010e9f0], 2
mov al, byte [0x1010ebdc]
mov byte [ebp - 0xa1], al
jne 0x1009334c
mov ecx, dword [0x10107524]
mov eax, dword [edi + 8]
shl ecx, 4
add ecx, dword [0x10107524]
lea ebx, [eax + ecx*4]
add ebx, edi
je 0x1009361c
mov eax, dword [0x1010ea80]
lea ecx, [ebx + 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0xac], eax
comiss xmm0, dword [ebx + 0x30]
mov dword [ebp - 0xa8], eax
jb 0x1009318c
lea edx, [ebp - 0xa0]
call dword [0x1011c560]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebx]
lea edx, [ebp - 0xa0]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [esi + 0x41c]
call fcn.1007e220
add esp, 4
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x64]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x5c], 0
call fcn.1007e150
movzx eax, byte [ebp - 0xa6]
movss xmm0, dword [ebp - 0x30]
mov edx, dword [0x1011c454]
push ecx
mov dword [esp], 0x40400000
push 0
push eax
mov eax, dword [ebp - 0xac]
movzx ecx, ah
push ecx
movzx eax, al
mov ecx, edx
push eax
movss dword [ebp - 0x70], xmm0
lea eax, [ebp - 0x64]
movss xmm0, dword [ebp - 0x20]
push eax
movss dword [ebp - 0x6c], xmm0
lea eax, [ebx + 0x14]
movss xmm0, dword [ebp - 0x10]
push eax
movss dword [ebp - 0x68], xmm0
lea eax, [ebx + 8]
mov esi, dword [edx]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [esi + 4]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009999a
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x3c]
call dword [0x1011c560]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebx]
lea edx, [ebp - 0x3c]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [esi + 0x41c]
call fcn.1007e220
movss xmm4, dword [ebx + 0xc]
add esp, 4
movss xmm3, dword [ebx + 8]
movss xmm5, dword [ebx + 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 - 0x58], 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 - 0x54], xmm2
addss xmm1, xmm0
addss xmm1, dword [ebp - 0x10]
movss dword [ebp - 0x50], xmm1
movss xmm0, dword [ebx + 0x14]
movss xmm2, dword [ebx + 0x18]
movss xmm1, dword [ebx + 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 - 0x4c], xmm0
movss dword [ebp - 0x48], xmm6
addss xmm5, xmm4
addss xmm5, dword [ebp - 0x10]
movss dword [ebp - 0x44], xmm5
movss xmm0, dword [ebx + 0x30]
movss dword [ebp - 0xc], xmm0
movzx eax, byte [ebp - 0xa1]
mov ecx, dword [0x1011c454]
push eax
movzx eax, byte [ebp - 0xa5]
push 0
mov esi, dword [ecx]
push ecx
mov dword [esp], 0x40400000
push eax
movzx eax, byte [ebp - 0xa6]
push eax
mov eax, dword [ebp - 0xac]
movzx edx, ah
movzx eax, al
push edx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 0x5c]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009999a
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 0xa8], eax
cmp dword [edi + 4], eax
jle 0x1009361c
xor esi, esi
mov dword [ebp - 0xc], esi
add esi, edi
add esi, dword [edi + 8]
je 0x10093603
cmp eax, dword [0x10107524]
jne 0x10093384
cmp dword [0x1010e9f0], 3
mov ebx, dword [0x1010ea80]
je 0x1009338a
mov ebx, dword [0x1010eb3c]
xorps xmm0, xmm0
lea ecx, [esi + 0x24]
comiss xmm0, dword [esi + 0x30]
jb 0x1009344c
lea edx, [ebp - 0xa0]
call dword [0x1011c560]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xac]
shl ecx, 4
add ecx, dword [eax + 0x41c]
call fcn.1007e220
add esp, 4
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x64]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x5c], 0
call fcn.1007e150
mov ecx, dword [0x1011c454]
mov eax, ebx
movss xmm0, dword [ebp - 0x30]
push ecx
shr eax, 0x10
movzx eax, al
mov dword [esp], 0x40400000
push 0
push eax
mov eax, ebx
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x20]
shr eax, 8
movzx eax, al
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x10]
push eax
lea eax, [esi + 0x14]
movss dword [ebp - 0x68], xmm0
mov edx, dword [ecx]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100935fd
lea edx, [ebp - 0x3c]
call dword [0x1011c560]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0x3c]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xac]
shl ecx, 4
add ecx, dword [eax + 0x41c]
call fcn.1007e220
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 - 0x58], 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 - 0x54], xmm2
addss xmm1, xmm0
addss xmm1, dword [ebp - 0x10]
movss dword [ebp - 0x50], 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 - 0x40], 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 - 0x40]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm6
addss xmm5, xmm4
addss xmm5, dword [ebp - 0x10]
movss dword [ebp - 0x44], xmm5
movss xmm0, dword [esi + 0x30]
movzx eax, byte [ebp - 0xa1]
mov ecx, dword [0x1011c454]
push eax
push 0
push ecx
mov dword [esp], 0x40400000
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
movss dword [ebp - 0x40], xmm0
mov edx, dword [ecx]
shr eax, 0x10
movzx eax, al
push eax
mov eax, ebx
shr eax, 8
movzx eax, al
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xc]
inc eax
add esi, 0x44
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xc], esi
cmp eax, dword [edi + 4]
jl 0x10093362
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009999a
mov esp, ebp
pop ebp
ret 4