Function at 0x100c4d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x185c
call fcn.100ca340
mov eax, dword [0x100e800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x181c], ebx
lea esi, [ebp - 0x1808]
mov edi, 0x80
nop
mov ecx, esi
call fcn.100363d0
add esi, 0x30
sub edi, 1
jne 0x100c4d60
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov dword [ebp - 0x1830], edi
mov dword [ebp - 0x182c], edi
mov dword [ebp - 0x1828], edi
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x183c], edi
mov dword [ebp - 0x1838], edi
mov dword [ebp - 0x1834], edi
call eax
test eax, eax
je 0x100c50b1
mov esi, dword [0x101a9a7c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x78]
mov ecx, esi
call edx
mov esi, eax
mov dword [ebp - 0x184c], esi
test esi, esi
je 0x100c50b1
mov ecx, dword [0x101a9aa4]
lea eax, [ebp - 0x1808]
mov edx, dword [ebx + 4]
push ecx
movss xmm0, dword [ecx + 0x10]
lea ecx, [ebx + 4]
mov edx, dword [edx + 0x34]
movss dword [esp], xmm0
push 0x7ff00
push 0x80
push eax
call edx
test al, al
je 0x100c50b1
xor ebx, ebx
cmp dword [esi + 0x9c], ebx
jle 0x100c50b1
xor ecx, ecx
lea edi, [ebp - 0x17ec]
mov dword [ebp - 0x1814], ecx
nop word [eax + eax]
mov eax, dword [esi + 0xa0]
add eax, ecx
add eax, esi
je 0x100c5091
test dword [eax + 0xa0], 0x100
je 0x100c5091
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x100c5091
cmp ebx, 0x7f
ja 0x100c4e7e
lea eax, [edi - 0x1c]
test eax, eax
je 0x100c4e7e
movss xmm0, dword [edi - 0x10]
movss xmm1, dword [edi]
movss xmm2, dword [edi + 0x10]
movss dword [ebp - 0x1830], xmm0
movss dword [ebp - 0x182c], xmm1
movss dword [ebp - 0x1828], xmm2
cmp ecx, 0x7f
ja 0x100c4eba
lea eax, [ecx + ecx*2]
add eax, eax
lea eax, [ebp + eax*8 - 0x1808]
test eax, eax
je 0x100c4eba
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 [0x101a9c60]
mov eax, dword [ebp - 0x181c]
add edx, 0xffffffd5
xor edx, 0x976fd33a
mov ecx, dword [edx + eax]
mov eax, dword [0x101ae588]
cmp ecx, dword [edx + eax]
jne 0x100c4f00
mov ecx, dword [0x101a9b30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100c4f00
mov eax, dword [0x1012049c]
mov dword [ebp - 0x1840], eax
lea eax, [ebp - 0x1840]
jmp 0x100c4f11
mov eax, dword [0x1012049c]
mov dword [ebp - 0x1844], eax
lea eax, [ebp - 0x1844]
lea edx, [ebp - 0x185c]
mov dword [ebp - 0x1810], eax
lea ecx, [ebp - 0x1830]
call fcn.100b19c0
test al, al
je 0x100c5091
lea edx, [ebp - 0x1854]
lea ecx, [ebp - 0x183c]
call fcn.100b19c0
test al, al
je 0x100c5091
mov esi, dword [ebp - 0x1810]
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x1818], ecx
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x1824], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x1848], ecx
mov ecx, dword [ebp - 0x181c]
shr eax, 0x10
add ecx, 8
mov dword [ebp - 0x1820], eax
movss dword [ebp - 0x180c], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c4fe6
mov eax, dword [esi]
xorps xmm2, xmm2
movss xmm1, dword [ebp - 0x180c]
shr eax, 0x18
maxss xmm1, xmm2
movd xmm0, eax
minss xmm1, dword [0x100dccd8]
mov eax, dword [ebp - 0x1848]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x1820], eax
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1824], eax
mulss xmm1, xmm0
movss dword [ebp - 0x180c], xmm1
movzx eax, byte [0x1012049f]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1810]
mov ecx, dword [0x101a9a50]
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x180c]
cvtdq2ps xmm1, xmm1
movzx eax, al
maxss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100dccd8]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movzx edx, al
mov eax, dword [ebp - 0x1820]
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x1824]
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [esi]
mov esi, dword [ecx]
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [esi + 0x38]
push edx
call eax
cvttss2si eax, dword [ebp - 0x1850]
mov ecx, dword [0x101a9a50]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x1854]
push eax
cvttss2si eax, dword [ebp - 0x1858]
push eax
cvttss2si eax, dword [ebp - 0x185c]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov esi, dword [ebp - 0x184c]
add dword [ebp - 0x1814], 0xd8
inc ebx
mov ecx, dword [ebp - 0x1814]
add edi, 0x30
cmp ebx, dword [esi + 0x9c]
jl 0x100c4e20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c8fa5
mov esp, ebp
pop ebp
ret 8