HWID decoding in C++

Hi,

I’m trying to decode the HWID in C++ but with no luck. Is there an example for that in C++? Should it be decoded as UTF-8 or ISO-8859-1? Are there any modifications after decoding?

I have read all the topics and replies I could find on this forum. I also tried this website VMProtect Decode Hardware ID - Ajax Javascript Utility


My HWIDs :
aDBUvGX+SZeXe0ZRtjUGQTpD2jk=;
aDBUvGX+SZeXe0ZRkrOD2g==;

Thanks

		std::string hwid_str = "aDBUvGX+SZeXe0ZRtjUGQTpD2jk=";
		size_t len = hwid_str.size();
		uint8_t *hwid = new uint8_t[len];
		Base64Decode(hwid_str.c_str(), hwid_str.size(), hwid, len);
		for (size_t i = 0; i < len; i += 4) {
			uint32_t value = *reinterpret_cast<uint32_t *>(&hwid[i]);
			uint32_t id = value & ~3;
			switch (value & 3) {
			case 0:
				printf("CPU: %X\n", id);
				break;
			case 1:
				printf("Host: %X\n", id);
				break;
			case 2:
				printf("Ethernet: %X\n", id);
				break;
			case 3:
				printf("HDD: %X\n", id);
				break;
			}
		}
		delete [] hwid;

Thanks for this.
Website API Fixed.

could you post hwid decoding in Delphi (im using delphi 7) .. thanks..