
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::__facet_shims::(anonymous
   namespace)::money_put_shim<char>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,
   bool, std::ios_base&, char, std::string const&) const */

undefined4
std::__facet_shims::(anonymous_namespace)::money_put_shim<char>::do_put
          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,
          undefined4 param_6,char param_7,string *param_8)

{
  string local_38 [4];
  undefined4 local_34;
  code *local_20;
  
  local_20 = (code *)0x0;
                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */
  std::string::string(local_38,param_8);
  local_34 = *(undefined4 *)(*(int *)param_8 + -0xc);
  local_20 = __destroy_string<char>;
  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,
                    (int)param_7,0,0,0,local_38);
  if (local_20 != (code *)0x0) {
    (*local_20)(local_38);
  }
  return param_1;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4
FUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5
            ,undefined4 param_6,char param_7,int *param_8)

{
  undefined1 local_38 [4];
  undefined4 local_34;
  code *local_20;
  
  local_20 = (code *)0x0;
                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */
  FUN_00281660(local_38,param_8);
  local_34 = *(undefined4 *)(*param_8 + -0xc);
  local_20 = FUN_00289ae0;
  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0
               ,0,0,local_38);
  if (local_20 != (code *)0x0) {
    (*local_20)(local_38);
  }
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA EDI,[EBP + -0x34]
CALL 0x0004d336
ADD ESI,0x18b8a3
PUSH EBX
SUB ESP,0x44
MOV EAX,dword ptr [EBP + 0x18]
MOV ECX,dword ptr [EBP + 0x20]
PUSH dword ptr [EBP + 0x24]
PUSH EDI
MOV dword ptr [EBP + -0x3c],EAX
MOV EBX,ESI
MOV dword ptr [EBP + -0x40],ECX
MOV dword ptr [EBP + -0x1c],0x0
CALL 0x00281660
MOV EDX,dword ptr [EBP + 0x24]
ADD ESP,0x10
MOV EAX,dword ptr [EDX]
MOV EAX,dword ptr [EAX + -0xc]
PUSH EDI
PUSH 0x0
MOV dword ptr [EBP + -0x30],EAX
LEA EAX,[ESI + 0xffe75ae0]
MOV dword ptr [EBP + -0x1c],EAX
MOVSX EAX,byte ptr [EBP + -0x40]
PUSH 0x0
PUSH 0x0
PUSH EAX
MOVZX EAX,byte ptr [EBP + -0x3c]
PUSH dword ptr [EBP + 0x1c]
PUSH EAX
MOV EAX,dword ptr [EBP + 0xc]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EAX + 0x8]
PUSH 0x0
PUSH dword ptr [EBP + 0x8]
CALL 0x00286820
MOV EAX,dword ptr [EBP + -0x1c]
ADD ESP,0x2c
TEST EAX,EAX
JZ 0x002887d9
SUB ESP,0xc
PUSH EDI
CALL EAX
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0x8]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4\nFUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */\n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4\nFUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */\n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */\n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" { (declaration "undefined1 local_38 [4];" type_identifier (array_declarator "local_38 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) comment (expression_statement "FUN_00281660(local_38,param_8);" (call_expression "FUN_00281660(local_38,param_8)" identifier (argument_list "(local_38,param_8)" ( identifier , identifier ))) ;) (expression_statement "local_34 = *(undefined4 *)(*param_8 + -0xc);" (assignment_expression "local_34 = *(undefined4 *)(*param_8 + -0xc)" identifier = (pointer_expression "*(undefined4 *)(*param_8 + -0xc)" * (cast_expression "(undefined4 *)(*param_8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_8 + -0xc)" ( (binary_expression "*param_8 + -0xc" (pointer_expression "*param_8" * identifier) + number_literal) ))))) ;) (expression_statement "local_20 = FUN_00289ae0;" (assignment_expression "local_20 = FUN_00289ae0" identifier = identifier) ;) (expression_statement "FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);" (call_expression "FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" identifier (argument_list "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal , number_literal , identifier ))) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(local_38);\n  }" { (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(local_38)" ( identifier ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* std::__facet_shims::(anonymous\n   namespace)::money_put_shim<char>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,\n   bool, std::ios_base&, char, std::string const&) const */\n\nundefined4\nstd::__facet_shims::(anonymous_namespace)::money_put_shim<char>::do_put\n          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,string *param_8)\n\n{\n  string local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */\n  std::string::string(local_38,param_8);\n  local_34 = *(undefined4 *)(*(int *)param_8 + -0xc);\n  local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}\n\n" comment comment (function_definition "undefined4\nstd::__facet_shims::(anonymous_namespace)::money_put_shim<char>::do_put\n          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,string *param_8)\n\n{\n  string local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */\n  std::string::string(local_38,param_8);\n  local_34 = *(undefined4 *)(*(int *)param_8 + -0xc);\n  local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" type_identifier (ERROR "std::__facet_shims::(anonymous_namespace)::money_put_shim<char>::" identifier : : identifier : : ( identifier ) : : identifier < primitive_type > : :) (function_declarator "do_put\n          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,string *param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,string *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "string *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  string local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */\n  std::string::string(local_38,param_8);\n  local_34 = *(undefined4 *)(*(int *)param_8 + -0xc);\n  local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" { (declaration "string local_38 [4];" type_identifier (array_declarator "local_38 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) comment (labeled_statement "std::string::string(local_38,param_8);" statement_identifier : (ERROR ":" :) (labeled_statement "string::string(local_38,param_8);" statement_identifier : (ERROR ":" :) (expression_statement "string(local_38,param_8);" (call_expression "string(local_38,param_8)" identifier (argument_list "(local_38,param_8)" ( identifier , identifier ))) ;))) (expression_statement "local_34 = *(undefined4 *)(*(int *)param_8 + -0xc);" (assignment_expression "local_34 = *(undefined4 *)(*(int *)param_8 + -0xc)" identifier = (pointer_expression "*(undefined4 *)(*(int *)param_8 + -0xc)" * (cast_expression "(undefined4 *)(*(int *)param_8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_8 + -0xc)" ( (binary_expression "*(int *)param_8 + -0xc" (pointer_expression "*(int *)param_8" * (cast_expression "(int *)param_8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38);" (assignment_expression "local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38)" identifier = (binary_expression "__destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38)" (binary_expression "__destroy_string<char>;\n  __money_put<char" (binary_expression "__destroy_string<char>;\n  __money_put" (binary_expression "__destroy_string<char" identifier < identifier) > (ERROR ";" ;) identifier) < identifier) > (parenthesized_expression "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38)" ( (comma_expression "param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38" identifier , (comma_expression "0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38" number_literal , (comma_expression "*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , (comma_expression "param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38" identifier , (comma_expression "param_4,param_5,param_6,\n                    (int)param_7,0,0,0,local_38" identifier , (comma_expression "param_5,param_6,\n                    (int)param_7,0,0,0,local_38" identifier , (comma_expression "param_6,\n                    (int)param_7,0,0,0,local_38" identifier , (comma_expression "(int)param_7,0,0,0,local_38" (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , (comma_expression "0,0,0,local_38" number_literal , (comma_expression "0,0,local_38" number_literal , (comma_expression "0,local_38" number_literal , identifier))))))))))) )))) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(local_38);\n  }" { (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(local_38)" ( identifier ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "undefined4\nFUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    \n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4\nFUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    \n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    \n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" { (declaration "undefined1 local_38 [4];" type_identifier (array_declarator "local_38 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "FUN_00281660(local_38,param_8);" (call_expression "FUN_00281660(local_38,param_8)" identifier (argument_list "(local_38,param_8)" ( identifier , identifier ))) ;) (expression_statement "local_34 = *(undefined4 *)(*param_8 + -0xc);" (assignment_expression "local_34 = *(undefined4 *)(*param_8 + -0xc)" identifier = (pointer_expression "*(undefined4 *)(*param_8 + -0xc)" * (cast_expression "(undefined4 *)(*param_8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_8 + -0xc)" ( (binary_expression "*param_8 + -0xc" (pointer_expression "*param_8" * identifier) + number_literal) ))))) ;) (expression_statement "local_20 = FUN_00289ae0;" (assignment_expression "local_20 = FUN_00289ae0" identifier = identifier) ;) (expression_statement "FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);" (call_expression "FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" identifier (argument_list "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal , number_literal , identifier ))) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(local_38);\n  }" { (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(local_38)" ( identifier ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , LIT , LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4\nFUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    \n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00288750(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" (identifier "FUN_00288750") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (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")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined1 param_5" (type_identifier "undefined1") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "char param_7" (primitive_type "char") (identifier "param_7")) (, ",") (parameter_declaration "int *param_8" (primitive_type "int") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  undefined1 local_38 [4];\n  undefined4 local_34;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n                    \n  FUN_00281660(local_38,param_8);\n  local_34 = *(undefined4 *)(*param_8 + -0xc);\n  local_20 = FUN_00289ae0;\n  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" ({ "{") (declaration "undefined1 local_38 [4];" (type_identifier "undefined1") (array_declarator "local_38 [4]" (identifier "local_38") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "code *local_20;" (type_identifier "code") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" (identifier "local_20") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "FUN_00281660(local_38,param_8);" (call_expression "FUN_00281660(local_38,param_8)" (identifier "FUN_00281660") (argument_list "(local_38,param_8)" (( "(") (identifier "local_38") (, ",") (identifier "param_8") () ")"))) (; ";")) (expression_statement "local_34 = *(undefined4 *)(*param_8 + -0xc);" (assignment_expression "local_34 = *(undefined4 *)(*param_8 + -0xc)" (identifier "local_34") (= "=") (pointer_expression "*(undefined4 *)(*param_8 + -0xc)" (* "*") (cast_expression "(undefined4 *)(*param_8 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_8 + -0xc)" (( "(") (binary_expression "*param_8 + -0xc" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "local_20 = FUN_00289ae0;" (assignment_expression "local_20 = FUN_00289ae0" (identifier "local_20") (= "=") (identifier "FUN_00289ae0")) (; ";")) (expression_statement "FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);" (call_expression "FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" (identifier "FUN_00286820") (argument_list "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (cast_expression "(int)param_7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_7")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "local_38") () ")"))) (; ";")) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" (if "if") (parenthesized_expression "(local_20 != (code *)0x0)" (( "(") (binary_expression "local_20 != (code *)0x0" (identifier "local_20") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*local_20)(local_38);\n  }" ({ "{") (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" (( "(") (pointer_expression "*local_20" (* "*") (identifier "local_20")) () ")")) (argument_list "(local_38)" (( "(") (identifier "local_38") () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::__facet_shims::(anonymous
   namespace)::money_put_shim<char>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,
   bool, std::ios_base&, char, std::string const&) const */

type_1
std::__facet_shims::(anonymous_namespace)::money_put_shim<char>::function_1
          (type_1 param_1,int var_4,type_1 param_3,type_1 param_4,type_2 param_5,
          type_1 param_6,char param_7,type_3 *param_8)

{
  type_3 local_38 [4];
  type_1 local_34;
  type_4 *var_5;
  
  var_5 = (type_4 *)0x0;
                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */
  std::string::type_3(local_38,param_8);
  local_34 = *(type_1 *)(*(int *)param_8 + -0xc);
  var_5 = var_1<var_2>;
  var_3<var_2>(param_1,0,*(type_1 *)(var_4 + 8),param_3,param_4,param_5,param_6,
                    (int)param_7,0,0,0,local_38);
  if (var_5 != (type_4 *)0x0) {
    (*var_5)(local_38);
  }
  return param_1;
}


(translation_unit (function_definition type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (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))))) (identifier) (identifier) (identifier) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (number_literal) (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4
MASKED(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5
            ,undefined4 param_6,char param_7,int *param_8)

{
  undefined1 local_38 [4];
  undefined4 local_34;
  code *local_20;
  
  local_20 = (code *)0x0;
                    /* try { // try from 00288780 to 002887c5 has its CatchHandler @ 002887e6 */
  FUN_00281660(local_38,param_8);
  local_34 = *(undefined4 *)(*param_8 + -0xc);
  local_20 = FUN_00289ae0;
  FUN_00286820(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0
               ,0,0,local_38);
  if (local_20 != (code *)0x0) {
    (*local_20)(local_38);
  }
  return param_1;
}

