
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

ec_point * __regparm3 ec_point_copy(ec_point *a)

{
  uchar uVar1;
  ec_curve *peVar2;
  Bignum_conflict orig;
  Bignum_conflict orig_00;
  Bignum_conflict orig_01;
  ec_point *peVar3;
  
  if (a == (ec_point *)0x0) {
    peVar3 = (ec_point *)0x0;
  }
  else {
    uVar1 = a->infinity;
    orig = (Bignum_conflict)a->z;
    if (orig != (Bignum_conflict)0x0) {
      orig = copybn(orig);
    }
    orig_00 = (Bignum_conflict)a->y;
    if (orig_00 != (Bignum_conflict)0x0) {
      orig_00 = copybn(orig_00);
    }
    orig_01 = (Bignum_conflict)a->x;
    if (orig_01 != (Bignum_conflict)0x0) {
      orig_01 = copybn(orig_01);
    }
    peVar2 = a->curve;
    peVar3 = (ec_point *)safemalloc(1,0x14);
    peVar3->curve = peVar2;
    peVar3->x = orig_01;
    peVar3->y = orig_00;
    peVar3->z = orig;
    peVar3->infinity = uVar1 != '\0';
  }
  return peVar3;
}



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

undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)

{
  char cVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  
  if (param_1 == (undefined4 *)0x0) {
    puVar6 = (undefined4 *)0x0;
  }
  else {
    cVar1 = *(char *)(param_1 + 4);
    iVar3 = param_1[3];
    if (iVar3 != 0) {
      iVar3 = FUN_00021ac0(iVar3);
    }
    iVar4 = param_1[2];
    if (iVar4 != 0) {
      iVar4 = FUN_00021ac0(iVar4);
    }
    iVar5 = param_1[1];
    if (iVar5 != 0) {
      iVar5 = FUN_00021ac0(iVar5);
    }
    uVar2 = *param_1;
    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);
    *puVar6 = uVar2;
    puVar6[1] = iVar5;
    puVar6[2] = iVar4;
    puVar6[3] = iVar3;
    *(bool *)(puVar6 + 4) = cVar1 != '\0';
  }
  return puVar6;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014540
