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

char * conf_dest(Conf *conf)

{
  int iVar1;
  char *pcVar2;
  
  iVar1 = conf_get_int(conf,2);
  if (iVar1 != 4) {
    pcVar2 = conf_get_str(conf,0);
    return pcVar2;
  }
  pcVar2 = conf_get_str(conf,0x39);
  return pcVar2;
}



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

void FUN_0002c720(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_0001d690(param_1,2);
  if (iVar1 != 4) {
    FUN_0001d840(param_1,0);
    return;
  }
  FUN_0001d840(param_1,0x39);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0001a360
ADD EBX,0x750bd
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
PUSH 0x2
PUSH ESI
CALL 0x0001d690
ADD ESP,0x10
CMP EAX,0x4
JZ 0x0002c760
SUB ESP,0x8
PUSH 0x0
PUSH ESI
CALL 0x0001d840
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0x8
PUSH 0x39
PUSH ESI
CALL 0x0001d840
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0002c720(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}\n\n" comment (function_definition "void FUN_0002c720(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}" primitive_type (function_declarator "FUN_0002c720(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0001d690(param_1,2);" (assignment_expression "iVar1 = FUN_0001d690(param_1,2)" identifier = (call_expression "FUN_0001d690(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n    FUN_0001d840(param_1,0);\n    return;\n  }" { (expression_statement "FUN_0001d840(param_1,0);" (call_expression "FUN_0001d840(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0001d840(param_1,0x39);" (call_expression "FUN_0001d840(param_1,0x39)" identifier (argument_list "(param_1,0x39)" ( identifier , number_literal ))) ;) (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\nchar * conf_dest(Conf *conf)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = conf_get_int(conf,2);\n  if (iVar1 != 4) {\n    pcVar2 = conf_get_str(conf,0);\n    return pcVar2;\n  }\n  pcVar2 = conf_get_str(conf,0x39);\n  return pcVar2;\n}\n\n" comment comment (function_definition "char * conf_dest(Conf *conf)\n\n{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = conf_get_int(conf,2);\n  if (iVar1 != 4) {\n    pcVar2 = conf_get_str(conf,0);\n    return pcVar2;\n  }\n  pcVar2 = conf_get_str(conf,0x39);\n  return pcVar2;\n}" primitive_type (pointer_declarator "* conf_dest(Conf *conf)" * (function_declarator "conf_dest(Conf *conf)" identifier (parameter_list "(Conf *conf)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  \n  iVar1 = conf_get_int(conf,2);\n  if (iVar1 != 4) {\n    pcVar2 = conf_get_str(conf,0);\n    return pcVar2;\n  }\n  pcVar2 = conf_get_str(conf,0x39);\n  return pcVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "iVar1 = conf_get_int(conf,2);" (assignment_expression "iVar1 = conf_get_int(conf,2)" identifier = (call_expression "conf_get_int(conf,2)" identifier (argument_list "(conf,2)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 4) {\n    pcVar2 = conf_get_str(conf,0);\n    return pcVar2;\n  }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = conf_get_str(conf,0);\n    return pcVar2;\n  }" { (expression_statement "pcVar2 = conf_get_str(conf,0);" (assignment_expression "pcVar2 = conf_get_str(conf,0)" identifier = (call_expression "conf_get_str(conf,0)" identifier (argument_list "(conf,0)" ( identifier , number_literal )))) ;) (return_statement "return pcVar2;" return identifier ;) })) (expression_statement "pcVar2 = conf_get_str(conf,0x39);" (assignment_expression "pcVar2 = conf_get_str(conf,0x39)" identifier = (call_expression "conf_get_str(conf,0x39)" identifier (argument_list "(conf,0x39)" ( identifier , number_literal )))) ;) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "void FUN_0002c720(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}\n\n" (function_definition "void FUN_0002c720(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}" primitive_type (function_declarator "FUN_0002c720(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0001d690(param_1,2);" (assignment_expression "iVar1 = FUN_0001d690(param_1,2)" identifier = (call_expression "FUN_0001d690(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (compound_statement "{\n    FUN_0001d840(param_1,0);\n    return;\n  }" { (expression_statement "FUN_0001d840(param_1,0);" (call_expression "FUN_0001d840(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0001d840(param_1,0x39);" (call_expression "FUN_0001d840(param_1,0x39)" identifier (argument_list "(param_1,0x39)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0002c720(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002c720(undefined4 param_1)" (identifier "FUN_0002c720") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0001d690(param_1,2);\n  if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }\n  FUN_0001d840(param_1,0x39);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0001d690(param_1,2);" (assignment_expression "iVar1 = FUN_0001d690(param_1,2)" (identifier "iVar1") (= "=") (call_expression "FUN_0001d690(param_1,2)" (identifier "FUN_0001d690") (argument_list "(param_1,2)" (( "(") (identifier "param_1") (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 4) {\n    FUN_0001d840(param_1,0);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 4)" (( "(") (binary_expression "iVar1 != 4" (identifier "iVar1") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n    FUN_0001d840(param_1,0);\n    return;\n  }" ({ "{") (expression_statement "FUN_0001d840(param_1,0);" (call_expression "FUN_0001d840(param_1,0)" (identifier "FUN_0001d840") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0001d840(param_1,0x39);" (call_expression "FUN_0001d840(param_1,0x39)" (identifier "FUN_0001d840") (argument_list "(param_1,0x39)" (( "(") (identifier "param_1") (, ",") (number_literal "0x39") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

char * function_1(type_1 *conf)

{
  int var_2;
  char *pcVar2;
  
  var_2 = var_1(conf,2);
  if (var_2 != 4) {
    pcVar2 = var_3(conf,0);
    return pcVar2;
  }
  pcVar2 = var_3(conf,0x39);
  return pcVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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) (number_literal))))) (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) (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement))))

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

void MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_0001d690(param_1,2);
  if (iVar1 != 4) {
    FUN_0001d840(param_1,0);
    return;
  }
  FUN_0001d840(param_1,0x39);
  return;
}

