
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void pfd_closing(Plug plug,char *error_msg,int error_code,int calling_back)

{
  ssh_channel *c;
  
  c = (ssh_channel *)plug[1];
  if (error_msg == (char *)0x0) {
    if (c != (ssh_channel *)0x0) {
      sshfwd_write_eof(c);
      return;
    }
  }
  else {
    if (c == (ssh_channel *)0x0) {
      pfd_close((PortForwarding *)plug);
      return;
    }
    sshfwd_unclean_close(c,error_msg);
  }
  return;
}



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

void FUN_0001c570(int param_1,int param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 4);
  if (param_2 == 0) {
    if (iVar1 != 0) {
      FUN_00039e40(iVar1);
      return;
    }
  }
  else {
    if (iVar1 == 0) {
      FUN_0001bf20();
      return;
    }
    FUN_0003bd10(iVar1,param_2);
  }
  return;
}


PUSH EBX
CALL 0x00014980
ADD EBX,0x8c7fa
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX + 0x4]
TEST EDX,EDX
JZ 0x0001c5b8
TEST EAX,EAX
JZ 0x0001c5a8
SUB ESP,0x8
PUSH EDX
PUSH EAX
CALL 0x0003bd10
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
ADD ESP,0x8
POP EBX
JMP 0x0001bf20
TEST EAX,EAX
JZ 0x0001c59f
SUB ESP,0xc
PUSH EAX
CALL 0x00039e40
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_0001c570(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001c570(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001c570(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }" { (if_statement "if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00039e40(iVar1);\n      return;\n    }" { (expression_statement "FUN_00039e40(iVar1);" (call_expression "FUN_00039e40(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" else (compound_statement "{\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" { (if_statement "if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_0001bf20();\n      return;\n    }" { (expression_statement "FUN_0001bf20();" (call_expression "FUN_0001bf20()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0003bd10(iVar1,param_2);" (call_expression "FUN_0003bd10(iVar1,param_2)" identifier (argument_list "(iVar1,param_2)" ( identifier , 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/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfd_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n  ssh_channel *c;\n  \n  c = (ssh_channel *)plug[1];\n  if (error_msg == (char *)0x0) {\n    if (c != (ssh_channel *)0x0) {\n      sshfwd_write_eof(c);\n      return;\n    }\n  }\n  else {\n    if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }\n    sshfwd_unclean_close(c,error_msg);\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void pfd_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n  ssh_channel *c;\n  \n  c = (ssh_channel *)plug[1];\n  if (error_msg == (char *)0x0) {\n    if (c != (ssh_channel *)0x0) {\n      sshfwd_write_eof(c);\n      return;\n    }\n  }\n  else {\n    if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }\n    sshfwd_unclean_close(c,error_msg);\n  }\n  return;\n}" primitive_type (function_declarator "pfd_closing(Plug plug,char *error_msg,int error_code,int calling_back)" identifier (parameter_list "(Plug plug,char *error_msg,int error_code,int calling_back)" ( (parameter_declaration "Plug plug" type_identifier identifier) , (parameter_declaration "char *error_msg" primitive_type (pointer_declarator "*error_msg" * identifier)) , (parameter_declaration "int error_code" primitive_type identifier) , (parameter_declaration "int calling_back" primitive_type identifier) ))) (compound_statement "{\n  ssh_channel *c;\n  \n  c = (ssh_channel *)plug[1];\n  if (error_msg == (char *)0x0) {\n    if (c != (ssh_channel *)0x0) {\n      sshfwd_write_eof(c);\n      return;\n    }\n  }\n  else {\n    if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }\n    sshfwd_unclean_close(c,error_msg);\n  }\n  return;\n}" { (declaration "ssh_channel *c;" type_identifier (pointer_declarator "*c" * identifier) ;) (expression_statement "c = (ssh_channel *)plug[1];" (assignment_expression "c = (ssh_channel *)plug[1]" identifier = (cast_expression "(ssh_channel *)plug[1]" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plug[1]" identifier [ number_literal ]))) ;) (if_statement "if (error_msg == (char *)0x0) {\n    if (c != (ssh_channel *)0x0) {\n      sshfwd_write_eof(c);\n      return;\n    }\n  }\n  else {\n    if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }\n    sshfwd_unclean_close(c,error_msg);\n  }" if (parenthesized_expression "(error_msg == (char *)0x0)" ( (binary_expression "error_msg == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (c != (ssh_channel *)0x0) {\n      sshfwd_write_eof(c);\n      return;\n    }\n  }" { (if_statement "if (c != (ssh_channel *)0x0) {\n      sshfwd_write_eof(c);\n      return;\n    }" if (parenthesized_expression "(c != (ssh_channel *)0x0)" ( (binary_expression "c != (ssh_channel *)0x0" identifier != (cast_expression "(ssh_channel *)0x0" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sshfwd_write_eof(c);\n      return;\n    }" { (expression_statement "sshfwd_write_eof(c);" (call_expression "sshfwd_write_eof(c)" identifier (argument_list "(c)" ( identifier ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }\n    sshfwd_unclean_close(c,error_msg);\n  }" else (compound_statement "{\n    if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }\n    sshfwd_unclean_close(c,error_msg);\n  }" { (if_statement "if (c == (ssh_channel *)0x0) {\n      pfd_close((PortForwarding *)plug);\n      return;\n    }" if (parenthesized_expression "(c == (ssh_channel *)0x0)" ( (binary_expression "c == (ssh_channel *)0x0" identifier == (cast_expression "(ssh_channel *)0x0" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pfd_close((PortForwarding *)plug);\n      return;\n    }" { (expression_statement "pfd_close((PortForwarding *)plug);" (call_expression "pfd_close((PortForwarding *)plug)" identifier (argument_list "((PortForwarding *)plug)" ( (cast_expression "(PortForwarding *)plug" ( (type_descriptor "PortForwarding *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "sshfwd_unclean_close(c,error_msg);" (call_expression "sshfwd_unclean_close(c,error_msg)" identifier (argument_list "(c,error_msg)" ( identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001c570(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001c570(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001c570(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }" { (if_statement "if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00039e40(iVar1);\n      return;\n    }" { (expression_statement "FUN_00039e40(iVar1);" (call_expression "FUN_00039e40(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" else (compound_statement "{\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" { (if_statement "if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_0001bf20();\n      return;\n    }" { (expression_statement "FUN_0001bf20();" (call_expression "FUN_0001bf20()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0003bd10(iVar1,param_2);" (call_expression "FUN_0003bd10(iVar1,param_2)" identifier (argument_list "(iVar1,param_2)" ( identifier , 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0001c570(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001c570(int param_1,int param_2)" (identifier "FUN_0001c570") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 4);\n  if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (param_2 == 0) {\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }\n  else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }\n  }" ({ "{") (if_statement "if (iVar1 != 0) {\n      FUN_00039e40(iVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00039e40(iVar1);\n      return;\n    }" ({ "{") (expression_statement "FUN_00039e40(iVar1);" (call_expression "FUN_00039e40(iVar1)" (identifier "FUN_00039e40") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" (else "else") (compound_statement "{\n    if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }\n    FUN_0003bd10(iVar1,param_2);\n  }" ({ "{") (if_statement "if (iVar1 == 0) {\n      FUN_0001bf20();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0001bf20();\n      return;\n    }" ({ "{") (expression_statement "FUN_0001bf20();" (call_expression "FUN_0001bf20()" (identifier "FUN_0001bf20") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0003bd10(iVar1,param_2);" (call_expression "FUN_0003bd10(iVar1,param_2)" (identifier "FUN_0003bd10") (argument_list "(iVar1,param_2)" (( "(") (identifier "iVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(type_1 plug,char *var_1,int error_code,int calling_back)

{
  type_2 *var_2;
  
  var_2 = (type_2 *)plug[1];
  if (var_1 == (char *)0x0) {
    if (var_2 != (type_2 *)0x0) {
      var_3(var_2);
      return;
    }
  }
  else {
    if (var_2 == (type_2 *)0x0) {
      var_4((type_3 *)plug);
      return;
    }
    var_5(var_2,var_1);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) (return_statement))))

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

void MASKED(int param_1,int param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 4);
  if (param_2 == 0) {
    if (iVar1 != 0) {
      FUN_00039e40(iVar1);
      return;
    }
  }
  else {
    if (iVar1 == 0) {
      FUN_0001bf20();
      return;
    }
    FUN_0003bd10(iVar1,param_2);
  }
  return;
}

