Function at 0x449871
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, 0xe0
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov ecx, edx
mov dword [ebp - 0x54], edi
lea edx, [esi + 7]
shl edx, 8
mov eax, dword [edi + 0xd0b8]
add edx, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0xcc]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x280]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + esi*4 + 0xa18]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 4]
shl eax, 8
add eax, ecx
mov dword [ebp - 0x34], eax
lea eax, [esi + esi*2]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx + 0xa30]
movzx eax, word [eax]
mov word [ebp - 0x14], ax
mov eax, dword [ecx + 0xa34]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [eax]
mov word [ebp - 0x12], ax
xor eax, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x449ad5
lea ecx, [esi + esi*2]
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
mov ecx, dword [ebp - 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
movups xmmword [ebp - 0xd0], xmm0
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
movups xmmword [ebp - 0xc0], xmm0
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, ecx
and eax, 0x700
cmp eax, 0x100
mov eax, 0
movups xmmword [ebp - 0xb0], xmm0
setne al
shr ecx, 2
and ecx, 0x3f
mov dword [ebp - 0x48], eax
add ecx, dword [ebp - 0x30]
xor esi, esi
movups xmmword [ebp - 0xa0], xmm0
movups xmmword [ebp - 0x90], xmm0
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx + eax*4 + 0xa30]
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
lea ecx, [esi*4]
mov dword [ebp - 0x4c], esi
mov eax, dword [ecx + edx]
lea edi, [ecx + edx]
test eax, eax
jne 0x449a81
mov eax, dword [ebp - 0x34]
add eax, ecx
mov dword [ebp - 0x38], eax
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
mov cl, byte [edx + eax]
inc edx
movzx eax, cl
mov byte [ebp - 1], cl
mov eax, dword [eax*4 + 0x4a28a0]
mov dword [ebp - 8], eax
cmp cl, 0xf
jae 0x449a05
cmp cl, 0xc
sbb ecx, ecx
and ecx, 0x15
cmp byte [ebp - 1], 2
sbb eax, eax
and eax, 0xfffffff3
add ecx, eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [edx + eax]
shl eax, cl
add dword [ebp - 8], eax
inc edx
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 8]
sar eax, 8
and eax, 0xfff
test cl, cl
jne 0x449a2a
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [edx + ecx]
inc edx
shl ecx, 8
add eax, ecx
mov ecx, eax
test ecx, ecx
mov ecx, 0x7fffffff
cmove eax, ecx
mov ecx, dword [ebp - 0x38]
mov dword [edi], eax
mov dword [ecx], edx
mov ecx, dword [ebp - 8]
movzx ecx, cl
add esi, ecx
mov ecx, dword [ebp - 8]
mov edx, ecx
sar ecx, 0x15
and edx, 0x100000
neg edx
sar edx, 0x15
xor edx, ecx
mov ecx, dword [ebp - 0x3c]
movsx edx, dx
movsx ecx, word [ecx + esi*2]
imul edx, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, byte [esi + ecx]
mov word [ebp + ecx*2 - 0xe0], dx
xor ecx, ecx
mov edx, dword [ebp - 0x20]
test eax, eax
sete cl
add esi, ecx
cmp esi, 0x40
jl 0x4499a1
jmp 0x449a85
dec eax
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x54]
mov ax, word [eax + 2]
mov word [ebp - 0xe0], ax
movzx eax, word [ebp + esi*2 - 0x14]
mov esi, dword [ebx + 8]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0xe0]
push eax
mov eax, dword [edi + 0x54]
push esi
push dword [ebp - 0x50]
push edi
call eax
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
inc eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
cmp eax, ecx
jl 0x449921
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
jmp 0x449adb
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
lea eax, [eax + ecx*4]
mov dword [edx], eax
mov edx, dword [ebp - 0x10]
push esi
push 1
push 2
mov ecx, dword [edx + esi*4 + 0xa24]
mov eax, ecx
neg eax
shl eax, 2
add dword [edx + esi*4 + 0xa0c], eax
mov eax, dword [edi + 0x58]
push ecx
push dword [edx + esi*4 + 0xa0c]
push edi
call eax
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret