// // ASN1_UTCTIME_print from 0xd68190 to 0xd683b4 (548 bytes) // // 5 xrefs: // > ASN1_TIME_print @ 0xd67c1c // > sub_E0FE14 @ 0xe10840 // > sub_E0FE14 @ 0xe10afc // > ASN1_item_print @ 0xe113e4 // > @ 0x86be0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall ASN1_UTCTIME_print(__int64 a1, __int64 a2) { int v2; // w3 unsigned __int8 *v3; // x1 int v4; // w11 int v5; // w7 unsigned int v6; // w2 bool v7; // cc int v8; // w6 int v9; // w3 int v10; // w4 int v11; // w5 int v12; // w8 int v13; // w1 int v14; // w7 const char *v15; // x2 const char *v16; // x1 v2 = *(_DWORD *)a2; v3 = *(unsigned __int8 **)(a2 + 8); if ( v2 <= 9 ) goto LABEL_22; v4 = v3[v2 - 1]; if ( (unsigned __int8)(*v3 - 48) > 9u || (unsigned __int8)(v3[1] - 48) > 9u || (unsigned __int8)(v3[2] - 48) > 9u || (unsigned __int8)(v3[3] - 48) > 9u || (unsigned __int8)(v3[4] - 48) > 9u || (unsigned __int8)(v3[5] - 48) > 9u || (unsigned __int8)(v3[6] - 48) > 9u || (unsigned __int8)(v3[7] - 48) > 9u || (unsigned __int8)(v3[8] - 48) > 9u || (unsigned __int8)(v3[9] - 48) > 9u ) { goto LABEL_22; } v5 = v3[1] - 48 + 10 * (*v3 - 48); if ( v5 <= 49 ) v5 += 100; v6 = v3[3] + 10 * (v3[2] - 48) - 49; if ( v6 > 0xB ) { LABEL_22: BIO_write(a1, "Bad time value", 14); return 0; } else { v7 = v2 <= 11; v8 = 0; v9 = v3[5] - 48 + 10 * (v3[4] - 48); v10 = v3[7] - 48 + 10 * (v3[6] - 48); v11 = v3[9] - 48 + 10 * (v3[8] - 48); if ( !v7 ) { v12 = v3[10] - 48; if ( (unsigned __int8)(v3[10] - 48) <= 9u ) { v13 = v3[11] - 48; if ( (unsigned __int8)v13 <= 9u ) v8 = v13 + 10 * v12; } } v14 = v5 + 1900; v15 = asn1_mon[v6]; if ( v4 == 90 ) v16 = " GMT"; else v16 = &byte_F288A0; return (int)BIO_printf(a1, "%s %2d %02d:%02d:%02d %d%s", v15, v9, v10, v11, v8, v14, v16) > 0; } }