Software Modernisation
How to Rebuild a Software System Without Source Code
Published on 13 July 2026 | 8 min read
Many Malaysian organisations run on custom software built years ago by a vendor, a contractor or a staff member who has since moved on. It works, so nobody touches it.
Then a change is needed. A new regulation, a new report, a new system to connect to. And you discover that nobody has the source code, or the code you have does not match what is running.
You are not stuck. With authorised analysis of the running system, proper requirements documentation and independent development, a replacement can be built that does what the old system did, and that you fully own this time.
Why do organisations lose access to source code?
It happens more often than people admit. Common causes:
- The vendor closed down or was acquired, and the code went with it.
- The project handover was incomplete. The system was delivered and paid for, but the code, credentials and deployment notes never were.
- Documentation was poor or absent, so even with code, nobody can work out how to build or deploy it.
- The technology is outdated. The code exists but needs a framework, language version or server that is no longer supported.
- Vendor dependency. Only one company can change the system, and the relationship has ended or become too expensive.
- The repository is missing. The code lived on one developer’s laptop or an old server that has since been wiped.
- Ownership is disputed. The contract does not clearly say who owns the code, and the vendor will not release it.
Can software be rebuilt without the original source code?
Usually, yes. Most business software does things you can observe: it takes inputs, applies rules, stores data and produces outputs. By studying that behaviour carefully, a team can write a specification and build a new system that meets it. This is the approach described in our guide to black box software development.
Be clear about the limits, though. A rebuild recreates functionality, not the original code. Logic that runs rarely or invisibly may be missed unless someone looks for it. Historical data can only be migrated if you can get it out of the old system. A good assessment tells you early how much of each risk you are carrying.
Seven steps to rebuild existing software
Step 1: Conduct a technical assessment
Before anything is designed or quoted, find out what you are dealing with:
- Modules and features in use, and which are no longer used.
- User roles and how many people rely on each.
- Integrations: other systems the application exchanges data with, including scheduled jobs and file transfers.
- Infrastructure: where it runs, operating system, database engine and version.
- Data sources: where data lives, how large it is, and whether you can read it directly.
The output is a short report with risks and realistic options, not a commitment to rebuild.
Step 2: Perform authorised black box analysis
With written authorisation from the system owner, the team studies the running system: workflows, inputs, outputs, validation messages and business rules. They sit with real users, record sessions, and deliberately test edge cases such as rejected applications, overdue payments and year-end processing.
If the software was licensed from a third party, check the licence first. Some agreements restrict analysis. The aim is to recreate what the system does, not to copy its code.
Step 3: Prepare a Software Requirement Specification
The findings become an SRS, which is the contract between your organisation and whoever builds the new system. It should cover:
- Functional requirements: every feature, screen and rule.
- Non-functional requirements: performance, availability, security, accessibility and data retention.
- User permissions: who can see, create, approve and delete what.
- Acceptance criteria: testable conditions for each requirement.
A good SRS is also what makes quotations comparable. Without one, every vendor quotes a different system.
Step 4: Design the new architecture
Now decide how the new system will be built. For most business applications this means:
- A Laravel web application for business logic and admin screens.
- APIs for mobile apps and other systems to connect to.
- A database chosen for your skills, licensing and integration needs, such as MySQL, PostgreSQL or Microsoft SQL Server.
- Authentication that fits your environment, from simple logins to single sign-on.
- Infrastructure in the cloud or on your own servers, depending on policy and data residency.
- Monitoring and logging, so problems are seen before users report them.
Step 5: Plan the data migration
Data is often the most valuable part of an old system, and the riskiest to move. Plan it as its own workstream:
- Mapping: match every old table and field to its new home, including codes and statuses that change meaning.
- Backups: take a full, verified backup before any migration run.
- Test migrations: run the migration repeatedly on copies, not once on go-live day.
- Reconciliation: compare record counts, totals and sample records between old and new.
- Rollback: decide in advance how you will return to the old system if something fails.
Step 6: Develop and test
Build in modules, starting with the parts users depend on most. Test as you go:
- Automated tests for business rules, so changes do not break them later.
- Integration tests for every connected system.
- Security validation, including access control, input validation and a review against common web vulnerabilities.
- User acceptance testing (UAT), where real users run real scenarios and sign off.
Step 7: Deploy and transition
Avoid a single “big bang” switch where you can:
- Phased rollout: move one module, branch or user group at a time.
- Parallel operation: run old and new side by side for a period and compare results.
- User training: short, hands-on sessions focused on what has changed.
- Post-deployment support: a defined period of close support, then ongoing maintenance.
Finally, make sure you receive the source code, documentation, deployment notes and credentials. That is what stops this from happening again.
How much does software rebuilding cost in Malaysia?
There is no honest fixed price. Two systems with the same name can differ tenfold in effort. The main cost factors are:
- Application complexity: how many business rules, calculations and exceptions.
- Number of modules and user roles.
- Integrations with other systems, especially older ones.
- Data migration: volume, quality and how accessible the data is.
- Security requirements, including audits or penetration testing.
- Testing: the depth of automated testing and UAT.
- Deployment: infrastructure, environments and go-live support.
- Maintenance after launch.
Be wary of a precise quotation given before anyone has looked at the system. An assessment, followed by an SRS, is what makes an accurate quote possible.
Rebuild vs modernise vs replace
| Approach | What it means | Benefits | Limitations | Suitable when |
|---|---|---|---|---|
| Rebuild | Develop a new custom system from documented requirements | Fits your processes exactly; you own the code | Highest upfront effort; needs strong requirements | The code is lost, or the system is too old to fix, and your processes are specific |
| Modernise | Improve the existing system: upgrade, refactor, add APIs | Lower risk; keeps what works | Needs usable source code | You have the code and the core design is sound |
| Replace | Adopt an existing product or platform | Faster to start; vendor maintains it | Process changes; possible new lock-in | Your needs are standard, such as accounting or payroll |
Many projects mix approaches: replace a standard module, rebuild the specialised one. Our legacy system modernisation guide covers each option in more depth. If the real problem is a vendor who will not let go, read how to deal with software vendor lock-in first.
How Tarsoft supports software rebuilding
Tarsoft is a software company in Shah Alam. We handle the full path from assessment to support:
- Requirements analysis and SRS preparation.
- Laravel web applications and admin systems.
- Flutter mobile apps for staff, students or customers.
- API integration with existing and third-party systems.
- Deployment and support, with source code and documentation handed over to you.
See the systems we build.
Frequently asked questions
Can I rebuild an application if the developer disappears?
Yes. As long as you can access the running system and its users, its behaviour can be analysed and documented, and a new system built to match. Access to the database makes the job considerably easier.
Can an existing database be migrated?
Usually. If you can read the database directly or export it, data can be mapped, cleaned and moved. If the data is locked or encrypted by the vendor, check your contract for data access rights before planning the migration.
How long does rebuilding software take?
It depends on size. A focused system with a few modules may take a few months; a large system with many integrations takes longer and is best delivered in phases. A timeline is only reliable after the assessment.
Is rebuilding cheaper than upgrading?
Not always. If you have usable code, upgrading is often cheaper. Rebuilding tends to win when the code is missing, the platform is unsupported, or years of patches make every change expensive.
What should I prepare before requesting a quotation?
A list of modules and user roles, screenshots or recordings of key workflows, sample reports, details of connected systems, information about the database, and your contract with the original vendor.
No access to your existing source code?
Start with an assessment so you know your real options before committing. Request a system assessment from Tarsoft, or, for government agencies, request a quotation.
- #Software Rebuilding
- #Legacy Software
- #Source Code
- #System Migration
- #Malaysia