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

void new_init_action(void)

{
}



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

void __regparm3 FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  char *__s1;
  
  puVar4 = &DAT_000dc2f8;
  puVar1 = DAT_000dc2f8;
  if (DAT_000dc2f8 != (undefined4 *)0x0) {
    do {
      puVar3 = puVar1;
      __s1 = (char *)((int)puVar3 + 0x29);
      iVar2 = strcmp(__s1,param_2);
      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {
        puVar1 = (undefined4 *)*puVar3;
        *puVar4 = puVar1;
        if (puVar1 != (undefined4 *)0x0) {
          puVar4 = puVar1;
          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;
              puVar1 = (undefined4 *)*puVar1) {
            puVar4 = puVar1;
          }
        }
        *puVar3 = 0;
        goto LAB_000ad3de;
      }
      puVar4 = puVar3;
      puVar1 = (undefined4 *)*puVar3;
    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);
  }
  strlen(param_2);
  puVar3 = (undefined4 *)FUN_0001a2f5();
  __s1 = (char *)((int)puVar3 + 0x29);
LAB_000ad3de:
  *puVar4 = puVar3;
  *(undefined1 *)(puVar3 + 2) = param_1;
  strcpy(__s1,param_2);
  FUN_000bc785();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
CALL 0x00017650
ADD EBX,0x2e6e1
MOV dword ptr [ESP + 0xc],EAX
MOV EBP,EDX
MOV dword ptr [ESP + 0x4],ECX
LEA EDX,[EBX + 0x8d8]
MOV ESI,dword ptr [EDX]
TEST ESI,ESI
JZ 0x000ad3b7
MOV EDI,EDX
LEA EAX,[ESI + 0x29]
SUB ESP,0x8
PUSH EBP
MOV dword ptr [ESP + 0x14],EAX
PUSH EAX
CALL 0x00016140
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000ad3ad
LEA ECX,[ESI + 0x9]
MOV dword ptr [ESP],ECX
SUB ESP,0x8
PUSH dword ptr [ESP + 0xc]
PUSH ECX
CALL 0x00016140
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000ad3ad
MOV EDX,EDI
MOV EDI,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESI]
MOV dword ptr [EDX],EAX
TEST EAX,EAX
JZ 0x000ad40c
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JZ 0x000ad40a
MOV EAX,EDX
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JNZ 0x000ad3a3
JMP 0x000ad40a
MOV EDI,ESI
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JNZ 0x000ad35d
MOV EDX,EDI
MOV dword ptr [ESP + 0x8],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x00016b40
ADD ESP,0x10
ADD EAX,0x2c
CALL 0x0001a2f5
MOV ESI,EAX
LEA EDI,[EAX + 0x29]
LEA EAX,[EAX + 0x9]
MOV dword ptr [ESP],EAX
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [EDX],ESI
MOV AL,byte ptr [ESP + 0xc]
MOV byte ptr [ESI + 0x8],AL
SUB ESP,0x8
PUSH EBP
PUSH EDI
CALL 0x000167f0
MOV ECX,0x20
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000bc785
MOV EDX,EAX
MOV dword ptr [ESI],0x0
JMP 0x000ad3de
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)" identifier (parameter_list "(undefined1 param_1,char *param_2,char *param_3)" ( (parameter_declaration "undefined1 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (expression_statement "puVar4 = &DAT_000dc2f8;" (assignment_expression "puVar4 = &DAT_000dc2f8" identifier = (pointer_expression "&DAT_000dc2f8" & identifier)) ;) (expression_statement "puVar1 = DAT_000dc2f8;" (assignment_expression "puVar1 = DAT_000dc2f8" identifier = identifier) ;) (if_statement "if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }" if (parenthesized_expression "(DAT_000dc2f8 != (undefined4 *)0x0)" ( (binary_expression "DAT_000dc2f8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }" { (do_statement "do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);" do (compound_statement "{\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    }" { (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (expression_statement "__s1 = (char *)((int)puVar3 + 0x29);" (assignment_expression "__s1 = (char *)((int)puVar3 + 0x29)" identifier = (cast_expression "(char *)((int)puVar3 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 0x29)" ( (binary_expression "(int)puVar3 + 0x29" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar2 = strcmp(__s1,param_2);" (assignment_expression "iVar2 = strcmp(__s1,param_2)" identifier = (call_expression "strcmp(__s1,param_2)" identifier (argument_list "(__s1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }" if (parenthesized_expression "((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0))" ( (binary_expression "(iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)((int)puVar3 + 9),param_3)" identifier = (call_expression "strcmp((char *)((int)puVar3 + 9),param_3)" identifier (argument_list "((char *)((int)puVar3 + 9),param_3)" ( (cast_expression "(char *)((int)puVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 9)" ( (binary_expression "(int)puVar3 + 9" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }" { (expression_statement "puVar1 = (undefined4 *)*puVar3;" (assignment_expression "puVar1 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "*puVar4 = puVar1;" (assignment_expression "*puVar4 = puVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }" { (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (for_statement "for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }" for ( (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n            puVar4 = puVar1;\n          }" { (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) })) })) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (goto_statement "goto LAB_000ad3de;" goto statement_identifier ;) })) (expression_statement "puVar4 = puVar3;" (assignment_expression "puVar4 = puVar3" identifier = identifier) ;) (expression_statement "puVar1 = (undefined4 *)*puVar3;" (assignment_expression "puVar1 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) }) while (parenthesized_expression "((undefined4 *)*puVar3 != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)*puVar3 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "strlen(param_2);" (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "puVar3 = (undefined4 *)FUN_0001a2f5();" (assignment_expression "puVar3 = (undefined4 *)FUN_0001a2f5()" identifier = (cast_expression "(undefined4 *)FUN_0001a2f5()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2f5()" identifier (argument_list "()" ( ))))) ;) (expression_statement "__s1 = (char *)((int)puVar3 + 0x29);" (assignment_expression "__s1 = (char *)((int)puVar3 + 0x29)" identifier = (cast_expression "(char *)((int)puVar3 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 0x29)" ( (binary_expression "(int)puVar3 + 0x29" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (labeled_statement "LAB_000ad3de:\n  *puVar4 = puVar3;" statement_identifier : (expression_statement "*puVar4 = puVar3;" (assignment_expression "*puVar4 = puVar3" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (expression_statement "*(undefined1 *)(puVar3 + 2) = param_1;" (assignment_expression "*(undefined1 *)(puVar3 + 2) = param_1" (pointer_expression "*(undefined1 *)(puVar3 + 2)" * (cast_expression "(undefined1 *)(puVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 2)" ( (binary_expression "puVar3 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "strcpy(__s1,param_2);" (call_expression "strcpy(__s1,param_2)" identifier (argument_list "(__s1,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_000bc785();" (call_expression "FUN_000bc785()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid new_init_action(void)\n\n{\n}\n\n" comment (function_definition "void new_init_action(void)\n\n{\n}" primitive_type (function_declarator "new_init_action(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm3 FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)" identifier (parameter_list "(undefined1 param_1,char *param_2,char *param_3)" ( (parameter_declaration "undefined1 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (expression_statement "puVar4 = &DAT_000dc2f8;" (assignment_expression "puVar4 = &DAT_000dc2f8" identifier = (pointer_expression "&DAT_000dc2f8" & identifier)) ;) (expression_statement "puVar1 = DAT_000dc2f8;" (assignment_expression "puVar1 = DAT_000dc2f8" identifier = identifier) ;) (if_statement "if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }" if (parenthesized_expression "(DAT_000dc2f8 != (undefined4 *)0x0)" ( (binary_expression "DAT_000dc2f8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }" { (do_statement "do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);" do (compound_statement "{\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    }" { (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (expression_statement "__s1 = (char *)((int)puVar3 + 0x29);" (assignment_expression "__s1 = (char *)((int)puVar3 + 0x29)" identifier = (cast_expression "(char *)((int)puVar3 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 0x29)" ( (binary_expression "(int)puVar3 + 0x29" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "iVar2 = strcmp(__s1,param_2);" (assignment_expression "iVar2 = strcmp(__s1,param_2)" identifier = (call_expression "strcmp(__s1,param_2)" identifier (argument_list "(__s1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }" if (parenthesized_expression "((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0))" ( (binary_expression "(iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)((int)puVar3 + 9),param_3)" identifier = (call_expression "strcmp((char *)((int)puVar3 + 9),param_3)" identifier (argument_list "((char *)((int)puVar3 + 9),param_3)" ( (cast_expression "(char *)((int)puVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 9)" ( (binary_expression "(int)puVar3 + 9" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }" { (expression_statement "puVar1 = (undefined4 *)*puVar3;" (assignment_expression "puVar1 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "*puVar4 = puVar1;" (assignment_expression "*puVar4 = puVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }" { (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (for_statement "for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }" for ( (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n            puVar4 = puVar1;\n          }" { (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) })) })) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (goto_statement "goto LAB_000ad3de;" goto statement_identifier ;) })) (expression_statement "puVar4 = puVar3;" (assignment_expression "puVar4 = puVar3" identifier = identifier) ;) (expression_statement "puVar1 = (undefined4 *)*puVar3;" (assignment_expression "puVar1 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) }) while (parenthesized_expression "((undefined4 *)*puVar3 != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)*puVar3 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "strlen(param_2);" (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "puVar3 = (undefined4 *)FUN_0001a2f5();" (assignment_expression "puVar3 = (undefined4 *)FUN_0001a2f5()" identifier = (cast_expression "(undefined4 *)FUN_0001a2f5()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2f5()" identifier (argument_list "()" ( ))))) ;) (expression_statement "__s1 = (char *)((int)puVar3 + 0x29);" (assignment_expression "__s1 = (char *)((int)puVar3 + 0x29)" identifier = (cast_expression "(char *)((int)puVar3 + 0x29)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 0x29)" ( (binary_expression "(int)puVar3 + 0x29" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (labeled_statement "LAB_000ad3de:\n  *puVar4 = puVar3;" statement_identifier : (expression_statement "*puVar4 = puVar3;" (assignment_expression "*puVar4 = puVar3" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (expression_statement "*(undefined1 *)(puVar3 + 2) = param_1;" (assignment_expression "*(undefined1 *)(puVar3 + 2) = param_1" (pointer_expression "*(undefined1 *)(puVar3 + 2)" * (cast_expression "(undefined1 *)(puVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 2)" ( (binary_expression "puVar3 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "strcpy(__s1,param_2);" (call_expression "strcpy(__s1,param_2)" identifier (argument_list "(__s1,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_000bc785();" (call_expression "FUN_000bc785()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000ad333(undefined1 param_1,char *param_2,char *param_3)" (identifier "FUN_000ad333") (parameter_list "(undefined1 param_1,char *param_2,char *param_3)" (( "(") (parameter_declaration "undefined1 param_1" (type_identifier "undefined1") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *__s1;\n  \n  puVar4 = &DAT_000dc2f8;\n  puVar1 = DAT_000dc2f8;\n  if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }\n  strlen(param_2);\n  puVar3 = (undefined4 *)FUN_0001a2f5();\n  __s1 = (char *)((int)puVar3 + 0x29);\nLAB_000ad3de:\n  *puVar4 = puVar3;\n  *(undefined1 *)(puVar3 + 2) = param_1;\n  strcpy(__s1,param_2);\n  FUN_000bc785();\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (expression_statement "puVar4 = &DAT_000dc2f8;" (assignment_expression "puVar4 = &DAT_000dc2f8" (identifier "puVar4") (= "=") (pointer_expression "&DAT_000dc2f8" (& "&") (identifier "DAT_000dc2f8"))) (; ";")) (expression_statement "puVar1 = DAT_000dc2f8;" (assignment_expression "puVar1 = DAT_000dc2f8" (identifier "puVar1") (= "=") (identifier "DAT_000dc2f8")) (; ";")) (if_statement "if (DAT_000dc2f8 != (undefined4 *)0x0) {\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_000dc2f8 != (undefined4 *)0x0)" (( "(") (binary_expression "DAT_000dc2f8 != (undefined4 *)0x0" (identifier "DAT_000dc2f8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);\n  }" ({ "{") (do_statement "do {\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n      puVar3 = puVar1;\n      __s1 = (char *)((int)puVar3 + 0x29);\n      iVar2 = strcmp(__s1,param_2);\n      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }\n      puVar4 = puVar3;\n      puVar1 = (undefined4 *)*puVar3;\n    }" ({ "{") (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" (identifier "puVar3") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "__s1 = (char *)((int)puVar3 + 0x29);" (assignment_expression "__s1 = (char *)((int)puVar3 + 0x29)" (identifier "__s1") (= "=") (cast_expression "(char *)((int)puVar3 + 0x29)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 0x29)" (( "(") (binary_expression "(int)puVar3 + 0x29" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "0x29")) () ")")))) (; ";")) (expression_statement "iVar2 = strcmp(__s1,param_2);" (assignment_expression "iVar2 = strcmp(__s1,param_2)" (identifier "iVar2") (= "=") (call_expression "strcmp(__s1,param_2)" (identifier "strcmp") (argument_list "(__s1,param_2)" (( "(") (identifier "__s1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }" (if "if") (parenthesized_expression "((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0))" (( "(") (binary_expression "(iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)" (( "(") (comma_expression "iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)((int)puVar3 + 9),param_3)" (identifier "iVar2") (= "=") (call_expression "strcmp((char *)((int)puVar3 + 9),param_3)" (identifier "strcmp") (argument_list "((char *)((int)puVar3 + 9),param_3)" (( "(") (cast_expression "(char *)((int)puVar3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 9)" (( "(") (binary_expression "(int)puVar3 + 9" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "9")) () ")"))) (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        puVar1 = (undefined4 *)*puVar3;\n        *puVar4 = puVar1;\n        if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }\n        *puVar3 = 0;\n        goto LAB_000ad3de;\n      }" ({ "{") (expression_statement "puVar1 = (undefined4 *)*puVar3;" (assignment_expression "puVar1 = (undefined4 *)*puVar3" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "*puVar4 = puVar1;" (assignment_expression "*puVar4 = puVar1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          puVar4 = puVar1;\n          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }\n        }" ({ "{") (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (for_statement "for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;\n              puVar1 = (undefined4 *)*puVar1) {\n            puVar4 = puVar1;\n          }" (for "for") (( "(") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n            puVar4 = puVar1;\n          }" ({ "{") (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000ad3de;" (goto "goto") (statement_identifier "LAB_000ad3de") (; ";")) (} "}"))) (expression_statement "puVar4 = puVar3;" (assignment_expression "puVar4 = puVar3" (identifier "puVar4") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "puVar1 = (undefined4 *)*puVar3;" (assignment_expression "puVar1 = (undefined4 *)*puVar3" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined4 *)*puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)*puVar3 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "strlen(param_2);" (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)FUN_0001a2f5();" (assignment_expression "puVar3 = (undefined4 *)FUN_0001a2f5()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_0001a2f5()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a2f5()" (identifier "FUN_0001a2f5") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "__s1 = (char *)((int)puVar3 + 0x29);" (assignment_expression "__s1 = (char *)((int)puVar3 + 0x29)" (identifier "__s1") (= "=") (cast_expression "(char *)((int)puVar3 + 0x29)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 0x29)" (( "(") (binary_expression "(int)puVar3 + 0x29" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "0x29")) () ")")))) (; ";")) (labeled_statement "LAB_000ad3de:\n  *puVar4 = puVar3;" (statement_identifier "LAB_000ad3de") (: ":") (expression_statement "*puVar4 = puVar3;" (assignment_expression "*puVar4 = puVar3" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar3")) (; ";"))) (expression_statement "*(undefined1 *)(puVar3 + 2) = param_1;" (assignment_expression "*(undefined1 *)(puVar3 + 2) = param_1" (pointer_expression "*(undefined1 *)(puVar3 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar3 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 2)" (( "(") (binary_expression "puVar3 + 2" (identifier "puVar3") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "strcpy(__s1,param_2);" (call_expression "strcpy(__s1,param_2)" (identifier "strcpy") (argument_list "(__s1,param_2)" (( "(") (identifier "__s1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_000bc785();" (call_expression "FUN_000bc785()" (identifier "FUN_000bc785") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

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

void __regparm3 MASKED(undefined1 param_1,char *param_2,char *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  char *__s1;
  
  puVar4 = &DAT_000dc2f8;
  puVar1 = DAT_000dc2f8;
  if (DAT_000dc2f8 != (undefined4 *)0x0) {
    do {
      puVar3 = puVar1;
      __s1 = (char *)((int)puVar3 + 0x29);
      iVar2 = strcmp(__s1,param_2);
      if ((iVar2 == 0) && (iVar2 = strcmp((char *)((int)puVar3 + 9),param_3), iVar2 == 0)) {
        puVar1 = (undefined4 *)*puVar3;
        *puVar4 = puVar1;
        if (puVar1 != (undefined4 *)0x0) {
          puVar4 = puVar1;
          for (puVar1 = (undefined4 *)*puVar1; puVar1 != (undefined4 *)0x0;
              puVar1 = (undefined4 *)*puVar1) {
            puVar4 = puVar1;
          }
        }
        *puVar3 = 0;
        goto LAB_000ad3de;
      }
      puVar4 = puVar3;
      puVar1 = (undefined4 *)*puVar3;
    } while ((undefined4 *)*puVar3 != (undefined4 *)0x0);
  }
  strlen(param_2);
  puVar3 = (undefined4 *)FUN_0001a2f5();
  __s1 = (char *)((int)puVar3 + 0x29);
LAB_000ad3de:
  *puVar4 = puVar3;
  *(undefined1 *)(puVar3 + 2) = param_1;
  strcpy(__s1,param_2);
  FUN_000bc785();
  return;
}

