
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void raise_interrupt(void)

{
}



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

void __regparm3 FUN_00052612(undefined4 param_1)

{
  undefined1 *puVar1;
  
  puVar1 = DAT_000d1708;
  DAT_000d1708[0x28] = 0;
  FUN_0001adc2(param_1);
  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {
    signal(2,(__sighandler_t)0x0);
    raise(2);
  }
  *puVar1 = 0x82;
                    /* WARNING: Subroutine does not return */
  FUN_0005254d();
}


PUSH ESI
PUSH EBX
PUSH EAX
CALL 0x00017640
ADD EBX,0x7e406
LEA EAX,[EBX + 0xce8]
MOV ESI,dword ptr [EAX]
MOV byte ptr [ESI + 0x28],0x0
MOV EAX,0x1
CALL 0x0001adc2
MOV EDX,dword ptr [ESI + 0x8]
TEST EDX,EDX
JZ 0x00052662
SUB ESP,0x8
PUSH 0x0
PUSH 0x2
CALL 0x00016380
MOV dword ptr [ESP],0x2
CALL 0x000160e0
ADD ESP,0x10
MOV byte ptr [ESI],0x82
XOR EAX,EAX
CALL 0x0005254d
CMP byte ptr [ESI + 0x30],0x0
JNZ 0x00052658
JMP 0x0005263d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00052612(undefined4 param_1)\n\n{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    /* WARNING: Subroutine does not return */\n  FUN_0005254d();\n}\n\n" comment (function_definition "void __regparm3 FUN_00052612(undefined4 param_1)\n\n{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    /* WARNING: Subroutine does not return */\n  FUN_0005254d();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00052612(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    /* WARNING: Subroutine does not return */\n  FUN_0005254d();\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = DAT_000d1708;" (assignment_expression "puVar1 = DAT_000d1708" identifier = identifier) ;) (expression_statement "DAT_000d1708[0x28] = 0;" (assignment_expression "DAT_000d1708[0x28] = 0" (subscript_expression "DAT_000d1708[0x28]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0001adc2(param_1);" (call_expression "FUN_0001adc2(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }" if (parenthesized_expression "((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0'))" ( (binary_expression "(*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')" (parenthesized_expression "(*(int *)(puVar1 + 8) != 0)" ( (binary_expression "*(int *)(puVar1 + 8) != 0" (pointer_expression "*(int *)(puVar1 + 8)" * (cast_expression "(int *)(puVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 8)" ( (binary_expression "puVar1 + 8" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(puVar1[0x30] == '\0')" ( (binary_expression "puVar1[0x30] == '\0'" (subscript_expression "puVar1[0x30]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }" { (expression_statement "signal(2,(__sighandler_t)0x0);" (call_expression "signal(2,(__sighandler_t)0x0)" identifier (argument_list "(2,(__sighandler_t)0x0)" ( number_literal , (cast_expression "(__sighandler_t)0x0" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal) ))) ;) (expression_statement "raise(2);" (call_expression "raise(2)" identifier (argument_list "(2)" ( number_literal ))) ;) })) (expression_statement "*puVar1 = 0x82;" (assignment_expression "*puVar1 = 0x82" (pointer_expression "*puVar1" * identifier) = number_literal) ;) comment (expression_statement "FUN_0005254d();" (call_expression "FUN_0005254d()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid raise_interrupt(void)\n\n{\n}\n\n" comment comment (function_definition "void raise_interrupt(void)\n\n{\n}" primitive_type (function_declarator "raise_interrupt(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm3 FUN_00052612(undefined4 param_1)\n\n{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    \n  FUN_0005254d();\n}\n\n" (function_definition "void __regparm3 FUN_00052612(undefined4 param_1)\n\n{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    \n  FUN_0005254d();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00052612(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    \n  FUN_0005254d();\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = DAT_000d1708;" (assignment_expression "puVar1 = DAT_000d1708" identifier = identifier) ;) (expression_statement "DAT_000d1708[0x28] = 0;" (assignment_expression "DAT_000d1708[0x28] = 0" (subscript_expression "DAT_000d1708[0x28]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0001adc2(param_1);" (call_expression "FUN_0001adc2(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }" if (parenthesized_expression "((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0'))" ( (binary_expression "(*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')" (parenthesized_expression "(*(int *)(puVar1 + 8) != 0)" ( (binary_expression "*(int *)(puVar1 + 8) != 0" (pointer_expression "*(int *)(puVar1 + 8)" * (cast_expression "(int *)(puVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 8)" ( (binary_expression "puVar1 + 8" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(puVar1[0x30] == '\0')" ( (binary_expression "puVar1[0x30] == '\0'" (subscript_expression "puVar1[0x30]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }" { (expression_statement "signal(2,(__sighandler_t)0x0);" (call_expression "signal(2,(__sighandler_t)0x0)" identifier (argument_list "(2,(__sighandler_t)0x0)" ( number_literal , (cast_expression "(__sighandler_t)0x0" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal) ))) ;) (expression_statement "raise(2);" (call_expression "raise(2)" identifier (argument_list "(2)" ( number_literal ))) ;) })) (expression_statement "*puVar1 = 0x82;" (assignment_expression "*puVar1 = 0x82" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "FUN_0005254d();" (call_expression "FUN_0005254d()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE) ) LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_00052612(undefined4 param_1)\n\n{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    \n  FUN_0005254d();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00052612(undefined4 param_1)" (identifier "FUN_00052612") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  \n  puVar1 = DAT_000d1708;\n  DAT_000d1708[0x28] = 0;\n  FUN_0001adc2(param_1);\n  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }\n  *puVar1 = 0x82;\n                    \n  FUN_0005254d();\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = DAT_000d1708;" (assignment_expression "puVar1 = DAT_000d1708" (identifier "puVar1") (= "=") (identifier "DAT_000d1708")) (; ";")) (expression_statement "DAT_000d1708[0x28] = 0;" (assignment_expression "DAT_000d1708[0x28] = 0" (subscript_expression "DAT_000d1708[0x28]" (identifier "DAT_000d1708") ([ "[") (number_literal "0x28") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001adc2(param_1);" (call_expression "FUN_0001adc2(param_1)" (identifier "FUN_0001adc2") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }" (if "if") (parenthesized_expression "((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0'))" (( "(") (binary_expression "(*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')" (parenthesized_expression "(*(int *)(puVar1 + 8) != 0)" (( "(") (binary_expression "*(int *)(puVar1 + 8) != 0" (pointer_expression "*(int *)(puVar1 + 8)" (* "*") (cast_expression "(int *)(puVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 8)" (( "(") (binary_expression "puVar1 + 8" (identifier "puVar1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(puVar1[0x30] == '\0')" (( "(") (binary_expression "puVar1[0x30] == '\0'" (subscript_expression "puVar1[0x30]" (identifier "puVar1") ([ "[") (number_literal "0x30") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    signal(2,(__sighandler_t)0x0);\n    raise(2);\n  }" ({ "{") (expression_statement "signal(2,(__sighandler_t)0x0);" (call_expression "signal(2,(__sighandler_t)0x0)" (identifier "signal") (argument_list "(2,(__sighandler_t)0x0)" (( "(") (number_literal "2") (, ",") (cast_expression "(__sighandler_t)0x0" (( "(") (type_descriptor "__sighandler_t" (type_identifier "__sighandler_t")) () ")") (number_literal "0x0")) () ")"))) (; ";")) (expression_statement "raise(2);" (call_expression "raise(2)" (identifier "raise") (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (} "}"))) (expression_statement "*puVar1 = 0x82;" (assignment_expression "*puVar1 = 0x82" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0x82")) (; ";")) (expression_statement "FUN_0005254d();" (call_expression "FUN_0005254d()" (identifier "FUN_0005254d") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
}


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

{
  undefined1 *puVar1;
  
  puVar1 = DAT_000d1708;
  DAT_000d1708[0x28] = 0;
  FUN_0001adc2(param_1);
  if ((*(int *)(puVar1 + 8) != 0) || (puVar1[0x30] == '\0')) {
    signal(2,(__sighandler_t)0x0);
    raise(2);
  }
  *puVar1 = 0x82;
                    /* WARNING: Subroutine does not return */
  FUN_0005254d();
}

