user: 请将以下的汇编代码转换成C语言代码:

```asm
<Decrypt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %rdx,-0x38(%rbp)
  movl   $0x0,-0x20(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <StrToMD5@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x2c(%rbp),%eax
  sub    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L110
  mov    $0x0,%eax
  jmp    L49
L110:
  movl   $0x0,-0x1c(%rbp)
  jmp    L70
L113:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  add    %eax,-0x20(%rbp)
  addl   $0x1,-0x1c(%rbp)
L70:
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x1c(%rbp)
  jl     L113
  mov    -0x2c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x18(%rbp)
  jmp    L18
L116:
  cmpl   $0x0,-0x18(%rbp)
  jne    L28
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    -0x14(%rbp),%edx
  movslq %edx,%rdx
  lea    -0x1(%rdx),%rcx
  mov    -0x10(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  mov    %edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  mov    -0x18(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  sub    %esi,%edx
  mov    %dl,(%rax)
  jmp    L118
L28:
  mov    -0x2c(%rbp),%eax
  sub    -0x14(%rbp),%eax
  cmp    %eax,-0x18(%rbp)
  jge    L68
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    -0x18(%rbp),%edx
  movslq %edx,%rdx
  lea    -0x1(%rdx),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  mov    -0x18(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  sub    %esi,%edx
  mov    %dl,(%rax)
  jmp    L118
L68:
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    -0x18(%rbp),%edx
  movslq %edx,%rdx
  lea    -0x1(%rdx),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  sub    %edx,%eax
  mov    -0x20(%rbp),%edx
  sub    %edx,%eax
  movzbl %al,%edx
  mov    -0x2c(%rbp),%eax
  sub    -0x14(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x18(%rbp),%eax
  sub    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    %eax,%edx
  je     L118
  mov    $0x0,%eax
  jmp    L49
L118:
  subl   $0x1,-0x18(%rbp)
L18:
  cmpl   $0x0,-0x18(%rbp)
  jns    L116
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x8(%rbp),%rax
L49:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D9
datatype: string

tool: D9: 


assistant: ```c
unsigned char *Decrypt(const unsigned char *puchData, int iSize, const char *pchPass) {
  int iSeed = 0;
  unsigned char *puchReturnData;
  char *pchCodeHash = StrToMD5(pchPass, (int)strlen(pchPass));
  int iHashSize = (int)strlen(pchCodeHash);
  puchReturnData = (unsigned char *)malloc(iSize - iHashSize);
  if (iSize <= iHashSize) {
    return NULL;
  }
  for (int i = 0; i < strlen(pchPass); ++i) {
    iSeed += pchPass[i];
  }
  for (int i = (iSize - 1); i >= 0; --i) {
    if (i == 0) {
      puchReturnData[i] = (unsigned char)(((int)puchData[i] - (int)pchCodeHash[iHashSize - 1] - iSeed) & 0xff);
    } else if (i < (iSize - iHashSize)) {
      puchReturnData[i] = (unsigned char)(((int)puchData[i] - (int)puchData[i - 1] - iSeed) & 0xff);
    } else {
      if ((unsigned char)(((int)puchData[i] - (int)puchData[i - 1] - iSeed) & 0xff) != pchCodeHash[i - (iSize - iHashSize)]) {
        return NULL;
      }
    }
  }
  printf("\n");
  return puchReturnData;
}
```