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

void __cxa_guard_abort(uint *param_1)

{
  uint uVar1;
  
  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {
    *(undefined1 *)((int)param_1 + 1) = 0;
  }
  else {
    LOCK();
    uVar1 = *param_1;
    *param_1 = 0;
    UNLOCK();
    if ((uVar1 & 0x10000) != 0) {
      syscall(0xf0,param_1,1,0x7fffffff);
      return;
    }
  }
  return;
}



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

void FUN_001fb710(uint *param_1)

{
  uint uVar1;
  
  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {
    *(undefined1 *)((int)param_1 + 1) = 0;
  }
  else {
    LOCK();
    uVar1 = *param_1;
    *param_1 = 0;
    UNLOCK();
    if ((uVar1 & 0x10000) != 0) {
      syscall(0xf0,param_1,1,0x7fffffff);
      return;
    }
  }
  return;
}


PUSH EBX
CALL 0x00036db0
ADD EBX,0x1ae8ea
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EBX + 0xffffff3c]
TEST EDX,EDX
JNZ 0x001fb740
MOV byte ptr [EAX + 0x1],0x0
ADD ESP,0x8
POP EBX
RET
XOR EDX,EDX
XCHG dword ptr [EAX],EDX
AND EDX,0x10000
JZ 0x001fb731
PUSH 0x7fffffff
PUSH 0x1
PUSH EAX
PUSH 0xf0
CALL 0x0002a190
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001fb710(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001fb710(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001fb710(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" if (parenthesized_expression "(PTR___pthread_key_create_003a9f3c == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003a9f3c == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }" { (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" else (compound_statement "{\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" if (parenthesized_expression "((uVar1 & 0x10000) != 0)" ( (binary_expression "(uVar1 & 0x10000) != 0" (parenthesized_expression "(uVar1 & 0x10000)" ( (binary_expression "uVar1 & 0x10000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" { (expression_statement "syscall(0xf0,param_1,1,0x7fffffff);" (call_expression "syscall(0xf0,param_1,1,0x7fffffff)" identifier (argument_list "(0xf0,param_1,1,0x7fffffff)" ( number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __cxa_guard_abort(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __cxa_guard_abort(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "__cxa_guard_abort(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" if (parenthesized_expression "(PTR___pthread_key_create_003a9f3c == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003a9f3c == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }" { (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" else (compound_statement "{\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" if (parenthesized_expression "((uVar1 & 0x10000) != 0)" ( (binary_expression "(uVar1 & 0x10000) != 0" (parenthesized_expression "(uVar1 & 0x10000)" ( (binary_expression "uVar1 & 0x10000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" { (expression_statement "syscall(0xf0,param_1,1,0x7fffffff);" (call_expression "syscall(0xf0,param_1,1,0x7fffffff)" identifier (argument_list "(0xf0,param_1,1,0x7fffffff)" ( number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001fb710(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_001fb710(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001fb710(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" if (parenthesized_expression "(PTR___pthread_key_create_003a9f3c == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003a9f3c == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }" { (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" else (compound_statement "{\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" if (parenthesized_expression "((uVar1 & 0x10000) != 0)" ( (binary_expression "(uVar1 & 0x10000) != 0" (parenthesized_expression "(uVar1 & 0x10000)" ( (binary_expression "uVar1 & 0x10000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" { (expression_statement "syscall(0xf0,param_1,1,0x7fffffff);" (call_expression "syscall(0xf0,param_1,1,0x7fffffff)" identifier (argument_list "(0xf0,param_1,1,0x7fffffff)" ( number_literal , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT , LIT ))) ;) (return_statement return ;) })) }))) (return_statement return ;) })))
(function_definition "void FUN_001fb710(uint *param_1)\n\n{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001fb710(uint *param_1)" (identifier "FUN_001fb710") (parameter_list "(uint *param_1)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }\n  else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(PTR___pthread_key_create_003a9f3c == (undefined *)0x0)" (( "(") (binary_expression "PTR___pthread_key_create_003a9f3c == (undefined *)0x0" (identifier "PTR___pthread_key_create_003a9f3c") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *(undefined1 *)((int)param_1 + 1) = 0;\n  }" ({ "{") (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" (else "else") (compound_statement "{\n    LOCK();\n    uVar1 = *param_1;\n    *param_1 = 0;\n    UNLOCK();\n    if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }\n  }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((uVar1 & 0x10000) != 0) {\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" (if "if") (parenthesized_expression "((uVar1 & 0x10000) != 0)" (( "(") (binary_expression "(uVar1 & 0x10000) != 0" (parenthesized_expression "(uVar1 & 0x10000)" (( "(") (binary_expression "uVar1 & 0x10000" (identifier "uVar1") (& "&") (number_literal "0x10000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      syscall(0xf0,param_1,1,0x7fffffff);\n      return;\n    }" ({ "{") (expression_statement "syscall(0xf0,param_1,1,0x7fffffff);" (call_expression "syscall(0xf0,param_1,1,0x7fffffff)" (identifier "syscall") (argument_list "(0xf0,param_1,1,0x7fffffff)" (( "(") (number_literal "0xf0") (, ",") (identifier "param_1") (, ",") (number_literal "1") (, ",") (number_literal "0x7fffffff") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *param_1)

{
  type_1 var_4;
  
  if (var_1 == (type_2 *)0x0) {
    *(type_3 *)((int)param_1 + 1) = 0;
  }
  else {
    var_2();
    var_4 = *param_1;
    *param_1 = 0;
    var_3();
    if ((var_4 & 0x10000) != 0) {
      var_5(0xf0,param_1,1,0x7fffffff);
      return;
    }
  }
  return;
}


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

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

void MASKED(uint *param_1)

{
  uint uVar1;
  
  if (PTR___pthread_key_create_003a9f3c == (undefined *)0x0) {
    *(undefined1 *)((int)param_1 + 1) = 0;
  }
  else {
    LOCK();
    uVar1 = *param_1;
    *param_1 = 0;
    UNLOCK();
    if ((uVar1 & 0x10000) != 0) {
      syscall(0xf0,param_1,1,0x7fffffff);
      return;
    }
  }
  return;
}

