How will a "local" master's in CSE look when I apply for a Graduate funding in the USA? Please refer to this previous question of mine:

As someone with low grades how can I prepare myself to study MSc in CS in USA?
Would it be a good idea to quit my job to prepare for the GRE and TOEFL?

I live in Bangladesh. With a background in IT, I am doing a job in a bank. I am 32. Honestly speaking I am done with my job. With an ambition to do a PhD from a USA/Canadian/German university, I have understood that my current job is actually going to get me nowhere.
Some answerers of the previous questions pointed out the importance of having a job in the related discipline, proving research capability, involving in research activity, being a part of a research group and so on.
After considering all these points, I am actually strongly planning to quit my job and get enrolled in a &quot;Masters with thesis&quot; program in CSE in a local university. My previous degree was in Information Technology which is, I guess, considered a professional discipline. So, I am going for a CSE degree. As far as I know, Information Technology degree is not considered a fundamental discipline.
My plan is this: (1) I shall complete a masters degree in CSE with a thesis, (2) write and publish one/two research articles and finally (3) complete GRE+TOEFL, if required.
And one more thing, I want to secure a funding either in the form of Assistant, Teaching Assistant(TA), Research Assistant, Research Fellow or anything else.
Please tell me about my prospect as a Masters-by-thesis candidate along with a funding after completing this series of actions.
Is the risk of quitting the job worth taken?
PhD positions in universities are limited and given to outstanding students who have a potential for research. If your aim is to pursue your PhD in USA/Germany/Canada etc., I'd highly suggest applying for a Master's in those countries UNLESS your local university is well-known, with good professors and coursework. Your application will be evaluated on:


Your GPA &amp; Test scores
Reputation of university you're graduating from (Master's, undergrad) // And as Daisetsu says, the researchers you work with 
Research aptitude
Reputation of the journals you're published in
Your statement of purpose
Letters of recommendation
Previous work experience


Also ask yourself, "Why a PhD?" What is your career trajectory and will a PhD help you? What about an MBA? How many years can you invest in this? 

To be honest, no one here can tell you your chances of getting into a University for a PhD apart from the admissions committee itself. Spend some more time reading up the requirements of the colleges you're keen on and then arrive at a well informed decision.

Best of luck!