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

void burnstr(char *string)

{
  size_t n;
  
  if (string != (char *)0x0) {
    n = strlen(string);
    if (n != 0) {
      smemclr(string,n);
    }
    free(string);
  }
  return;
}



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

void FUN_0001b780(char *param_1)

{
  size_t sVar1;
  undefined4 uVar2;
  
  uVar2 = 0x1b787;
  if (param_1 != (char *)0x0) {
    sVar1 = strlen(param_1);
    if (sVar1 != 0) {
      FUN_0001b410(uVar2);
    }
    free(param_1);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00014540
ADD EBX,0x416dd
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x0001b7b4
SUB ESP,0xc
PUSH ESI
CALL 0x00012310
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001b7c0
SUB ESP,0xc
PUSH ESI
CALL 0x000120e0
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV EDX,EAX
MOV EAX,ESI
CALL 0x0001b410
JMP 0x0001b7a8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001b780(char *param_1)\n\n{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001b780(char *param_1)\n\n{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001b780(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x1b787;" (assignment_expression "uVar2 = 0x1b787" identifier = number_literal) ;) (if_statement "if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }" { (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }" if (parenthesized_expression "(sVar1 != 0)" ( (binary_expression "sVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0001b410(uVar2);\n    }" { (expression_statement "FUN_0001b410(uVar2);" (call_expression "FUN_0001b410(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( 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\nvoid burnstr(char *string)\n\n{\n  size_t n;\n  \n  if (string != (char *)0x0) {\n    n = strlen(string);\n    if (n != 0) {\n      smemclr(string,n);\n    }\n    free(string);\n  }\n  return;\n}\n\n" comment comment (function_definition "void burnstr(char *string)\n\n{\n  size_t n;\n  \n  if (string != (char *)0x0) {\n    n = strlen(string);\n    if (n != 0) {\n      smemclr(string,n);\n    }\n    free(string);\n  }\n  return;\n}" primitive_type (function_declarator "burnstr(char *string)" identifier (parameter_list "(char *string)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  size_t n;\n  \n  if (string != (char *)0x0) {\n    n = strlen(string);\n    if (n != 0) {\n      smemclr(string,n);\n    }\n    free(string);\n  }\n  return;\n}" { (declaration "size_t n;" primitive_type identifier ;) (if_statement "if (string != (char *)0x0) {\n    n = strlen(string);\n    if (n != 0) {\n      smemclr(string,n);\n    }\n    free(string);\n  }" if (parenthesized_expression "(string != (char *)0x0)" ( (binary_expression "string != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    n = strlen(string);\n    if (n != 0) {\n      smemclr(string,n);\n    }\n    free(string);\n  }" { (expression_statement "n = strlen(string);" (assignment_expression "n = strlen(string)" identifier = (call_expression "strlen(string)" identifier (argument_list "(string)" ( identifier )))) ;) (if_statement "if (n != 0) {\n      smemclr(string,n);\n    }" if (parenthesized_expression "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) )) (compound_statement "{\n      smemclr(string,n);\n    }" { (expression_statement "smemclr(string,n);" (call_expression "smemclr(string,n)" identifier (argument_list "(string,n)" ( identifier , identifier ))) ;) })) (expression_statement "free(string);" (call_expression "free(string)" identifier (argument_list "(string)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001b780(char *param_1)\n\n{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001b780(char *param_1)\n\n{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001b780(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x1b787;" (assignment_expression "uVar2 = 0x1b787" identifier = number_literal) ;) (if_statement "if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }" if (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }" { (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }" if (parenthesized_expression "(sVar1 != 0)" ( (binary_expression "sVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0001b410(uVar2);\n    }" { (expression_statement "FUN_0001b410(uVar2);" (call_expression "FUN_0001b410(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001b780(char *param_1)\n\n{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001b780(char *param_1)" (identifier "FUN_0001b780") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  size_t sVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x1b787;\n  if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }\n  return;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = 0x1b787;" (assignment_expression "uVar2 = 0x1b787" (identifier "uVar2") (= "=") (number_literal "0x1b787")) (; ";")) (if_statement "if (param_1 != (char *)0x0) {\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }" (if "if") (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar1 = strlen(param_1);\n    if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }\n    free(param_1);\n  }" ({ "{") (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" (identifier "sVar1") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (sVar1 != 0) {\n      FUN_0001b410(uVar2);\n    }" (if "if") (parenthesized_expression "(sVar1 != 0)" (( "(") (binary_expression "sVar1 != 0" (identifier "sVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0001b410(uVar2);\n    }" ({ "{") (expression_statement "FUN_0001b410(uVar2);" (call_expression "FUN_0001b410(uVar2)" (identifier "FUN_0001b410") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "free(param_1);" (call_expression "free(param_1)" (identifier "free") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(char *var_1)

{
  size_t var_3;
  
  if (var_1 != (char *)0x0) {
    var_3 = var_2(var_1);
    if (var_3 != 0) {
      var_4(var_1,var_3);
    }
    var_5(var_1);
  }
  return;
}


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

{
  size_t sVar1;
  undefined4 uVar2;
  
  uVar2 = 0x1b787;
  if (param_1 != (char *)0x0) {
    sVar1 = strlen(param_1);
    if (sVar1 != 0) {
      FUN_0001b410(uVar2);
    }
    free(param_1);
  }
  return;
}

