
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int random_byte(void)

{
  uchar *puVar1;
  
  if (random_active != 0) {
    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {
      random_stir();
    }
    puVar1 = pool.pool + pool.poolpos;
    pool.poolpos = pool.poolpos + 1;
    return (uint)*puVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined1 FUN_00065c80(void)

{
  undefined1 *puVar1;
  
  if (DAT_001114a0 != 0) {
    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {
      FUN_00065520();
    }
    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);
    DAT_00111970 = DAT_00111970 + 1;
    return *puVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");
}


PUSH EBX
CALL 0x0001c4f0
ADD EBX,0xaaaca
SUB ESP,0x8
MOV ECX,dword ptr [EBX + 0xd50]
TEST ECX,ECX
JZ 0x00065cd1
MOV EAX,dword ptr [EBX + 0x1220]
CMP EAX,0x4af
JLE 0x00065cbb
MOV EDX,dword ptr [EBX + 0x127c]
TEST EDX,EDX
JNZ 0x00065cbb
CALL 0x00065520
MOV EAX,dword ptr [EBX + 0x1220]
LEA EDX,[EAX + 0x1]
MOVZX EAX,byte ptr [EBX + EAX*0x1 + 0xd70]
MOV dword ptr [EBX + 0x1220],EDX
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xfffb7734]
PUSH EAX
LEA EAX,[EBX + 0xfffb770a]
PUSH 0x14a
PUSH EAX
LEA EAX,[EBX + 0xfffb7726]
PUSH EAX
CALL 0x0001c000
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined1 FUN_00065c80(void)\n\n{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}\n\n" comment (function_definition "undefined1 FUN_00065c80(void)\n\n{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" type_identifier (function_declarator "FUN_00065c80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }" if (parenthesized_expression "(DAT_001114a0 != 0)" ( (binary_expression "DAT_001114a0 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }" { (if_statement "if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }" if (parenthesized_expression "((0x4af < DAT_00111970) && (DAT_001119cc == 0))" ( (binary_expression "(0x4af < DAT_00111970) && (DAT_001119cc == 0)" (parenthesized_expression "(0x4af < DAT_00111970)" ( (binary_expression "0x4af < DAT_00111970" number_literal < identifier) )) && (parenthesized_expression "(DAT_001119cc == 0)" ( (binary_expression "DAT_001119cc == 0" identifier == number_literal) ))) )) (compound_statement "{\n      FUN_00065520();\n    }" { (expression_statement "FUN_00065520();" (call_expression "FUN_00065520()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);" (assignment_expression "puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970)" identifier = (cast_expression "(undefined1 *)((int)&DAT_001114c0 + DAT_00111970)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_001114c0 + DAT_00111970)" ( (binary_expression "(int)&DAT_001114c0 + DAT_00111970" (cast_expression "(int)&DAT_001114c0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_001114c0" & identifier)) + identifier) )))) ;) (expression_statement "DAT_00111970 = DAT_00111970 + 1;" (assignment_expression "DAT_00111970 = DAT_00111970 + 1" identifier = (binary_expression "DAT_00111970 + 1" identifier + number_literal)) ;) (return_statement "return *puVar1;" return (pointer_expression "*puVar1" * identifier) ;) })) comment (expression_statement "__assert_fail("random_active","sshrand.c",0x14a,"random_byte");" (call_expression "__assert_fail("random_active","sshrand.c",0x14a,"random_byte")" identifier (argument_list "("random_active","sshrand.c",0x14a,"random_byte")" ( (string_literal ""random_active"" " string_content ") , (string_literal ""sshrand.c"" " string_content ") , number_literal , (string_literal ""random_byte"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint random_byte(void)\n\n{\n  uchar *puVar1;\n  \n  if (random_active != 0) {\n    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {\n      random_stir();\n    }\n    puVar1 = pool.pool + pool.poolpos;\n    pool.poolpos = pool.poolpos + 1;\n    return (uint)*puVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}\n\n" comment comment (function_definition "int random_byte(void)\n\n{\n  uchar *puVar1;\n  \n  if (random_active != 0) {\n    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {\n      random_stir();\n    }\n    puVar1 = pool.pool + pool.poolpos;\n    pool.poolpos = pool.poolpos + 1;\n    return (uint)*puVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" primitive_type (function_declarator "random_byte(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uchar *puVar1;\n  \n  if (random_active != 0) {\n    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {\n      random_stir();\n    }\n    puVar1 = pool.pool + pool.poolpos;\n    pool.poolpos = pool.poolpos + 1;\n    return (uint)*puVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (random_active != 0) {\n    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {\n      random_stir();\n    }\n    puVar1 = pool.pool + pool.poolpos;\n    pool.poolpos = pool.poolpos + 1;\n    return (uint)*puVar1;\n  }" if (parenthesized_expression "(random_active != 0)" ( (binary_expression "random_active != 0" identifier != number_literal) )) (compound_statement "{\n    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {\n      random_stir();\n    }\n    puVar1 = pool.pool + pool.poolpos;\n    pool.poolpos = pool.poolpos + 1;\n    return (uint)*puVar1;\n  }" { (if_statement "if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {\n      random_stir();\n    }" if (parenthesized_expression "((0x4af < pool.poolpos) && (pool.stir_pending == 0))" ( (binary_expression "(0x4af < pool.poolpos) && (pool.stir_pending == 0)" (parenthesized_expression "(0x4af < pool.poolpos)" ( (binary_expression "0x4af < pool.poolpos" number_literal < (field_expression "pool.poolpos" identifier . field_identifier)) )) && (parenthesized_expression "(pool.stir_pending == 0)" ( (binary_expression "pool.stir_pending == 0" (field_expression "pool.stir_pending" identifier . field_identifier) == number_literal) ))) )) (compound_statement "{\n      random_stir();\n    }" { (expression_statement "random_stir();" (call_expression "random_stir()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = pool.pool + pool.poolpos;" (assignment_expression "puVar1 = pool.pool + pool.poolpos" identifier = (binary_expression "pool.pool + pool.poolpos" (field_expression "pool.pool" identifier . field_identifier) + (field_expression "pool.poolpos" identifier . field_identifier))) ;) (expression_statement "pool.poolpos = pool.poolpos + 1;" (assignment_expression "pool.poolpos = pool.poolpos + 1" (field_expression "pool.poolpos" identifier . field_identifier) = (binary_expression "pool.poolpos + 1" (field_expression "pool.poolpos" identifier . field_identifier) + number_literal)) ;) (return_statement "return (uint)*puVar1;" return (binary_expression "(uint)*puVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ;) })) comment (expression_statement "__assert_fail("random_active","sshrand.c",0x14a,"random_byte");" (call_expression "__assert_fail("random_active","sshrand.c",0x14a,"random_byte")" identifier (argument_list "("random_active","sshrand.c",0x14a,"random_byte")" ( (string_literal ""random_active"" " string_content ") , (string_literal ""sshrand.c"" " string_content ") , number_literal , (string_literal ""random_byte"" " string_content ") ))) ;) })))
(translation_unit "undefined1 FUN_00065c80(void)\n\n{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    \n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}\n\n" (function_definition "undefined1 FUN_00065c80(void)\n\n{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    \n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" type_identifier (function_declarator "FUN_00065c80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    \n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }" if (parenthesized_expression "(DAT_001114a0 != 0)" ( (binary_expression "DAT_001114a0 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }" { (if_statement "if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }" if (parenthesized_expression "((0x4af < DAT_00111970) && (DAT_001119cc == 0))" ( (binary_expression "(0x4af < DAT_00111970) && (DAT_001119cc == 0)" (parenthesized_expression "(0x4af < DAT_00111970)" ( (binary_expression "0x4af < DAT_00111970" number_literal < identifier) )) && (parenthesized_expression "(DAT_001119cc == 0)" ( (binary_expression "DAT_001119cc == 0" identifier == number_literal) ))) )) (compound_statement "{\n      FUN_00065520();\n    }" { (expression_statement "FUN_00065520();" (call_expression "FUN_00065520()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);" (assignment_expression "puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970)" identifier = (cast_expression "(undefined1 *)((int)&DAT_001114c0 + DAT_00111970)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&DAT_001114c0 + DAT_00111970)" ( (binary_expression "(int)&DAT_001114c0 + DAT_00111970" (cast_expression "(int)&DAT_001114c0" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_001114c0" & identifier)) + identifier) )))) ;) (expression_statement "DAT_00111970 = DAT_00111970 + 1;" (assignment_expression "DAT_00111970 = DAT_00111970 + 1" identifier = (binary_expression "DAT_00111970 + 1" identifier + number_literal)) ;) (return_statement "return *puVar1;" return (pointer_expression "*puVar1" * identifier) ;) })) (expression_statement "__assert_fail("random_active","sshrand.c",0x14a,"random_byte");" (call_expression "__assert_fail("random_active","sshrand.c",0x14a,"random_byte")" identifier (argument_list "("random_active","sshrand.c",0x14a,"random_byte")" ( (string_literal ""random_active"" " string_content ") , (string_literal ""sshrand.c"" " string_content ") , number_literal , (string_literal ""random_byte"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (return_statement return (pointer_expression * IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined1 FUN_00065c80(void)\n\n{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    \n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" (type_identifier "undefined1") (function_declarator "FUN_00065c80(void)" (identifier "FUN_00065c80") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  \n  if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }\n                    \n  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (DAT_001114a0 != 0) {\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }" (if "if") (parenthesized_expression "(DAT_001114a0 != 0)" (( "(") (binary_expression "DAT_001114a0 != 0" (identifier "DAT_001114a0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }\n    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);\n    DAT_00111970 = DAT_00111970 + 1;\n    return *puVar1;\n  }" ({ "{") (if_statement "if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {\n      FUN_00065520();\n    }" (if "if") (parenthesized_expression "((0x4af < DAT_00111970) && (DAT_001119cc == 0))" (( "(") (binary_expression "(0x4af < DAT_00111970) && (DAT_001119cc == 0)" (parenthesized_expression "(0x4af < DAT_00111970)" (( "(") (binary_expression "0x4af < DAT_00111970" (number_literal "0x4af") (< "<") (identifier "DAT_00111970")) () ")")) (&& "&&") (parenthesized_expression "(DAT_001119cc == 0)" (( "(") (binary_expression "DAT_001119cc == 0" (identifier "DAT_001119cc") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      FUN_00065520();\n    }" ({ "{") (expression_statement "FUN_00065520();" (call_expression "FUN_00065520()" (identifier "FUN_00065520") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);" (assignment_expression "puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970)" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)((int)&DAT_001114c0 + DAT_00111970)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&DAT_001114c0 + DAT_00111970)" (( "(") (binary_expression "(int)&DAT_001114c0 + DAT_00111970" (cast_expression "(int)&DAT_001114c0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&DAT_001114c0" (& "&") (identifier "DAT_001114c0"))) (+ "+") (identifier "DAT_00111970")) () ")")))) (; ";")) (expression_statement "DAT_00111970 = DAT_00111970 + 1;" (assignment_expression "DAT_00111970 = DAT_00111970 + 1" (identifier "DAT_00111970") (= "=") (binary_expression "DAT_00111970 + 1" (identifier "DAT_00111970") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return *puVar1;" (return "return") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (} "}"))) (expression_statement "__assert_fail("random_active","sshrand.c",0x14a,"random_byte");" (call_expression "__assert_fail("random_active","sshrand.c",0x14a,"random_byte")" (identifier "__assert_fail") (argument_list "("random_active","sshrand.c",0x14a,"random_byte")" (( "(") (string_literal ""random_active"" (" """) (string_content "random_active") (" """)) (, ",") (string_literal ""sshrand.c"" (" """) (string_content "sshrand.c") (" """)) (, ",") (number_literal "0x14a") (, ",") (string_literal ""random_byte"" (" """) (string_content "random_byte") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(void)

{
  type_1 *var_3;
  
  if (var_1 != 0) {
    if ((0x4af < pool.poolpos) && (pool.stir_pending == 0)) {
      var_2();
    }
    var_3 = pool.pool + pool.poolpos;
    pool.poolpos = pool.poolpos + 1;
    return (uint)*var_3;
  }
                    /* WARNING: Subroutine does not return */
  var_4("random_active","sshrand.c",0x14a,"random_byte");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined1 MASKED(void)

{
  undefined1 *puVar1;
  
  if (DAT_001114a0 != 0) {
    if ((0x4af < DAT_00111970) && (DAT_001119cc == 0)) {
      FUN_00065520();
    }
    puVar1 = (undefined1 *)((int)&DAT_001114c0 + DAT_00111970);
    DAT_00111970 = DAT_00111970 + 1;
    return *puVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("random_active","sshrand.c",0x14a,"random_byte");
}

