Function at 0x4bbc20
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
push 0xffffffffffffffff
push 0x5bfce0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
push esi
push edi
mov eax, dword [0x6510e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
call fcn.004ad9e0
mov esi, dword [esi]
xor edi, edi
movzx eax, al
xor eax, 1
add eax, eax
mov edx, dword [esi + 0xd4]
mov ecx, dword [esi + 0x60]
mov edx, dword [edx]
sub eax, dword [edx + 0x40]
add eax, dword [esi + 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x5c]
cmp eax, ecx
je 0x4bbca6
cmp byte [eax + 0x28], 0
je 0x4bbc9f
add edi, dword [eax + 0x1c]
add eax, 0x70
cmp eax, ecx
jne 0x4bbc96
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov esi, dword [esi + 0x10]
mov ecx, dword [edx + 0x48]
add esi, dword [eax + 0x80]
mov eax, 1
cmp esi, eax
cmovb esi, eax
mov eax, dword [ecx + 0xd0]
add ecx, 0xd0
push esi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4bbd18
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [eax + 0x10]
lea eax, [ebp - 0x50]
movups xmmword [ebp - 0x40], xmm0
jmp 0x4bbd2c
xorps xmm0, xmm0
lea eax, [ebp - 0x90]
movups xmmword [ebp - 0x90], xmm0
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ecx]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4bbd90
movsd xmm0, qword [ebp - 0x70]
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x68]
movzx edi, al
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x60]
movzx esi, al
shl esi, 8
call fcn.005aacc0
mov ecx, dword [ebp - 0x18]
movzx edx, al
mov eax, edi
shl eax, 0x10
or eax, edx
shl edx, 0x10
or eax, esi
or edx, esi
mov esi, dword [ebp - 0x14]
or edx, edi
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x30], edx
mov ecx, dword [ebp - 0x1c]
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0047d160
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4bbdc4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [eax + 0x10]
lea eax, [ebp - 0x90]
movups xmmword [ebp - 0x80], xmm0
jmp 0x4bbdd2
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ecx]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4bbe33
movsd xmm0, qword [ebp - 0x70]
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x68]
movzx edi, al
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x60]
movzx esi, al
shl esi, 8
call fcn.005aacc0
mov edx, dword [ebp - 0x1c]
movzx ecx, al
mov eax, edi
shl eax, 0x10
or eax, ecx
shl ecx, 0x10
or eax, esi
or ecx, esi
mov esi, dword [ebp - 0x14]
or ecx, edi
mov dword [edx + 0x28], eax
mov dword [edx + 0x30], ecx
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0047d7f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xc]
movups xmm0, xmmword [eax]
movaps xmm1, xmm0
unpckhpd xmm1, xmm0
addsd xmm1, xmm0
addsd xmm1, qword [eax + 0x10]
mulsd xmm1, qword [0x61e268]
comisd xmm1, xmmword [0x61e488]
jae 0x4bbf08
mov eax, dword [edx + 0x4c]
xorps xmm0, xmm0
movsd xmm1, qword [0x61e270]
movups xmm2, xmmword [eax]
movups xmm3, xmmword [eax + 0x10]
mov eax, dword [ecx + 8]
movaps xmm4, xmm2
unpckhpd xmm2, xmm2
mulsd xmm2, xmm1
mov eax, dword [eax]
mulsd xmm3, xmm1
mulsd xmm4, xmm1
addsd xmm2, xmm0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
addsd xmm3, xmm0
addsd xmm4, xmm0
movups xmmword [ebp - 0x40], xmm2
movups xmmword [ebp - 0x60], xmm3
test eax, eax
je 0x4bbf08
movaps xmm0, xmm4
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x40]
movzx edi, al
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x60]
movzx esi, al
shl esi, 8
call fcn.005aacc0
mov edx, dword [ebp - 0x1c]
movzx ecx, al
mov eax, edi
shl eax, 0x10
or eax, ecx
shl ecx, 0x10
or eax, esi
or ecx, esi
mov esi, dword [ebp - 0x14]
or ecx, edi
mov dword [edx + 0x28], eax
mov dword [edx + 0x30], ecx
mov eax, dword [esi]
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x24]
cmp eax, 2
jge 0x4bbf24
mov dword [ebp - 0x24], 0
jmp 0x4bbf2a
sub eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp eax, 2
jge 0x4bbf3b
mov dword [ebp - 0x20], 0
jmp 0x4bbf41
sub eax, 2
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0047d160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4