Function at 0x100b6e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100da040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call eax
test eax, eax
je 0x100b7106
mov ecx, dword [0x1015d244]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x100b7106
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x28]
lea ecx, [ebx + 8]
call edx
imul ecx, eax, 0x10c
lea eax, [ecx + 0x100f5508]
test eax, eax
je 0x100b7106
push eax
mov ecx, 0x100f5533
call fcn.100a5e60
mov edx, eax
mov dword [ebp - 0x10], edx
test edx, edx
je 0x100b7106
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [edi + 0x9c], esi
jle 0x100b7106
xor eax, eax
lea ebx, [edx + 0x440]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
nop word [eax + eax]
add eax, edi
add eax, dword [edi + 0xa0]
je 0x100b70e5
test dword [eax + 0xa0], 0x100
je 0x100b70e5
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x100b70e5
cmp esi, 0x7f
ja 0x100b6f73
lea eax, [ebx - 0x1c]
test eax, eax
je 0x100b6f73
movss xmm0, dword [ebx - 0x10]
movss xmm1, dword [ebx]
movss xmm2, dword [ebx + 0x10]
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm2
cmp ecx, 0x7f
ja 0x100b6fa5
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x424
add eax, edx
je 0x100b6fa5
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x2c]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm2
mov edx, dword [0x1015d43c]
mov eax, dword [ebp - 0x14]
add edx, 0xffffffd6
xor edx, 0x4299eebb
mov ecx, dword [edx + eax]
mov eax, dword [0x100da2a8]
cmp ecx, dword [edx + eax]
jne 0x100b6fdc
mov ecx, dword [0x1015d2f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
movzx eax, byte [0x100e7cbc]
je 0x100b6fe1
mov eax, dword [0x100e7d60]
lea edx, [ebp - 0x4c]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2c]
call fcn.100a30a0
test al, al
je 0x100b70e2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x38]
call fcn.100a30a0
test al, al
je 0x100b70e2
mov ecx, dword [ebp - 0x14]
movd xmm0, dword [ebp + 0xc]
add ecx, 8
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
movss dword [ebp - 0xc], xmm0
mov eax, dword [eax + 0x24]
call eax
test al, al
mov eax, dword [ebp - 8]
jne 0x100b7054
movss xmm1, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 0x18
xorps xmm2, xmm2
maxss xmm1, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100ced80]
mulss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
movzx ecx, byte [0x100e66f7]
xorps xmm0, xmm0
movzx edx, byte [ebp - 6]
mov edi, dword [0x1015d218]
movd xmm1, ecx
cvttss2si ecx, dword [ebp - 0xc]
mov ebx, dword [edi]
cvtdq2ps xmm1, xmm1
movzx ecx, cl
maxss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100ced80]
mulss xmm1, xmm0
cvttss2si ecx, xmm1
movzx esi, cl
mov ecx, edi
shl esi, 8
or esi, edx
movzx edx, ah
shl esi, 8
or esi, edx
movzx eax, al
shl esi, 8
or esi, eax
mov eax, dword [ebx + 0x38]
push esi
call eax
cvttss2si eax, dword [ebp - 0x40]
mov ecx, dword [0x1015d218]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x44]
push eax
cvttss2si eax, dword [ebp - 0x48]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
inc esi
add eax, 0xd8
mov dword [ebp - 0x18], esi
add ebx, 0x30
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
cmp esi, dword [edi + 0x9c]
jl 0x100b6f20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ba5dc
mov esp, ebp
pop ebp
ret 8