ADD EBX,0x34e2b
SUB ESP,0x1c
TEST EAX,EAX
JZ 0x000280d0
MOV ESI,EAX
MOVZX EAX,byte ptr [EAX + 0x10]
MOV EDI,dword ptr [ESI + 0xc]
MOV byte ptr [ESP + 0xb],AL
TEST EDI,EDI
JZ 0x00028069
SUB ESP,0xc
PUSH EDI
CALL 0x00021ac0
ADD ESP,0x10
MOV EDI,EAX
MOV EBP,dword ptr [ESI + 0x8]
TEST EBP,EBP
JZ 0x0002807e
SUB ESP,0xc
PUSH EBP
CALL 0x00021ac0
ADD ESP,0x10
MOV EBP,EAX
MOV ECX,dword ptr [ESI + 0x4]
TEST ECX,ECX
JZ 0x00028093
SUB ESP,0xc
PUSH ECX
CALL 0x00021ac0
ADD ESP,0x10
MOV ECX,EAX
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x8
MOV ESI,dword ptr [ESI]
PUSH 0x14
PUSH 0x1
CALL 0x0001bd60
MOV ECX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV dword ptr [EAX],ESI
CMP byte ptr [ESP + 0xb],0x0
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [EAX + 0x8],EBP
MOV dword ptr [EAX + 0xc],EDI
SETNZ byte ptr [EAX + 0x10]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EAX,EAX
JMP 0x000280c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * __regparm3 FUN_00028030(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }\n  return puVar6;\n}\n\n" comment (ERROR "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)" (binary_expression "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00028030(undefined4 *param_1)" identifier (argument_list "(undefined4 *param_1)" ( (binary_expression "undefined4 *param_1" identifier * identifier) ))))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }\n  return puVar6;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar6 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" else (compound_statement "{\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" { (expression_statement "cVar1 = *(char *)(param_1 + 4);" (assignment_expression "cVar1 = *(char *)(param_1 + 4)" identifier = (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = param_1[3];" (assignment_expression "iVar3 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = FUN_00021ac0(iVar3);\n    }" { (expression_statement "iVar3 = FUN_00021ac0(iVar3);" (assignment_expression "iVar3 = FUN_00021ac0(iVar3)" identifier = (call_expression "FUN_00021ac0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) })) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = FUN_00021ac0(iVar4);\n    }" { (expression_statement "iVar4 = FUN_00021ac0(iVar4);" (assignment_expression "iVar4 = FUN_00021ac0(iVar4)" identifier = (call_expression "FUN_00021ac0(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) })) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar5 = FUN_00021ac0(iVar5);\n    }" { (expression_statement "iVar5 = FUN_00021ac0(iVar5);" (assignment_expression "iVar5 = FUN_00021ac0(iVar5)" identifier = (call_expression "FUN_00021ac0(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) ;) })) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);" (assignment_expression "puVar6 = (undefined4 *)FUN_0001bd60(1,0x14)" identifier = (cast_expression "(undefined4 *)FUN_0001bd60(1,0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bd60(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*puVar6 = uVar2;" (assignment_expression "*puVar6 = uVar2" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "puVar6[1] = iVar5;" (assignment_expression "puVar6[1] = iVar5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = iVar4;" (assignment_expression "puVar6[2] = iVar4" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = iVar3;" (assignment_expression "puVar6[3] = iVar3" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(bool *)(puVar6 + 4) = cVar1 != '\0';" (assignment_expression "*(bool *)(puVar6 + 4) = cVar1 != '\0'" (pointer_expression "*(bool *)(puVar6 + 4)" * (cast_expression "(bool *)(puVar6 + 4)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ;) }))) (return_statement "return puVar6;" return identifier ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * __regparm3 ec_point_copy(ec_point *a)\n\n{\n  uchar uVar1;\n  ec_curve *peVar2;\n  Bignum_conflict orig;\n  Bignum_conflict orig_00;\n  Bignum_conflict orig_01;\n  ec_point *peVar3;\n  \n  if (a == (ec_point *)0x0) {\n    peVar3 = (ec_point *)0x0;\n  }\n  else {\n    uVar1 = a->infinity;\n    orig = (Bignum_conflict)a->z;\n    if (orig != (Bignum_conflict)0x0) {\n      orig = copybn(orig);\n    }\n    orig_00 = (Bignum_conflict)a->y;\n    if (orig_00 != (Bignum_conflict)0x0) {\n      orig_00 = copybn(orig_00);\n    }\n    orig_01 = (Bignum_conflict)a->x;\n    if (orig_01 != (Bignum_conflict)0x0) {\n      orig_01 = copybn(orig_01);\n    }\n    peVar2 = a->curve;\n    peVar3 = (ec_point *)safemalloc(1,0x14);\n    peVar3->curve = peVar2;\n    peVar3->x = orig_01;\n    peVar3->y = orig_00;\n    peVar3->z = orig;\n    peVar3->infinity = uVar1 != '\0';\n  }\n  return peVar3;\n}\n\n" comment comment (ERROR "ec_point * __regparm3 ec_point_copy(ec_point *a)" (binary_expression "ec_point * __regparm3 ec_point_copy(ec_point *a)" identifier * (ERROR "__regparm3" identifier) (call_expression "ec_point_copy(ec_point *a)" identifier (argument_list "(ec_point *a)" ( (binary_expression "ec_point *a" identifier * identifier) ))))) (compound_statement "{\n  uchar uVar1;\n  ec_curve *peVar2;\n  Bignum_conflict orig;\n  Bignum_conflict orig_00;\n  Bignum_conflict orig_01;\n  ec_point *peVar3;\n  \n  if (a == (ec_point *)0x0) {\n    peVar3 = (ec_point *)0x0;\n  }\n  else {\n    uVar1 = a->infinity;\n    orig = (Bignum_conflict)a->z;\n    if (orig != (Bignum_conflict)0x0) {\n      orig = copybn(orig);\n    }\n    orig_00 = (Bignum_conflict)a->y;\n    if (orig_00 != (Bignum_conflict)0x0) {\n      orig_00 = copybn(orig_00);\n    }\n    orig_01 = (Bignum_conflict)a->x;\n    if (orig_01 != (Bignum_conflict)0x0) {\n      orig_01 = copybn(orig_01);\n    }\n    peVar2 = a->curve;\n    peVar3 = (ec_point *)safemalloc(1,0x14);\n    peVar3->curve = peVar2;\n    peVar3->x = orig_01;\n    peVar3->y = orig_00;\n    peVar3->z = orig;\n    peVar3->infinity = uVar1 != '\0';\n  }\n  return peVar3;\n}" { (declaration "uchar uVar1;" type_identifier identifier ;) (declaration "ec_curve *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "Bignum_conflict orig;" type_identifier identifier ;) (declaration "Bignum_conflict orig_00;" type_identifier identifier ;) (declaration "Bignum_conflict orig_01;" type_identifier identifier ;) (declaration "ec_point *peVar3;" type_identifier (pointer_declarator "*peVar3" * identifier) ;) (if_statement "if (a == (ec_point *)0x0) {\n    peVar3 = (ec_point *)0x0;\n  }\n  else {\n    uVar1 = a->infinity;\n    orig = (Bignum_conflict)a->z;\n    if (orig != (Bignum_conflict)0x0) {\n      orig = copybn(orig);\n    }\n    orig_00 = (Bignum_conflict)a->y;\n    if (orig_00 != (Bignum_conflict)0x0) {\n      orig_00 = copybn(orig_00);\n    }\n    orig_01 = (Bignum_conflict)a->x;\n    if (orig_01 != (Bignum_conflict)0x0) {\n      orig_01 = copybn(orig_01);\n    }\n    peVar2 = a->curve;\n    peVar3 = (ec_point *)safemalloc(1,0x14);\n    peVar3->curve = peVar2;\n    peVar3->x = orig_01;\n    peVar3->y = orig_00;\n    peVar3->z = orig;\n    peVar3->infinity = uVar1 != '\0';\n  }" if (parenthesized_expression "(a == (ec_point *)0x0)" ( (binary_expression "a == (ec_point *)0x0" identifier == (cast_expression "(ec_point *)0x0" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    peVar3 = (ec_point *)0x0;\n  }" { (expression_statement "peVar3 = (ec_point *)0x0;" (assignment_expression "peVar3 = (ec_point *)0x0" identifier = (cast_expression "(ec_point *)0x0" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    uVar1 = a->infinity;\n    orig = (Bignum_conflict)a->z;\n    if (orig != (Bignum_conflict)0x0) {\n      orig = copybn(orig);\n    }\n    orig_00 = (Bignum_conflict)a->y;\n    if (orig_00 != (Bignum_conflict)0x0) {\n      orig_00 = copybn(orig_00);\n    }\n    orig_01 = (Bignum_conflict)a->x;\n    if (orig_01 != (Bignum_conflict)0x0) {\n      orig_01 = copybn(orig_01);\n    }\n    peVar2 = a->curve;\n    peVar3 = (ec_point *)safemalloc(1,0x14);\n    peVar3->curve = peVar2;\n    peVar3->x = orig_01;\n    peVar3->y = orig_00;\n    peVar3->z = orig;\n    peVar3->infinity = uVar1 != '\0';\n  }" else (compound_statement "{\n    uVar1 = a->infinity;\n    orig = (Bignum_conflict)a->z;\n    if (orig != (Bignum_conflict)0x0) {\n      orig = copybn(orig);\n    }\n    orig_00 = (Bignum_conflict)a->y;\n    if (orig_00 != (Bignum_conflict)0x0) {\n      orig_00 = copybn(orig_00);\n    }\n    orig_01 = (Bignum_conflict)a->x;\n    if (orig_01 != (Bignum_conflict)0x0) {\n      orig_01 = copybn(orig_01);\n    }\n    peVar2 = a->curve;\n    peVar3 = (ec_point *)safemalloc(1,0x14);\n    peVar3->curve = peVar2;\n    peVar3->x = orig_01;\n    peVar3->y = orig_00;\n    peVar3->z = orig;\n    peVar3->infinity = uVar1 != '\0';\n  }" { (expression_statement "uVar1 = a->infinity;" (assignment_expression "uVar1 = a->infinity" identifier = (field_expression "a->infinity" identifier -> field_identifier)) ;) (expression_statement "orig = (Bignum_conflict)a->z;" (assignment_expression "orig = (Bignum_conflict)a->z" identifier = (cast_expression "(Bignum_conflict)a->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->z" identifier -> field_identifier))) ;) (if_statement "if (orig != (Bignum_conflict)0x0) {\n      orig = copybn(orig);\n    }" if (parenthesized_expression "(orig != (Bignum_conflict)0x0)" ( (binary_expression "orig != (Bignum_conflict)0x0" identifier != (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      orig = copybn(orig);\n    }" { (expression_statement "orig = copybn(orig);" (assignment_expression "orig = copybn(orig)" identifier = (call_expression "copybn(orig)" identifier (argument_list "(orig)" ( identifier )))) ;) })) (expression_statement "orig_00 = (Bignum_conflict)a->y;" (assignment_expression "orig_00 = (Bignum_conflict)a->y" identifier = (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier))) ;) (if_statement "if (orig_00 != (Bignum_conflict)0x0) {\n      orig_00 = copybn(orig_00);\n    }" if (parenthesized_expression "(orig_00 != (Bignum_conflict)0x0)" ( (binary_expression "orig_00 != (Bignum_conflict)0x0" identifier != (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      orig_00 = copybn(orig_00);\n    }" { (expression_statement "orig_00 = copybn(orig_00);" (assignment_expression "orig_00 = copybn(orig_00)" identifier = (call_expression "copybn(orig_00)" identifier (argument_list "(orig_00)" ( identifier )))) ;) })) (expression_statement "orig_01 = (Bignum_conflict)a->x;" (assignment_expression "orig_01 = (Bignum_conflict)a->x" identifier = (cast_expression "(Bignum_conflict)a->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->x" identifier -> field_identifier))) ;) (if_statement "if (orig_01 != (Bignum_conflict)0x0) {\n      orig_01 = copybn(orig_01);\n    }" if (parenthesized_expression "(orig_01 != (Bignum_conflict)0x0)" ( (binary_expression "orig_01 != (Bignum_conflict)0x0" identifier != (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      orig_01 = copybn(orig_01);\n    }" { (expression_statement "orig_01 = copybn(orig_01);" (assignment_expression "orig_01 = copybn(orig_01)" identifier = (call_expression "copybn(orig_01)" identifier (argument_list "(orig_01)" ( identifier )))) ;) })) (expression_statement "peVar2 = a->curve;" (assignment_expression "peVar2 = a->curve" identifier = (field_expression "a->curve" identifier -> field_identifier)) ;) (expression_statement "peVar3 = (ec_point *)safemalloc(1,0x14);" (assignment_expression "peVar3 = (ec_point *)safemalloc(1,0x14)" identifier = (cast_expression "(ec_point *)safemalloc(1,0x14)" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "peVar3->curve = peVar2;" (assignment_expression "peVar3->curve = peVar2" (field_expression "peVar3->curve" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar3->x = orig_01;" (assignment_expression "peVar3->x = orig_01" (field_expression "peVar3->x" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar3->y = orig_00;" (assignment_expression "peVar3->y = orig_00" (field_expression "peVar3->y" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar3->z = orig;" (assignment_expression "peVar3->z = orig" (field_expression "peVar3->z" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar3->infinity = uVar1 != '\0';" (assignment_expression "peVar3->infinity = uVar1 != '\0'" (field_expression "peVar3->infinity" identifier -> field_identifier) = (binary_expression "uVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ;) }))) (return_statement "return peVar3;" return identifier ;) }))
(translation_unit "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }\n  return puVar6;\n}\n\n" (ERROR "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)" (binary_expression "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00028030(undefined4 *param_1)" identifier (argument_list "(undefined4 *param_1)" ( (binary_expression "undefined4 *param_1" identifier * identifier) ))))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }\n  return puVar6;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar6 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" else (compound_statement "{\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" { (expression_statement "cVar1 = *(char *)(param_1 + 4);" (assignment_expression "cVar1 = *(char *)(param_1 + 4)" identifier = (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = param_1[3];" (assignment_expression "iVar3 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = FUN_00021ac0(iVar3);\n    }" { (expression_statement "iVar3 = FUN_00021ac0(iVar3);" (assignment_expression "iVar3 = FUN_00021ac0(iVar3)" identifier = (call_expression "FUN_00021ac0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) })) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = FUN_00021ac0(iVar4);\n    }" { (expression_statement "iVar4 = FUN_00021ac0(iVar4);" (assignment_expression "iVar4 = FUN_00021ac0(iVar4)" identifier = (call_expression "FUN_00021ac0(iVar4)" identifier (argument_list "(iVar4)" ( identifier )))) ;) })) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar5 = FUN_00021ac0(iVar5);\n    }" { (expression_statement "iVar5 = FUN_00021ac0(iVar5);" (assignment_expression "iVar5 = FUN_00021ac0(iVar5)" identifier = (call_expression "FUN_00021ac0(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) ;) })) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);" (assignment_expression "puVar6 = (undefined4 *)FUN_0001bd60(1,0x14)" identifier = (cast_expression "(undefined4 *)FUN_0001bd60(1,0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bd60(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*puVar6 = uVar2;" (assignment_expression "*puVar6 = uVar2" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "puVar6[1] = iVar5;" (assignment_expression "puVar6[1] = iVar5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = iVar4;" (assignment_expression "puVar6[2] = iVar4" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = iVar3;" (assignment_expression "puVar6[3] = iVar3" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(bool *)(puVar6 + 4) = cVar1 != '\0';" (assignment_expression "*(bool *)(puVar6 + 4) = cVar1 != '\0'" (pointer_expression "*(bool *)(puVar6 + 4)" * (cast_expression "(bool *)(puVar6 + 4)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ;) }))) (return_statement "return puVar6;" return identifier ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT != (char_literal ' escape_sequence '))) ;) }))) (return_statement return IDENT ;) }))
(ERROR "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)" (binary_expression "undefined4 * __regparm3 FUN_00028030(undefined4 *param_1)" (identifier "undefined4") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_00028030(undefined4 *param_1)" (identifier "FUN_00028030") (argument_list "(undefined4 *param_1)" (( "(") (binary_expression "undefined4 *param_1" (identifier "undefined4") (* "*") (identifier "param_1")) () ")"))))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }\n  return puVar6;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    puVar6 = (undefined4 *)0x0;\n  }\n  else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar6 = (undefined4 *)0x0;\n  }" ({ "{") (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" (else "else") (compound_statement "{\n    cVar1 = *(char *)(param_1 + 4);\n    iVar3 = param_1[3];\n    if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }\n    iVar4 = param_1[2];\n    if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }\n    iVar5 = param_1[1];\n    if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }\n    uVar2 = *param_1;\n    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);\n    *puVar6 = uVar2;\n    puVar6[1] = iVar5;\n    puVar6[2] = iVar4;\n    puVar6[3] = iVar3;\n    *(bool *)(puVar6 + 4) = cVar1 != '\0';\n  }" ({ "{") (expression_statement "cVar1 = *(char *)(param_1 + 4);" (assignment_expression "cVar1 = *(char *)(param_1 + 4)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + 4)" (* "*") (cast_expression "(char *)(param_1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar3 = param_1[3];" (assignment_expression "iVar3 = param_1[3]" (identifier "iVar3") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar3 != 0) {\n      iVar3 = FUN_00021ac0(iVar3);\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = FUN_00021ac0(iVar3);\n    }" ({ "{") (expression_statement "iVar3 = FUN_00021ac0(iVar3);" (assignment_expression "iVar3 = FUN_00021ac0(iVar3)" (identifier "iVar3") (= "=") (call_expression "FUN_00021ac0(iVar3)" (identifier "FUN_00021ac0") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" (identifier "iVar4") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (iVar4 != 0) {\n      iVar4 = FUN_00021ac0(iVar4);\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = FUN_00021ac0(iVar4);\n    }" ({ "{") (expression_statement "iVar4 = FUN_00021ac0(iVar4);" (assignment_expression "iVar4 = FUN_00021ac0(iVar4)" (identifier "iVar4") (= "=") (call_expression "FUN_00021ac0(iVar4)" (identifier "FUN_00021ac0") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" (identifier "iVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar5 != 0) {\n      iVar5 = FUN_00021ac0(iVar5);\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = FUN_00021ac0(iVar5);\n    }" ({ "{") (expression_statement "iVar5 = FUN_00021ac0(iVar5);" (assignment_expression "iVar5 = FUN_00021ac0(iVar5)" (identifier "iVar5") (= "=") (call_expression "FUN_00021ac0(iVar5)" (identifier "FUN_00021ac0") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (} "}"))) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);" (assignment_expression "puVar6 = (undefined4 *)FUN_0001bd60(1,0x14)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_0001bd60(1,0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001bd60(1,0x14)" (identifier "FUN_0001bd60") (argument_list "(1,0x14)" (( "(") (number_literal "1") (, ",") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*puVar6 = uVar2;" (assignment_expression "*puVar6 = uVar2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar6[1] = iVar5;" (assignment_expression "puVar6[1] = iVar5" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "puVar6[2] = iVar4;" (assignment_expression "puVar6[2] = iVar4" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "puVar6[3] = iVar3;" (assignment_expression "puVar6[3] = iVar3" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(bool *)(puVar6 + 4) = cVar1 != '\0';" (assignment_expression "*(bool *)(puVar6 + 4) = cVar1 != '\0'" (pointer_expression "*(bool *)(puVar6 + 4)" (* "*") (cast_expression "(bool *)(puVar6 + 4)" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) (; ";")) (} "}")))) (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}"))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_4 * __regparm3 ec_point_copy(type_4 *var_1)

{
  type_1 var_7;
  type_2 *peVar2;
  type_3 var_2;
  type_3 var_4;
  type_3 var_5;
  type_4 *peVar3;
  
  if (var_1 == (type_4 *)0x0) {
    peVar3 = (type_4 *)0x0;
  }
  else {
    var_7 = var_1->infinity;
    var_2 = (type_3)var_1->z;
    if (var_2 != (type_3)0x0) {
      var_2 = var_3(var_2);
    }
    var_4 = (type_3)var_1->y;
    if (var_4 != (type_3)0x0) {
      var_4 = var_3(var_4);
    }
    var_5 = (type_3)var_1->x;
    if (var_5 != (type_3)0x0) {
      var_5 = var_3(var_5);
    }
    peVar2 = var_1->curve;
    peVar3 = (type_4 *)var_6(1,0x14);
    peVar3->curve = peVar2;
    peVar3->x = var_5;
    peVar3->y = var_4;
    peVar3->z = var_2;
    peVar3->infinity = var_7 != '\0';
  }
  return peVar3;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))) (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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 (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))) (return_statement (identifier))))

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

undefined4 * __regparm3 MASKED(undefined4 *param_1)

{
  char cVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  
  if (param_1 == (undefined4 *)0x0) {
    puVar6 = (undefined4 *)0x0;
  }
  else {
    cVar1 = *(char *)(param_1 + 4);
    iVar3 = param_1[3];
    if (iVar3 != 0) {
      iVar3 = FUN_00021ac0(iVar3);
    }
    iVar4 = param_1[2];
    if (iVar4 != 0) {
      iVar4 = FUN_00021ac0(iVar4);
    }
    iVar5 = param_1[1];
    if (iVar5 != 0) {
      iVar5 = FUN_00021ac0(iVar5);
    }
    uVar2 = *param_1;
    puVar6 = (undefined4 *)FUN_0001bd60(1,0x14);
    *puVar6 = uVar2;
    puVar6[1] = iVar5;
    puVar6[2] = iVar4;
    puVar6[3] = iVar3;
    *(bool *)(puVar6 + 4) = cVar1 != '\0';
  }
  return puVar6;
}

