{"name": "rand_main", "code": "__int64 __fastcall rand_main ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 v2 ; __int64 v3 ; __int64 v4 ; __int64 v5 ; char @@v7@@ [ Number ] ; int @@v8@@ ; __int64 @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; int @@v13@@ ; int @@v14@@ ; __int64 @@v15@@ ; __int64 @@v16@@ ; int @@v17@@ ; unsigned int @@v18@@ ; int @@v19@@ ; int @@i@@ ; @@v18@@ = Number ; @@v16@@ = Number L ; @@v15@@ = Number L ; @@v14@@ = Number ; @@v13@@ = Number ; @@v12@@ = Number L ; @@v8@@ = Number ; @@v11@@ = Number L ; signal ( Number , handler ) ; if ( ! bio_err ) { v2 = BIO_s_file ( ) ; bio_err = BIO_new ( v2 ) ; if ( bio_err ) BIO_ctrl ( bio_err , Number L , Number L , stderr ) ; } if ( ( unsigned int ) load_config ( bio_err , Number L ) ) { @@v17@@ = Number ; @@i@@ = Number ; while ( ! @@v17@@ ) { if ( ! * ( _QWORD * ) ( Number L * ++ @@i@@ + @@a2@@ ) ) break ; if ( ! strcmp ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) , String ) ) { if ( ! * ( _QWORD * ) ( Number * ( @@i@@ + Number L ) + @@a2@@ ) || @@v16@@ ) @@v17@@ = Number ; else @@v16@@ = * ( _QWORD * ) ( Number L * ++ @@i@@ + @@a2@@ ) ; } else if ( ! strcmp ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) , String ) ) { if ( ! * ( _QWORD * ) ( Number * ( @@i@@ + Number L ) + @@a2@@ ) || @@v11@@ ) @@v17@@ = Number ; else @@v11@@ = * ( _QWORD * ) ( Number L * ++ @@i@@ + @@a2@@ ) ; } else if ( ! strcmp ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) , String ) ) { if ( ! * ( _QWORD * ) ( Number * ( @@i@@ + Number L ) + @@a2@@ ) || @@v15@@ ) @@v17@@ = Number ; else @@v15@@ = * ( _QWORD * ) ( Number L * ++ @@i@@ + @@a2@@ ) ; } else if ( ! strcmp ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) , String ) ) { if ( @@v14@@ ) @@v17@@ = Number ; else @@v14@@ = Number ; } else if ( ! strcmp ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) , String ) ) { if ( @@v13@@ ) @@v17@@ = Number ; else @@v13@@ = Number ; } else if ( ( ( * _ctype_b_loc ( ) ) [ * * ( unsigned __int8 * * ) ( Number L * @@i@@ + @@a2@@ ) ] & Number ) != Number ) { if ( @@v8@@ >= Number ) { @@v17@@ = Number ; } else { @@v19@@ = _isoc99_sscanf ( * ( _QWORD * ) ( Number L * @@i@@ + @@a2@@ ) , String , & @@v8@@ ) ; if ( ! @@v19@@ || @@v8@@ < Number ) @@v17@@ = Number ; } } else { @@v17@@ = Number ; } } if ( @@v13@@ && @@v14@@ ) @@v17@@ = Number ; if ( @@v8@@ < Number ) @@v17@@ = Number ; if ( @@v17@@ ) { BIO_printf ( bio_err , String ) ; BIO_printf ( bio_err , String ) ; BIO_printf ( bio_err , String ) ; BIO_printf ( bio_err , String ) ; BIO_printf ( bio_err , String , Number L , Number L ) ; BIO_printf ( bio_err , String ) ; BIO_printf ( bio_err , String ) ; } else { setup_engine ( bio_err , @@v11@@ , Number L ) ; app_RAND_load_file ( Number L , bio_err , @@v15@@ != Number ) ; if ( @@v15@@ ) { v3 = app_RAND_load_files ( @@v15@@ ) ; BIO_printf ( bio_err , String , v3 ) ; } v4 = BIO_s_file ( ) ; @@v12@@ = BIO_new ( v4 ) ; if ( @@v12@@ ) { @@v19@@ = @@v16@@ ? ( unsigned int ) BIO_ctrl ( @@v12@@ , Number L , Number L , @@v16@@ ) : ( unsigned int ) BIO_ctrl ( @@v12@@ , Number L , Number L , stdout ) ; if ( @@v19@@ > Number ) { if ( ! @@v14@@ ) goto LABEL_64 ; v5 = BIO_f_base64 ( ) ; @@v9@@ = BIO_new ( v5 ) ; if ( @@v9@@ ) { @@v12@@ = BIO_push ( @@v9@@ , @@v12@@ ) ; LABEL_64 : while ( @@v8@@ > Number ) { @@v10@@ = @@v8@@ ; if ( @@v8@@ > Number ) @@v10@@ = Number ; @@v19@@ = RAND_bytes ( @@v7@@ , @@v10@@ ) ; if ( @@v19@@ <= Number ) goto LABEL_68 ; if ( @@v13@@ ) { for ( @@i@@ = Number ; @@i@@ < ( int ) @@v10@@ ; ++ @@i@@ ) BIO_printf ( @@v12@@ , String , ( unsigned __int8 ) @@v7@@ [ @@i@@ ] ) ; } else { BIO_write ( @@v12@@ , @@v7@@ , @@v10@@ ) ; } @@v8@@ -= @@v10@@ ; } if ( @@v13@@ ) BIO_puts ( @@v12@@ , String ) ; BIO_ctrl ( @@v12@@ , Number L , Number L , Number L ) ; app_RAND_write_file ( Number L , bio_err ) ; @@v18@@ = Number ; } } } } } LABEL_68 : ERR_print_errors ( bio_err ) ; if ( @@v12@@ ) BIO_free_all ( @@v12@@ ) ; return @@v18@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v18", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v7", "t": {"T": 2, "n": 4100, "s": 1, "t": "char"}, "location": "s4176"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s60"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s76"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]}