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

int gnu_mbswidth(char *string,int flags)

{
  size_t nbytes;
  int iVar1;
  
  nbytes = strlen(string);
  iVar1 = mbsnwidth(string,nbytes,flags);
  return iVar1;
}



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

void FUN_0001fb50(char *param_1,undefined4 param_2)

{
  size_t sVar1;
  
  sVar1 = strlen(param_1);
  FUN_0001f960(param_1,sVar1,param_2);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00014250
ADD EBX,0x1b4a9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x00012420
ADD ESP,0xc
PUSH dword ptr [ESP + 0x18]
PUSH EAX
PUSH ESI
CALL 0x0001f960
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_0001fb50(char *param_1,undefined4 param_2)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}\n\n" comment (function_definition "void FUN_0001fb50(char *param_1,undefined4 param_2)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0001fb50(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_0001f960(param_1,sVar1,param_2);" (call_expression "FUN_0001f960(param_1,sVar1,param_2)" identifier (argument_list "(param_1,sVar1,param_2)" ( 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\nint gnu_mbswidth(char *string,int flags)\n\n{\n  size_t nbytes;\n  int iVar1;\n  \n  nbytes = strlen(string);\n  iVar1 = mbsnwidth(string,nbytes,flags);\n  return iVar1;\n}\n\n" comment comment (function_definition "int gnu_mbswidth(char *string,int flags)\n\n{\n  size_t nbytes;\n  int iVar1;\n  \n  nbytes = strlen(string);\n  iVar1 = mbsnwidth(string,nbytes,flags);\n  return iVar1;\n}" primitive_type (function_declarator "gnu_mbswidth(char *string,int flags)" identifier (parameter_list "(char *string,int flags)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) ))) (compound_statement "{\n  size_t nbytes;\n  int iVar1;\n  \n  nbytes = strlen(string);\n  iVar1 = mbsnwidth(string,nbytes,flags);\n  return iVar1;\n}" { (declaration "size_t nbytes;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "nbytes = strlen(string);" (assignment_expression "nbytes = strlen(string)" identifier = (call_expression "strlen(string)" identifier (argument_list "(string)" ( identifier )))) ;) (expression_statement "iVar1 = mbsnwidth(string,nbytes,flags);" (assignment_expression "iVar1 = mbsnwidth(string,nbytes,flags)" identifier = (call_expression "mbsnwidth(string,nbytes,flags)" identifier (argument_list "(string,nbytes,flags)" ( identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_0001fb50(char *param_1,undefined4 param_2)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_0001fb50(char *param_1,undefined4 param_2)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0001fb50(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_0001f960(param_1,sVar1,param_2);" (call_expression "FUN_0001f960(param_1,sVar1,param_2)" identifier (argument_list "(param_1,sVar1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0001fb50(char *param_1,undefined4 param_2)\n\n{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001fb50(char *param_1,undefined4 param_2)" (identifier "FUN_0001fb50") (parameter_list "(char *param_1,undefined4 param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = strlen(param_1);\n  FUN_0001f960(param_1,sVar1,param_2);\n  return;\n}" ({ "{") (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (expression_statement "sVar1 = strlen(param_1);" (assignment_expression "sVar1 = strlen(param_1)" (identifier "sVar1") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "FUN_0001f960(param_1,sVar1,param_2);" (call_expression "FUN_0001f960(param_1,sVar1,param_2)" (identifier "FUN_0001f960") (argument_list "(param_1,sVar1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "sVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

int function_1(char *string,int flags)

{
  size_t nbytes;
  int iVar1;
  
  nbytes = var_1(string);
  iVar1 = var_2(string,nbytes,flags);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (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(char *param_1,undefined4 param_2)

{
  size_t sVar1;
  
  sVar1 = strlen(param_1);
  FUN_0001f960(param_1,sVar1,param_2);
  return;
}

