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

void typeofFunc(sqlite3_context *context,int NotUsed,sqlite3_value **argv)

{
  int iVar1;
  _func_void_void_ptr *in_stack_ffffffe8;
  
  iVar1 = sqlite3VdbeMemSetStr
                    (context->pOut,
                     (char *)trimFunc::lexical_block_11::azOne
                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8);
  if (iVar1 != 0x12) {
    return;
  }
  context->isError = 0x12;
  sqlite3VdbeMemSetStr(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)
  ;
  return;
}



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

void FUN_00071400(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_0006f5d0(0);
  if (iVar1 != 0x12) {
    return;
  }
  *(undefined4 *)(param_1 + 0x14) = 0x12;
  FUN_0006f5d0();
  return;
}


PUSH ESI
MOV ECX,0x1
PUSH EBX
CALL 0x000172e0
ADD EBX,0x149a1c
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX]
MOVZX EAX,word ptr [EAX + 0x8]
PUSH 0x0
AND EAX,0x1f
MOVZX EAX,byte ptr [EBX + EAX*0x1 + 0xfffa8eb8]
MOV EDX,dword ptr [EBX + EAX*0x4 + 0xffffeb6c]
MOV EAX,dword ptr [ESI]
CALL 0x0006f5d0
ADD ESP,0x10
CMP EAX,0x12
JZ 0x00071450
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV dword ptr [ESI + 0x14],0x12
LEA EDX,[EBX + 0xfffa1a74]
MOV ECX,0x1
MOV dword ptr [ESP + 0x10],0x0
MOV EAX,dword ptr [ESI]
ADD ESP,0x4
POP EBX
POP ESI
JMP 0x0006f5d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00071400(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}\n\n" comment (function_definition "void FUN_00071400(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}" primitive_type (function_declarator "FUN_00071400(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0006f5d0(0);" (assignment_expression "iVar1 = FUN_0006f5d0(0)" identifier = (call_expression "FUN_0006f5d0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar1 != 0x12) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0x12)" ( (binary_expression "iVar1 != 0x12" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0x12;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0x12" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0006f5d0();" (call_expression "FUN_0006f5d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid typeofFunc(sqlite3_context *context,int NotUsed,sqlite3_value **argv)\n\n{\n  int iVar1;\n  _func_void_void_ptr *in_stack_ffffffe8;\n  \n  iVar1 = sqlite3VdbeMemSetStr\n                    (context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  context->isError = 0x12;\n  sqlite3VdbeMemSetStr(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)\n  ;\n  return;\n}\n\n" comment (function_definition "void typeofFunc(sqlite3_context *context,int NotUsed,sqlite3_value **argv)\n\n{\n  int iVar1;\n  _func_void_void_ptr *in_stack_ffffffe8;\n  \n  iVar1 = sqlite3VdbeMemSetStr\n                    (context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  context->isError = 0x12;\n  sqlite3VdbeMemSetStr(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)\n  ;\n  return;\n}" primitive_type (function_declarator "typeofFunc(sqlite3_context *context,int NotUsed,sqlite3_value **argv)" identifier (parameter_list "(sqlite3_context *context,int NotUsed,sqlite3_value **argv)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) , (parameter_declaration "int NotUsed" primitive_type identifier) , (parameter_declaration "sqlite3_value **argv" type_identifier (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  _func_void_void_ptr *in_stack_ffffffe8;\n  \n  iVar1 = sqlite3VdbeMemSetStr\n                    (context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  context->isError = 0x12;\n  sqlite3VdbeMemSetStr(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)\n  ;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_func_void_void_ptr *in_stack_ffffffe8;" type_identifier (pointer_declarator "*in_stack_ffffffe8" * identifier) ;) (expression_statement "iVar1 = sqlite3VdbeMemSetStr\n                    (context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8);" (assignment_expression "iVar1 = sqlite3VdbeMemSetStr\n                    (context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8)" identifier = (call_expression "sqlite3VdbeMemSetStr\n                    (context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8)" identifier (argument_list "(context->pOut,\n                     (char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8)" ( (field_expression "context->pOut" identifier -> field_identifier) , (subscript_expression "(char *)trimFunc::lexical_block_11::azOne\n                             [(byte)aType_23891[(*argv)->flags & 0x1f]]" (cast_expression "(char *)trimFunc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) (ERROR "::lexical_block_11::azOne" : : identifier : : identifier) [ (cast_expression "(byte)aType_23891[(*argv)->flags & 0x1f]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "aType_23891[(*argv)->flags & 0x1f]" identifier [ (binary_expression "(*argv)->flags & 0x1f" (field_expression "(*argv)->flags" (parenthesized_expression "(*argv)" ( (pointer_expression "*argv" * identifier) )) -> field_identifier) & number_literal) ])) ]) , number_literal , (char_literal "'\0'" ' escape_sequence ') , identifier )))) ;) (if_statement "if (iVar1 != 0x12) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0x12)" ( (binary_expression "iVar1 != 0x12" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "context->isError = 0x12;" (assignment_expression "context->isError = 0x12" (field_expression "context->isError" identifier -> field_identifier) = number_literal) ;) (expression_statement "sqlite3VdbeMemSetStr(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)\n  ;" (call_expression "sqlite3VdbeMemSetStr(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)" identifier (argument_list "(context->pOut,"string or blob too big",1,'\0',(_func_void_void_ptr *)NotUsed)" ( (field_expression "context->pOut" identifier -> field_identifier) , (string_literal ""string or blob too big"" " string_content ") , number_literal , (char_literal "'\0'" ' escape_sequence ') , (cast_expression "(_func_void_void_ptr *)NotUsed" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00071400(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}\n\n" (function_definition "void FUN_00071400(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}" primitive_type (function_declarator "FUN_00071400(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0006f5d0(0);" (assignment_expression "iVar1 = FUN_0006f5d0(0)" identifier = (call_expression "FUN_0006f5d0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar1 != 0x12) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0x12)" ( (binary_expression "iVar1 != 0x12" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0x12;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0x12" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0006f5d0();" (call_expression "FUN_0006f5d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00071400(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00071400(int param_1)" (identifier "FUN_00071400") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0006f5d0(0);\n  if (iVar1 != 0x12) {\n    return;\n  }\n  *(undefined4 *)(param_1 + 0x14) = 0x12;\n  FUN_0006f5d0();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0006f5d0(0);" (assignment_expression "iVar1 = FUN_0006f5d0(0)" (identifier "iVar1") (= "=") (call_expression "FUN_0006f5d0(0)" (identifier "FUN_0006f5d0") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 != 0x12) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0x12)" (( "(") (binary_expression "iVar1 != 0x12" (identifier "iVar1") (!= "!=") (number_literal "0x12")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0x12;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0x12" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0x12")) (; ";")) (expression_statement "FUN_0006f5d0();" (call_expression "FUN_0006f5d0()" (identifier "FUN_0006f5d0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *context,int NotUsed,type_2 **argv)

{
  int var_2;
  type_3 *in_stack_ffffffe8;
  
  var_2 = var_1
                    (context->pOut,
                     (char *)trimFunc::lexical_block_11::azOne
                             [(type_4)aType_23891[(*argv)->flags & 0x1f]],1,'\0',in_stack_ffffffe8);
  if (var_2 != 0x12) {
    return;
  }
  context->isError = 0x12;
  var_1(context->pOut,"string or blob too big",1,'\0',(type_3 *)NotUsed)
  ;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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 (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (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))))) 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(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_0006f5d0(0);
  if (iVar1 != 0x12) {
    return;
  }
  *(undefined4 *)(param_1 + 0x14) = 0x12;
  FUN_0006f5d0();
  return;
}

