
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void base64_encode_atom(uchar *data,int n,char *out)

{
  byte bVar1;
  char cVar2;
  char cVar3;
  uint uVar4;
  uint uVar5;
  
  uVar4 = (uint)*data << 0x10;
  if (1 < n) {
    bVar1 = data[1];
    uVar5 = uVar4 | (uint)bVar1 << 8;
    if (n == 2) {
      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
              [uVar5 >> 0xc & 0x3f];
      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [((uint)bVar1 << 8 & 0xfc0) >> 6];
      cVar3 = '=';
      out[1] = cVar2;
    }
    else {
      bVar1 = data[2];
      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [(uVar5 & 0x3f000) >> 0xc];
      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];
      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [(uVar5 | bVar1) >> 6 & 0x3f];
    }
    out[3] = cVar3;
    return;
  }
  out[2] = '=';
  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
  out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f];
  *out = cVar3;
  out[3] = '=';
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_0001d480(byte *param_1,int param_2,char *param_3)

{
  byte bVar1;
  char cVar2;
  char cVar3;
  uint uVar4;
  uint uVar5;
  
  uVar4 = (uint)*param_1 << 0x10;
  if (1 < param_2) {
    bVar1 = param_1[1];
    uVar5 = uVar4 | (uint)bVar1 << 8;
    if (param_2 == 2) {
      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
              [uVar5 >> 0xc & 0x3f];
      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [((uint)bVar1 << 8 & 0xfc0) >> 6];
      cVar3 = '=';
      param_3[1] = cVar2;
    }
    else {
      bVar1 = param_1[2];
      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [(uVar5 & 0x3f000) >> 0xc];
      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];
      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [(uVar5 | bVar1) >> 6 & 0x3f];
    }
    param_3[3] = cVar3;
    return;
  }
  param_3[2] = '=';
  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [uVar4 >> 0xc & 0x3f];
  *param_3 = cVar3;
  param_3[3] = '=';
  return;
}


