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

void rsa_fingerprint(char *str,int len,RSAKey *key)

{
  int iVar1;
  uchar uVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  size_t sVar6;
  uint *puVar7;
  uint *puVar8;
  char *pcVar9;
  int iVar10;
  int in_GS_OFFSET;
  bool bVar11;
  uchar c;
  MD5Context md5c;
  uchar digest [16];
  char buffer [88];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  MD5Init(&md5c);
  iVar3 = ssh1_bignum_length((Bignum_conflict)key->modulus);
  if (iVar3 != 2) {
    iVar3 = iVar3 + -3;
    do {
      iVar10 = iVar3 + -1;
      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);
      c = (uchar)iVar3;
      MD5Update(&md5c,&c,1);
      iVar3 = iVar10;
    } while (iVar10 != -1);
  }
  iVar10 = ssh1_bignum_length((Bignum_conflict)key->exponent);
  iVar3 = iVar10 + -3;
  if (iVar10 != 2) {
    do {
      iVar10 = iVar3 + -1;
      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);
      c = (uchar)iVar3;
      MD5Update(&md5c,&c,1);
      iVar3 = iVar10;
    } while (iVar10 != -1);
  }
  iVar10 = 0;
  MD5Final(digest,&md5c);
  iVar3 = bignum_bitcount((Bignum_conflict)key->modulus);
  __sprintf_chk(buffer,1,0x58,&DAT_00063eae,iVar3);
  do {
    uVar2 = digest[iVar10];
    puVar8 = (uint *)buffer;
    do {
      puVar7 = puVar8;
      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;
      uVar5 = uVar4 & 0x80808080;
      puVar8 = puVar7 + 1;
    } while (uVar5 == 0);
    bVar11 = (uVar4 & 0x8080) == 0;
    if (bVar11) {
      uVar5 = uVar5 >> 0x10;
    }
    if (bVar11) {
      puVar8 = (uint *)((int)puVar7 + 6);
    }
    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));
    if (iVar10 == 0) {
      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);
    }
    else {
      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);
      if (iVar10 == 0xf) {
        strncpy(str,buffer,len);
        str[len + -1] = '\0';
        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {
          str[sVar6] = ' ';
          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);
          str[len + -1] = '\0';
        }
        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
          __stack_chk_fail_local();
        }
        return;
      }
    }
    iVar10 = iVar10 + 1;
  } while( true );
}



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

void FUN_00044130(char *param_1,size_t param_2,int param_3)

