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

void script_add_phdr(void *closurev,char *name,size_t namelen,uint type,Phdr_info *info)

{
}



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

void FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)

{
  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0
               ,param_5[2] != 0,param_5[3],param_5[4]);
  *(undefined1 *)(param_1 + 0x17) = 0;
  return;
}


PUSH ESI
XOR EDX,EDX
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2a99f7
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [EAX + 0xc]
MOV ECX,dword ptr [EAX + 0x8]
TEST ECX,ECX
SETNZ DL
PUSH EDX
MOV ECX,dword ptr [EAX + 0x4]
XOR EDX,EDX
TEST ECX,ECX
SETNZ DL
PUSH EDX
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
PUSH EAX
MOV EAX,dword ptr [ESI + 0x20]
PUSH dword ptr [ESP + 0x3c]
ADD EAX,0xac
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
CALL 0x00333c50
MOV byte ptr [ESI + 0x17],0x0
ADD ESP,0x34
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)\n\n{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)\n\n{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" { (expression_statement "FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);" (call_expression "FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4])" identifier (argument_list "(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4])" ( (binary_expression "*(int *)(param_1 + 0x20) + 0xac" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier , (binary_expression "*param_5 != 0" (pointer_expression "*param_5" * identifier) != number_literal) , (binary_expression "param_5[1] != 0" (subscript_expression "param_5[1]" identifier [ number_literal ]) != number_literal) , (binary_expression "param_5[2] != 0" (subscript_expression "param_5[2]" identifier [ number_literal ]) != number_literal) , (subscript_expression "param_5[3]" identifier [ number_literal ]) , (subscript_expression "param_5[4]" identifier [ number_literal ]) ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x17)" * (cast_expression "(undefined1 *)(param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17)" ( (binary_expression "param_1 + 0x17" identifier + number_literal) )))) = number_literal) ;) (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 script_add_phdr(void *closurev,char *name,size_t namelen,uint type,Phdr_info *info)\n\n{\n}\n\n" comment comment (function_definition "void script_add_phdr(void *closurev,char *name,size_t namelen,uint type,Phdr_info *info)\n\n{\n}" primitive_type (function_declarator "script_add_phdr(void *closurev,char *name,size_t namelen,uint type,Phdr_info *info)" identifier (parameter_list "(void *closurev,char *name,size_t namelen,uint type,Phdr_info *info)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t namelen" primitive_type identifier) , (parameter_declaration "uint type" type_identifier identifier) , (parameter_declaration "Phdr_info *info" type_identifier (pointer_declarator "*info" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)\n\n{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}\n\n" (function_definition "void FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)\n\n{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" { (expression_statement "FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);" (call_expression "FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4])" identifier (argument_list "(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4])" ( (binary_expression "*(int *)(param_1 + 0x20) + 0xac" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) , identifier , identifier , identifier , (binary_expression "*param_5 != 0" (pointer_expression "*param_5" * identifier) != number_literal) , (binary_expression "param_5[1] != 0" (subscript_expression "param_5[1]" identifier [ number_literal ]) != number_literal) , (binary_expression "param_5[2] != 0" (subscript_expression "param_5[2]" identifier [ number_literal ]) != number_literal) , (subscript_expression "param_5[3]" identifier [ number_literal ]) , (subscript_expression "param_5[4]" identifier [ number_literal ]) ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x17)" * (cast_expression "(undefined1 *)(param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17)" ( (binary_expression "param_1 + 0x17" 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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT , IDENT , (binary_expression (pointer_expression * IDENT) != LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ 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_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)\n\n{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00340600(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)" (identifier "FUN_00340600") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" ({ "{") (expression_statement "FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4]);" (call_expression "FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4])" (identifier "FUN_00333c50") (argument_list "(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0\n               ,param_5[2] != 0,param_5[3],param_5[4])" (( "(") (binary_expression "*(int *)(param_1 + 0x20) + 0xac" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0xac")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (binary_expression "*param_5 != 0" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (!= "!=") (number_literal "0")) (, ",") (binary_expression "param_5[1] != 0" (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) (, ",") (binary_expression "param_5[2] != 0" (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) (, ",") (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_5[4]" (identifier "param_5") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x17)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x17)" (( "(") (binary_expression "param_1 + 0x17" (identifier "param_1") (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (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 *closurev,char *name,size_t namelen,type_1 type,type_2 *info)

{
}


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

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

void MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int *param_5)

{
  FUN_00333c50(*(int *)(param_1 + 0x20) + 0xac,param_2,param_3,param_4,*param_5 != 0,param_5[1] != 0
               ,param_5[2] != 0,param_5[3],param_5[4]);
  *(undefined1 *)(param_1 + 0x17) = 0;
  return;
}

