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

int sigprocmask_allsigs(int how)

{
  sigset_t set;
  
}



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

void __regparm3 FUN_0001b55b(int param_1)

{
  int in_GS_OFFSET;
  sigset_t local_90;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  sigfillset(&local_90);
  sigprocmask(param_1,&local_90,(sigset_t *)0x0);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e20();
}


PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x9c
CALL 0x00017650
ADD EBX,0xc04b7
MOV EDI,EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x98],EAX
XOR EAX,EAX
LEA ESI,[ESP + 0x18]
PUSH ESI
CALL 0x00016ce0
ADD ESP,0xc
PUSH 0x0
PUSH ESI
PUSH EDI
CALL 0x00016240
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x0001b5b3
ADD ESP,0x90
POP EBX
POP ESI
POP EDI
RET
CALL 0x00017e20
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001b55b(int param_1)\n\n{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e20();\n}\n\n" comment (function_definition "void __regparm3 FUN_0001b55b(int param_1)\n\n{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e20();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001b55b(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e20();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "sigset_t local_90;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "sigfillset(&local_90);" (call_expression "sigfillset(&local_90)" identifier (argument_list "(&local_90)" ( (pointer_expression "&local_90" & identifier) ))) ;) (expression_statement "sigprocmask(param_1,&local_90,(sigset_t *)0x0);" (call_expression "sigprocmask(param_1,&local_90,(sigset_t *)0x0)" identifier (argument_list "(param_1,&local_90,(sigset_t *)0x0)" ( identifier , (pointer_expression "&local_90" & identifier) , (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_00017e20();" (call_expression "FUN_00017e20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint sigprocmask_allsigs(int how)\n\n{\n  sigset_t set;\n  \n}\n\n" comment (function_definition "int sigprocmask_allsigs(int how)\n\n{\n  sigset_t set;\n  \n}" primitive_type (function_declarator "sigprocmask_allsigs(int how)" identifier (parameter_list "(int how)" ( (parameter_declaration "int how" primitive_type identifier) ))) (compound_statement "{\n  sigset_t set;\n  \n}" { (declaration "sigset_t set;" type_identifier identifier ;) })))
(translation_unit "void __regparm3 FUN_0001b55b(int param_1)\n\n{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e20();\n}\n\n" (function_definition "void __regparm3 FUN_0001b55b(int param_1)\n\n{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e20();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001b55b(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e20();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "sigset_t local_90;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "sigfillset(&local_90);" (call_expression "sigfillset(&local_90)" identifier (argument_list "(&local_90)" ( (pointer_expression "&local_90" & identifier) ))) ;) (expression_statement "sigprocmask(param_1,&local_90,(sigset_t *)0x0);" (call_expression "sigprocmask(param_1,&local_90,(sigset_t *)0x0)" identifier (argument_list "(param_1,&local_90,(sigset_t *)0x0)" ( identifier , (pointer_expression "&local_90" & identifier) , (cast_expression "(sigset_t *)0x0" ( (type_descriptor "sigset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00017e20();" (call_expression "FUN_00017e20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_0001b55b(int param_1)\n\n{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e20();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001b55b(int param_1)" (identifier "FUN_0001b55b") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  sigset_t local_90;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  sigfillset(&local_90);\n  sigprocmask(param_1,&local_90,(sigset_t *)0x0);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e20();\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "sigset_t local_90;" (type_identifier "sigset_t") (identifier "local_90") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "sigfillset(&local_90);" (call_expression "sigfillset(&local_90)" (identifier "sigfillset") (argument_list "(&local_90)" (( "(") (pointer_expression "&local_90" (& "&") (identifier "local_90")) () ")"))) (; ";")) (expression_statement "sigprocmask(param_1,&local_90,(sigset_t *)0x0);" (call_expression "sigprocmask(param_1,&local_90,(sigset_t *)0x0)" (identifier "sigprocmask") (argument_list "(param_1,&local_90,(sigset_t *)0x0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_90" (& "&") (identifier "local_90")) (, ",") (cast_expression "(sigset_t *)0x0" (( "(") (type_descriptor "sigset_t *" (type_identifier "sigset_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";")) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00017e20();" (call_expression "FUN_00017e20()" (identifier "FUN_00017e20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(int how)

{
  type_1 set;
  
}


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

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

void __regparm3 MASKED(int param_1)

{
  int in_GS_OFFSET;
  sigset_t local_90;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  sigfillset(&local_90);
  sigprocmask(param_1,&local_90,(sigset_t *)0x0);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e20();
}

