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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, ecx
push edi
push ebx
mov dword [esp + 0x14], esi
mov eax, dword [esi]
call dword [eax + 0x14]
mov eax, dword [esi + 0x64]
movups xmm0, xmmword [0x71f0b0]
push 0x1000
push 0x71f0f8
movups xmmword [eax], xmm0
mov dword [esp + 0x1c], 0
movups xmm0, xmmword [0x71f0c0]
mov dword [esp + 0x20], 0
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x71f0d0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x71f0e0]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [0x71f0f0]
movq qword [eax + 0x40], xmm0
push dword [esi + 0x1074]
call fcn.0064fba0
add esp, 0xc
mov edi, 2
xor ebp, ebp
xor edx, edx
mov esi, dword [esp + 0x20]
lea eax, [edi - 2]
div ebx
mov eax, dword [esp + 0x20]
movzx ecx, byte [edx + eax]
xor edx, edx
lea eax, [edi - 1]
shl ecx, 8
div ebx
movzx eax, byte [edx + esi]
xor edx, edx
or ecx, eax
mov eax, edi
div ebx
shl ecx, 8
movzx eax, byte [edx + esi]
xor edx, edx
or ecx, eax
lea eax, [edi + 1]
div ebx
shl ecx, 8
add edi, 4
movzx eax, byte [edx + esi]
mov esi, dword [esp + 0x10]
or ecx, eax
mov eax, dword [esi + 0x64]
xor dword [eax + ebp], ecx
add ebp, 4
cmp ebp, 0x48
jb 0x699611
push dword [esi + 0x64]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00699780
xor edi, edi
nop dword [eax]
mov ecx, dword [esi + 0x64]
add ecx, edi
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, esi
call fcn.00699780
add edi, 8
cmp edi, 0x40
jb 0x699680
mov eax, dword [esi + 0x64]
mov ecx, esi
push dword [esi + 0x1074]
add eax, 0x40
push eax
call fcn.00699780
xor edi, edi
nop
mov ecx, dword [esi + 0x1074]
add ecx, edi
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, esi
call fcn.00699780
add edi, 8
cmp edi, 0xff8
jb 0x6996b0
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x699767
mov edx, dword [esi + 0x64]
mov ecx, dword [edx]
mov eax, dword [edx + 0x44]
mov dword [edx], eax
mov dword [edx + 0x44], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 0x40], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0x3c], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 0x38]
mov dword [edx + 0xc], eax
mov dword [edx + 0x38], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x34]
mov dword [edx + 0x10], eax
mov dword [edx + 0x34], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x30]
mov dword [edx + 0x14], eax
mov dword [edx + 0x30], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x2c]
mov dword [edx + 0x18], eax
mov dword [edx + 0x2c], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + 0x1c]
mov eax, dword [edx + 0x28]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x28], ecx
mov edx, dword [esi + 0x64]
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