CALL 0x0001e60a
ADD ECX,0xb290b
PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOVZX EAX,byte ptr [ESI]
SHL EAX,0x10
CMP EDI,0x1
JLE 0x0001d500
MOVZX EBX,byte ptr [ESI + 0x1]
SHL EBX,0x8
OR EAX,EBX
CMP EDI,0x2
JZ 0x0001d530
MOVZX EBX,byte ptr [ESI + 0x2]
OR EAX,EBX
MOV EBX,EAX
SHR EBX,0x12
MOVZX EBX,byte ptr [ECX + EBX*0x1 + 0xfffc05b0]
MOV byte ptr [EDX],BL
MOV EBX,EAX
SHR EBX,0xc
AND EBX,0x3f
MOVZX EBX,byte ptr [ECX + EBX*0x1 + 0xfffc05b0]
MOV byte ptr [EDX + 0x1],BL
MOV EBX,EAX
AND EAX,0x3f
SHR EBX,0x6
MOVZX EAX,byte ptr [ECX + EAX*0x1 + 0xfffc05b0]
AND EBX,0x3f
MOVZX EBX,byte ptr [ECX + EBX*0x1 + 0xfffc05b0]
MOV byte ptr [EDX + 0x2],BL
MOV byte ptr [EDX + 0x3],AL
POP EBX
POP ESI
POP EDI
RET
MOV EBX,EAX
SHR EAX,0xc
MOV byte ptr [EDX + 0x2],0x3d
AND EAX,0x3f
SHR EBX,0x12
MOVZX EAX,byte ptr [ECX + EAX*0x1 + 0xfffc05b0]
MOVZX EBX,byte ptr [ECX + EBX*0x1 + 0xfffc05b0]
MOV byte ptr [EDX + 0x1],AL
MOV EAX,0x3d
MOV byte ptr [EDX],BL
MOV byte ptr [EDX + 0x3],AL
POP EBX
POP ESI
POP EDI
RET
MOV EBX,EAX
SHR EBX,0x12
MOVZX EBX,byte ptr [ECX + EBX*0x1 + 0xfffc05b0]
MOV byte ptr [EDX],BL
MOV EBX,EAX
SHR EAX,0x6
SHR EBX,0xc
AND EAX,0x3f
AND EBX,0x3f
MOVZX EAX,byte ptr [ECX + EAX*0x1 + 0xfffc05b0]
MOVZX EBX,byte ptr [ECX + EBX*0x1 + 0xfffc05b0]
MOV byte ptr [EDX + 0x2],AL
MOV EAX,0x3d
MOV byte ptr [EDX + 0x1],BL
JMP 0x0001d4f9
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_0001d480(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}\n\n" comment (function_definition "void FUN_0001d480(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}" primitive_type (function_declarator "FUN_0001d480(byte *param_1,int param_2,char *param_3)" identifier (parameter_list "(byte *param_1,int param_2,char *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar4 = (uint)*param_1 << 0x10;" (assignment_expression "uVar4 = (uint)*param_1 << 0x10" identifier = (binary_expression "(uint)*param_1 << 0x10" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) << number_literal)) ;) (if_statement "if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }" { (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = uVar4 | (uint)bVar1 << 8;" (assignment_expression "uVar5 = uVar4 | (uint)bVar1 << 8" identifier = (binary_expression "uVar4 | (uint)bVar1 << 8" identifier | (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal))) ;) (if_statement "if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }" { (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar5 >> 0xc & 0x3f" (binary_expression "uVar5 >> 0xc" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "((uint)bVar1 << 8 & 0xfc0) >> 6" (parenthesized_expression "((uint)bVar1 << 8 & 0xfc0)" ( (binary_expression "(uint)bVar1 << 8 & 0xfc0" (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) & number_literal) )) >> number_literal) ])) ;) (expression_statement "cVar3 = '=';" (assignment_expression "cVar3 = '='" identifier = (char_literal "'='" ' character ')) ;) (expression_statement "param_3[1] = cVar2;" (assignment_expression "param_3[1] = cVar2" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" else (compound_statement "{\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" { (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar5 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar5 & 0x3f000)" ( (binary_expression "uVar5 & 0x3f000" identifier & number_literal) )) >> number_literal) ])) ;) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "bVar1 & 0x3f" identifier & number_literal) ])) ;) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar5 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar5 | bVar1) >> 6" (parenthesized_expression "(uVar5 | bVar1)" ( (binary_expression "uVar5 | bVar1" identifier | identifier) )) >> number_literal) & number_literal) ])) ;) }))) (expression_statement "param_3[3] = cVar3;" (assignment_expression "param_3[3] = cVar3" (subscript_expression "param_3[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_3[2] = '=';" (assignment_expression "param_3[2] = '='" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0xc & 0x3f" (binary_expression "uVar4 >> 0xc" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "*param_3 = cVar3;" (assignment_expression "*param_3 = cVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[3] = '=';" (assignment_expression "param_3[3] = '='" (subscript_expression "param_3[3]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid base64_encode_atom(uchar *data,int n,char *out)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*data << 0x10;\n  if (1 < n) {\n    bVar1 = data[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (n == 2) {\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }\n    else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    out[3] = cVar3;\n    return;\n  }\n  out[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f];\n  *out = cVar3;\n  out[3] = '=';\n  return;\n}\n\n" comment (function_definition "void base64_encode_atom(uchar *data,int n,char *out)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*data << 0x10;\n  if (1 < n) {\n    bVar1 = data[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (n == 2) {\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }\n    else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    out[3] = cVar3;\n    return;\n  }\n  out[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f];\n  *out = cVar3;\n  out[3] = '=';\n  return;\n}" primitive_type (function_declarator "base64_encode_atom(uchar *data,int n,char *out)" identifier (parameter_list "(uchar *data,int n,char *out)" ( (parameter_declaration "uchar *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "int n" primitive_type identifier) , (parameter_declaration "char *out" primitive_type (pointer_declarator "*out" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*data << 0x10;\n  if (1 < n) {\n    bVar1 = data[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (n == 2) {\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }\n    else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    out[3] = cVar3;\n    return;\n  }\n  out[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f];\n  *out = cVar3;\n  out[3] = '=';\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar4 = (uint)*data << 0x10;" (assignment_expression "uVar4 = (uint)*data << 0x10" identifier = (binary_expression "(uint)*data << 0x10" (binary_expression "(uint)*data" (parenthesized_expression "(uint)" ( identifier )) * identifier) << number_literal)) ;) (if_statement "if (1 < n) {\n    bVar1 = data[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (n == 2) {\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }\n    else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    out[3] = cVar3;\n    return;\n  }" if (parenthesized_expression "(1 < n)" ( (binary_expression "1 < n" number_literal < identifier) )) (compound_statement "{\n    bVar1 = data[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (n == 2) {\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }\n    else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    out[3] = cVar3;\n    return;\n  }" { (expression_statement "bVar1 = data[1];" (assignment_expression "bVar1 = data[1]" identifier = (subscript_expression "data[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = uVar4 | (uint)bVar1 << 8;" (assignment_expression "uVar5 = uVar4 | (uint)bVar1 << 8" identifier = (binary_expression "uVar4 | (uint)bVar1 << 8" identifier | (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal))) ;) (if_statement "if (n == 2) {\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }\n    else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" if (parenthesized_expression "(n == 2)" ( (binary_expression "n == 2" identifier == number_literal) )) (compound_statement "{\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      out[1] = cVar2;\n    }" { (expression_statement "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*out" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar5 >> 0xc & 0x3f" (binary_expression "uVar5 >> 0xc" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6];" (assignment_expression "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6]" (subscript_expression "out[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [((uint)bVar1 << 8 & 0xfc0) >> 6]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "((uint)bVar1 << 8 & 0xfc0) >> 6" (parenthesized_expression "((uint)bVar1 << 8 & 0xfc0)" ( (binary_expression "(uint)bVar1 << 8 & 0xfc0" (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) & number_literal) )) >> number_literal) ])) ;) (expression_statement "cVar3 = '=';" (assignment_expression "cVar3 = '='" identifier = (char_literal "'='" ' character ')) ;) (expression_statement "out[1] = cVar2;" (assignment_expression "out[1] = cVar2" (subscript_expression "out[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" else (compound_statement "{\n      bVar1 = data[2];\n      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" { (expression_statement "bVar1 = data[2];" (assignment_expression "bVar1 = data[2]" identifier = (subscript_expression "data[2]" identifier [ number_literal ])) ;) (expression_statement "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*out" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc];" (assignment_expression "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc]" (subscript_expression "out[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar5 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar5 & 0x3f000)" ( (binary_expression "uVar5 & 0x3f000" identifier & number_literal) )) >> number_literal) ])) ;) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "bVar1 & 0x3f" identifier & number_literal) ])) ;) (expression_statement "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f];" (assignment_expression "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f]" (subscript_expression "out[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [(uVar5 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar5 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar5 | bVar1) >> 6" (parenthesized_expression "(uVar5 | bVar1)" ( (binary_expression "uVar5 | bVar1" identifier | identifier) )) >> number_literal) & number_literal) ])) ;) }))) (expression_statement "out[3] = cVar3;" (assignment_expression "out[3] = cVar3" (subscript_expression "out[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "out[2] = '=';" (assignment_expression "out[2] = '='" (subscript_expression "out[2]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f];" (assignment_expression "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f]" (subscript_expression "out[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0xc & 0x3f" (binary_expression "uVar4 >> 0xc" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "*out = cVar3;" (assignment_expression "*out = cVar3" (pointer_expression "*out" * identifier) = identifier) ;) (expression_statement "out[3] = '=';" (assignment_expression "out[3] = '='" (subscript_expression "out[3]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001d480(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}\n\n" (function_definition "void FUN_0001d480(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}" primitive_type (function_declarator "FUN_0001d480(byte *param_1,int param_2,char *param_3)" identifier (parameter_list "(byte *param_1,int param_2,char *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar4 = (uint)*param_1 << 0x10;" (assignment_expression "uVar4 = (uint)*param_1 << 0x10" identifier = (binary_expression "(uint)*param_1 << 0x10" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) << number_literal)) ;) (if_statement "if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }" { (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = uVar4 | (uint)bVar1 << 8;" (assignment_expression "uVar5 = uVar4 | (uint)bVar1 << 8" identifier = (binary_expression "uVar4 | (uint)bVar1 << 8" identifier | (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal))) ;) (if_statement "if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }" { (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar5 >> 0xc & 0x3f" (binary_expression "uVar5 >> 0xc" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "((uint)bVar1 << 8 & 0xfc0) >> 6" (parenthesized_expression "((uint)bVar1 << 8 & 0xfc0)" ( (binary_expression "(uint)bVar1 << 8 & 0xfc0" (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << number_literal) & number_literal) )) >> number_literal) ])) ;) (expression_statement "cVar3 = '=';" (assignment_expression "cVar3 = '='" identifier = (char_literal "'='" ' character ')) ;) (expression_statement "param_3[1] = cVar2;" (assignment_expression "param_3[1] = cVar2" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" else (compound_statement "{\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" { (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar5 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar5 & 0x3f000)" ( (binary_expression "uVar5 & 0x3f000" identifier & number_literal) )) >> number_literal) ])) ;) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "bVar1 & 0x3f" identifier & number_literal) ])) ;) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar5 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar5 | bVar1) >> 6" (parenthesized_expression "(uVar5 | bVar1)" ( (binary_expression "uVar5 | bVar1" identifier | identifier) )) >> number_literal) & number_literal) ])) ;) }))) (expression_statement "param_3[3] = cVar3;" (assignment_expression "param_3[3] = cVar3" (subscript_expression "param_3[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_3[2] = '=';" (assignment_expression "param_3[2] = '='" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0xc & 0x3f" (binary_expression "uVar4 >> 0xc" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "*param_3 = cVar3;" (assignment_expression "*param_3 = cVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[3] = '=';" (assignment_expression "param_3[3] = '='" (subscript_expression "param_3[3]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) << LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT >> LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (string_literal " string_content ") [ (binary_expression (binary_expression IDENT >> LIT) & LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT) & LIT) )) >> LIT) ])) ;) (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT & LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT | IDENT) )) >> LIT) & LIT) ])) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (binary_expression IDENT >> LIT) & LIT) ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (return_statement return ;) })))
(function_definition "void FUN_0001d480(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001d480(byte *param_1,int param_2,char *param_3)" (identifier "FUN_0001d480") (parameter_list "(byte *param_1,int param_2,char *param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char cVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  uVar4 = (uint)*param_1 << 0x10;\n  if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }\n  param_3[2] = '=';\n  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];\n  *param_3 = cVar3;\n  param_3[3] = '=';\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "uVar4 = (uint)*param_1 << 0x10;" (assignment_expression "uVar4 = (uint)*param_1 << 0x10" (identifier "uVar4") (= "=") (binary_expression "(uint)*param_1 << 0x10" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (<< "<<") (number_literal "0x10"))) (; ";")) (if_statement "if (1 < param_2) {\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }" (if "if") (parenthesized_expression "(1 < param_2)" (( "(") (binary_expression "1 < param_2" (number_literal "1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    bVar1 = param_1[1];\n    uVar5 = uVar4 | (uint)bVar1 << 8;\n    if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }\n    param_3[3] = cVar3;\n    return;\n  }" ({ "{") (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" (identifier "bVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar5 = uVar4 | (uint)bVar1 << 8;" (assignment_expression "uVar5 = uVar4 | (uint)bVar1 << 8" (identifier "uVar5") (= "=") (binary_expression "uVar4 | (uint)bVar1 << 8" (identifier "uVar4") (| "|") (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (<< "<<") (number_literal "8")))) (; ";")) (if_statement "if (param_2 == 2) {\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }\n    else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" (if "if") (parenthesized_expression "(param_2 == 2)" (( "(") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];\n      cVar3 = '=';\n      param_3[1] = cVar2;\n    }" ({ "{") (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar4 >> 0x12" (identifier "uVar4") (>> ">>") (number_literal "0x12")) (] "]"))) (; ";")) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" (identifier "cVar2") (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n              [uVar5 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar5 >> 0xc & 0x3f" (binary_expression "uVar5 >> 0xc" (identifier "uVar5") (>> ">>") (number_literal "0xc")) (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6]" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [((uint)bVar1 << 8 & 0xfc0) >> 6]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "((uint)bVar1 << 8 & 0xfc0) >> 6" (parenthesized_expression "((uint)bVar1 << 8 & 0xfc0)" (( "(") (binary_expression "(uint)bVar1 << 8 & 0xfc0" (binary_expression "(uint)bVar1 << 8" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (<< "<<") (number_literal "8")) (& "&") (number_literal "0xfc0")) () ")")) (>> ">>") (number_literal "6")) (] "]"))) (; ";")) (expression_statement "cVar3 = '=';" (assignment_expression "cVar3 = '='" (identifier "cVar3") (= "=") (char_literal "'='" (' "'") (character "=") (' "'"))) (; ";")) (expression_statement "param_3[1] = cVar2;" (assignment_expression "param_3[1] = cVar2" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "cVar2")) (; ";")) (} "}")) (else_clause "else {\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" (else "else") (compound_statement "{\n      bVar1 = param_1[2];\n      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];\n      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];\n    }" ({ "{") (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" (identifier "bVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar4 >> 0x12" (identifier "uVar4") (>> ">>") (number_literal "0x12")) (] "]"))) (; ";")) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc]" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "(uVar5 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar5 & 0x3f000)" (( "(") (binary_expression "uVar5 & 0x3f000" (identifier "uVar5") (& "&") (number_literal "0x3f000")) () ")")) (>> ">>") (number_literal "0xc")) (] "]"))) (; ";")) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (identifier "cVar3") (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "bVar1 & 0x3f" (identifier "bVar1") (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f]" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [(uVar5 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "(uVar5 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar5 | bVar1) >> 6" (parenthesized_expression "(uVar5 | bVar1)" (( "(") (binary_expression "uVar5 | bVar1" (identifier "uVar5") (| "|") (identifier "bVar1")) () ")")) (>> ">>") (number_literal "6")) (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (} "}")))) (expression_statement "param_3[3] = cVar3;" (assignment_expression "param_3[3] = cVar3" (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "cVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_3[2] = '=';" (assignment_expression "param_3[2] = '='" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (char_literal "'='" (' "'") (character "=") (' "'"))) (; ";")) (expression_statement "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (identifier "cVar3") (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar4 >> 0x12" (identifier "uVar4") (>> ">>") (number_literal "0x12")) (] "]"))) (; ";")) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f]" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n               [uVar4 >> 0xc & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar4 >> 0xc & 0x3f" (binary_expression "uVar4 >> 0xc" (identifier "uVar4") (>> ">>") (number_literal "0xc")) (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (expression_statement "*param_3 = cVar3;" (assignment_expression "*param_3 = cVar3" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "cVar3")) (; ";")) (expression_statement "param_3[3] = '=';" (assignment_expression "param_3[3] = '='" (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")) (= "=") (char_literal "'='" (' "'") (character "=") (' "'"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void function_1(type_1 *var_1,int var_2,char *out)

{
  type_2 var_5;
  char cVar2;
  char cVar3;
  type_3 var_3;
  type_3 var_4;
  
  var_3 = (type_3)*var_1 << 0x10;
  if (1 < var_2) {
    var_5 = var_1[1];
    var_4 = var_3 | (type_3)var_5 << 8;
    if (var_2 == 2) {
      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_3 >> 0x12];
      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
              [var_4 >> 0xc & 0x3f];
      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [((type_3)var_5 << 8 & 0xfc0) >> 6];
      cVar3 = '=';
      out[1] = cVar2;
    }
    else {
      var_5 = var_1[2];
      *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_3 >> 0x12];
      out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [(var_4 & 0x3f000) >> 0xc];
      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_5 & 0x3f];
      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [(var_4 | var_5) >> 6 & 0x3f];
    }
    out[3] = cVar3;
    return;
  }
  out[2] = '=';
  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_3 >> 0x12];
  out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_3 >> 0xc & 0x3f];
  *out = cVar3;
  out[3] = '=';
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (character)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (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: (char_literal (character)))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(byte *param_1,int param_2,char *param_3)

{
  byte bVar1;
  char cVar2;
  char cVar3;
  uint uVar4;
  uint uVar5;
  
  uVar4 = (uint)*param_1 << 0x10;
  if (1 < param_2) {
    bVar1 = param_1[1];
    uVar5 = uVar4 | (uint)bVar1 << 8;
    if (param_2 == 2) {
      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
      cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
              [uVar5 >> 0xc & 0x3f];
      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [((uint)bVar1 << 8 & 0xfc0) >> 6];
      cVar3 = '=';
      param_3[1] = cVar2;
    }
    else {
      bVar1 = param_1[2];
      *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
      param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [(uVar5 & 0x3f000) >> 0xc];
      cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];
      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [(uVar5 | bVar1) >> 6 & 0x3f];
    }
    param_3[3] = cVar3;
    return;
  }
  param_3[2] = '=';
  cVar3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
  param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
               [uVar4 >> 0xc & 0x3f];
  *param_3 = cVar3;
  param_3[3] = '=';
  return;
}

