Function at 0x64cd40
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c
call fcn.004c03f0
push 0x1048
push 0x6de7c8
mov eax, dword [ebp + 8]
push eax
call fcn.004bd990
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0x48
jle 0x64cd76
mov dword [ebp + 0xc], 0x48
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
jmp 0x64cd97
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x12
jge 0x64ce5f
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x64cdc1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x64cded
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x64ce19
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x64ce45
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
jmp 0x64cd8e
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x64ce7f
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jge 0x64ceb0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0064b800
add esp, 8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4 + 4], edx
jmp 0x64ce76
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x64cecb
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x400
jge 0x64ceff
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0064b800
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 4], eax
jmp 0x64cec2
mov esp, ebp
pop ebp
ret