Function at 0x66fd00
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, 0x10
sub esi, 0x88e78c
push edi
mov edi, ecx
mov dword [esp + 0x20], esi
mov ecx, 8
mov edx, 0xc
mov dword [edi + 8], eax
mov esi, 0x14
xor eax, eax
sub ecx, 0x88e78c
sub edx, 0x88e78c
sub esi, 0x88e78c
mov dword [esp + 0x10], esi
mov ebx, dword [eax + 0x88e788]
mov esi, dword [edi]
mov dword [eax + esi], ebx
mov ebx, dword [eax + 0x88e78c]
mov esi, dword [edi]
mov dword [eax + esi + 4], ebx
mov ebp, dword [eax + 0x88e790]
mov ebx, dword [edi]
lea esi, [ecx + eax + 0x88e78c]
mov dword [esi + ebx], ebp
mov ebp, dword [eax + 0x88e794]
mov ebx, dword [edi]
lea esi, [edx + eax + 0x88e78c]
mov dword [esi + ebx], ebp
mov ebp, dword [eax + 0x88e798]
mov esi, dword [esp + 0x20]
mov ebx, dword [edi]
lea esi, [esi + eax + 0x88e78c]
mov dword [esi + ebx], ebp
mov esi, dword [esp + 0x10]
mov ebp, dword [eax + 0x88e79c]
mov ebx, dword [edi]
lea esi, [esi + eax + 0x88e78c]
add eax, 0x18
cmp eax, 0x48
mov dword [esi + ebx], ebp
jl 0x66fd44
mov esi, 8
sub esi, 0x88e7d4
xor ecx, ecx
lea edx, [ecx + 0xc]
mov dword [esp + 0x20], 0x40
jmp 0x66fdd0
mov ebp, dword [ecx + 0x88e7d0]
mov ebx, dword [edi + 4]
lea eax, [ecx + 0x88e7d4]
mov dword [ecx + ebx], ebp
mov ebp, dword [eax]
mov ebx, dword [edi + 4]
mov dword [ecx + ebx + 4], ebp
mov ebx, dword [edi + 4]
mov ebp, dword [eax + 4]
add ebx, eax
mov dword [ebx + esi], ebp
mov ebx, dword [edi + 4]
mov eax, dword [eax + 8]
mov dword [edx + ebx], eax
add ecx, 0x10
add edx, 0x10
sub dword [esp + 0x20], 1
jne 0x66fdd0
cmp ecx, 0x1000
jl 0x66fdc0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
xor ebp, ebp
lea ebx, [ebp + 0xc]
movzx edx, byte [esi + ebp]
mov byte [esp + 0x23], dl
lea eax, [ebp + 1]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x22], al
lea eax, [ebp + 2]
cdq
idiv ecx
lea eax, [ebp + 3]
movzx edx, byte [edx + esi]
mov byte [esp + 0x21], dl
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x20], al
mov edx, dword [edi]
lea eax, [ebx + edx - 0xc]
mov edx, dword [esp + 0x20]
xor dword [eax], edx
lea eax, [ebp + 4]
cdq
idiv ecx
mov ebp, edx
movzx eax, byte [esi + ebp]
mov byte [esp + 0x23], al
lea eax, [ebp + 1]
cdq
idiv ecx
lea eax, [ebp + 2]
movzx edx, byte [edx + esi]
mov byte [esp + 0x22], dl
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x21], al
lea eax, [ebp + 3]
cdq
idiv ecx
mov eax, dword [edi]
lea eax, [ebx + eax - 8]
movzx edx, byte [edx + esi]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
lea eax, [ebp + 4]
cdq
idiv ecx
mov ebp, edx
movzx eax, byte [esi + ebp]
mov byte [esp + 0x23], al
lea eax, [ebp + 1]
cdq
idiv ecx
lea eax, [ebp + 2]
movzx edx, byte [edx + esi]
mov byte [esp + 0x22], dl
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x21], al
lea eax, [ebp + 3]
cdq
idiv ecx
mov eax, dword [edi]
lea eax, [ebx + eax - 4]
movzx edx, byte [edx + esi]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
lea eax, [ebp + 4]
cdq
idiv ecx
mov ebp, edx
movzx eax, byte [esi + ebp]
mov byte [esp + 0x23], al
lea eax, [ebp + 1]
cdq
idiv ecx
movzx edx, byte [edx + esi]
mov byte [esp + 0x22], dl
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x21], al
lea eax, [ebp + 3]
cdq
idiv ecx
mov eax, dword [edi]
add eax, ebx
movzx edx, byte [edx + esi]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
lea eax, [ebp + 4]
cdq
idiv ecx
mov ebp, edx
movzx eax, byte [esi + ebp]
mov byte [esp + 0x23], al
lea eax, [ebp + 1]
cdq
idiv ecx
lea eax, [ebp + 2]
movzx edx, byte [edx + esi]
mov byte [esp + 0x22], dl
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x21], al
lea eax, [ebp + 3]
cdq
idiv ecx
mov eax, dword [edi]
lea eax, [ebx + eax + 4]
movzx edx, byte [edx + esi]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
lea eax, [ebp + 4]
cdq
idiv ecx
mov ebp, edx
movzx eax, byte [esi + ebp]
mov byte [esp + 0x23], al
lea eax, [ebp + 1]
cdq
idiv ecx
lea eax, [ebp + 2]
movzx edx, byte [edx + esi]
mov byte [esp + 0x22], dl
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [esp + 0x21], al
lea eax, [ebp + 3]
cdq
idiv ecx
mov eax, dword [edi]
lea eax, [ebx + eax + 8]
add ebx, 0x18
movzx edx, byte [edx + esi]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
lea eax, [ebp + 4]
cdq
idiv ecx
cmp ebx, 0x54
mov ebp, edx
jl 0x66fe21
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
xor esi, esi
jmp 0x66ffe0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0066f5f0
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
mov dword [esi + ecx + 4], edx
add esi, 8
cmp esi, 0x48
jl 0x66ffe0
xor esi, esi
mov edi, edi
mov ebx, 0x80
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0066f5f0
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov dword [ecx + esi + 4], edx
add esi, 8
sub ebx, 1
jne 0x670015
cmp esi, 0x1000
jl 0x670010
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc