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

bfd_boolean pr_int_type(void *p,uint size,bfd_boolean unsignedp)

{
  undefined1 *puVar1;
  bfd_boolean bVar2;
  char ab [40];
  
  puVar1 = &DAT_0005432d;
  if (unsignedp == 0) {
    puVar1 = &DAT_0004ca07;
  }
  sprintf(ab,"%sint%d",puVar1,size * 8);
  bVar2 = push_type((pr_handle *)((int)p + 8),ab);
  return bVar2;
}



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

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

{
  undefined *puVar1;
  char local_34 [40];
  undefined4 uStack_c;
  
  uStack_c = 0x376c7;
  puVar1 = &DAT_0005432d;
  if (param_3 == 0) {
    puVar1 = &DAT_0004ca07;
  }
  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);
  FUN_00037020();
  return;
}


PUSH ESI
PUSH EBX
CALL 0x000143a0
ADD EBX,0x38939
SUB ESP,0x34
MOV EAX,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [ESP + 0x48]
LEA EDX,[EAX*0x8 + 0x0]
TEST ESI,ESI
LEA ECX,[EBX + 0xfffdca07]
LEA EAX,[EBX + 0xfffe432d]
PUSH EDX
CMOVZ EAX,ECX
PUSH EAX
LEA EAX,[EBX + 0xfffe433f]
PUSH EAX
LEA ESI,[ESP + 0x14]
PUSH ESI
CALL 0x000136c0
MOV EAX,dword ptr [ESP + 0x50]
MOV EDX,ESI
ADD EAX,0x8
CALL 0x00037020
ADD ESP,0x44
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000376c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}\n\n" comment (function_definition "void FUN_000376c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}" primitive_type (function_declarator "FUN_000376c0(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char local_34 [40];" primitive_type (array_declarator "local_34 [40]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x376c7;" (assignment_expression "uStack_c = 0x376c7" identifier = number_literal) ;) (expression_statement "puVar1 = &DAT_0005432d;" (assignment_expression "puVar1 = &DAT_0005432d" identifier = (pointer_expression "&DAT_0005432d" & identifier)) ;) (if_statement "if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar1 = &DAT_0004ca07;\n  }" { (expression_statement "puVar1 = &DAT_0004ca07;" (assignment_expression "puVar1 = &DAT_0004ca07" identifier = (pointer_expression "&DAT_0004ca07" & identifier)) ;) })) (expression_statement "sprintf(local_34,"%sint%d",puVar1,param_2 * 8);" (call_expression "sprintf(local_34,"%sint%d",puVar1,param_2 * 8)" identifier (argument_list "(local_34,"%sint%d",puVar1,param_2 * 8)" ( identifier , (string_literal ""%sint%d"" " string_content ") , identifier , (binary_expression "param_2 * 8" identifier * number_literal) ))) ;) (expression_statement "FUN_00037020();" (call_expression "FUN_00037020()" identifier (argument_list "()" ( ))) ;) (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\nbfd_boolean pr_int_type(void *p,uint size,bfd_boolean unsignedp)\n\n{\n  undefined1 *puVar1;\n  bfd_boolean bVar2;\n  char ab [40];\n  \n  puVar1 = &DAT_0005432d;\n  if (unsignedp == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(ab,"%sint%d",puVar1,size * 8);\n  bVar2 = push_type((pr_handle *)((int)p + 8),ab);\n  return bVar2;\n}\n\n" comment comment (function_definition "bfd_boolean pr_int_type(void *p,uint size,bfd_boolean unsignedp)\n\n{\n  undefined1 *puVar1;\n  bfd_boolean bVar2;\n  char ab [40];\n  \n  puVar1 = &DAT_0005432d;\n  if (unsignedp == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(ab,"%sint%d",puVar1,size * 8);\n  bVar2 = push_type((pr_handle *)((int)p + 8),ab);\n  return bVar2;\n}" type_identifier (function_declarator "pr_int_type(void *p,uint size,bfd_boolean unsignedp)" identifier (parameter_list "(void *p,uint size,bfd_boolean unsignedp)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "uint size" type_identifier identifier) , (parameter_declaration "bfd_boolean unsignedp" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  bfd_boolean bVar2;\n  char ab [40];\n  \n  puVar1 = &DAT_0005432d;\n  if (unsignedp == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(ab,"%sint%d",puVar1,size * 8);\n  bVar2 = push_type((pr_handle *)((int)p + 8),ab);\n  return bVar2;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "char ab [40];" primitive_type (array_declarator "ab [40]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = &DAT_0005432d;" (assignment_expression "puVar1 = &DAT_0005432d" identifier = (pointer_expression "&DAT_0005432d" & identifier)) ;) (if_statement "if (unsignedp == 0) {\n    puVar1 = &DAT_0004ca07;\n  }" if (parenthesized_expression "(unsignedp == 0)" ( (binary_expression "unsignedp == 0" identifier == number_literal) )) (compound_statement "{\n    puVar1 = &DAT_0004ca07;\n  }" { (expression_statement "puVar1 = &DAT_0004ca07;" (assignment_expression "puVar1 = &DAT_0004ca07" identifier = (pointer_expression "&DAT_0004ca07" & identifier)) ;) })) (expression_statement "sprintf(ab,"%sint%d",puVar1,size * 8);" (call_expression "sprintf(ab,"%sint%d",puVar1,size * 8)" identifier (argument_list "(ab,"%sint%d",puVar1,size * 8)" ( identifier , (string_literal ""%sint%d"" " string_content ") , identifier , (binary_expression "size * 8" identifier * number_literal) ))) ;) (expression_statement "bVar2 = push_type((pr_handle *)((int)p + 8),ab);" (assignment_expression "bVar2 = push_type((pr_handle *)((int)p + 8),ab)" identifier = (call_expression "push_type((pr_handle *)((int)p + 8),ab)" identifier (argument_list "((pr_handle *)((int)p + 8),ab)" ( (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , identifier )))) ;) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "void FUN_000376c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}\n\n" (function_definition "void FUN_000376c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}" primitive_type (function_declarator "FUN_000376c0(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char local_34 [40];" primitive_type (array_declarator "local_34 [40]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x376c7;" (assignment_expression "uStack_c = 0x376c7" identifier = number_literal) ;) (expression_statement "puVar1 = &DAT_0005432d;" (assignment_expression "puVar1 = &DAT_0005432d" identifier = (pointer_expression "&DAT_0005432d" & identifier)) ;) (if_statement "if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar1 = &DAT_0004ca07;\n  }" { (expression_statement "puVar1 = &DAT_0004ca07;" (assignment_expression "puVar1 = &DAT_0004ca07" identifier = (pointer_expression "&DAT_0004ca07" & identifier)) ;) })) (expression_statement "sprintf(local_34,"%sint%d",puVar1,param_2 * 8);" (call_expression "sprintf(local_34,"%sint%d",puVar1,param_2 * 8)" identifier (argument_list "(local_34,"%sint%d",puVar1,param_2 * 8)" ( identifier , (string_literal ""%sint%d"" " string_content ") , identifier , (binary_expression "param_2 * 8" identifier * number_literal) ))) ;) (expression_statement "FUN_00037020();" (call_expression "FUN_00037020()" identifier (argument_list "()" ( ))) ;) (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) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , (binary_expression IDENT * LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000376c0(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000376c0(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_000376c0") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  char local_34 [40];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x376c7;\n  puVar1 = &DAT_0005432d;\n  if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }\n  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);\n  FUN_00037020();\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char local_34 [40];" (primitive_type "char") (array_declarator "local_34 [40]" (identifier "local_34") ([ "[") (number_literal "40") (] "]")) (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x376c7;" (assignment_expression "uStack_c = 0x376c7" (identifier "uStack_c") (= "=") (number_literal "0x376c7")) (; ";")) (expression_statement "puVar1 = &DAT_0005432d;" (assignment_expression "puVar1 = &DAT_0005432d" (identifier "puVar1") (= "=") (pointer_expression "&DAT_0005432d" (& "&") (identifier "DAT_0005432d"))) (; ";")) (if_statement "if (param_3 == 0) {\n    puVar1 = &DAT_0004ca07;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = &DAT_0004ca07;\n  }" ({ "{") (expression_statement "puVar1 = &DAT_0004ca07;" (assignment_expression "puVar1 = &DAT_0004ca07" (identifier "puVar1") (= "=") (pointer_expression "&DAT_0004ca07" (& "&") (identifier "DAT_0004ca07"))) (; ";")) (} "}"))) (expression_statement "sprintf(local_34,"%sint%d",puVar1,param_2 * 8);" (call_expression "sprintf(local_34,"%sint%d",puVar1,param_2 * 8)" (identifier "sprintf") (argument_list "(local_34,"%sint%d",puVar1,param_2 * 8)" (( "(") (identifier "local_34") (, ",") (string_literal ""%sint%d"" (" """) (string_content "%sint%d") (" """)) (, ",") (identifier "puVar1") (, ",") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8")) () ")"))) (; ";")) (expression_statement "FUN_00037020();" (call_expression "FUN_00037020()" (identifier "FUN_00037020") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 function_1(void *p,type_2 var_3,type_1 var_1)

{
  type_3 *puVar1;
  type_1 bVar2;
  char ab [40];
  
  puVar1 = &DAT_0005432d;
  if (var_1 == 0) {
    puVar1 = &DAT_0004ca07;
  }
  var_2(ab,"%sint%d",puVar1,var_3 * 8);
  bVar2 = var_4((type_4 *)((int)p + 8),ab);
  return bVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

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

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

{
  undefined *puVar1;
  char local_34 [40];
  undefined4 uStack_c;
  
  uStack_c = 0x376c7;
  puVar1 = &DAT_0005432d;
  if (param_3 == 0) {
    puVar1 = &DAT_0004ca07;
  }
  sprintf(local_34,"%sint%d",puVar1,param_2 * 8);
  FUN_00037020();
  return;
}