{
  undefined1 uVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  size_t sVar6;
  uint *puVar7;
  uint *puVar8;
  char *pcVar9;
  int iVar10;
  int in_GS_OFFSET;
  bool bVar11;
  undefined1 local_e5;
  undefined1 local_e4 [92];
  undefined1 local_88 [16];
  uint local_78 [22];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x44139;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  MD5Init(local_e4);
  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));
  if (iVar2 != 2) {
    iVar2 = iVar2 + -3;
    do {
      iVar10 = iVar2 + -1;
      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);
      MD5Update(local_e4,&local_e5,1);
      iVar2 = iVar10;
    } while (iVar10 != -1);
  }
  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));
  iVar2 = iVar10 + -3;
  if (iVar10 != 2) {
    do {
      iVar10 = iVar2 + -1;
      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);
      MD5Update(local_e4,&local_e5,1);
      iVar2 = iVar10;
    } while (iVar10 != -1);
  }
  iVar2 = 0;
  MD5Final(local_88,local_e4);
  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));
  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);
  do {
    uVar1 = local_88[iVar2];
    puVar8 = local_78;
    do {
      puVar7 = puVar8;
      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;
      uVar5 = uVar4 & 0x80808080;
      puVar8 = puVar7 + 1;
    } while (uVar5 == 0);
    bVar11 = (uVar4 & 0x8080) == 0;
    if (bVar11) {
      uVar5 = uVar5 >> 0x10;
    }
    if (bVar11) {
      puVar8 = (uint *)((int)puVar7 + 6);
    }
    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));
    if (iVar2 == 0) {
      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);
    }
    else {
      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);
      if (iVar2 == 0xf) {
        strncpy(param_1,(char *)local_78,param_2);
        param_1[param_2 - 1] = '\0';
        if ((*(int *)(param_3 + 0x20) != 0) &&
           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {
          param_1[sVar6] = ' ';
          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);
          param_1[param_2 - 1] = '\0';
        }
        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
          FUN_0005c110();
        }
        return;
      }
    }
    iVar2 = iVar2 + 1;
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015340
ADD EBX,0x40baf
SUB ESP,0x108
MOV EAX,dword ptr [ESP + 0x11c]
MOV EDI,dword ptr [ESP + 0x124]
LEA ESI,[ESP + 0x34]
MOV dword ptr [ESP + 0x28],EAX
MOV dword ptr [ESP + 0x14],EDI
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xf8],EAX
XOR EAX,EAX
PUSH ESI
CALL 0x0003ce10
POP EBP
PUSH dword ptr [EDI + 0x8]
CALL 0x0002f7a0
ADD ESP,0x10
CMP EAX,0x2
JZ 0x000441c3
LEA EDI,[ESP + 0x27]
LEA EBP,[EAX + -0x3]
MOV EAX,EDI
MOV EDI,EBP
MOV EBP,EAX
LEA ESI,[ESI]
SUB ESP,0x8
PUSH EDI
MOV EAX,dword ptr [ESP + 0x14]
SUB EDI,0x1
PUSH dword ptr [EAX + 0x8]
CALL 0x0002f840
MOV byte ptr [ESP + 0x37],AL
ADD ESP,0xc
PUSH 0x1
PUSH EBP
PUSH ESI
CALL 0x0003ce50
ADD ESP,0x10
CMP EDI,-0x1
JNZ 0x00044198
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x14]
PUSH dword ptr [EAX + 0xc]
CALL 0x0002f7a0
ADD ESP,0x10
LEA EBP,[EAX + -0x3]
LEA EDI,[ESP + 0x27]
CMP EAX,0x2
JZ 0x0004421b
MOV EAX,EDI
MOV EDI,EBP
MOV EBP,EAX
LEA ESI,[ESI]
NOP
SUB ESP,0x8
PUSH EDI
MOV EAX,dword ptr [ESP + 0x14]
SUB EDI,0x1
PUSH dword ptr [EAX + 0xc]
CALL 0x0002f840
MOV byte ptr [ESP + 0x37],AL
ADD ESP,0xc
PUSH 0x1
PUSH EBP
PUSH ESI
CALL 0x0003ce50
ADD ESP,0x10
CMP EDI,-0x1
JNZ 0x000441f0
SUB ESP,0x8
XOR EDI,EDI
PUSH ESI
LEA ESI,[ESP + 0x90]
PUSH ESI
CALL 0x0003ceb0
POP ECX
MOV EAX,dword ptr [ESP + 0x14]
PUSH dword ptr [EAX + 0x8]
CALL 0x0002f750
MOV dword ptr [ESP],EAX
LEA EAX,[EBX + 0xfffdf1c6]
PUSH EAX
PUSH 0x58
PUSH 0x1
LEA EAX,[ESP + 0xb0]
MOV dword ptr [ESP + 0x28],EAX
PUSH EAX
CALL 0x00014340
ADD ESP,0x20
LEA EAX,[EBX + 0xfffd9126]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBX + 0xfffdf1ca]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBX + 0xfffd910f]
MOV dword ptr [ESP + 0x18],EAX
JMP 0x000442a1
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
PUSH -0x1
PUSH 0x1
PUSH EDX
CALL 0x00014340
ADD ESP,0x20
CMP EDI,0xf
JZ 0x00044300
ADD EDI,0x1
MOVZX EBP,byte ptr [ESI + EDI*0x1]
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EDX]
ADD EDX,0x4
LEA EAX,[ECX + 0xfefefeff]
NOT ECX
AND EAX,ECX
AND EAX,0x80808080
JZ 0x000442a9
MOV ECX,EAX
SHR ECX,0x10
TEST EAX,0x8080
CMOVZ EAX,ECX
LEA ECX,[EDX + 0x2]
CMOVZ EDX,ECX
MOV ECX,EAX
ADD CL,AL
SBB EDX,0x3
TEST EDI,EDI
JNZ 0x00044280
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x20]
PUSH -0x1
PUSH 0x1
PUSH EDX
CALL 0x00014340
ADD ESP,0x20
JMP 0x0004429e
SUB ESP,0x4
PUSH dword ptr [ESP + 0x118]
PUSH dword ptr [ESP + 0x14]
MOV EDI,dword ptr [ESP + 0x28]
PUSH EDI
CALL 0x00014400
MOV EAX,dword ptr [ESP + 0x124]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
LEA ESI,[EAX + -0x1]
MOV EAX,EDI
LEA EDI,[EDI + ESI*0x1]
MOV byte ptr [EDI],0x0
MOV EDX,dword ptr [EDX + 0x20]
TEST EDX,EDX
JZ 0x00044348
SUB ESP,0xc
PUSH EAX
CALL 0x00014300
ADD ESP,0x10
CMP ESI,EAX
JG 0x00044368
MOV EAX,dword ptr [ESP + 0xec]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00044399
ADD ESP,0xfc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0x1c]
SUB ESP,0x4
MOV EDX,dword ptr [ESP + 0x118]
MOV byte ptr [ESI + EAX*0x1],0x20
SUB EDX,EAX
LEA EAX,[ESI + EAX*0x1 + 0x1]
SUB EDX,0x1
PUSH EDX
MOV EDX,dword ptr [ESP + 0x10]
PUSH dword ptr [EDX + 0x20]
PUSH EAX
CALL 0x00014400
MOV byte ptr [EDI],0x0
ADD ESP,0x10
JMP 0x00044348
CALL 0x0005c110
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00044130(char *param_1,size_t param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}\n\n" comment (function_definition "void FUN_00044130(char *param_1,size_t param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00044130(char *param_1,size_t param_2,int param_3)" identifier (parameter_list "(char *param_1,size_t param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "size_t param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined1 local_e5;" type_identifier identifier ;) (declaration "undefined1 local_e4 [92];" type_identifier (array_declarator "local_e4 [92]" identifier [ number_literal ]) ;) (declaration "undefined1 local_88 [16];" type_identifier (array_declarator "local_88 [16]" identifier [ number_literal ]) ;) (declaration "uint local_78 [22];" type_identifier (array_declarator "local_78 [22]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x44139;" (assignment_expression "uStack_14 = 0x44139" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "MD5Init(local_e4);" (call_expression "MD5Init(local_e4)" identifier (argument_list "(local_e4)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));" (assignment_expression "iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8))" identifier = (call_expression "FUN_0002f7a0(*(undefined4 *)(param_3 + 8))" identifier (argument_list "(*(undefined4 *)(param_3 + 8))" ( (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" { (expression_statement "iVar2 = iVar2 + -3;" (assignment_expression "iVar2 = iVar2 + -3" identifier = (binary_expression "iVar2 + -3" identifier + number_literal)) ;) (do_statement "do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);" do (compound_statement "{\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    }" { (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);" (assignment_expression "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2)" identifier = (call_expression "FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2)" identifier (argument_list "(*(undefined4 *)(param_3 + 8),iVar2)" ( (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "MD5Update(local_e4,&local_e5,1);" (call_expression "MD5Update(local_e4,&local_e5,1)" identifier (argument_list "(local_e4,&local_e5,1)" ( identifier , (pointer_expression "&local_e5" & identifier) , number_literal ))) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));" (assignment_expression "iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc))" identifier = (call_expression "FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_3 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "iVar2 = iVar10 + -3;" (assignment_expression "iVar2 = iVar10 + -3" identifier = (binary_expression "iVar10 + -3" identifier + number_literal)) ;) (if_statement "if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" if (parenthesized_expression "(iVar10 != 2)" ( (binary_expression "iVar10 != 2" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" { (do_statement "do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);" do (compound_statement "{\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    }" { (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);" (assignment_expression "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2)" identifier = (call_expression "FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2)" identifier (argument_list "(*(undefined4 *)(param_3 + 0xc),iVar2)" ( (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "MD5Update(local_e4,&local_e5,1);" (call_expression "MD5Update(local_e4,&local_e5,1)" identifier (argument_list "(local_e4,&local_e5,1)" ( identifier , (pointer_expression "&local_e5" & identifier) , number_literal ))) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "MD5Final(local_88,local_e4);" (call_expression "MD5Final(local_88,local_e4)" identifier (argument_list "(local_88,local_e4)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));" (assignment_expression "uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8))" identifier = (call_expression "FUN_0002f750(*(undefined4 *)(param_3 + 8))" identifier (argument_list "(*(undefined4 *)(param_3 + 8))" ( (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "__sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);" (call_expression "__sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3)" identifier (argument_list "(local_78,1,0x58,&DAT_00063eae,uVar3)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eae" & identifier) , identifier ))) ;) (do_statement "do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );" do (compound_statement "{\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "uVar1 = local_88[iVar2];" (assignment_expression "uVar1 = local_88[iVar2]" identifier = (subscript_expression "local_88[iVar2]" identifier [ identifier ])) ;) (expression_statement "puVar8 = local_78;" (assignment_expression "puVar8 = local_78" identifier = identifier) ;) (do_statement "do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);" do (compound_statement "{\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    }" { (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (expression_statement "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;" (assignment_expression "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7" identifier = (binary_expression "*puVar7 + 0xfefefeff & ~*puVar7" (binary_expression "*puVar7 + 0xfefefeff" (pointer_expression "*puVar7" * identifier) + number_literal) & (unary_expression "~*puVar7" ~ (pointer_expression "*puVar7" * identifier)))) ;) (expression_statement "uVar5 = uVar4 & 0x80808080;" (assignment_expression "uVar5 = uVar4 & 0x80808080" identifier = (binary_expression "uVar4 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar8 = puVar7 + 1;" (assignment_expression "puVar8 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar11 = (uVar4 & 0x8080) == 0;" (assignment_expression "bVar11 = (uVar4 & 0x8080) == 0" identifier = (binary_expression "(uVar4 & 0x8080) == 0" (parenthesized_expression "(uVar4 & 0x8080)" ( (binary_expression "uVar4 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      uVar5 = uVar5 >> 0x10;\n    }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" { (expression_statement "puVar8 = (uint *)((int)puVar7 + 6);" (assignment_expression "puVar8 = (uint *)((int)puVar7 + 6)" identifier = (cast_expression "(uint *)((int)puVar7 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 6)" ( (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));" (assignment_expression "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" identifier = (cast_expression "(char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) )))) ;) (if_statement "if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }" { (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1)" identifier (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eb2" & identifier) , (pointer_expression "&DAT_0005ddf7" & identifier) , identifier ))) ;) }) (else_clause "else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }" else (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }\n    }" { (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1)" identifier (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eb2" & identifier) , (string_literal "":"" " string_content ") , identifier ))) ;) (if_statement "if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }" if (parenthesized_expression "(iVar2 == 0xf)" ( (binary_expression "iVar2 == 0xf" identifier == number_literal) )) (compound_statement "{\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }\n        return;\n      }" { (expression_statement "strncpy(param_1,(char *)local_78,param_2);" (call_expression "strncpy(param_1,(char *)local_78,param_2)" identifier (argument_list "(param_1,(char *)local_78,param_2)" ( identifier , (cast_expression "(char *)local_78" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "param_1[param_2 - 1] = '\0';" (assignment_expression "param_1[param_2 - 1] = '\0'" (subscript_expression "param_1[param_2 - 1]" identifier [ (binary_expression "param_2 - 1" identifier - number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }" if (parenthesized_expression "((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1)))" ( (binary_expression "(*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))" (parenthesized_expression "(*(int *)(param_3 + 0x20) != 0)" ( (binary_expression "*(int *)(param_3 + 0x20) != 0" (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))" ( (comma_expression "sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1)" (assignment_expression "sVar6 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "(int)sVar6 < (int)(param_2 - 1)" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(param_2 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 - 1)" ( (binary_expression "param_2 - 1" identifier - number_literal) ))))) ))) )) (compound_statement "{\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }" { (expression_statement "param_1[sVar6] = ' ';" (assignment_expression "param_1[sVar6] = ' '" (subscript_expression "param_1[sVar6]" identifier [ identifier ]) = (char_literal "' '" ' character ')) ;) (expression_statement "strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);" (call_expression "strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1)" identifier (argument_list "(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1)" ( (binary_expression "param_1 + sVar6 + 1" (binary_expression "param_1 + sVar6" identifier + identifier) + number_literal) , (pointer_expression "*(char **)(param_3 + 0x20)" * (cast_expression "(char **)(param_3 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) , (binary_expression "(param_2 - sVar6) - 1" (parenthesized_expression "(param_2 - sVar6)" ( (binary_expression "param_2 - sVar6" identifier - identifier) )) - number_literal) ))) ;) (expression_statement "param_1[param_2 - 1] = '\0';" (assignment_expression "param_1[param_2 - 1] = '\0'" (subscript_expression "param_1[param_2 - 1]" identifier [ (binary_expression "param_2 - 1" identifier - number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_0005c110();\n        }" { comment (expression_statement "FUN_0005c110();" (call_expression "FUN_0005c110()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })) }))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid rsa_fingerprint(char *str,int len,RSAKey *key)\n\n{\n  int iVar1;\n  uchar uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  uchar c;\n  MD5Context md5c;\n  uchar digest [16];\n  char buffer [88];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(&md5c);\n  iVar3 = ssh1_bignum_length((Bignum_conflict)key->modulus);\n  if (iVar3 != 2) {\n    iVar3 = iVar3 + -3;\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = ssh1_bignum_length((Bignum_conflict)key->exponent);\n  iVar3 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = 0;\n  MD5Final(digest,&md5c);\n  iVar3 = bignum_bitcount((Bignum_conflict)key->modulus);\n  __sprintf_chk(buffer,1,0x58,&DAT_00063eae,iVar3);\n  do {\n    uVar2 = digest[iVar10];\n    puVar8 = (uint *)buffer;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar10 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }\n    iVar10 = iVar10 + 1;\n  } while( true );\n}\n\n" comment comment (function_definition "void rsa_fingerprint(char *str,int len,RSAKey *key)\n\n{\n  int iVar1;\n  uchar uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  uchar c;\n  MD5Context md5c;\n  uchar digest [16];\n  char buffer [88];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(&md5c);\n  iVar3 = ssh1_bignum_length((Bignum_conflict)key->modulus);\n  if (iVar3 != 2) {\n    iVar3 = iVar3 + -3;\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = ssh1_bignum_length((Bignum_conflict)key->exponent);\n  iVar3 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = 0;\n  MD5Final(digest,&md5c);\n  iVar3 = bignum_bitcount((Bignum_conflict)key->modulus);\n  __sprintf_chk(buffer,1,0x58,&DAT_00063eae,iVar3);\n  do {\n    uVar2 = digest[iVar10];\n    puVar8 = (uint *)buffer;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar10 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }\n    iVar10 = iVar10 + 1;\n  } while( true );\n}" primitive_type (function_declarator "rsa_fingerprint(char *str,int len,RSAKey *key)" identifier (parameter_list "(char *str,int len,RSAKey *key)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "RSAKey *key" type_identifier (pointer_declarator "*key" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uchar uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  uchar c;\n  MD5Context md5c;\n  uchar digest [16];\n  char buffer [88];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(&md5c);\n  iVar3 = ssh1_bignum_length((Bignum_conflict)key->modulus);\n  if (iVar3 != 2) {\n    iVar3 = iVar3 + -3;\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = ssh1_bignum_length((Bignum_conflict)key->exponent);\n  iVar3 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = 0;\n  MD5Final(digest,&md5c);\n  iVar3 = bignum_bitcount((Bignum_conflict)key->modulus);\n  __sprintf_chk(buffer,1,0x58,&DAT_00063eae,iVar3);\n  do {\n    uVar2 = digest[iVar10];\n    puVar8 = (uint *)buffer;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar10 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }\n    iVar10 = iVar10 + 1;\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uchar uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "uchar c;" type_identifier identifier ;) (declaration "MD5Context md5c;" type_identifier identifier ;) (declaration "uchar digest [16];" type_identifier (array_declarator "digest [16]" identifier [ number_literal ]) ;) (declaration "char buffer [88];" primitive_type (array_declarator "buffer [88]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "MD5Init(&md5c);" (call_expression "MD5Init(&md5c)" identifier (argument_list "(&md5c)" ( (pointer_expression "&md5c" & identifier) ))) ;) (expression_statement "iVar3 = ssh1_bignum_length((Bignum_conflict)key->modulus);" (assignment_expression "iVar3 = ssh1_bignum_length((Bignum_conflict)key->modulus)" identifier = (call_expression "ssh1_bignum_length((Bignum_conflict)key->modulus)" identifier (argument_list "((Bignum_conflict)key->modulus)" ( (cast_expression "(Bignum_conflict)key->modulus" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "key->modulus" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar3 != 2) {\n    iVar3 = iVar3 + -3;\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }" if (parenthesized_expression "(iVar3 != 2)" ( (binary_expression "iVar3 != 2" identifier != number_literal) )) (compound_statement "{\n    iVar3 = iVar3 + -3;\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }" { (expression_statement "iVar3 = iVar3 + -3;" (assignment_expression "iVar3 = iVar3 + -3" identifier = (binary_expression "iVar3 + -3" identifier + number_literal)) ;) (do_statement "do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);" do (compound_statement "{\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    }" { (expression_statement "iVar10 = iVar3 + -1;" (assignment_expression "iVar10 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3);" (assignment_expression "iVar3 = bignum_byte((Bignum_conflict)key->modulus,iVar3)" identifier = (call_expression "bignum_byte((Bignum_conflict)key->modulus,iVar3)" identifier (argument_list "((Bignum_conflict)key->modulus,iVar3)" ( (cast_expression "(Bignum_conflict)key->modulus" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "key->modulus" identifier -> field_identifier)) , identifier )))) ;) (expression_statement "c = (uchar)iVar3;" (assignment_expression "c = (uchar)iVar3" identifier = (cast_expression "(uchar)iVar3" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "MD5Update(&md5c,&c,1);" (call_expression "MD5Update(&md5c,&c,1)" identifier (argument_list "(&md5c,&c,1)" ( (pointer_expression "&md5c" & identifier) , (pointer_expression "&c" & identifier) , number_literal ))) ;) (expression_statement "iVar3 = iVar10;" (assignment_expression "iVar3 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = ssh1_bignum_length((Bignum_conflict)key->exponent);" (assignment_expression "iVar10 = ssh1_bignum_length((Bignum_conflict)key->exponent)" identifier = (call_expression "ssh1_bignum_length((Bignum_conflict)key->exponent)" identifier (argument_list "((Bignum_conflict)key->exponent)" ( (cast_expression "(Bignum_conflict)key->exponent" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "key->exponent" identifier -> field_identifier)) )))) ;) (expression_statement "iVar3 = iVar10 + -3;" (assignment_expression "iVar3 = iVar10 + -3" identifier = (binary_expression "iVar10 + -3" identifier + number_literal)) ;) (if_statement "if (iVar10 != 2) {\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }" if (parenthesized_expression "(iVar10 != 2)" ( (binary_expression "iVar10 != 2" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);\n  }" { (do_statement "do {\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    } while (iVar10 != -1);" do (compound_statement "{\n      iVar10 = iVar3 + -1;\n      iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);\n      c = (uchar)iVar3;\n      MD5Update(&md5c,&c,1);\n      iVar3 = iVar10;\n    }" { (expression_statement "iVar10 = iVar3 + -1;" (assignment_expression "iVar10 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3);" (assignment_expression "iVar3 = bignum_byte((Bignum_conflict)key->exponent,iVar3)" identifier = (call_expression "bignum_byte((Bignum_conflict)key->exponent,iVar3)" identifier (argument_list "((Bignum_conflict)key->exponent,iVar3)" ( (cast_expression "(Bignum_conflict)key->exponent" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "key->exponent" identifier -> field_identifier)) , identifier )))) ;) (expression_statement "c = (uchar)iVar3;" (assignment_expression "c = (uchar)iVar3" identifier = (cast_expression "(uchar)iVar3" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "MD5Update(&md5c,&c,1);" (call_expression "MD5Update(&md5c,&c,1)" identifier (argument_list "(&md5c,&c,1)" ( (pointer_expression "&md5c" & identifier) , (pointer_expression "&c" & identifier) , number_literal ))) ;) (expression_statement "iVar3 = iVar10;" (assignment_expression "iVar3 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "MD5Final(digest,&md5c);" (call_expression "MD5Final(digest,&md5c)" identifier (argument_list "(digest,&md5c)" ( identifier , (pointer_expression "&md5c" & identifier) ))) ;) (expression_statement "iVar3 = bignum_bitcount((Bignum_conflict)key->modulus);" (assignment_expression "iVar3 = bignum_bitcount((Bignum_conflict)key->modulus)" identifier = (call_expression "bignum_bitcount((Bignum_conflict)key->modulus)" identifier (argument_list "((Bignum_conflict)key->modulus)" ( (cast_expression "(Bignum_conflict)key->modulus" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "key->modulus" identifier -> field_identifier)) )))) ;) (expression_statement "__sprintf_chk(buffer,1,0x58,&DAT_00063eae,iVar3);" (call_expression "__sprintf_chk(buffer,1,0x58,&DAT_00063eae,iVar3)" identifier (argument_list "(buffer,1,0x58,&DAT_00063eae,iVar3)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eae" & identifier) , identifier ))) ;) (do_statement "do {\n    uVar2 = digest[iVar10];\n    puVar8 = (uint *)buffer;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar10 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }\n    iVar10 = iVar10 + 1;\n  } while( true );" do (compound_statement "{\n    uVar2 = digest[iVar10];\n    puVar8 = (uint *)buffer;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar10 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }\n    iVar10 = iVar10 + 1;\n  }" { (expression_statement "uVar2 = digest[iVar10];" (assignment_expression "uVar2 = digest[iVar10]" identifier = (subscript_expression "digest[iVar10]" identifier [ identifier ])) ;) (expression_statement "puVar8 = (uint *)buffer;" (assignment_expression "puVar8 = (uint *)buffer" identifier = (cast_expression "(uint *)buffer" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);" do (compound_statement "{\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    }" { (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (expression_statement "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;" (assignment_expression "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7" identifier = (binary_expression "*puVar7 + 0xfefefeff & ~*puVar7" (binary_expression "*puVar7 + 0xfefefeff" (pointer_expression "*puVar7" * identifier) + number_literal) & (unary_expression "~*puVar7" ~ (pointer_expression "*puVar7" * identifier)))) ;) (expression_statement "uVar5 = uVar4 & 0x80808080;" (assignment_expression "uVar5 = uVar4 & 0x80808080" identifier = (binary_expression "uVar4 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar8 = puVar7 + 1;" (assignment_expression "puVar8 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar11 = (uVar4 & 0x8080) == 0;" (assignment_expression "bVar11 = (uVar4 & 0x8080) == 0" identifier = (binary_expression "(uVar4 & 0x8080) == 0" (parenthesized_expression "(uVar4 & 0x8080)" ( (binary_expression "uVar4 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      uVar5 = uVar5 >> 0x10;\n    }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" { (expression_statement "puVar8 = (uint *)((int)puVar7 + 6);" (assignment_expression "puVar8 = (uint *)((int)puVar7 + 6)" identifier = (cast_expression "(uint *)((int)puVar7 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 6)" ( (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));" (assignment_expression "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" identifier = (cast_expression "(char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) )))) ;) (if_statement "if (iVar10 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);\n    }" { (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2)" identifier (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eb2" & identifier) , (pointer_expression "&DAT_0005ddf7" & identifier) , identifier ))) ;) }) (else_clause "else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }" else (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);\n      if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }\n    }" { (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2)" identifier (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eb2" & identifier) , (string_literal "":"" " string_content ") , identifier ))) ;) (if_statement "if (iVar10 == 0xf) {\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }" if (parenthesized_expression "(iVar10 == 0xf)" ( (binary_expression "iVar10 == 0xf" identifier == number_literal) )) (compound_statement "{\n        strncpy(str,buffer,len);\n        str[len + -1] = '\0';\n        if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }\n        if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }\n        return;\n      }" { (expression_statement "strncpy(str,buffer,len);" (call_expression "strncpy(str,buffer,len)" identifier (argument_list "(str,buffer,len)" ( identifier , identifier , identifier ))) ;) (expression_statement "str[len + -1] = '\0';" (assignment_expression "str[len + -1] = '\0'" (subscript_expression "str[len + -1]" identifier [ (binary_expression "len + -1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)) {\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }" if (parenthesized_expression "((key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1))" ( (binary_expression "(key->comment != (char *)0x0) && (sVar6 = strlen(str), (int)sVar6 < len + -1)" (parenthesized_expression "(key->comment != (char *)0x0)" ( (binary_expression "key->comment != (char *)0x0" (field_expression "key->comment" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(sVar6 = strlen(str), (int)sVar6 < len + -1)" ( (comma_expression "sVar6 = strlen(str), (int)sVar6 < len + -1" (assignment_expression "sVar6 = strlen(str)" identifier = (call_expression "strlen(str)" identifier (argument_list "(str)" ( identifier )))) , (binary_expression "(int)sVar6 < len + -1" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "len + -1" identifier + number_literal))) ))) )) (compound_statement "{\n          str[sVar6] = ' ';\n          strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);\n          str[len + -1] = '\0';\n        }" { (expression_statement "str[sVar6] = ' ';" (assignment_expression "str[sVar6] = ' '" (subscript_expression "str[sVar6]" identifier [ identifier ]) = (char_literal "' '" ' character ')) ;) (expression_statement "strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1);" (call_expression "strncpy(str + sVar6 + 1,key->comment,(len - sVar6) - 1)" identifier (argument_list "(str + sVar6 + 1,key->comment,(len - sVar6) - 1)" ( (binary_expression "str + sVar6 + 1" (binary_expression "str + sVar6" identifier + identifier) + number_literal) , (field_expression "key->comment" identifier -> field_identifier) , (binary_expression "(len - sVar6) - 1" (parenthesized_expression "(len - sVar6)" ( (binary_expression "len - sVar6" identifier - identifier) )) - number_literal) ))) ;) (expression_statement "str[len + -1] = '\0';" (assignment_expression "str[len + -1] = '\0'" (subscript_expression "str[len + -1]" identifier [ (binary_expression "len + -1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          __stack_chk_fail_local();\n        }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })) }))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00044130(char *param_1,size_t param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}\n\n" (function_definition "void FUN_00044130(char *param_1,size_t param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00044130(char *param_1,size_t param_2,int param_3)" identifier (parameter_list "(char *param_1,size_t param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "size_t param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined1 local_e5;" type_identifier identifier ;) (declaration "undefined1 local_e4 [92];" type_identifier (array_declarator "local_e4 [92]" identifier [ number_literal ]) ;) (declaration "undefined1 local_88 [16];" type_identifier (array_declarator "local_88 [16]" identifier [ number_literal ]) ;) (declaration "uint local_78 [22];" type_identifier (array_declarator "local_78 [22]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x44139;" (assignment_expression "uStack_14 = 0x44139" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "MD5Init(local_e4);" (call_expression "MD5Init(local_e4)" identifier (argument_list "(local_e4)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));" (assignment_expression "iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8))" identifier = (call_expression "FUN_0002f7a0(*(undefined4 *)(param_3 + 8))" identifier (argument_list "(*(undefined4 *)(param_3 + 8))" ( (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" { (expression_statement "iVar2 = iVar2 + -3;" (assignment_expression "iVar2 = iVar2 + -3" identifier = (binary_expression "iVar2 + -3" identifier + number_literal)) ;) (do_statement "do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);" do (compound_statement "{\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    }" { (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);" (assignment_expression "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2)" identifier = (call_expression "FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2)" identifier (argument_list "(*(undefined4 *)(param_3 + 8),iVar2)" ( (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "MD5Update(local_e4,&local_e5,1);" (call_expression "MD5Update(local_e4,&local_e5,1)" identifier (argument_list "(local_e4,&local_e5,1)" ( identifier , (pointer_expression "&local_e5" & identifier) , number_literal ))) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));" (assignment_expression "iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc))" identifier = (call_expression "FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_3 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "iVar2 = iVar10 + -3;" (assignment_expression "iVar2 = iVar10 + -3" identifier = (binary_expression "iVar10 + -3" identifier + number_literal)) ;) (if_statement "if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" if (parenthesized_expression "(iVar10 != 2)" ( (binary_expression "iVar10 != 2" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" { (do_statement "do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);" do (compound_statement "{\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    }" { (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);" (assignment_expression "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2)" identifier = (call_expression "FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2)" identifier (argument_list "(*(undefined4 *)(param_3 + 0xc),iVar2)" ( (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "MD5Update(local_e4,&local_e5,1);" (call_expression "MD5Update(local_e4,&local_e5,1)" identifier (argument_list "(local_e4,&local_e5,1)" ( identifier , (pointer_expression "&local_e5" & identifier) , number_literal ))) ;) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "MD5Final(local_88,local_e4);" (call_expression "MD5Final(local_88,local_e4)" identifier (argument_list "(local_88,local_e4)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));" (assignment_expression "uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8))" identifier = (call_expression "FUN_0002f750(*(undefined4 *)(param_3 + 8))" identifier (argument_list "(*(undefined4 *)(param_3 + 8))" ( (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "__sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);" (call_expression "__sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3)" identifier (argument_list "(local_78,1,0x58,&DAT_00063eae,uVar3)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eae" & identifier) , identifier ))) ;) (do_statement "do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );" do (compound_statement "{\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "uVar1 = local_88[iVar2];" (assignment_expression "uVar1 = local_88[iVar2]" identifier = (subscript_expression "local_88[iVar2]" identifier [ identifier ])) ;) (expression_statement "puVar8 = local_78;" (assignment_expression "puVar8 = local_78" identifier = identifier) ;) (do_statement "do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);" do (compound_statement "{\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    }" { (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (expression_statement "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;" (assignment_expression "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7" identifier = (binary_expression "*puVar7 + 0xfefefeff & ~*puVar7" (binary_expression "*puVar7 + 0xfefefeff" (pointer_expression "*puVar7" * identifier) + number_literal) & (unary_expression "~*puVar7" ~ (pointer_expression "*puVar7" * identifier)))) ;) (expression_statement "uVar5 = uVar4 & 0x80808080;" (assignment_expression "uVar5 = uVar4 & 0x80808080" identifier = (binary_expression "uVar4 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar8 = puVar7 + 1;" (assignment_expression "puVar8 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar11 = (uVar4 & 0x8080) == 0;" (assignment_expression "bVar11 = (uVar4 & 0x8080) == 0" identifier = (binary_expression "(uVar4 & 0x8080) == 0" (parenthesized_expression "(uVar4 & 0x8080)" ( (binary_expression "uVar4 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      uVar5 = uVar5 >> 0x10;\n    }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" { (expression_statement "puVar8 = (uint *)((int)puVar7 + 6);" (assignment_expression "puVar8 = (uint *)((int)puVar7 + 6)" identifier = (cast_expression "(uint *)((int)puVar7 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 6)" ( (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));" (assignment_expression "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" identifier = (cast_expression "(char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) )))) ;) (if_statement "if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }" { (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1)" identifier (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eb2" & identifier) , (pointer_expression "&DAT_0005ddf7" & identifier) , identifier ))) ;) }) (else_clause "else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }" else (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }" { (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1)" identifier (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_00063eb2" & identifier) , (string_literal "":"" " string_content ") , identifier ))) ;) (if_statement "if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }" if (parenthesized_expression "(iVar2 == 0xf)" ( (binary_expression "iVar2 == 0xf" identifier == number_literal) )) (compound_statement "{\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }" { (expression_statement "strncpy(param_1,(char *)local_78,param_2);" (call_expression "strncpy(param_1,(char *)local_78,param_2)" identifier (argument_list "(param_1,(char *)local_78,param_2)" ( identifier , (cast_expression "(char *)local_78" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "param_1[param_2 - 1] = '\0';" (assignment_expression "param_1[param_2 - 1] = '\0'" (subscript_expression "param_1[param_2 - 1]" identifier [ (binary_expression "param_2 - 1" identifier - number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }" if (parenthesized_expression "((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1)))" ( (binary_expression "(*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))" (parenthesized_expression "(*(int *)(param_3 + 0x20) != 0)" ( (binary_expression "*(int *)(param_3 + 0x20) != 0" (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))" ( (comma_expression "sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1)" (assignment_expression "sVar6 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "(int)sVar6 < (int)(param_2 - 1)" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(param_2 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 - 1)" ( (binary_expression "param_2 - 1" identifier - number_literal) ))))) ))) )) (compound_statement "{\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }" { (expression_statement "param_1[sVar6] = ' ';" (assignment_expression "param_1[sVar6] = ' '" (subscript_expression "param_1[sVar6]" identifier [ identifier ]) = (char_literal "' '" ' character ')) ;) (expression_statement "strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);" (call_expression "strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1)" identifier (argument_list "(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1)" ( (binary_expression "param_1 + sVar6 + 1" (binary_expression "param_1 + sVar6" identifier + identifier) + number_literal) , (pointer_expression "*(char **)(param_3 + 0x20)" * (cast_expression "(char **)(param_3 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) , (binary_expression "(param_2 - sVar6) - 1" (parenthesized_expression "(param_2 - sVar6)" ( (binary_expression "param_2 - sVar6" identifier - identifier) )) - number_literal) ))) ;) (expression_statement "param_1[param_2 - 1] = '\0';" (assignment_expression "param_1[param_2 - 1] = '\0'" (subscript_expression "param_1[param_2 - 1]" identifier [ (binary_expression "param_2 - 1" identifier - number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n          FUN_0005c110();\n        }" { (expression_statement "FUN_0005c110();" (call_expression "FUN_0005c110()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })) }))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , IDENT ))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) & (unary_expression ~ (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))))) ))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , (string_literal " string_content ") , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal ' character ')) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) = (char_literal ' escape_sequence ')) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00044130(char *param_1,size_t param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00044130(char *param_1,size_t param_2,int param_3)" (identifier "FUN_00044130") (parameter_list "(char *param_1,size_t param_2,int param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "size_t param_2" (primitive_type "size_t") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  undefined1 local_e5;\n  undefined1 local_e4 [92];\n  undefined1 local_88 [16];\n  uint local_78 [22];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44139;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  MD5Init(local_e4);\n  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));\n  if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));\n  iVar2 = iVar10 + -3;\n  if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }\n  iVar2 = 0;\n  MD5Final(local_88,local_e4);\n  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));\n  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);\n  do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint *puVar8;" (type_identifier "uint") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar11;" (primitive_type "bool") (identifier "bVar11") (; ";")) (declaration "undefined1 local_e5;" (type_identifier "undefined1") (identifier "local_e5") (; ";")) (declaration "undefined1 local_e4 [92];" (type_identifier "undefined1") (array_declarator "local_e4 [92]" (identifier "local_e4") ([ "[") (number_literal "92") (] "]")) (; ";")) (declaration "undefined1 local_88 [16];" (type_identifier "undefined1") (array_declarator "local_88 [16]" (identifier "local_88") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "uint local_78 [22];" (type_identifier "uint") (array_declarator "local_78 [22]" (identifier "local_78") ([ "[") (number_literal "22") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x44139;" (assignment_expression "uStack_14 = 0x44139" (identifier "uStack_14") (= "=") (number_literal "0x44139")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "MD5Init(local_e4);" (call_expression "MD5Init(local_e4)" (identifier "MD5Init") (argument_list "(local_e4)" (( "(") (identifier "local_e4") () ")"))) (; ";")) (expression_statement "iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));" (assignment_expression "iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8))" (identifier "iVar2") (= "=") (call_expression "FUN_0002f7a0(*(undefined4 *)(param_3 + 8))" (identifier "FUN_0002f7a0") (argument_list "(*(undefined4 *)(param_3 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 != 2) {\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" (if "if") (parenthesized_expression "(iVar2 != 2)" (( "(") (binary_expression "iVar2 != 2" (identifier "iVar2") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    iVar2 = iVar2 + -3;\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" ({ "{") (expression_statement "iVar2 = iVar2 + -3;" (assignment_expression "iVar2 = iVar2 + -3" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -3" (identifier "iVar2") (+ "+") (number_literal "-3"))) (; ";")) (do_statement "do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);" (do "do") (compound_statement "{\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    }" ({ "{") (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);" (assignment_expression "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2)" (identifier "local_e5") (= "=") (call_expression "FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2)" (identifier "FUN_0002f840") (argument_list "(*(undefined4 *)(param_3 + 8),iVar2)" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "MD5Update(local_e4,&local_e5,1);" (call_expression "MD5Update(local_e4,&local_e5,1)" (identifier "MD5Update") (argument_list "(local_e4,&local_e5,1)" (( "(") (identifier "local_e4") (, ",") (pointer_expression "&local_e5" (& "&") (identifier "local_e5")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" (identifier "iVar2") (= "=") (identifier "iVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != -1)" (( "(") (binary_expression "iVar10 != -1" (identifier "iVar10") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));" (assignment_expression "iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc))" (identifier "iVar10") (= "=") (call_expression "FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc))" (identifier "FUN_0002f7a0") (argument_list "(*(undefined4 *)(param_3 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar2 = iVar10 + -3;" (assignment_expression "iVar2 = iVar10 + -3" (identifier "iVar2") (= "=") (binary_expression "iVar10 + -3" (identifier "iVar10") (+ "+") (number_literal "-3"))) (; ";")) (if_statement "if (iVar10 != 2) {\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" (if "if") (parenthesized_expression "(iVar10 != 2)" (( "(") (binary_expression "iVar10 != 2" (identifier "iVar10") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);\n  }" ({ "{") (do_statement "do {\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    } while (iVar10 != -1);" (do "do") (compound_statement "{\n      iVar10 = iVar2 + -1;\n      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);\n      MD5Update(local_e4,&local_e5,1);\n      iVar2 = iVar10;\n    }" ({ "{") (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);" (assignment_expression "local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2)" (identifier "local_e5") (= "=") (call_expression "FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2)" (identifier "FUN_0002f840") (argument_list "(*(undefined4 *)(param_3 + 0xc),iVar2)" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "MD5Update(local_e4,&local_e5,1);" (call_expression "MD5Update(local_e4,&local_e5,1)" (identifier "MD5Update") (argument_list "(local_e4,&local_e5,1)" (( "(") (identifier "local_e4") (, ",") (pointer_expression "&local_e5" (& "&") (identifier "local_e5")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "iVar2 = iVar10;" (assignment_expression "iVar2 = iVar10" (identifier "iVar2") (= "=") (identifier "iVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != -1)" (( "(") (binary_expression "iVar10 != -1" (identifier "iVar10") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "MD5Final(local_88,local_e4);" (call_expression "MD5Final(local_88,local_e4)" (identifier "MD5Final") (argument_list "(local_88,local_e4)" (( "(") (identifier "local_88") (, ",") (identifier "local_e4") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));" (assignment_expression "uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8))" (identifier "uVar3") (= "=") (call_expression "FUN_0002f750(*(undefined4 *)(param_3 + 8))" (identifier "FUN_0002f750") (argument_list "(*(undefined4 *)(param_3 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "__sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);" (call_expression "__sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3)" (identifier "__sprintf_chk") (argument_list "(local_78,1,0x58,&DAT_00063eae,uVar3)" (( "(") (identifier "local_78") (, ",") (number_literal "1") (, ",") (number_literal "0x58") (, ",") (pointer_expression "&DAT_00063eae" (& "&") (identifier "DAT_00063eae")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (do_statement "do {\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    uVar1 = local_88[iVar2];\n    puVar8 = local_78;\n    do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);\n    bVar11 = (uVar4 & 0x8080) == 0;\n    if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }\n    if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }\n    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));\n    if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }\n    iVar2 = iVar2 + 1;\n  }" ({ "{") (expression_statement "uVar1 = local_88[iVar2];" (assignment_expression "uVar1 = local_88[iVar2]" (identifier "uVar1") (= "=") (subscript_expression "local_88[iVar2]" (identifier "local_88") ([ "[") (identifier "iVar2") (] "]"))) (; ";")) (expression_statement "puVar8 = local_78;" (assignment_expression "puVar8 = local_78" (identifier "puVar8") (= "=") (identifier "local_78")) (; ";")) (do_statement "do {\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    } while (uVar5 == 0);" (do "do") (compound_statement "{\n      puVar7 = puVar8;\n      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;\n      uVar5 = uVar4 & 0x80808080;\n      puVar8 = puVar7 + 1;\n    }" ({ "{") (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" (identifier "puVar7") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;" (assignment_expression "uVar4 = *puVar7 + 0xfefefeff & ~*puVar7" (identifier "uVar4") (= "=") (binary_expression "*puVar7 + 0xfefefeff & ~*puVar7" (binary_expression "*puVar7 + 0xfefefeff" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~*puVar7" (~ "~") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))))) (; ";")) (expression_statement "uVar5 = uVar4 & 0x80808080;" (assignment_expression "uVar5 = uVar4 & 0x80808080" (identifier "uVar5") (= "=") (binary_expression "uVar4 & 0x80808080" (identifier "uVar4") (& "&") (number_literal "0x80808080"))) (; ";")) (expression_statement "puVar8 = puVar7 + 1;" (assignment_expression "puVar8 = puVar7 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "bVar11 = (uVar4 & 0x8080) == 0;" (assignment_expression "bVar11 = (uVar4 & 0x8080) == 0" (identifier "bVar11") (= "=") (binary_expression "(uVar4 & 0x8080) == 0" (parenthesized_expression "(uVar4 & 0x8080)" (( "(") (binary_expression "uVar4 & 0x8080" (identifier "uVar4") (& "&") (number_literal "0x8080")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar11) {\n      uVar5 = uVar5 >> 0x10;\n    }" (if "if") (parenthesized_expression "(bVar11)" (( "(") (identifier "bVar11") () ")")) (compound_statement "{\n      uVar5 = uVar5 >> 0x10;\n    }" ({ "{") (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10"))) (; ";")) (} "}"))) (if_statement "if (bVar11) {\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" (if "if") (parenthesized_expression "(bVar11)" (( "(") (identifier "bVar11") () ")")) (compound_statement "{\n      puVar8 = (uint *)((int)puVar7 + 6);\n    }" ({ "{") (expression_statement "puVar8 = (uint *)((int)puVar7 + 6);" (assignment_expression "puVar8 = (uint *)((int)puVar7 + 6)" (identifier "puVar8") (= "=") (cast_expression "(uint *)((int)puVar7 + 6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 6)" (( "(") (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "6")) () ")")))) (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));" (assignment_expression "pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (identifier "pcVar9") (= "=") (cast_expression "(char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (binary_expression "(int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (( "(") (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" (number_literal "-3") (- "-") (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" (identifier "CARRY1") (argument_list "((byte)uVar5,(byte)uVar5)" (( "(") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) (, ",") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) () ")"))))) () ")"))) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }\n    else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);\n    }" ({ "{") (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1)" (identifier "__sprintf_chk") (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1)" (( "(") (identifier "pcVar9") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&DAT_00063eb2" (& "&") (identifier "DAT_00063eb2")) (, ",") (pointer_expression "&DAT_0005ddf7" (& "&") (identifier "DAT_0005ddf7")) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);\n      if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }\n    }" ({ "{") (expression_statement "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);" (call_expression "__sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1)" (identifier "__sprintf_chk") (argument_list "(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1)" (( "(") (identifier "pcVar9") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&DAT_00063eb2" (& "&") (identifier "DAT_00063eb2")) (, ",") (string_literal "":"" (" """) (string_content ":") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (if_statement "if (iVar2 == 0xf) {\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0xf)" (( "(") (binary_expression "iVar2 == 0xf" (identifier "iVar2") (== "==") (number_literal "0xf")) () ")")) (compound_statement "{\n        strncpy(param_1,(char *)local_78,param_2);\n        param_1[param_2 - 1] = '\0';\n        if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }\n        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }\n        return;\n      }" ({ "{") (expression_statement "strncpy(param_1,(char *)local_78,param_2);" (call_expression "strncpy(param_1,(char *)local_78,param_2)" (identifier "strncpy") (argument_list "(param_1,(char *)local_78,param_2)" (( "(") (identifier "param_1") (, ",") (cast_expression "(char *)local_78" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_78")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_1[param_2 - 1] = '\0';" (assignment_expression "param_1[param_2 - 1] = '\0'" (subscript_expression "param_1[param_2 - 1]" (identifier "param_1") ([ "[") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if ((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }" (if "if") (parenthesized_expression "((*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1)))" (( "(") (binary_expression "(*(int *)(param_3 + 0x20) != 0) &&\n           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))" (parenthesized_expression "(*(int *)(param_3 + 0x20) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x20) != 0" (pointer_expression "*(int *)(param_3 + 0x20)" (* "*") (cast_expression "(int *)(param_3 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))" (( "(") (comma_expression "sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1)" (assignment_expression "sVar6 = strlen(param_1)" (identifier "sVar6") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "(int)sVar6 < (int)(param_2 - 1)" (cast_expression "(int)sVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar6")) (< "<") (cast_expression "(int)(param_2 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_2 - 1)" (( "(") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          param_1[sVar6] = ' ';\n          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);\n          param_1[param_2 - 1] = '\0';\n        }" ({ "{") (expression_statement "param_1[sVar6] = ' ';" (assignment_expression "param_1[sVar6] = ' '" (subscript_expression "param_1[sVar6]" (identifier "param_1") ([ "[") (identifier "sVar6") (] "]")) (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (expression_statement "strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);" (call_expression "strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1)" (identifier "strncpy") (argument_list "(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1)" (( "(") (binary_expression "param_1 + sVar6 + 1" (binary_expression "param_1 + sVar6" (identifier "param_1") (+ "+") (identifier "sVar6")) (+ "+") (number_literal "1")) (, ",") (pointer_expression "*(char **)(param_3 + 0x20)" (* "*") (cast_expression "(char **)(param_3 + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (binary_expression "(param_2 - sVar6) - 1" (parenthesized_expression "(param_2 - sVar6)" (( "(") (binary_expression "param_2 - sVar6" (identifier "param_2") (- "-") (identifier "sVar6")) () ")")) (- "-") (number_literal "1")) () ")"))) (; ";")) (expression_statement "param_1[param_2 - 1] = '\0';" (assignment_expression "param_1[param_2 - 1] = '\0'" (subscript_expression "param_1[param_2 - 1]" (identifier "param_1") ([ "[") (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n          FUN_0005c110();\n        }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n          FUN_0005c110();\n        }" ({ "{") (expression_statement "FUN_0005c110();" (call_expression "FUN_0005c110()" (identifier "FUN_0005c110") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

void function_1(char *var_18,int var_16,type_1 *key)

{
  int var_20;
  type_2 uVar2;
  int var_4;
  type_3 var_11;
  type_3 var_13;
  size_t var_19;
  type_3 *var_12;
  type_3 *puVar8;
  char *pcVar9;
  int var_7;
  int var_1;
  bool bVar11;
  type_2 c;
  type_4 md5c;
  type_2 digest [16];
  char buffer [88];
  
  var_20 = *(int *)(var_1 + 0x14);
  var_2(&md5c);
  var_4 = var_3((type_5)key->modulus);
  if (var_4 != 2) {
    var_4 = var_4 + -3;
    do {
      var_7 = var_4 + -1;
      var_4 = var_5((type_5)key->modulus,var_4);
      c = (type_2)var_4;
      var_6(&md5c,&c,1);
      var_4 = var_7;
    } while (var_7 != -1);
  }
  var_7 = var_3((type_5)key->exponent);
  var_4 = var_7 + -3;
  if (var_7 != 2) {
    do {
      var_7 = var_4 + -1;
      var_4 = var_5((type_5)key->exponent,var_4);
      c = (type_2)var_4;
      var_6(&md5c,&c,1);
      var_4 = var_7;
    } while (var_7 != -1);
  }
  var_7 = 0;
  var_8(digest,&md5c);
  var_4 = var_9((type_5)key->modulus);
  var_10(buffer,1,0x58,&DAT_00063eae,var_4);
  do {
    uVar2 = digest[var_7];
    puVar8 = (type_3 *)buffer;
    do {
      var_12 = puVar8;
      var_11 = *var_12 + 0xfefefeff & ~*var_12;
      var_13 = var_11 & 0x80808080;
      puVar8 = var_12 + 1;
    } while (var_13 == 0);
    bVar11 = (var_11 & 0x8080) == 0;
    if (bVar11) {
      var_13 = var_13 >> 0x10;
    }
    if (bVar11) {
      puVar8 = (type_3 *)((int)var_12 + 6);
    }
    pcVar9 = (char *)((int)puVar8 + (-3 - (type_3)var_14((type_6)var_13,(type_6)var_13)));
    if (var_7 == 0) {
      var_10(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar2);
    }
    else {
      var_10(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar2);
      if (var_7 == 0xf) {
        var_15(var_18,buffer,var_16);
        var_18[var_16 + -1] = '\0';
        if ((key->comment != (char *)0x0) && (var_19 = var_17(var_18), (int)var_19 < var_16 + -1)) {
          var_18[var_19] = ' ';
          var_15(var_18 + var_19 + 1,key->comment,(var_16 - var_19) - 1);
          var_18[var_16 + -1] = '\0';
        }
        if (var_20 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
          var_21();
        }
        return;
      }
    }
    var_7 = var_7 + 1;
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (unary_expression argument: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (string_literal (string_content)) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (char_literal (character)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (char_literal (escape_sequence)))))) (if_statement condition: (parenthesized_expression (binary_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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true))))))

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

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

{
  undefined1 uVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  size_t sVar6;
  uint *puVar7;
  uint *puVar8;
  char *pcVar9;
  int iVar10;
  int in_GS_OFFSET;
  bool bVar11;
  undefined1 local_e5;
  undefined1 local_e4 [92];
  undefined1 local_88 [16];
  uint local_78 [22];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x44139;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  MD5Init(local_e4);
  iVar2 = FUN_0002f7a0(*(undefined4 *)(param_3 + 8));
  if (iVar2 != 2) {
    iVar2 = iVar2 + -3;
    do {
      iVar10 = iVar2 + -1;
      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 8),iVar2);
      MD5Update(local_e4,&local_e5,1);
      iVar2 = iVar10;
    } while (iVar10 != -1);
  }
  iVar10 = FUN_0002f7a0(*(undefined4 *)(param_3 + 0xc));
  iVar2 = iVar10 + -3;
  if (iVar10 != 2) {
    do {
      iVar10 = iVar2 + -1;
      local_e5 = FUN_0002f840(*(undefined4 *)(param_3 + 0xc),iVar2);
      MD5Update(local_e4,&local_e5,1);
      iVar2 = iVar10;
    } while (iVar10 != -1);
  }
  iVar2 = 0;
  MD5Final(local_88,local_e4);
  uVar3 = FUN_0002f750(*(undefined4 *)(param_3 + 8));
  __sprintf_chk(local_78,1,0x58,&DAT_00063eae,uVar3);
  do {
    uVar1 = local_88[iVar2];
    puVar8 = local_78;
    do {
      puVar7 = puVar8;
      uVar4 = *puVar7 + 0xfefefeff & ~*puVar7;
      uVar5 = uVar4 & 0x80808080;
      puVar8 = puVar7 + 1;
    } while (uVar5 == 0);
    bVar11 = (uVar4 & 0x8080) == 0;
    if (bVar11) {
      uVar5 = uVar5 >> 0x10;
    }
    if (bVar11) {
      puVar8 = (uint *)((int)puVar7 + 6);
    }
    pcVar9 = (char *)((int)puVar8 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)));
    if (iVar2 == 0) {
      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,&DAT_0005ddf7,uVar1);
    }
    else {
      __sprintf_chk(pcVar9,1,0xffffffff,&DAT_00063eb2,":",uVar1);
      if (iVar2 == 0xf) {
        strncpy(param_1,(char *)local_78,param_2);
        param_1[param_2 - 1] = '\0';
        if ((*(int *)(param_3 + 0x20) != 0) &&
           (sVar6 = strlen(param_1), (int)sVar6 < (int)(param_2 - 1))) {
          param_1[sVar6] = ' ';
          strncpy(param_1 + sVar6 + 1,*(char **)(param_3 + 0x20),(param_2 - sVar6) - 1);
          param_1[param_2 - 1] = '\0';
        }
        if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
          FUN_0005c110();
        }
        return;
      }
    }
    iVar2 = iVar2 + 1;
  } while( true );
}

