can I sue a company that is home office in another state but has registered agent in my state for work done in my state?
Likely based both on the fact that the registered agent is here and the work was performed here. However, where to sue can be complicated and it can depend on many factors. For example, if it is a contract dispute, the contract might dictate where the lawsuit would have to be filed. Have a local attorney review your case before proceeding.
Probably, but I'd want all the details. In some cases other facts dictate where you sue (including contractual language).