Function at 0x100b2cf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.100b86b0
mov eax, dword [0x100d7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x1818], eax
push esi
lea ebx, [eax + 4]
mov dword [ebp - 0x1830], 0
mov eax, dword [ebx]
mov ecx, ebx
push edi
mov dword [ebp - 0x182c], 0
mov dword [ebp - 0x1828], 0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x183c], 0
mov dword [ebp - 0x1838], 0
mov dword [ebp - 0x1834], 0
call eax
test eax, eax
je 0x100b301a
mov esi, dword [0x1016587c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x78]
mov ecx, esi
call edx
mov edi, eax
mov dword [ebp - 0x1840], edi
test edi, edi
je 0x100b301a
mov ecx, dword [0x101658a4]
lea eax, [ebp - 0x1808]
mov edx, dword [ebx]
push ecx
movss xmm0, dword [ecx + 0x10]
mov ecx, ebx
mov edx, dword [edx + 0x34]
movss dword [esp], xmm0
push 0x7ff00
push 0x80
push eax
call edx
test al, al
je 0x100b301a
xor esi, esi
mov dword [ebp - 0x1820], esi
cmp dword [edi + 0x9c], esi
jle 0x100b301a
xor ecx, ecx
lea ebx, [ebp - 0x17ec]
mov dword [ebp - 0x1814], ecx
mov dword [ebp - 0x1824], ebx
nop
mov eax, dword [edi + 0xa0]
add eax, ecx
add eax, edi
je 0x100b2fee
test dword [eax + 0xa0], 0x100
je 0x100b2fee
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x100b2fee
cmp esi, 0x7f
ja 0x100b2e3e
lea eax, [ebx - 0x1c]
test eax, eax
je 0x100b2e3e
movss xmm0, dword [ebx - 0x10]
movss xmm1, dword [ebx]
movss xmm2, dword [ebx + 0x10]
movss dword [ebp - 0x1830], xmm0
movss dword [ebp - 0x182c], xmm1
movss dword [ebp - 0x1828], xmm2
cmp ecx, 0x7f
ja 0x100b2e7a
lea eax, [ecx + ecx*2]
add eax, eax
lea eax, [ebp + eax*8 - 0x1808]
test eax, eax
je 0x100b2e7a
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x2c]
movss dword [ebp - 0x183c], xmm0
movss dword [ebp - 0x1838], xmm1
movss dword [ebp - 0x1834], xmm2
mov edx, dword [0x10165a74]
mov eax, dword [ebp - 0x1818]
add edx, 0xffffffd6
xor edx, 0x2a2ae02c
mov ecx, dword [edx + eax]
mov eax, dword [0x100e2b80]
cmp ecx, dword [edx + eax]
jne 0x100b2ea9
mov ecx, dword [0x10165930]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x100eee70]
lea edx, [ebp - 0x1850]
lea ecx, [ebp - 0x1830]
mov dword [ebp - 0x181c], eax
mov dword [ebp - 0x180c], eax
call fcn.100a1130
test al, al
je 0x100b2fee
lea edx, [ebp - 0x1848]
lea ecx, [ebp - 0x183c]
call fcn.100a1130
test al, al
je 0x100b2fee
mov ecx, dword [ebp - 0x1818]
movd xmm0, dword [ebp + 0xc]
add ecx, 8
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
movss dword [ebp - 0x1810], xmm0
mov eax, dword [eax + 0x24]
call eax
test al, al
mov eax, dword [ebp - 0x180c]
jne 0x100b2f45
movss xmm1, dword [ebp - 0x1810]
mov ecx, eax
shr ecx, 0x18
xorps xmm2, xmm2
maxss xmm1, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100cbce8]
mulss xmm1, xmm0
movss dword [ebp - 0x1810], xmm1
movzx ecx, byte [0x100eee73]
xorps xmm0, xmm0
movzx edx, byte [ebp - 0x181a]
mov edi, dword [0x10165850]
movd xmm1, ecx
cvttss2si ecx, dword [ebp - 0x1810]
mov ebx, dword [edi]
cvtdq2ps xmm1, xmm1
movzx ecx, cl
maxss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100cbce8]
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 - 0x1844]
mov ecx, dword [0x10165850]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x1848]
push eax
cvttss2si eax, dword [ebp - 0x184c]
push eax
cvttss2si eax, dword [ebp - 0x1850]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ebx, dword [ebp - 0x1824]
mov esi, dword [ebp - 0x1820]
mov edi, dword [ebp - 0x1840]
add dword [ebp - 0x1814], 0xd8
inc esi
mov ecx, dword [ebp - 0x1814]
add ebx, 0x30
mov dword [ebp - 0x1820], esi
mov dword [ebp - 0x1824], ebx
cmp esi, dword [edi + 0x9c]
jl 0x100b2de0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b731c
mov esp, ebp
pop ebp
ret 8