
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void _Unwind_SetGR(int param_1,int param_2,undefined4 param_3)

{
  if (param_2 < 0x12) {
    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {
      *(undefined4 *)(param_1 + param_2 * 4) = param_3;
      return;
    }
    if ((&dwarf_reg_size_table)[param_2] == '\x04') {
      **(undefined4 **)(param_1 + param_2 * 4) = param_3;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  abort();
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)

{
  if (param_2 < 0x12) {
    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {
      *(undefined4 *)(param_1 + param_2 * 4) = param_3;
      return;
    }
    if ((&DAT_0039802c)[param_2] == '\x04') {
      **(undefined4 **)(param_1 + param_2 * 4) = param_3;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  abort();
}


CALL 0x000650b8
ADD ECX,0x11165b
PUSH EBX
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x10]
CMP EAX,0x11
JG 0x000346dc
MOVZX EBX,byte ptr [ECX + EAX*0x1 + 0x902c]
TEST byte ptr [EDX + 0x63],0x40
JNZ 0x0027d9e8
MOV EAX,dword ptr [EDX + EAX*0x4]
CMP BL,0x4
JNZ 0x000346dc
MOV EBX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX],EBX
ADD ESP,0x8
POP EBX
RET
CMP byte ptr [EDX + EAX*0x1 + 0x6c],0x0
JZ 0x0027d9ce
MOV ECX,dword ptr [ESP + 0x18]
MOV dword ptr [EDX + EAX*0x4],ECX
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "void FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (function_declarator "FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (if_statement "if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 < 0x12)" ( (binary_expression "param_2 < 0x12" identifier < number_literal) )) (compound_statement "{\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" { (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0'))" ( (binary_expression "((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)(param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" * (cast_expression "(byte *)(param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0x6c + param_2) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x6c + param_2) != '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + param_2)" * (cast_expression "(char *)(param_1 + 0x6c + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c + param_2)" ( (binary_expression "param_1 + 0x6c + param_2" (binary_expression "param_1 + 0x6c" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "((&DAT_0039802c)[param_2] == '\x04')" ( (binary_expression "(&DAT_0039802c)[param_2] == '\x04'" (subscript_expression "(&DAT_0039802c)[param_2]" (parenthesized_expression "(&DAT_0039802c)" ( (pointer_expression "&DAT_0039802c" & identifier) )) [ identifier ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" * (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) = identifier) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid _Unwind_SetGR(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&dwarf_reg_size_table)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "void _Unwind_SetGR(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&dwarf_reg_size_table)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (function_declarator "_Unwind_SetGR(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&dwarf_reg_size_table)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (if_statement "if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&dwarf_reg_size_table)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 < 0x12)" ( (binary_expression "param_2 < 0x12" identifier < number_literal) )) (compound_statement "{\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&dwarf_reg_size_table)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" { (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0'))" ( (binary_expression "((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)(param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" * (cast_expression "(byte *)(param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0x6c + param_2) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x6c + param_2) != '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + param_2)" * (cast_expression "(char *)(param_1 + 0x6c + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c + param_2)" ( (binary_expression "param_1 + 0x6c + param_2" (binary_expression "param_1 + 0x6c" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if ((&dwarf_reg_size_table)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "((&dwarf_reg_size_table)[param_2] == '\x04')" ( (binary_expression "(&dwarf_reg_size_table)[param_2] == '\x04'" (subscript_expression "(&dwarf_reg_size_table)[param_2]" (parenthesized_expression "(&dwarf_reg_size_table)" ( (pointer_expression "&dwarf_reg_size_table" & identifier) )) [ identifier ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" * (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) = identifier) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    \n  abort();\n}\n\n" (function_definition "void FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    \n  abort();\n}" primitive_type (function_declarator "FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    \n  abort();\n}" { (if_statement "if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" if (parenthesized_expression "(param_2 < 0x12)" ( (binary_expression "param_2 < 0x12" identifier < number_literal) )) (compound_statement "{\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" { (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0'))" ( (binary_expression "((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)(param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" * (cast_expression "(byte *)(param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0x6c + param_2) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x6c + param_2) != '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + param_2)" * (cast_expression "(char *)(param_1 + 0x6c + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c + param_2)" ( (binary_expression "param_1 + 0x6c + param_2" (binary_expression "param_1 + 0x6c" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" if (parenthesized_expression "((&DAT_0039802c)[param_2] == '\x04')" ( (binary_expression "(&DAT_0039802c)[param_2] == '\x04'" (subscript_expression "(&DAT_0039802c)[param_2]" (parenthesized_expression "(&DAT_0039802c)" ( (pointer_expression "&DAT_0039802c" & identifier) )) [ identifier ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" { (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" * (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" * (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ))))) = identifier) ;) (return_statement "return;" return ;) })) })) (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (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) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) = IDENT) ;) (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)\n\n{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    \n  abort();\n}" (primitive_type "void") (function_declarator "FUN_0027d9a0(int param_1,int param_2,undefined4 param_3)" (identifier "FUN_0027d9a0") (parameter_list "(int param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }\n                    \n  abort();\n}" ({ "{") (if_statement "if (param_2 < 0x12) {\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 0x12)" (( "(") (binary_expression "param_2 < 0x12" (identifier "param_2") (< "<") (number_literal "0x12")) () ")")) (compound_statement "{\n    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n    if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }\n  }" ({ "{") (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" (if "if") (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0'))" (( "(") (binary_expression "((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" (( "(") (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" (* "*") (cast_expression "(byte *)(param_1 + 99)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 99)" (( "(") (binary_expression "param_1 + 99" (identifier "param_1") (+ "+") (number_literal "99")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + 0x6c + param_2) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x6c + param_2) != '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + param_2)" (* "*") (cast_expression "(char *)(param_1 + 0x6c + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c + param_2)" (( "(") (binary_expression "param_1 + 0x6c + param_2" (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) (+ "+") (identifier "param_2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      *(undefined4 *)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + param_2 * 4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + param_2 * 4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + param_2 * 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 * 4)" (( "(") (binary_expression "param_1 + param_2 * 4" (identifier "param_1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((&DAT_0039802c)[param_2] == '\x04') {\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" (if "if") (parenthesized_expression "((&DAT_0039802c)[param_2] == '\x04')" (( "(") (binary_expression "(&DAT_0039802c)[param_2] == '\x04'" (subscript_expression "(&DAT_0039802c)[param_2]" (parenthesized_expression "(&DAT_0039802c)" (( "(") (pointer_expression "&DAT_0039802c" (& "&") (identifier "DAT_0039802c")) () ")")) ([ "[") (identifier "param_2") (] "]")) (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n      **(undefined4 **)(param_1 + param_2 * 4) = param_3;\n      return;\n    }" ({ "{") (expression_statement "**(undefined4 **)(param_1 + param_2 * 4) = param_3;" (assignment_expression "**(undefined4 **)(param_1 + param_2 * 4) = param_3" (pointer_expression "**(undefined4 **)(param_1 + param_2 * 4)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + param_2 * 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + param_2 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + param_2 * 4)" (( "(") (binary_expression "param_1 + param_2 * 4" (identifier "param_1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")"))))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void function_1(int var_2,int var_1,type_1 param_3)

{
  if (var_1 < 0x12) {
    if (((*(type_2 *)(var_2 + 99) & 0x40) != 0) && (*(char *)(var_2 + 0x6c + var_1) != '\0')) {
      *(type_1 *)(var_2 + var_1 * 4) = param_3;
      return;
    }
    if ((&dwarf_reg_size_table)[var_1] == '\x04') {
      **(type_1 **)(var_2 + var_1 * 4) = param_3;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_3();
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))) right: (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: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (char_literal (escape_sequence)))))) 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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (identifier))) (return_statement))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(int param_1,int param_2,undefined4 param_3)

{
  if (param_2 < 0x12) {
    if (((*(byte *)(param_1 + 99) & 0x40) != 0) && (*(char *)(param_1 + 0x6c + param_2) != '\0')) {
      *(undefined4 *)(param_1 + param_2 * 4) = param_3;
      return;
    }
    if ((&DAT_0039802c)[param_2] == '\x04') {
      **(undefined4 **)(param_1 + param_2 * 4) = param_3;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  abort();
}

