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

bfd_boolean stab_complex_type(void *p,uint size)

{
  int tindex;
  bfd_boolean bVar1;
  char buf [50];
  
  tindex = *(int *)((int)p + 0x3c);
  *(int *)((int)p + 0x3c) = tindex + 1;
  sprintf(buf,"%ld=r%ld;%u;0;",tindex,tindex,size);
  bVar1 = stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2);
  return bVar1;
}



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

void FUN_0002b500(int param_1,int param_2)

{
  int iVar1;
  char local_4e [58];
  undefined4 uStack_14;
  
  uStack_14 = 0x2b509;
  iVar1 = *(int *)(param_1 + 0x3c);
  *(int *)(param_1 + 0x3c) = iVar1 + 1;
  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);
  FUN_0002a7b0(1,param_2 * 2);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x14af7
SUB ESP,0x68
MOV ESI,dword ptr [ESP + 0x7c]
MOV EDI,dword ptr [ESP + 0x80]
MOV ECX,dword ptr [ESI + 0x3c]
LEA EAX,[ECX + 0x1]
MOV dword ptr [ESI + 0x3c],EAX
LEA EAX,[EBX + 0xffff4f3f]
PUSH EDI
ADD EDI,EDI
PUSH ECX
PUSH ECX
MOV dword ptr [ESP + 0x24],ECX
PUSH EAX
LEA EBP,[ESP + 0x3a]
PUSH EBP
CALL 0x000137a0
ADD ESP,0x18
LEA EAX,[ESI + 0x38]
MOV EDX,EBP
PUSH EDI
PUSH 0x1
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x0002a7b0
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0002b500(int param_1,int param_2)\n\n{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}\n\n" comment (function_definition "void FUN_0002b500(int param_1,int param_2)\n\n{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}" primitive_type (function_declarator "FUN_0002b500(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char local_4e [58];" primitive_type (array_declarator "local_4e [58]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2b509;" (assignment_expression "uStack_14 = 0x2b509" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x3c) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x3c) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);" (call_expression "sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2)" identifier (argument_list "(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2)" ( identifier , (string_literal ""%ld=r%ld;%u;0;"" " string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0002a7b0(1,param_2 * 2);" (call_expression "FUN_0002a7b0(1,param_2 * 2)" identifier (argument_list "(1,param_2 * 2)" ( number_literal , (binary_expression "param_2 * 2" identifier * number_literal) ))) ;) (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 stab_complex_type(void *p,uint size)\n\n{\n  int tindex;\n  bfd_boolean bVar1;\n  char buf [50];\n  \n  tindex = *(int *)((int)p + 0x3c);\n  *(int *)((int)p + 0x3c) = tindex + 1;\n  sprintf(buf,"%ld=r%ld;%u;0;",tindex,tindex,size);\n  bVar1 = stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2);\n  return bVar1;\n}\n\n" comment comment (function_definition "bfd_boolean stab_complex_type(void *p,uint size)\n\n{\n  int tindex;\n  bfd_boolean bVar1;\n  char buf [50];\n  \n  tindex = *(int *)((int)p + 0x3c);\n  *(int *)((int)p + 0x3c) = tindex + 1;\n  sprintf(buf,"%ld=r%ld;%u;0;",tindex,tindex,size);\n  bVar1 = stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2);\n  return bVar1;\n}" type_identifier (function_declarator "stab_complex_type(void *p,uint size)" identifier (parameter_list "(void *p,uint size)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "uint size" type_identifier identifier) ))) (compound_statement "{\n  int tindex;\n  bfd_boolean bVar1;\n  char buf [50];\n  \n  tindex = *(int *)((int)p + 0x3c);\n  *(int *)((int)p + 0x3c) = tindex + 1;\n  sprintf(buf,"%ld=r%ld;%u;0;",tindex,tindex,size);\n  bVar1 = stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2);\n  return bVar1;\n}" { (declaration "int tindex;" primitive_type identifier ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "char buf [50];" primitive_type (array_declarator "buf [50]" identifier [ number_literal ]) ;) (expression_statement "tindex = *(int *)((int)p + 0x3c);" (assignment_expression "tindex = *(int *)((int)p + 0x3c)" identifier = (pointer_expression "*(int *)((int)p + 0x3c)" * (cast_expression "(int *)((int)p + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x3c)" ( (binary_expression "(int)p + 0x3c" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(int *)((int)p + 0x3c) = tindex + 1;" (assignment_expression "*(int *)((int)p + 0x3c) = tindex + 1" (pointer_expression "*(int *)((int)p + 0x3c)" * (cast_expression "(int *)((int)p + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x3c)" ( (binary_expression "(int)p + 0x3c" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "tindex + 1" identifier + number_literal)) ;) (expression_statement "sprintf(buf,"%ld=r%ld;%u;0;",tindex,tindex,size);" (call_expression "sprintf(buf,"%ld=r%ld;%u;0;",tindex,tindex,size)" identifier (argument_list "(buf,"%ld=r%ld;%u;0;",tindex,tindex,size)" ( identifier , (string_literal ""%ld=r%ld;%u;0;"" " string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "bVar1 = stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2);" (assignment_expression "bVar1 = stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2)" identifier = (call_expression "stab_push_string((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2)" identifier (argument_list "((stab_write_handle *)((int)p + 0x38),buf,tindex,1,size * 2)" ( (cast_expression "(stab_write_handle *)((int)p + 0x38)" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 0x38)" ( (binary_expression "(int)p + 0x38" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , identifier , identifier , number_literal , (binary_expression "size * 2" identifier * number_literal) )))) ;) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "void FUN_0002b500(int param_1,int param_2)\n\n{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}\n\n" (function_definition "void FUN_0002b500(int param_1,int param_2)\n\n{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}" primitive_type (function_declarator "FUN_0002b500(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char local_4e [58];" primitive_type (array_declarator "local_4e [58]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2b509;" (assignment_expression "uStack_14 = 0x2b509" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x3c) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x3c) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);" (call_expression "sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2)" identifier (argument_list "(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2)" ( identifier , (string_literal ""%ld=r%ld;%u;0;"" " string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0002a7b0(1,param_2 * 2);" (call_expression "FUN_0002a7b0(1,param_2 * 2)" identifier (argument_list "(1,param_2 * 2)" ( number_literal , (binary_expression "param_2 * 2" identifier * number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT * LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0002b500(int param_1,int param_2)\n\n{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002b500(int param_1,int param_2)" (identifier "FUN_0002b500") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  char local_4e [58];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2b509;\n  iVar1 = *(int *)(param_1 + 0x3c);\n  *(int *)(param_1 + 0x3c) = iVar1 + 1;\n  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);\n  FUN_0002a7b0(1,param_2 * 2);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char local_4e [58];" (primitive_type "char") (array_declarator "local_4e [58]" (identifier "local_4e") ([ "[") (number_literal "58") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x2b509;" (assignment_expression "uStack_14 = 0x2b509" (identifier "uStack_14") (= "=") (number_literal "0x2b509")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 0x3c) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x3c) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);" (call_expression "sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2)" (identifier "sprintf") (argument_list "(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2)" (( "(") (identifier "local_4e") (, ",") (string_literal ""%ld=r%ld;%u;0;"" (" """) (string_content "%ld=r%ld;%u;0;") (" """)) (, ",") (identifier "iVar1") (, ",") (identifier "iVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_0002a7b0(1,param_2 * 2);" (call_expression "FUN_0002a7b0(1,param_2 * 2)" (identifier "FUN_0002a7b0") (argument_list "(1,param_2 * 2)" (( "(") (number_literal "1") (, ",") (binary_expression "param_2 * 2" (identifier "param_2") (* "*") (number_literal "2")) () ")"))) (; ";")) (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_4)

{
  int var_1;
  type_1 bVar1;
  char buf [50];
  
  var_1 = *(int *)((int)p + 0x3c);
  *(int *)((int)p + 0x3c) = var_1 + 1;
  var_2(buf,"%ld=r%ld;%u;0;",var_1,var_1,var_4);
  bVar1 = var_3((type_3 *)((int)p + 0x38),buf,var_1,1,var_4 * 2);
  return bVar1;
}


(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)))) body: (compound_statement (declaration type: (primitive_type) 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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

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

void MASKED(int param_1,int param_2)

{
  int iVar1;
  char local_4e [58];
  undefined4 uStack_14;
  
  uStack_14 = 0x2b509;
  iVar1 = *(int *)(param_1 + 0x3c);
  *(int *)(param_1 + 0x3c) = iVar1 + 1;
  sprintf(local_4e,"%ld=r%ld;%u;0;",iVar1,iVar1,param_2);
  FUN_0002a7b0(1,param_2 * 2);
  return;
}

