
/* WARNING: Unknown calling convention */

void extent_scan_init(int src_fd,extent_scan *scan)

{
  scan->fd = src_fd;
  scan->ext_info = (extent_info *)0x0;
  *(undefined4 *)&scan->scan_start = 0;
  *(undefined4 *)((int)&scan->scan_start + 4) = 0;
  scan->fm_flags = 1;
  scan->ei_count = 0;
  scan->initial_scan_failed = false;
  scan->hit_final_extent = false;
  return;
}



void FUN_0001aa20(undefined4 param_1,undefined4 *param_2)

{
  *param_2 = param_1;
  param_2[6] = 0;
  param_2[1] = 0;
  param_2[2] = 0;
  param_2[3] = 1;
  param_2[4] = 0;
  *(undefined2 *)(param_2 + 5) = 0;
  return;
}


MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX],EDX
XOR EDX,EDX
MOV dword ptr [EAX + 0x18],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x1
MOV dword ptr [EAX + 0x10],0x0
MOV word ptr [EAX + 0x14],DX
RET
(translation_unit "void FUN_0001aa20(undefined4 param_1,undefined4 *param_2)\n\n{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001aa20(undefined4 param_1,undefined4 *param_2)\n\n{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001aa20(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}" { (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[3] = 1;" (assignment_expression "param_2[3] = 1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[4] = 0;" (assignment_expression "param_2[4] = 0" (subscript_expression "param_2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_2 + 5) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 5) = 0" (pointer_expression "*(undefined2 *)(param_2 + 5)" * (cast_expression "(undefined2 *)(param_2 + 5)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 5)" ( (binary_expression "param_2 + 5" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid extent_scan_init(int src_fd,extent_scan *scan)\n\n{\n  scan->fd = src_fd;\n  scan->ext_info = (extent_info *)0x0;\n  *(undefined4 *)&scan->scan_start = 0;\n  *(undefined4 *)((int)&scan->scan_start + 4) = 0;\n  scan->fm_flags = 1;\n  scan->ei_count = 0;\n  scan->initial_scan_failed = false;\n  scan->hit_final_extent = false;\n  return;\n}\n\n" comment (function_definition "void extent_scan_init(int src_fd,extent_scan *scan)\n\n{\n  scan->fd = src_fd;\n  scan->ext_info = (extent_info *)0x0;\n  *(undefined4 *)&scan->scan_start = 0;\n  *(undefined4 *)((int)&scan->scan_start + 4) = 0;\n  scan->fm_flags = 1;\n  scan->ei_count = 0;\n  scan->initial_scan_failed = false;\n  scan->hit_final_extent = false;\n  return;\n}" primitive_type (function_declarator "extent_scan_init(int src_fd,extent_scan *scan)" identifier (parameter_list "(int src_fd,extent_scan *scan)" ( (parameter_declaration "int src_fd" primitive_type identifier) , (parameter_declaration "extent_scan *scan" type_identifier (pointer_declarator "*scan" * identifier)) ))) (compound_statement "{\n  scan->fd = src_fd;\n  scan->ext_info = (extent_info *)0x0;\n  *(undefined4 *)&scan->scan_start = 0;\n  *(undefined4 *)((int)&scan->scan_start + 4) = 0;\n  scan->fm_flags = 1;\n  scan->ei_count = 0;\n  scan->initial_scan_failed = false;\n  scan->hit_final_extent = false;\n  return;\n}" { (expression_statement "scan->fd = src_fd;" (assignment_expression "scan->fd = src_fd" (field_expression "scan->fd" identifier -> field_identifier) = identifier) ;) (expression_statement "scan->ext_info = (extent_info *)0x0;" (assignment_expression "scan->ext_info = (extent_info *)0x0" (field_expression "scan->ext_info" identifier -> field_identifier) = (cast_expression "(extent_info *)0x0" ( (type_descriptor "extent_info *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(undefined4 *)&scan->scan_start = 0;" (assignment_expression "*(undefined4 *)&scan->scan_start = 0" (pointer_expression "*(undefined4 *)&scan->scan_start" * (cast_expression "(undefined4 *)&scan->scan_start" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&scan->scan_start" & (field_expression "scan->scan_start" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&scan->scan_start + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&scan->scan_start + 4) = 0" (pointer_expression "*(undefined4 *)((int)&scan->scan_start + 4)" * (cast_expression "(undefined4 *)((int)&scan->scan_start + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&scan->scan_start + 4)" ( (binary_expression "(int)&scan->scan_start + 4" (cast_expression "(int)&scan->scan_start" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&scan->scan_start" & (field_expression "scan->scan_start" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "scan->fm_flags = 1;" (assignment_expression "scan->fm_flags = 1" (field_expression "scan->fm_flags" identifier -> field_identifier) = number_literal) ;) (expression_statement "scan->ei_count = 0;" (assignment_expression "scan->ei_count = 0" (field_expression "scan->ei_count" identifier -> field_identifier) = number_literal) ;) (expression_statement "scan->initial_scan_failed = false;" (assignment_expression "scan->initial_scan_failed = false" (field_expression "scan->initial_scan_failed" identifier -> field_identifier) = false) ;) (expression_statement "scan->hit_final_extent = false;" (assignment_expression "scan->hit_final_extent = false" (field_expression "scan->hit_final_extent" identifier -> field_identifier) = false) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001aa20(undefined4 param_1,undefined4 *param_2)\n\n{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0001aa20(undefined4 param_1,undefined4 *param_2)\n\n{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0001aa20(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}" { (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[3] = 1;" (assignment_expression "param_2[3] = 1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[4] = 0;" (assignment_expression "param_2[4] = 0" (subscript_expression "param_2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_2 + 5) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 5) = 0" (pointer_expression "*(undefined2 *)(param_2 + 5)" * (cast_expression "(undefined2 *)(param_2 + 5)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 5)" ( (binary_expression "param_2 + 5" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001aa20(undefined4 param_1,undefined4 *param_2)\n\n{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001aa20(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_0001aa20") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  *param_2 = param_1;\n  param_2[6] = 0;\n  param_2[1] = 0;\n  param_2[2] = 0;\n  param_2[3] = 1;\n  param_2[4] = 0;\n  *(undefined2 *)(param_2 + 5) = 0;\n  return;\n}" ({ "{") (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[3] = 1;" (assignment_expression "param_2[3] = 1" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_2[4] = 0;" (assignment_expression "param_2[4] = 0" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(param_2 + 5) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 5) = 0" (pointer_expression "*(undefined2 *)(param_2 + 5)" (* "*") (cast_expression "(undefined2 *)(param_2 + 5)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 5)" (( "(") (binary_expression "param_2 + 5" (identifier "param_2") (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(int src_fd,type_1 *scan)

{
  scan->fd = src_fd;
  scan->ext_info = (type_2 *)0x0;
  *(type_3 *)&scan->scan_start = 0;
  *(type_3 *)((int)&scan->scan_start + 4) = 0;
  scan->fm_flags = 1;
  scan->ei_count = 0;
  scan->initial_scan_failed = false;
  scan->hit_final_extent = false;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (number_literal))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 *param_2)

{
  *param_2 = param_1;
  param_2[6] = 0;
  param_2[1] = 0;
  param_2[2] = 0;
  param_2[3] = 1;
  param_2[4] = 0;
  *(undefined2 *)(param_2 + 5) = 0;
  return;
}

