Skip to content

Instantly share code, notes, and snippets.

@danielmarschall
Last active April 6, 2024 19:22
Show Gist options
  • Save danielmarschall/0fadded4dbba7d790cc0f40723ec5990 to your computer and use it in GitHub Desktop.
Save danielmarschall/0fadded4dbba7d790cc0f40723ec5990 to your computer and use it in GitHub Desktop.
rustdesk_testcert.cpp
BOOL isCertWdkTestCert(char* lpBlobData, size_t cchBlobData) {
// Verify that the certificate is SHA1 = D1DBB672D5A500B9809689CAEA1CE49E799767F0
// by binary comparison
const size_t testCertLength = 0x310;
if (cchBlobData < testCertLength) return FALSE;
// The certificate (DER Encoded) is at the end of the Blob and the variable length management information is at the front.
size_t i = cchBlobData - testCertLength;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x0C) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0xF4) return FALSE;
if (lpBlobData[i++] != 0xA0) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x10) return FALSE;
if (lpBlobData[i++] != 0x17) return FALSE;
if (lpBlobData[i++] != 0x93) return FALSE;
if (lpBlobData[i++] != 0x62) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0xFA) return FALSE;
if (lpBlobData[i++] != 0xCD) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x83) return FALSE;
if (lpBlobData[i++] != 0x49) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0xC3) return FALSE;
if (lpBlobData[i++] != 0x14) return FALSE;
if (lpBlobData[i++] != 0xEC) return FALSE;
if (lpBlobData[i++] != 0x83) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x09) return FALSE;
if (lpBlobData[i++] != 0x2A) return FALSE;
if (lpBlobData[i++] != 0x86) return FALSE;
if (lpBlobData[i++] != 0x48) return FALSE;
if (lpBlobData[i++] != 0x86) return FALSE;
if (lpBlobData[i++] != 0xF7) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x2F) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x2D) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x55) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x13) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0x57) return FALSE;
if (lpBlobData[i++] != 0x44) return FALSE;
if (lpBlobData[i++] != 0x4B) return FALSE;
if (lpBlobData[i++] != 0x54) return FALSE;
if (lpBlobData[i++] != 0x65) return FALSE;
if (lpBlobData[i++] != 0x73) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0x43) return FALSE;
if (lpBlobData[i++] != 0x65) return FALSE;
if (lpBlobData[i++] != 0x72) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0x20) return FALSE;
if (lpBlobData[i++] != 0x61) return FALSE;
if (lpBlobData[i++] != 0x64) return FALSE;
if (lpBlobData[i++] != 0x6D) return FALSE;
if (lpBlobData[i++] != 0x69) return FALSE;
if (lpBlobData[i++] != 0x6E) return FALSE;
if (lpBlobData[i++] != 0x2C) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x34) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x36) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x1E) return FALSE;
if (lpBlobData[i++] != 0x17) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x36) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x5A) return FALSE;
if (lpBlobData[i++] != 0x17) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x36) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x5A) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x2F) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x2D) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x55) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x13) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0x57) return FALSE;
if (lpBlobData[i++] != 0x44) return FALSE;
if (lpBlobData[i++] != 0x4B) return FALSE;
if (lpBlobData[i++] != 0x54) return FALSE;
if (lpBlobData[i++] != 0x65) return FALSE;
if (lpBlobData[i++] != 0x73) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0x43) return FALSE;
if (lpBlobData[i++] != 0x65) return FALSE;
if (lpBlobData[i++] != 0x72) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0x20) return FALSE;
if (lpBlobData[i++] != 0x61) return FALSE;
if (lpBlobData[i++] != 0x64) return FALSE;
if (lpBlobData[i++] != 0x6D) return FALSE;
if (lpBlobData[i++] != 0x69) return FALSE;
if (lpBlobData[i++] != 0x6E) return FALSE;
if (lpBlobData[i++] != 0x2C) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x34) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x36) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x22) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x09) return FALSE;
if (lpBlobData[i++] != 0x2A) return FALSE;
if (lpBlobData[i++] != 0x86) return FALSE;
if (lpBlobData[i++] != 0x48) return FALSE;
if (lpBlobData[i++] != 0x86) return FALSE;
if (lpBlobData[i++] != 0xF7) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x0F) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x0A) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0xB8) return FALSE;
if (lpBlobData[i++] != 0x65) return FALSE;
if (lpBlobData[i++] != 0x75) return FALSE;
if (lpBlobData[i++] != 0xAC) return FALSE;
if (lpBlobData[i++] != 0xD1) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0xFC) return FALSE;
if (lpBlobData[i++] != 0x3A) return FALSE;
if (lpBlobData[i++] != 0x08) return FALSE;
if (lpBlobData[i++] != 0xE4) return FALSE;
if (lpBlobData[i++] != 0x1D) return FALSE;
if (lpBlobData[i++] != 0xD9) return FALSE;
if (lpBlobData[i++] != 0x4D) return FALSE;
if (lpBlobData[i++] != 0x5A) return FALSE;
if (lpBlobData[i++] != 0xCD) return FALSE;
if (lpBlobData[i++] != 0x88) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0xDC) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0xFD) return FALSE;
if (lpBlobData[i++] != 0x6B) return FALSE;
if (lpBlobData[i++] != 0x43) return FALSE;
if (lpBlobData[i++] != 0x13) return FALSE;
if (lpBlobData[i++] != 0xED) return FALSE;
if (lpBlobData[i++] != 0xE2) return FALSE;
if (lpBlobData[i++] != 0xCB) return FALSE;
if (lpBlobData[i++] != 0xD1) return FALSE;
if (lpBlobData[i++] != 0x26) return FALSE;
if (lpBlobData[i++] != 0x11) return FALSE;
if (lpBlobData[i++] != 0x22) return FALSE;
if (lpBlobData[i++] != 0xBF) return FALSE;
if (lpBlobData[i++] != 0x20) return FALSE;
if (lpBlobData[i++] != 0x31) return FALSE;
if (lpBlobData[i++] != 0x09) return FALSE;
if (lpBlobData[i++] != 0x9D) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x47) return FALSE;
if (lpBlobData[i++] != 0xF5) return FALSE;
if (lpBlobData[i++] != 0xAA) return FALSE;
if (lpBlobData[i++] != 0xCE) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0x13) return FALSE;
if (lpBlobData[i++] != 0x98) return FALSE;
if (lpBlobData[i++] != 0xE0) return FALSE;
if (lpBlobData[i++] != 0x76) return FALSE;
if (lpBlobData[i++] != 0x40) return FALSE;
if (lpBlobData[i++] != 0xDD) return FALSE;
if (lpBlobData[i++] != 0x2C) return FALSE;
if (lpBlobData[i++] != 0xCA) return FALSE;
if (lpBlobData[i++] != 0x98) return FALSE;
if (lpBlobData[i++] != 0xD1) return FALSE;
if (lpBlobData[i++] != 0xBB) return FALSE;
if (lpBlobData[i++] != 0x7F) return FALSE;
if (lpBlobData[i++] != 0xE2) return FALSE;
if (lpBlobData[i++] != 0x25) return FALSE;
if (lpBlobData[i++] != 0xAF) return FALSE;
if (lpBlobData[i++] != 0x48) return FALSE;
if (lpBlobData[i++] != 0x3A) return FALSE;
if (lpBlobData[i++] != 0x4E) return FALSE;
if (lpBlobData[i++] != 0x9E) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0x38) return FALSE;
if (lpBlobData[i++] != 0x4D) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0xF0) return FALSE;
if (lpBlobData[i++] != 0x68) return FALSE;
if (lpBlobData[i++] != 0xAD) return FALSE;
if (lpBlobData[i++] != 0x7C) return FALSE;
if (lpBlobData[i++] != 0x6F) return FALSE;
if (lpBlobData[i++] != 0xA6) return FALSE;
if (lpBlobData[i++] != 0xBB) return FALSE;
if (lpBlobData[i++] != 0xE4) return FALSE;
if (lpBlobData[i++] != 0x9B) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0x7C) return FALSE;
if (lpBlobData[i++] != 0x8E) return FALSE;
if (lpBlobData[i++] != 0x2E) return FALSE;
if (lpBlobData[i++] != 0x54) return FALSE;
if (lpBlobData[i++] != 0x7D) return FALSE;
if (lpBlobData[i++] != 0x5E) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0xA6) return FALSE;
if (lpBlobData[i++] != 0x3D) return FALSE;
if (lpBlobData[i++] != 0xD9) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x22) return FALSE;
if (lpBlobData[i++] != 0x0A) return FALSE;
if (lpBlobData[i++] != 0x3E) return FALSE;
if (lpBlobData[i++] != 0xC7) return FALSE;
if (lpBlobData[i++] != 0x5C) return FALSE;
if (lpBlobData[i++] != 0xAB) return FALSE;
if (lpBlobData[i++] != 0x1F) return FALSE;
if (lpBlobData[i++] != 0x4D) return FALSE;
if (lpBlobData[i++] != 0x10) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x2A) return FALSE;
if (lpBlobData[i++] != 0x95) return FALSE;
if (lpBlobData[i++] != 0x1A) return FALSE;
if (lpBlobData[i++] != 0x1B) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x20) return FALSE;
if (lpBlobData[i++] != 0x75) return FALSE;
if (lpBlobData[i++] != 0x3E) return FALSE;
if (lpBlobData[i++] != 0x49) return FALSE;
if (lpBlobData[i++] != 0x36) return FALSE;
if (lpBlobData[i++] != 0x40) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x63) return FALSE;
if (lpBlobData[i++] != 0xDB) return FALSE;
if (lpBlobData[i++] != 0x54) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0x53) return FALSE;
if (lpBlobData[i++] != 0x3C) return FALSE;
if (lpBlobData[i++] != 0x2D) return FALSE;
if (lpBlobData[i++] != 0x47) return FALSE;
if (lpBlobData[i++] != 0xE0) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0xDD) return FALSE;
if (lpBlobData[i++] != 0x14) return FALSE;
if (lpBlobData[i++] != 0x92) return FALSE;
if (lpBlobData[i++] != 0xCC) return FALSE;
if (lpBlobData[i++] != 0xF1) return FALSE;
if (lpBlobData[i++] != 0x1A) return FALSE;
if (lpBlobData[i++] != 0x5A) return FALSE;
if (lpBlobData[i++] != 0x7F) return FALSE;
if (lpBlobData[i++] != 0x5B) return FALSE;
if (lpBlobData[i++] != 0x4F) return FALSE;
if (lpBlobData[i++] != 0x2E) return FALSE;
if (lpBlobData[i++] != 0x94) return FALSE;
if (lpBlobData[i++] != 0x1E) return FALSE;
if (lpBlobData[i++] != 0xCE) return FALSE;
if (lpBlobData[i++] != 0x5A) return FALSE;
if (lpBlobData[i++] != 0x73) return FALSE;
if (lpBlobData[i++] != 0xD4) return FALSE;
if (lpBlobData[i++] != 0x70) return FALSE;
if (lpBlobData[i++] != 0x47) return FALSE;
if (lpBlobData[i++] != 0xF3) return FALSE;
if (lpBlobData[i++] != 0x3E) return FALSE;
if (lpBlobData[i++] != 0x85) return FALSE;
if (lpBlobData[i++] != 0x5C) return FALSE;
if (lpBlobData[i++] != 0x62) return FALSE;
if (lpBlobData[i++] != 0xF5) return FALSE;
if (lpBlobData[i++] != 0x79) return FALSE;
if (lpBlobData[i++] != 0x0F) return FALSE;
if (lpBlobData[i++] != 0x4B) return FALSE;
if (lpBlobData[i++] != 0xB9) return FALSE;
if (lpBlobData[i++] != 0x69) return FALSE;
if (lpBlobData[i++] != 0x51) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0xF1) return FALSE;
if (lpBlobData[i++] != 0xDF) return FALSE;
if (lpBlobData[i++] != 0xE5) return FALSE;
if (lpBlobData[i++] != 0x4E) return FALSE;
if (lpBlobData[i++] != 0x6E) return FALSE;
if (lpBlobData[i++] != 0x28) return FALSE;
if (lpBlobData[i++] != 0xC6) return FALSE;
if (lpBlobData[i++] != 0x88) return FALSE;
if (lpBlobData[i++] != 0x89) return FALSE;
if (lpBlobData[i++] != 0x9A) return FALSE;
if (lpBlobData[i++] != 0xEF) return FALSE;
if (lpBlobData[i++] != 0x07) return FALSE;
if (lpBlobData[i++] != 0x62) return FALSE;
if (lpBlobData[i++] != 0x23) return FALSE;
if (lpBlobData[i++] != 0x53) return FALSE;
if (lpBlobData[i++] != 0x6A) return FALSE;
if (lpBlobData[i++] != 0x16) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0x3A) return FALSE;
if (lpBlobData[i++] != 0xF7) return FALSE;
if (lpBlobData[i++] != 0x10) return FALSE;
if (lpBlobData[i++] != 0x1B) return FALSE;
if (lpBlobData[i++] != 0x42) return FALSE;
if (lpBlobData[i++] != 0xCE) return FALSE;
if (lpBlobData[i++] != 0xEE) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0xB9) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x8A) return FALSE;
if (lpBlobData[i++] != 0xAB) return FALSE;
if (lpBlobData[i++] != 0x14) return FALSE;
if (lpBlobData[i++] != 0x73) return FALSE;
if (lpBlobData[i++] != 0xC5) return FALSE;
if (lpBlobData[i++] != 0xC3) return FALSE;
if (lpBlobData[i++] != 0x94) return FALSE;
if (lpBlobData[i++] != 0x2D) return FALSE;
if (lpBlobData[i++] != 0xEB) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0xAE) return FALSE;
if (lpBlobData[i++] != 0x73) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0x78) return FALSE;
if (lpBlobData[i++] != 0x65) return FALSE;
if (lpBlobData[i++] != 0x8B) return FALSE;
if (lpBlobData[i++] != 0x8F) return FALSE;
if (lpBlobData[i++] != 0x44) return FALSE;
if (lpBlobData[i++] != 0xBD) return FALSE;
if (lpBlobData[i++] != 0xF8) return FALSE;
if (lpBlobData[i++] != 0xBC) return FALSE;
if (lpBlobData[i++] != 0xE8) return FALSE;
if (lpBlobData[i++] != 0xB3) return FALSE;
if (lpBlobData[i++] != 0x6A) return FALSE;
if (lpBlobData[i++] != 0x4E) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0x4F) return FALSE;
if (lpBlobData[i++] != 0x92) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0x72) return FALSE;
if (lpBlobData[i++] != 0xD9) return FALSE;
if (lpBlobData[i++] != 0x6D) return FALSE;
if (lpBlobData[i++] != 0xD1) return FALSE;
if (lpBlobData[i++] != 0x88) return FALSE;
if (lpBlobData[i++] != 0x5E) return FALSE;
if (lpBlobData[i++] != 0x1C) return FALSE;
if (lpBlobData[i++] != 0xFF) return FALSE;
if (lpBlobData[i++] != 0x8D) return FALSE;
if (lpBlobData[i++] != 0xF1) return FALSE;
if (lpBlobData[i++] != 0x76) return FALSE;
if (lpBlobData[i++] != 0xBC) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x4B) return FALSE;
if (lpBlobData[i++] != 0x11) return FALSE;
if (lpBlobData[i++] != 0x48) return FALSE;
if (lpBlobData[i++] != 0xB5) return FALSE;
if (lpBlobData[i++] != 0x8D) return FALSE;
if (lpBlobData[i++] != 0x1D) return FALSE;
if (lpBlobData[i++] != 0x1C) return FALSE;
if (lpBlobData[i++] != 0xEC) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x11) return FALSE;
if (lpBlobData[i++] != 0x50) return FALSE;
if (lpBlobData[i++] != 0xC6) return FALSE;
if (lpBlobData[i++] != 0xFF) return FALSE;
if (lpBlobData[i++] != 0x3A) return FALSE;
if (lpBlobData[i++] != 0x7E) return FALSE;
if (lpBlobData[i++] != 0x3A) return FALSE;
if (lpBlobData[i++] != 0x8C) return FALSE;
if (lpBlobData[i++] != 0x18) return FALSE;
if (lpBlobData[i++] != 0xF7) return FALSE;
if (lpBlobData[i++] != 0xA6) return FALSE;
if (lpBlobData[i++] != 0xEB) return FALSE;
if (lpBlobData[i++] != 0xAA) return FALSE;
if (lpBlobData[i++] != 0x26) return FALSE;
if (lpBlobData[i++] != 0x8E) return FALSE;
if (lpBlobData[i++] != 0xC6) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0x50) return FALSE;
if (lpBlobData[i++] != 0x6A) return FALSE;
if (lpBlobData[i++] != 0xFA) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x3C) return FALSE;
if (lpBlobData[i++] != 0xBE) return FALSE;
if (lpBlobData[i++] != 0x29) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0xA3) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x22) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x0B) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x55) return FALSE;
if (lpBlobData[i++] != 0x1D) return FALSE;
if (lpBlobData[i++] != 0x0F) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x13) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x55) return FALSE;
if (lpBlobData[i++] != 0x1D) return FALSE;
if (lpBlobData[i++] != 0x25) return FALSE;
if (lpBlobData[i++] != 0x04) return FALSE;
if (lpBlobData[i++] != 0x0C) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x0A) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x08) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x07) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x06) return FALSE;
if (lpBlobData[i++] != 0x09) return FALSE;
if (lpBlobData[i++] != 0x2A) return FALSE;
if (lpBlobData[i++] != 0x86) return FALSE;
if (lpBlobData[i++] != 0x48) return FALSE;
if (lpBlobData[i++] != 0x86) return FALSE;
if (lpBlobData[i++] != 0xF7) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x82) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0x44) return FALSE;
if (lpBlobData[i++] != 0x78) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0xDB) return FALSE;
if (lpBlobData[i++] != 0x0C) return FALSE;
if (lpBlobData[i++] != 0x33) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0x57) return FALSE;
if (lpBlobData[i++] != 0x52) return FALSE;
if (lpBlobData[i++] != 0x91) return FALSE;
if (lpBlobData[i++] != 0xD0) return FALSE;
if (lpBlobData[i++] != 0x09) return FALSE;
if (lpBlobData[i++] != 0x80) return FALSE;
if (lpBlobData[i++] != 0x12) return FALSE;
if (lpBlobData[i++] != 0xB0) return FALSE;
if (lpBlobData[i++] != 0x11) return FALSE;
if (lpBlobData[i++] != 0x7C) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0xCF) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0xA0) return FALSE;
if (lpBlobData[i++] != 0xA5) return FALSE;
if (lpBlobData[i++] != 0x47) return FALSE;
if (lpBlobData[i++] != 0x18) return FALSE;
if (lpBlobData[i++] != 0xDE) return FALSE;
if (lpBlobData[i++] != 0xAB) return FALSE;
if (lpBlobData[i++] != 0x9E) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x4A) return FALSE;
if (lpBlobData[i++] != 0x50) return FALSE;
if (lpBlobData[i++] != 0x6B) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0xD3) return FALSE;
if (lpBlobData[i++] != 0x23) return FALSE;
if (lpBlobData[i++] != 0x71) return FALSE;
if (lpBlobData[i++] != 0x32) return FALSE;
if (lpBlobData[i++] != 0xEE) return FALSE;
if (lpBlobData[i++] != 0x28) return FALSE;
if (lpBlobData[i++] != 0x1D) return FALSE;
if (lpBlobData[i++] != 0xE8) return FALSE;
if (lpBlobData[i++] != 0x2C) return FALSE;
if (lpBlobData[i++] != 0x0A) return FALSE;
if (lpBlobData[i++] != 0xDF) return FALSE;
if (lpBlobData[i++] != 0x89) return FALSE;
if (lpBlobData[i++] != 0x87) return FALSE;
if (lpBlobData[i++] != 0x9D) return FALSE;
if (lpBlobData[i++] != 0x7E) return FALSE;
if (lpBlobData[i++] != 0xE3) return FALSE;
if (lpBlobData[i++] != 0x59) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0xDD) return FALSE;
if (lpBlobData[i++] != 0xC2) return FALSE;
if (lpBlobData[i++] != 0x3C) return FALSE;
if (lpBlobData[i++] != 0x48) return FALSE;
if (lpBlobData[i++] != 0xC1) return FALSE;
if (lpBlobData[i++] != 0xD5) return FALSE;
if (lpBlobData[i++] != 0x88) return FALSE;
if (lpBlobData[i++] != 0x2D) return FALSE;
if (lpBlobData[i++] != 0x60) return FALSE;
if (lpBlobData[i++] != 0x29) return FALSE;
if (lpBlobData[i++] != 0xDE) return FALSE;
if (lpBlobData[i++] != 0xA1) return FALSE;
if (lpBlobData[i++] != 0x69) return FALSE;
if (lpBlobData[i++] != 0xD8) return FALSE;
if (lpBlobData[i++] != 0x4E) return FALSE;
if (lpBlobData[i++] != 0x01) return FALSE;
if (lpBlobData[i++] != 0xF6) return FALSE;
if (lpBlobData[i++] != 0xBD) return FALSE;
if (lpBlobData[i++] != 0xCB) return FALSE;
if (lpBlobData[i++] != 0x41) return FALSE;
if (lpBlobData[i++] != 0xDF) return FALSE;
if (lpBlobData[i++] != 0xDF) return FALSE;
if (lpBlobData[i++] != 0x5B) return FALSE;
if (lpBlobData[i++] != 0x3D) return FALSE;
if (lpBlobData[i++] != 0x3D) return FALSE;
if (lpBlobData[i++] != 0x59) return FALSE;
if (lpBlobData[i++] != 0x93) return FALSE;
if (lpBlobData[i++] != 0x70) return FALSE;
if (lpBlobData[i++] != 0xD6) return FALSE;
if (lpBlobData[i++] != 0xAC) return FALSE;
if (lpBlobData[i++] != 0x03) return FALSE;
if (lpBlobData[i++] != 0x84) return FALSE;
if (lpBlobData[i++] != 0x5E) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0xB6) return FALSE;
if (lpBlobData[i++] != 0x62) return FALSE;
if (lpBlobData[i++] != 0x10) return FALSE;
if (lpBlobData[i++] != 0x5B) return FALSE;
if (lpBlobData[i++] != 0xB2) return FALSE;
if (lpBlobData[i++] != 0x68) return FALSE;
if (lpBlobData[i++] != 0x97) return FALSE;
if (lpBlobData[i++] != 0xC7) return FALSE;
if (lpBlobData[i++] != 0xF9) return FALSE;
if (lpBlobData[i++] != 0x44) return FALSE;
if (lpBlobData[i++] != 0x68) return FALSE;
if (lpBlobData[i++] != 0xBC) return FALSE;
if (lpBlobData[i++] != 0xC3) return FALSE;
if (lpBlobData[i++] != 0x26) return FALSE;
if (lpBlobData[i++] != 0xD7) return FALSE;
if (lpBlobData[i++] != 0xB5) return FALSE;
if (lpBlobData[i++] != 0x13) return FALSE;
if (lpBlobData[i++] != 0xBE) return FALSE;
if (lpBlobData[i++] != 0x0E) return FALSE;
if (lpBlobData[i++] != 0xE6) return FALSE;
if (lpBlobData[i++] != 0x7E) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0xF0) return FALSE;
if (lpBlobData[i++] != 0xB9) return FALSE;
if (lpBlobData[i++] != 0x59) return FALSE;
if (lpBlobData[i++] != 0x63) return FALSE;
if (lpBlobData[i++] != 0xE8) return FALSE;
if (lpBlobData[i++] != 0x6E) return FALSE;
if (lpBlobData[i++] != 0xE2) return FALSE;
if (lpBlobData[i++] != 0x96) return FALSE;
if (lpBlobData[i++] != 0x3C) return FALSE;
if (lpBlobData[i++] != 0xFE) return FALSE;
if (lpBlobData[i++] != 0x55) return FALSE;
if (lpBlobData[i++] != 0xB9) return FALSE;
if (lpBlobData[i++] != 0xAC) return FALSE;
if (lpBlobData[i++] != 0x1A) return FALSE;
if (lpBlobData[i++] != 0xB8) return FALSE;
if (lpBlobData[i++] != 0xC5) return FALSE;
if (lpBlobData[i++] != 0x98) return FALSE;
if (lpBlobData[i++] != 0xA9) return FALSE;
if (lpBlobData[i++] != 0xD3) return FALSE;
if (lpBlobData[i++] != 0xF5) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0xCB) return FALSE;
if (lpBlobData[i++] != 0x9E) return FALSE;
if (lpBlobData[i++] != 0x43) return FALSE;
if (lpBlobData[i++] != 0x89) return FALSE;
if (lpBlobData[i++] != 0x19) return FALSE;
if (lpBlobData[i++] != 0x9A) return FALSE;
if (lpBlobData[i++] != 0x5C) return FALSE;
if (lpBlobData[i++] != 0xB5) return FALSE;
if (lpBlobData[i++] != 0xFB) return FALSE;
if (lpBlobData[i++] != 0x76) return FALSE;
if (lpBlobData[i++] != 0xD5) return FALSE;
if (lpBlobData[i++] != 0x3B) return FALSE;
if (lpBlobData[i++] != 0xD4) return FALSE;
if (lpBlobData[i++] != 0x79) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x98) return FALSE;
if (lpBlobData[i++] != 0xA0) return FALSE;
if (lpBlobData[i++] != 0xC7) return FALSE;
if (lpBlobData[i++] != 0x60) return FALSE;
if (lpBlobData[i++] != 0x96) return FALSE;
if (lpBlobData[i++] != 0x84) return FALSE;
if (lpBlobData[i++] != 0x66) return FALSE;
if (lpBlobData[i++] != 0x79) return FALSE;
if (lpBlobData[i++] != 0x25) return FALSE;
if (lpBlobData[i++] != 0xC9) return FALSE;
if (lpBlobData[i++] != 0xC2) return FALSE;
if (lpBlobData[i++] != 0x77) return FALSE;
if (lpBlobData[i++] != 0x54) return FALSE;
if (lpBlobData[i++] != 0x63) return FALSE;
if (lpBlobData[i++] != 0xA1) return FALSE;
if (lpBlobData[i++] != 0x0E) return FALSE;
if (lpBlobData[i++] != 0x27) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0x2E) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0xBE) return FALSE;
if (lpBlobData[i++] != 0x18) return FALSE;
if (lpBlobData[i++] != 0x99) return FALSE;
if (lpBlobData[i++] != 0xF6) return FALSE;
if (lpBlobData[i++] != 0x34) return FALSE;
if (lpBlobData[i++] != 0xE7) return FALSE;
if (lpBlobData[i++] != 0xCC) return FALSE;
if (lpBlobData[i++] != 0xE8) return FALSE;
if (lpBlobData[i++] != 0xE7) return FALSE;
if (lpBlobData[i++] != 0xEB) return FALSE;
if (lpBlobData[i++] != 0xE4) return FALSE;
if (lpBlobData[i++] != 0xB7) return FALSE;
if (lpBlobData[i++] != 0x37) return FALSE;
if (lpBlobData[i++] != 0x05) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x77) return FALSE;
if (lpBlobData[i++] != 0xAD) return FALSE;
if (lpBlobData[i++] != 0x76) return FALSE;
if (lpBlobData[i++] != 0xAD) return FALSE;
if (lpBlobData[i++] != 0x35) return FALSE;
if (lpBlobData[i++] != 0x84) return FALSE;
if (lpBlobData[i++] != 0x62) return FALSE;
if (lpBlobData[i++] != 0xF7) return FALSE;
if (lpBlobData[i++] != 0x7F) return FALSE;
if (lpBlobData[i++] != 0x87) return FALSE;
if (lpBlobData[i++] != 0xAB) return FALSE;
if (lpBlobData[i++] != 0x29) return FALSE;
if (lpBlobData[i++] != 0x25) return FALSE;
if (lpBlobData[i++] != 0x10) return FALSE;
if (lpBlobData[i++] != 0x73) return FALSE;
if (lpBlobData[i++] != 0xBF) return FALSE;
if (lpBlobData[i++] != 0x2C) return FALSE;
if (lpBlobData[i++] != 0x78) return FALSE;
if (lpBlobData[i++] != 0x93) return FALSE;
if (lpBlobData[i++] != 0xFF) return FALSE;
if (lpBlobData[i++] != 0xBF) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0xD7) return FALSE;
if (lpBlobData[i++] != 0x49) return FALSE;
if (lpBlobData[i++] != 0x74) return FALSE;
if (lpBlobData[i++] != 0xC5) return FALSE;
if (lpBlobData[i++] != 0x07) return FALSE;
if (lpBlobData[i++] != 0x41) return FALSE;
if (lpBlobData[i++] != 0x17) return FALSE;
if (lpBlobData[i++] != 0xBA) return FALSE;
if (lpBlobData[i++] != 0x87) return FALSE;
if (lpBlobData[i++] != 0xBB) return FALSE;
if (lpBlobData[i++] != 0x4E) return FALSE;
if (lpBlobData[i++] != 0xB3) return FALSE;
if (lpBlobData[i++] != 0x8F) return FALSE;
if (lpBlobData[i++] != 0xF3) return FALSE;
if (lpBlobData[i++] != 0x75) return FALSE;
if (lpBlobData[i++] != 0x77) return FALSE;
if (lpBlobData[i++] != 0x2B) return FALSE;
if (lpBlobData[i++] != 0x44) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0x0D) return FALSE;
if (lpBlobData[i++] != 0x18) return FALSE;
if (lpBlobData[i++] != 0x24) return FALSE;
if (lpBlobData[i++] != 0x8A) return FALSE;
if (lpBlobData[i++] != 0xCB) return FALSE;
if (lpBlobData[i++] != 0xCC) return FALSE;
if (lpBlobData[i++] != 0x67) return FALSE;
if (lpBlobData[i++] != 0xB4) return FALSE;
if (lpBlobData[i++] != 0x00) return FALSE;
if (lpBlobData[i++] != 0xC6) return FALSE;
if (lpBlobData[i++] != 0x2A) return FALSE;
if (lpBlobData[i++] != 0xAC) return FALSE;
if (lpBlobData[i++] != 0xCD) return FALSE;
if (lpBlobData[i++] != 0x4C) return FALSE;
if (lpBlobData[i++] != 0x16) return FALSE;
if (lpBlobData[i++] != 0xF8) return FALSE;
if (lpBlobData[i++] != 0xB8) return FALSE;
if (lpBlobData[i++] != 0x61) return FALSE;
if (lpBlobData[i++] != 0x8D) return FALSE;
if (lpBlobData[i++] != 0xAF) return FALSE;
if (lpBlobData[i++] != 0x7B) return FALSE;
if (lpBlobData[i++] != 0xF2) return FALSE;
if (lpBlobData[i++] != 0x45) return FALSE;
if (lpBlobData[i++] != 0xE2) return FALSE;
if (lpBlobData[i++] != 0x63) return FALSE;
if (lpBlobData[i++] != 0x02) return FALSE;
if (lpBlobData[i++] != 0x4C) return FALSE;
if (lpBlobData[i++] != 0xA8) return FALSE;
if (lpBlobData[i++] != 0xB9) return FALSE;
if (lpBlobData[i++] != 0xBD) return FALSE;
if (lpBlobData[i++] != 0xB2) return FALSE;
if (lpBlobData[i++] != 0x5E) return FALSE;
if (lpBlobData[i++] != 0xF2) return FALSE;
if (lpBlobData[i++] != 0x94) return FALSE;
if (lpBlobData[i++] != 0x8F) return FALSE;
if (lpBlobData[i++] != 0x30) return FALSE;
if (lpBlobData[i++] != 0x16) return FALSE;
return TRUE;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment