According to its structure I'd say that this is SEAL (Software-Optimized Encryption Algorithm). It's difficult to describe how it works, because this kind of ciphers is very tricky. This algorithm uses 160 bit key and it uses 3 tables (R, S, T) to encode and decode.
I'll attach the image where you can see a process of creating a pseudo-random function: