Function at 0x64658c
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
movups xmm0, xmmword [0x6ac6b8]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push edi
push 0x1000
push 0x6ac700
mov eax, dword [esi + 0x68]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], 0
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x6ac6c8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x6ac6d8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x6ac6e8]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [0x6ac6f8]
movq qword [eax + 0x40], xmm0
push dword [esi + 0x1080]
call fcn.00603010
mov ebp, dword [esp + 0x30]
add esp, 0xc
xor ebx, ebx
mov edi, 2
nop dword [eax + eax]
xor edx, edx
mov esi, dword [esp + 0x20]
lea eax, [edi - 2]
div ebp
mov eax, dword [esp + 0x20]
movzx ecx, byte [edx + eax]
xor edx, edx
lea eax, [edi - 1]
shl ecx, 8
div ebp
movzx eax, byte [edx + esi]
xor edx, edx
or ecx, eax
mov eax, edi
div ebp
shl ecx, 8
movzx eax, byte [edx + esi]
xor edx, edx
or ecx, eax
lea eax, [edi + 1]
div ebp
shl ecx, 8
add edi, 4
movzx eax, byte [edx + esi]
mov esi, dword [esp + 0x10]
or ecx, eax
mov eax, dword [esi + 0x68]
xor dword [ebx + eax], ecx
add ebx, 4
cmp ebx, 0x48
jb 0x646600
push dword [esi + 0x68]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00646770
xor edi, edi
mov ecx, dword [esi + 0x68]
add ecx, edi
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, esi
call fcn.00646770
add edi, 8
cmp edi, 0x40
jb 0x646668
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [esi + 0x1080]
add eax, 0x40
push eax
call fcn.00646770
xor edi, edi
nop word [eax + eax]
mov ecx, dword [esi + 0x1080]
add ecx, edi
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, esi
call fcn.00646770
add edi, 8
cmp edi, 0xff8
jb 0x6466a0
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x646757
mov edx, dword [esi + 0x68]
mov ecx, dword [edx]
mov eax, dword [edx + 0x44]
mov dword [edx], eax
mov dword [edx + 0x44], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 0x40], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0x3c], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 0x38]
mov dword [edx + 0xc], eax
mov dword [edx + 0x38], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x34]
mov dword [edx + 0x10], eax
mov dword [edx + 0x34], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x30]
mov dword [edx + 0x14], eax
mov dword [edx + 0x30], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x2c]
mov dword [edx + 0x18], eax
mov dword [edx + 0x2c], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 0x1c]
mov eax, dword [edx + 0x28]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x28], ecx
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc