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

void row_numberStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)

{
  uint uVar1;
  uint *puVar2;
  
  puVar2 = (uint *)sqlite3_aggregate_context(pCtx,8);
  if (puVar2 != (uint *)0x0) {
    uVar1 = *puVar2;
    *puVar2 = *puVar2 + 1;
    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);
  }
  return;
}



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

void FUN_00044db0(undefined4 param_1)

{
  uint uVar1;
  uint *puVar2;
  
  puVar2 = (uint *)FUN_00044840(param_1,8);
  if (puVar2 != (uint *)0x0) {
    uVar1 = *puVar2;
    *puVar2 = *puVar2 + 1;
    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);
  }
  return;
}


PUSH EBX
CALL 0x00014cf0
ADD EBX,0x10411e
SUB ESP,0x10
PUSH 0x8
PUSH dword ptr [ESP + 0x1c]
CALL 0x00044840
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00044dd8
ADD dword ptr [EAX],0x1
ADC dword ptr [EAX + 0x4],0x0
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00044db0(undefined4 param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00044db0(undefined4 param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00044db0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (uint *)FUN_00044840(param_1,8);" (assignment_expression "puVar2 = (uint *)FUN_00044840(param_1,8)" identifier = (cast_expression "(uint *)FUN_00044840(param_1,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00044840(param_1,8)" identifier (argument_list "(param_1,8)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" if (parenthesized_expression "(puVar2 != (uint *)0x0)" ( (binary_expression "puVar2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" { (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*puVar2 = *puVar2 + 1;" (assignment_expression "*puVar2 = *puVar2 + 1" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 + 1" (pointer_expression "*puVar2" * identifier) + number_literal)) ;) (expression_statement "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);" (assignment_expression "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) + (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar1)" ( (binary_expression "0xfffffffe < uVar1" number_literal < 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 row_numberStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)sqlite3_aggregate_context(pCtx,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}\n\n" comment comment (function_definition "void row_numberStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)sqlite3_aggregate_context(pCtx,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" primitive_type (function_declarator "row_numberStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)" identifier (parameter_list "(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int nArg" primitive_type identifier) , (parameter_declaration "sqlite3_value **apArg" type_identifier (pointer_declarator "**apArg" * (pointer_declarator "*apArg" * identifier))) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)sqlite3_aggregate_context(pCtx,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (uint *)sqlite3_aggregate_context(pCtx,8);" (assignment_expression "puVar2 = (uint *)sqlite3_aggregate_context(pCtx,8)" identifier = (cast_expression "(uint *)sqlite3_aggregate_context(pCtx,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_aggregate_context(pCtx,8)" identifier (argument_list "(pCtx,8)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" if (parenthesized_expression "(puVar2 != (uint *)0x0)" ( (binary_expression "puVar2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" { (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*puVar2 = *puVar2 + 1;" (assignment_expression "*puVar2 = *puVar2 + 1" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 + 1" (pointer_expression "*puVar2" * identifier) + number_literal)) ;) (expression_statement "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);" (assignment_expression "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) + (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar1)" ( (binary_expression "0xfffffffe < uVar1" number_literal < identifier) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00044db0(undefined4 param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00044db0(undefined4 param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00044db0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (uint *)FUN_00044840(param_1,8);" (assignment_expression "puVar2 = (uint *)FUN_00044840(param_1,8)" identifier = (cast_expression "(uint *)FUN_00044840(param_1,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00044840(param_1,8)" identifier (argument_list "(param_1,8)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" if (parenthesized_expression "(puVar2 != (uint *)0x0)" ( (binary_expression "puVar2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" { (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*puVar2 = *puVar2 + 1;" (assignment_expression "*puVar2 = *puVar2 + 1" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 + 1" (pointer_expression "*puVar2" * identifier) + number_literal)) ;) (expression_statement "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);" (assignment_expression "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" identifier [ number_literal ]) + (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar1)" ( (binary_expression "0xfffffffe < uVar1" number_literal < identifier) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00044db0(undefined4 param_1)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00044db0(undefined4 param_1)" (identifier "FUN_00044db0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  puVar2 = (uint *)FUN_00044840(param_1,8);\n  if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = (uint *)FUN_00044840(param_1,8);" (assignment_expression "puVar2 = (uint *)FUN_00044840(param_1,8)" (identifier "puVar2") (= "=") (cast_expression "(uint *)FUN_00044840(param_1,8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00044840(param_1,8)" (identifier "FUN_00044840") (argument_list "(param_1,8)" (( "(") (identifier "param_1") (, ",") (number_literal "8") () ")"))))) (; ";")) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" (if "if") (parenthesized_expression "(puVar2 != (uint *)0x0)" (( "(") (binary_expression "puVar2 != (uint *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar1 = *puVar2;\n    *puVar2 = *puVar2 + 1;\n    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);\n  }" ({ "{") (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" (identifier "uVar1") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "*puVar2 = *puVar2 + 1;" (assignment_expression "*puVar2 = *puVar2 + 1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 + 1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);" (assignment_expression "puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar2[1] + (uint)(0xfffffffe < uVar1)" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (+ "+") (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xfffffffe < uVar1)" (( "(") (binary_expression "0xfffffffe < uVar1" (number_literal "0xfffffffe") (< "<") (identifier "uVar1")) () ")"))))) (; ";")) (} "}"))) (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(type_1 *pCtx,int nArg,type_2 **apArg)

{
  type_3 var_3;
  type_3 *var_2;
  
  var_2 = (type_3 *)var_1(pCtx,8);
  if (var_2 != (type_3 *)0x0) {
    var_3 = *var_2;
    *var_2 = *var_2 + 1;
    var_2[1] = var_2[1] + (type_3)(0xfffffffe < var_3);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (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 (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier))))))))) (return_statement))))

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

void MASKED(undefined4 param_1)

{
  uint uVar1;
  uint *puVar2;
  
  puVar2 = (uint *)FUN_00044840(param_1,8);
  if (puVar2 != (uint *)0x0) {
    uVar1 = *puVar2;
    *puVar2 = *puVar2 + 1;
    puVar2[1] = puVar2[1] + (uint)(0xfffffffe < uVar1);
  }
  return;
}

