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

void close_settings_r(void *handle)

{
  undefined4 *e;
  
  if (handle != (void *)0x0) {
    while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {
      del234((tree234 *)handle,e);
      safefree((void *)*e);
      safefree((void *)e[1]);
      safefree(e);
    }
    freetree234((tree234 *)handle);
  }
  return;
}



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

void FUN_0008a2e0(int param_1)

{
  undefined4 *puVar1;
  
  if (param_1 != 0) {
    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {
      FUN_00080da0(param_1,puVar1);
      FUN_0001dd30(*puVar1);
      FUN_0001dd30(puVar1[1]);
      FUN_0001dd30(puVar1);
    }
    FUN_0007d060(param_1);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x000149a0
ADD EBX,0x42a84
TEST EDI,EDI
JNZ 0x0008a326
JMP 0x0008a346
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00080da0
POP EAX
PUSH dword ptr [ESI]
CALL 0x0001dd30
POP EDX
PUSH dword ptr [ESI + 0x4]
CALL 0x0001dd30
MOV dword ptr [ESP],ESI
CALL 0x0001dd30
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x0
PUSH EDI
CALL 0x00080970
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JNZ 0x0008a300
SUB ESP,0xc
PUSH EDI
CALL 0x0007d060
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0008a2e0(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0008a2e0(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0008a2e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }" { (while_statement "while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }" while (parenthesized_expression "(puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = (undefined4 *)FUN_00080970(param_1,0)" identifier = (cast_expression "(undefined4 *)FUN_00080970(param_1,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00080970(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }" { (expression_statement "FUN_00080da0(param_1,puVar1);" (call_expression "FUN_00080da0(param_1,puVar1)" identifier (argument_list "(param_1,puVar1)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001dd30(*puVar1);" (call_expression "FUN_0001dd30(*puVar1)" identifier (argument_list "(*puVar1)" ( (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "FUN_0001dd30(puVar1[1]);" (call_expression "FUN_0001dd30(puVar1[1])" identifier (argument_list "(puVar1[1])" ( (subscript_expression "puVar1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0001dd30(puVar1);" (call_expression "FUN_0001dd30(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) (expression_statement "FUN_0007d060(param_1);" (call_expression "FUN_0007d060(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 close_settings_r(void *handle)\n\n{\n  undefined4 *e;\n  \n  if (handle != (void *)0x0) {\n    while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }\n    freetree234((tree234 *)handle);\n  }\n  return;\n}\n\n" comment comment (function_definition "void close_settings_r(void *handle)\n\n{\n  undefined4 *e;\n  \n  if (handle != (void *)0x0) {\n    while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }\n    freetree234((tree234 *)handle);\n  }\n  return;\n}" primitive_type (function_declarator "close_settings_r(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  undefined4 *e;\n  \n  if (handle != (void *)0x0) {\n    while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }\n    freetree234((tree234 *)handle);\n  }\n  return;\n}" { (declaration "undefined4 *e;" type_identifier (pointer_declarator "*e" * identifier) ;) (if_statement "if (handle != (void *)0x0) {\n    while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }\n    freetree234((tree234 *)handle);\n  }" if (parenthesized_expression "(handle != (void *)0x0)" ( (binary_expression "handle != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }\n    freetree234((tree234 *)handle);\n  }" { (while_statement "while (e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0) {\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }" while (parenthesized_expression "(e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0)" ( (comma_expression "e = (undefined4 *)index234((tree234 *)handle,0), e != (undefined4 *)0x0" (assignment_expression "e = (undefined4 *)index234((tree234 *)handle,0)" identifier = (cast_expression "(undefined4 *)index234((tree234 *)handle,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "index234((tree234 *)handle,0)" identifier (argument_list "((tree234 *)handle,0)" ( (cast_expression "(tree234 *)handle" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))))) , (binary_expression "e != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      del234((tree234 *)handle,e);\n      safefree((void *)*e);\n      safefree((void *)e[1]);\n      safefree(e);\n    }" { (expression_statement "del234((tree234 *)handle,e);" (call_expression "del234((tree234 *)handle,e)" identifier (argument_list "((tree234 *)handle,e)" ( (cast_expression "(tree234 *)handle" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "safefree((void *)*e);" (call_expression "safefree((void *)*e)" identifier (argument_list "((void *)*e)" ( (cast_expression "(void *)*e" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*e" * identifier)) ))) ;) (expression_statement "safefree((void *)e[1]);" (call_expression "safefree((void *)e[1])" identifier (argument_list "((void *)e[1])" ( (cast_expression "(void *)e[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "e[1]" identifier [ number_literal ])) ))) ;) (expression_statement "safefree(e);" (call_expression "safefree(e)" identifier (argument_list "(e)" ( identifier ))) ;) })) (expression_statement "freetree234((tree234 *)handle);" (call_expression "freetree234((tree234 *)handle)" identifier (argument_list "((tree234 *)handle)" ( (cast_expression "(tree234 *)handle" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0008a2e0(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0008a2e0(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0008a2e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }" { (while_statement "while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }" while (parenthesized_expression "(puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = (undefined4 *)FUN_00080970(param_1,0)" identifier = (cast_expression "(undefined4 *)FUN_00080970(param_1,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00080970(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }" { (expression_statement "FUN_00080da0(param_1,puVar1);" (call_expression "FUN_00080da0(param_1,puVar1)" identifier (argument_list "(param_1,puVar1)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001dd30(*puVar1);" (call_expression "FUN_0001dd30(*puVar1)" identifier (argument_list "(*puVar1)" ( (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "FUN_0001dd30(puVar1[1]);" (call_expression "FUN_0001dd30(puVar1[1])" identifier (argument_list "(puVar1[1])" ( (subscript_expression "puVar1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0001dd30(puVar1);" (call_expression "FUN_0001dd30(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) (expression_statement "FUN_0007d060(param_1);" (call_expression "FUN_0007d060(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 IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0008a2e0(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0008a2e0(int param_1)" (identifier "FUN_0008a2e0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (param_1 != 0) {\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }\n    FUN_0007d060(param_1);\n  }" ({ "{") (while_statement "while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {\n      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }" (while "while") (parenthesized_expression "(puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = (undefined4 *)FUN_00080970(param_1,0)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00080970(param_1,0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00080970(param_1,0)" (identifier "FUN_00080970") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))))) (, ",") (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      FUN_00080da0(param_1,puVar1);\n      FUN_0001dd30(*puVar1);\n      FUN_0001dd30(puVar1[1]);\n      FUN_0001dd30(puVar1);\n    }" ({ "{") (expression_statement "FUN_00080da0(param_1,puVar1);" (call_expression "FUN_00080da0(param_1,puVar1)" (identifier "FUN_00080da0") (argument_list "(param_1,puVar1)" (( "(") (identifier "param_1") (, ",") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "FUN_0001dd30(*puVar1);" (call_expression "FUN_0001dd30(*puVar1)" (identifier "FUN_0001dd30") (argument_list "(*puVar1)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (expression_statement "FUN_0001dd30(puVar1[1]);" (call_expression "FUN_0001dd30(puVar1[1])" (identifier "FUN_0001dd30") (argument_list "(puVar1[1])" (( "(") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_0001dd30(puVar1);" (call_expression "FUN_0001dd30(puVar1)" (identifier "FUN_0001dd30") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0007d060(param_1);" (call_expression "FUN_0007d060(param_1)" (identifier "FUN_0007d060") (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(void *var_1)

{
  type_1 *var_3;
  
  if (var_1 != (void *)0x0) {
    while (var_3 = (type_1 *)var_2((type_2 *)var_1,0), var_3 != (type_1 *)0x0) {
      var_4((type_2 *)var_1,var_3);
      var_5((void *)*var_3);
      var_5((void *)var_3[1]);
      var_5(var_3);
    }
    var_6((type_2 *)var_1);
  }
  return;
}


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

{
  undefined4 *puVar1;
  
  if (param_1 != 0) {
    while (puVar1 = (undefined4 *)FUN_00080970(param_1,0), puVar1 != (undefined4 *)0x0) {
      FUN_00080da0(param_1,puVar1);
      FUN_0001dd30(*puVar1);
      FUN_0001dd30(puVar1[1]);
      FUN_0001dd30(puVar1);
    }
    FUN_0007d060(param_1);
  }
  return;
}

