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

randint_source * randint_all_new(char *name,size_t bytes_bound)

{
  randread_source *source;
  
  source = randread_new(name,bytes_bound);
  if (source != (randread_source *)0x0) {
    source = (randread_source *)randint_new(source);
  }
  return (randint_source *)source;
}



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

void FUN_00028150(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = FUN_00028550(param_1,param_2);
  if (iVar1 != 0) {
    FUN_00028110(iVar1);
  }
  return;
}


PUSH EBX
CALL 0x000132d0
ADD EBX,0x10eaa
SUB ESP,0x10
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x00028550
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002817f
SUB ESP,0xc
PUSH EAX
CALL 0x00028110
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00028150(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00028150(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00028150(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00028550(param_1,param_2);" (assignment_expression "iVar1 = FUN_00028550(param_1,param_2)" identifier = (call_expression "FUN_00028550(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00028110(iVar1);\n  }" { (expression_statement "FUN_00028110(iVar1);" (call_expression "FUN_00028110(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nrandint_source * randint_all_new(char *name,size_t bytes_bound)\n\n{\n  randread_source *source;\n  \n  source = randread_new(name,bytes_bound);\n  if (source != (randread_source *)0x0) {\n    source = (randread_source *)randint_new(source);\n  }\n  return (randint_source *)source;\n}\n\n" comment comment (function_definition "randint_source * randint_all_new(char *name,size_t bytes_bound)\n\n{\n  randread_source *source;\n  \n  source = randread_new(name,bytes_bound);\n  if (source != (randread_source *)0x0) {\n    source = (randread_source *)randint_new(source);\n  }\n  return (randint_source *)source;\n}" type_identifier (pointer_declarator "* randint_all_new(char *name,size_t bytes_bound)" * (function_declarator "randint_all_new(char *name,size_t bytes_bound)" identifier (parameter_list "(char *name,size_t bytes_bound)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t bytes_bound" primitive_type identifier) )))) (compound_statement "{\n  randread_source *source;\n  \n  source = randread_new(name,bytes_bound);\n  if (source != (randread_source *)0x0) {\n    source = (randread_source *)randint_new(source);\n  }\n  return (randint_source *)source;\n}" { (declaration "randread_source *source;" type_identifier (pointer_declarator "*source" * identifier) ;) (expression_statement "source = randread_new(name,bytes_bound);" (assignment_expression "source = randread_new(name,bytes_bound)" identifier = (call_expression "randread_new(name,bytes_bound)" identifier (argument_list "(name,bytes_bound)" ( identifier , identifier )))) ;) (if_statement "if (source != (randread_source *)0x0) {\n    source = (randread_source *)randint_new(source);\n  }" if (parenthesized_expression "(source != (randread_source *)0x0)" ( (binary_expression "source != (randread_source *)0x0" identifier != (cast_expression "(randread_source *)0x0" ( (type_descriptor "randread_source *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    source = (randread_source *)randint_new(source);\n  }" { (expression_statement "source = (randread_source *)randint_new(source);" (assignment_expression "source = (randread_source *)randint_new(source)" identifier = (cast_expression "(randread_source *)randint_new(source)" ( (type_descriptor "randread_source *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "randint_new(source)" identifier (argument_list "(source)" ( identifier ))))) ;) })) (return_statement "return (randint_source *)source;" return (cast_expression "(randint_source *)source" ( (type_descriptor "randint_source *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "void FUN_00028150(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00028150(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00028150(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00028550(param_1,param_2);" (assignment_expression "iVar1 = FUN_00028550(param_1,param_2)" identifier = (call_expression "FUN_00028550(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00028110(iVar1);\n  }" { (expression_statement "FUN_00028110(iVar1);" (call_expression "FUN_00028110(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00028150(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00028150(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00028150") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00028550(param_1,param_2);\n  if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00028550(param_1,param_2);" (assignment_expression "iVar1 = FUN_00028550(param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_00028550(param_1,param_2)" (identifier "FUN_00028550") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_00028110(iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00028110(iVar1);\n  }" ({ "{") (expression_statement "FUN_00028110(iVar1);" (call_expression "FUN_00028110(iVar1)" (identifier "FUN_00028110") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 * function_1(char *name,size_t bytes_bound)

{
  type_2 *var_2;
  
  var_2 = var_1(name,bytes_bound);
  if (var_2 != (type_2 *)0x0) {
    var_2 = (type_2 *)var_3(var_2);
  }
  return (type_1 *)var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = FUN_00028550(param_1,param_2);
  if (iVar1 != 0) {
    FUN_00028110(iVar1);
  }
  return;
}

