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

llist_t * llist_find_str(llist_t *list,char *str)

{
}



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

int * __regparm3 FUN_00018e01(int *param_1,char *param_2)

{
  int iVar1;
  
  if (param_1 != (int *)0x0) {
    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {
      param_1 = (int *)*param_1;
      if (param_1 == (int *)0x0) {
        return (int *)0x0;
      }
    }
  }
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017640
ADD EBX,0xb7c17
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00018e2a
MOV EDI,EDX
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESI + 0x4]
CALL 0x00016140
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00018e30
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JNZ 0x00018e17
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __regparm3 FUN_00018e01(int *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}\n\n" comment (function_definition "int * __regparm3 FUN_00018e01(int *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00018e01(int *param_1,char *param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00018e01(int *param_1,char *param_2)" identifier (parameter_list "(int *param_1,char *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }" { (while_statement "while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }" while (parenthesized_expression "(iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0)" ( (comma_expression "iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0" (assignment_expression "iVar1 = strcmp((char *)param_1[1],param_2)" identifier = (call_expression "strcmp((char *)param_1[1],param_2)" identifier (argument_list "((char *)param_1[1],param_2)" ( (cast_expression "(char *)param_1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }" { (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (int *)0x0;\n      }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nllist_t * llist_find_str(llist_t *list,char *str)\n\n{\n}\n\n" comment (function_definition "llist_t * llist_find_str(llist_t *list,char *str)\n\n{\n}" type_identifier (pointer_declarator "* llist_find_str(llist_t *list,char *str)" * (function_declarator "llist_find_str(llist_t *list,char *str)" identifier (parameter_list "(llist_t *list,char *str)" ( (parameter_declaration "llist_t *list" type_identifier (pointer_declarator "*list" * identifier)) , (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) )))) (compound_statement "{\n}" { })))
(translation_unit "int * __regparm3 FUN_00018e01(int *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}\n\n" (function_definition "int * __regparm3 FUN_00018e01(int *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00018e01(int *param_1,char *param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00018e01(int *param_1,char *param_2)" identifier (parameter_list "(int *param_1,char *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }" { (while_statement "while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }" while (parenthesized_expression "(iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0)" ( (comma_expression "iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0" (assignment_expression "iVar1 = strcmp((char *)param_1[1],param_2)" identifier = (call_expression "strcmp((char *)param_1[1],param_2)" identifier (argument_list "((char *)param_1[1],param_2)" ( (cast_expression "(char *)param_1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }" { (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (int *)0x0;\n      }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) })) })) (return_statement return IDENT ;) })))
(function_definition "int * __regparm3 FUN_00018e01(int *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* __regparm3 FUN_00018e01(int *param_1,char *param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018e01(int *param_1,char *param_2)" (identifier "FUN_00018e01") (parameter_list "(int *param_1,char *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 != (int *)0x0) {\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }\n  }" ({ "{") (while_statement "while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }" (while "while") (parenthesized_expression "(iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0)" (( "(") (comma_expression "iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0" (assignment_expression "iVar1 = strcmp((char *)param_1[1],param_2)" (identifier "iVar1") (= "=") (call_expression "strcmp((char *)param_1[1],param_2)" (identifier "strcmp") (argument_list "((char *)param_1[1],param_2)" (( "(") (cast_expression "(char *)param_1[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }\n    }" ({ "{") (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n        return (int *)0x0;\n      }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return (int *)0x0;\n      }" ({ "{") (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

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

type_1 * function_1(type_1 *list,char *str)

{
}


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

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

int * __regparm3 MASKED(int *param_1,char *param_2)

{
  int iVar1;
  
  if (param_1 != (int *)0x0) {
    while (iVar1 = strcmp((char *)param_1[1],param_2), iVar1 != 0) {
      param_1 = (int *)*param_1;
      if (param_1 == (int *)0x0) {
        return (int *)0x0;
      }
    }
  }
  return param_1;
}

