
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int set_cert_ex(ulong *flags,char *arg)

{
  int iVar1;
  
  if (arg != (char *)0x0) {
    iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);
    return iVar1;
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 FUN_00079c80(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 0) {
    uVar1 = FUN_000790f0();
    return uVar1;
  }
  return 0;
}


CALL 0x0007dcb8
ADD ECX,0x4adf3
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x4]
TEST EDX,EDX
JZ 0x00079ca8
LEA ECX,[ECX + 0xffffd928]
JMP 0x000790f0
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined4 FUN_00079c80(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00079c80(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00079c80(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_000790f0();" (assignment_expression "uVar1 = FUN_000790f0()" identifier = (call_expression "FUN_000790f0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint set_cert_ex(ulong *flags,char *arg)\n\n{\n  int iVar1;\n  \n  if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);\n    return iVar1;\n  }\n  return 0;\n}\n\n" comment (function_definition "int set_cert_ex(ulong *flags,char *arg)\n\n{\n  int iVar1;\n  \n  if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);\n    return iVar1;\n  }\n  return 0;\n}" primitive_type (function_declarator "set_cert_ex(ulong *flags,char *arg)" identifier (parameter_list "(ulong *flags,char *arg)" ( (parameter_declaration "ulong *flags" type_identifier (pointer_declarator "*flags" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);\n    return iVar1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (arg != (char *)0x0) {\n    iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);\n    return iVar1;\n  }" if (parenthesized_expression "(arg != (char *)0x0)" ( (binary_expression "arg != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);\n    return iVar1;\n  }" { (expression_statement "iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl);" (assignment_expression "iVar1 = set_multi_opts(flags,arg,set_cert_ex::cert_tbl)" identifier = (call_expression "set_multi_opts(flags,arg,set_cert_ex::cert_tbl)" identifier (argument_list "(flags,arg,set_cert_ex::cert_tbl)" ( identifier , identifier , identifier (ERROR "::cert_tbl" : : identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00079c80(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00079c80(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00079c80(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_000790f0();" (assignment_expression "uVar1 = FUN_000790f0()" identifier = (call_expression "FUN_000790f0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00079c80(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00079c80(undefined4 param_1,int param_2)" (identifier "FUN_00079c80") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_000790f0();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_000790f0();" (assignment_expression "uVar1 = FUN_000790f0()" (identifier "uVar1") (= "=") (call_expression "FUN_000790f0()" (identifier "FUN_000790f0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int function_1(type_1 *flags,char *var_1)

{
  int iVar1;
  
  if (var_1 != (char *)0x0) {
    iVar1 = var_2(flags,var_1,function_1::cert_tbl);
    return iVar1;
  }
  return 0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_2 != 0) {
    uVar1 = FUN_000790f0();
    return uVar1;
  }
  return 0;
}

