Function at 0x4bc160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
cmp byte [0x4ff8d8], 0
push esi
push edi
je 0x4bc1c2
cmp word [0x7eafbc], 0
je 0x4bc193
call fcn.0043bba0
mov eax, dword [0xa91e30]
push 1
push 1
push 0
mov ecx, dword [eax]
push eax
mov byte [0x4ff8d8], 0
call dword [ecx + 0x114]
mov eax, dword [0xa91e30]
push 1
push 2
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
mov cl, 2
call fcn.0043bdd0
mov esi, 0x80
cmp si, word [0x4ff8dc]
je 0x4bc217
cmp byte [0xb24300], 0
jne 0x4bc1eb
mov ecx, esi
call fcn.004d14b0
test al, al
je 0x4bc217
cmp word [0x7eafbc], 0
je 0x4bc1fa
call fcn.0043bba0
mov eax, dword [0xa91e30]
push dword [0xa920a0]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov word [0x4ff8dc], si
cmp byte [0x4ff8d8], 0
je 0x4bc25e
cmp word [0x7eafbc], 0
je 0x4bc22f
call fcn.0043bba0
mov eax, dword [0xa91e30]
push 1
push 1
push 0
mov ecx, dword [eax]
push eax
mov byte [0x4ff8d8], 0
call dword [ecx + 0x114]
mov eax, dword [0xa91e30]
push 1
push 2
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
mov cl, 2
call fcn.0043bdd0
cmp si, word [0x4ff8dc]
je 0x4bc2ae
cmp byte [0xb24300], 0
jne 0x4bc282
mov ecx, esi
call fcn.004d14b0
test al, al
je 0x4bc2ae
cmp word [0x7eafbc], 0
je 0x4bc291
call fcn.0043bba0
mov eax, dword [0xa91e30]
push dword [0xa920a0]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov word [0x4ff8dc], si
xor al, al
mov byte [ebp - 1], al
movss xmm1, dword [0xa88fdc]
test al, al
je 0x4bc2c4
xorps xmm2, xmm2
jmp 0x4bc2d3
xorps xmm1, xmmword [0x4fd2b0]
movss xmm2, dword [0x4fc2c4]
mov edi, dword [0x7eaeb4]
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], 0x4ea278
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0xd
nop
movss xmm0, dword [ecx + 0xa890e0]
mov eax, dword [ecx + 0xa89170]
addss xmm0, xmm1
mov dword [edi], eax
mov eax, dword [ecx + 0xa89120]
mov dword [edi + 4], eax
mov dword [edi + 8], 0
movss dword [edi + 0x14], xmm0
movss xmm0, dword [ecx + 0xa890a0]
addss xmm0, xmm2
movss dword [edi + 0x18], xmm0
movzx eax, byte [0x7ea94a]
mov ecx, dword [0xa88fd8]
inc eax
shl eax, 8
shr eax, 5
movzx esi, al
mov eax, ecx
shr eax, 0x10
movzx edx, al
mov eax, ecx
shr eax, 8
movzx eax, al
imul eax, esi
imul edx, esi
and edx, 0xffffff00
shl edx, 8
or edx, eax
mov eax, ecx
and eax, 0xff0000ff
or edx, eax
movzx eax, cl
mov ecx, dword [ebp - 8]
and edx, 0xffffff00
imul eax, esi
movss xmm0, dword [ecx + 0x4ea2b0]
addss xmm0, xmm1
shr eax, 8
or edx, eax
mov eax, dword [ecx + 0x4ea320]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0xa891f0]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xc]
movss dword [edi + 0x30], xmm0
movss xmm0, dword [ecx + 0xa891b0]
addss xmm0, xmm2
mov dword [edi + 0x24], 0
movzx eax, byte [eax]
movss dword [edi + 0x34], xmm0
movzx ecx, byte [0x7ea94a]
inc ecx
imul ecx, eax
shr ecx, 5
movzx esi, cl
mov ecx, dword [0xa88fd8]
mov eax, ecx
shr eax, 0x10
movzx edx, al
mov eax, ecx
shr eax, 8
imul edx, esi
movzx eax, al
imul eax, esi
and edx, 0xffffff00
shl edx, 8
or edx, eax
mov eax, ecx
and eax, 0xff0000ff
or edx, eax
movzx eax, cl
mov ecx, dword [ebp - 8]
and edx, 0xffffff00
imul eax, esi
shr eax, 8
or edx, eax
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], 0
add edi, 0x38
inc dword [ebp - 0xc]
add ecx, 4
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], ecx
jne 0x4bc2f0
mov ecx, 5
mov dword [0x7eaeb4], edi
call fcn.0043bca0
mov ecx, dword [0x7eaeb4]
mov esi, 6
mov edi, dword [ebp - 0x18]
lea edx, [ecx - 0x70]
movups xmm0, xmmword [edx]
lea edx, [edx - 0x38]
lea edi, [edi + 0x38]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x48]
movq qword [ecx + 0x10], xmm0
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x18], eax
movups xmm0, xmmword [edi - 0x38]
movups xmmword [ecx + 0x1c], xmm0
movq xmm0, qword [edi - 0x28]
movq qword [ecx + 0x2c], xmm0
mov eax, dword [edi - 0x20]
mov dword [ecx + 0x34], eax
add ecx, 0x38
sub esi, 1
jne 0x4bc460
mov dword [0x7eaeb4], ecx
lea ecx, [esi + 5]
call fcn.0043bca0
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
cmp al, 2
jb 0x4bc2b3
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret