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

void frag_align_pattern(int alignment,char *fill_pattern,size_t n_fill,int max)

{
  char *__dest;
  
  __dest = frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0);
  memcpy(__dest,fill_pattern,n_fill);
  return;
}



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

void FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)

{
  void *__dest;
  
  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);
  memcpy(__dest,param_2,param_3);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00016090
ADD EBX,0x4a2d9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x18]
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x14]
CDQ
PUSH EDX
PUSH EAX
PUSH 0x0
PUSH dword ptr [ESP + 0x2c]
PUSH ESI
PUSH ESI
PUSH 0x2
CALL 0x00024ad0
ADD ESP,0x1c
PUSH ESI
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
CALL 0x00014100
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)\n\n{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)\n\n{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,void *param_2,size_t param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}" { (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (expression_statement "__dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);" (assignment_expression "__dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" identifier = (cast_expression "(void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" identifier (argument_list "(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" ( number_literal , identifier , identifier , identifier , number_literal , identifier , (binary_expression "param_1 >> 0x1f" identifier >> number_literal) , number_literal , number_literal ))))) ;) (expression_statement "memcpy(__dest,param_2,param_3);" (call_expression "memcpy(__dest,param_2,param_3)" identifier (argument_list "(__dest,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (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\nvoid frag_align_pattern(int alignment,char *fill_pattern,size_t n_fill,int max)\n\n{\n  char *__dest;\n  \n  __dest = frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0);\n  memcpy(__dest,fill_pattern,n_fill);\n  return;\n}\n\n" comment comment (function_definition "void frag_align_pattern(int alignment,char *fill_pattern,size_t n_fill,int max)\n\n{\n  char *__dest;\n  \n  __dest = frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0);\n  memcpy(__dest,fill_pattern,n_fill);\n  return;\n}" primitive_type (function_declarator "frag_align_pattern(int alignment,char *fill_pattern,size_t n_fill,int max)" identifier (parameter_list "(int alignment,char *fill_pattern,size_t n_fill,int max)" ( (parameter_declaration "int alignment" primitive_type identifier) , (parameter_declaration "char *fill_pattern" primitive_type (pointer_declarator "*fill_pattern" * identifier)) , (parameter_declaration "size_t n_fill" primitive_type identifier) , (parameter_declaration "int max" primitive_type identifier) ))) (compound_statement "{\n  char *__dest;\n  \n  __dest = frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0);\n  memcpy(__dest,fill_pattern,n_fill);\n  return;\n}" { (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (expression_statement "__dest = frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0);" (assignment_expression "__dest = frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0)" identifier = (call_expression "frag_var(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0)" identifier (argument_list "(rs_align,n_fill,n_fill,max,(symbolS *)0x0,(longlong)alignment,(char *)0x0)" ( identifier , identifier , identifier , identifier , (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(longlong)alignment" ( (type_descriptor "longlong" type_identifier) ) identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "memcpy(__dest,fill_pattern,n_fill);" (call_expression "memcpy(__dest,fill_pattern,n_fill)" identifier (argument_list "(__dest,fill_pattern,n_fill)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)\n\n{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)\n\n{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,void *param_2,size_t param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}" { (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (expression_statement "__dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);" (assignment_expression "__dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" identifier = (cast_expression "(void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" identifier (argument_list "(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" ( number_literal , identifier , identifier , identifier , number_literal , identifier , (binary_expression "param_1 >> 0x1f" identifier >> number_literal) , number_literal , number_literal ))))) ;) (expression_statement "memcpy(__dest,param_2,param_3);" (call_expression "memcpy(__dest,param_2,param_3)" identifier (argument_list "(__dest,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT , IDENT , IDENT , LIT , IDENT , (binary_expression IDENT >> LIT) , LIT , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)\n\n{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024d20(int param_1,void *param_2,size_t param_3,undefined4 param_4)" (identifier "FUN_00024d20") (parameter_list "(int param_1,void *param_2,size_t param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "size_t param_3" (primitive_type "size_t") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  void *__dest;\n  \n  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);\n  memcpy(__dest,param_2,param_3);\n  return;\n}" ({ "{") (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (expression_statement "__dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);" (assignment_expression "__dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" (identifier "FUN_00024ad0") (argument_list "(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27)" (( "(") (number_literal "2") (, ",") (identifier "param_3") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (number_literal "0") (, ",") (identifier "param_1") (, ",") (binary_expression "param_1 >> 0x1f" (identifier "param_1") (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "0") (, ",") (number_literal "0x24d27") () ")"))))) (; ";")) (expression_statement "memcpy(__dest,param_2,param_3);" (call_expression "memcpy(__dest,param_2,param_3)" (identifier "memcpy") (argument_list "(__dest,param_2,param_3)" (( "(") (identifier "__dest") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int alignment,char *fill_pattern,size_t n_fill,int max)

{
  char *__dest;
  
  __dest = var_1(rs_align,n_fill,n_fill,max,(type_1 *)0x0,(type_2)alignment,(char *)0x0);
  var_2(__dest,fill_pattern,n_fill);
  return;
}


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

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

void MASKED(int param_1,void *param_2,size_t param_3,undefined4 param_4)

{
  void *__dest;
  
  __dest = (void *)FUN_00024ad0(2,param_3,param_3,param_4,0,param_1,param_1 >> 0x1f,0,0x24d27);
  memcpy(__dest,param_2,param_3);
  return;
}

