// // EVP_CIPHER_type from 0x8038d0 to 0x803a04 (308 bytes) // // 11 xrefs: // > sub_7DF150 @ 0x7df2d8 // > sub_7DF150 @ 0x7df90c // > sub_7E3D80 @ 0x7e40b4 // > PKCS7_dataInit @ 0x826d88 // > PKCS7_set_cipher @ 0x829b5c // > cms_RecipientInfo_kari_encrypt @ 0x874c68 // > CMS_add0_recipient_password @ 0x876044 // > PKCS5_pbe2_set_iv @ 0x8c71ec // > PKCS5_pbe2_set_scrypt @ 0x8c74fc // > cms_EncryptedContent_init_bio @ 0x8cf4a4 // > @ 0x6099c // // 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 // int __fastcall EVP_CIPHER_type(int a1) { int v1; // r0 int v2; // r4 _DWORD *v4; // r5 v1 = EVP_CIPHER_nid(a1); v2 = v1; if ( v1 == 429 ) return 429; if ( v1 > 429 ) { if ( v1 == 654 ) return 425; if ( v1 <= 654 ) { if ( v1 == 651 ) return 425; if ( v1 <= 651 ) { if ( v1 != 650 ) goto LABEL_25; return 421; } if ( v1 != 652 ) return 421; } else { if ( v1 > 657 ) { if ( v1 < 660 ) return 30; goto LABEL_25; } if ( v1 >= 656 ) return 30; } return 429; } if ( v1 == 97 ) return 5; if ( v1 > 97 ) { if ( v1 == 166 ) return 37; if ( v1 <= 166 ) { if ( v1 == 98 ) return 37; goto LABEL_25; } if ( v1 != 421 ) { if ( v1 != 425 ) goto LABEL_25; return 425; } return 421; } if ( v1 == 30 ) return 30; if ( v1 > 30 ) { if ( v1 != 37 ) { if ( v1 == 61 ) return 30; goto LABEL_25; } return 37; } if ( v1 == 5 ) return 5; LABEL_25: v4 = (_DWORD *)OBJ_nid2obj(v1); if ( !OBJ_get0_data() ) v2 = 0; ASN1_OBJECT_free(v4); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source