user: Converte this assembly snippet into its equivalent C code:

```asm
<CustMD5_ToReadable>:
  endbr64
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x8,%rsp
  call   <strlen@plt>
  test   %eax,%eax
  jle    L71
  mov    %rax,%rdx
  lea    -0x1(%rax),%ecx
  mov    %eax,%eax
  lea    (%rbx,%rax,2),%rsi
  cmp    %rsi,%rbp
  setae  %sil
  add    %rbp,%rax
  cmp    %rax,%rbx
  setae  %al
  or     %al,%sil
  je     L125
  cmp    $0xe,%ecx
  jbe    L125
  mov    %edx,%ecx
  movdqa D4(%rip),%xmm3
  movdqa D0(%rip),%xmm2
  xor    %eax,%eax
  shr    $0x4,%ecx
  shl    $0x4,%rcx
  cs nopw 0x0(%rax,%rax,1)
L177:
  movdqu 0x0(%rbp,%rax,1),%xmm0
  movdqu 0x0(%rbp,%rax,1),%xmm1
  psrlw  $0x4,%xmm0
  pand   %xmm3,%xmm1
  pand   %xmm3,%xmm0
  paddb  %xmm2,%xmm1
  paddb  %xmm2,%xmm0
  movdqa %xmm0,%xmm4
  punpckhbw %xmm1,%xmm0
  punpcklbw %xmm1,%xmm4
  movups %xmm0,0x10(%rbx,%rax,2)
  movups %xmm4,(%rbx,%rax,2)
  add    $0x10,%rax
  cmp    %rax,%rcx
  jne    L177
  mov    %edx,%eax
  and    $0xfffffff0,%eax
  test   $0xf,%dl
  je     L71
  movslq %eax,%rdi
  lea    (%rax,%rax,1),%ecx
  add    %rbp,%rdi
  movslq %ecx,%r8
  movzbl (%rdi),%esi
  and    $0xf,%esi
  add    $0x41,%esi
  mov    %sil,0x1(%rbx,%r8,1)
  movzbl (%rdi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x1(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x2(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x2(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x4(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x3(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x6(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x4(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x8(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x5(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0xa(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x6(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0xc(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x7(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0xe(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x8(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x10(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0x9(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x12(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0xa(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x14(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0xb(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x16(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0xc(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x18(%rcx),%r8d
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  lea    0xd(%rax),%esi
  cmp    %esi,%edx
  jle    L71
  movslq %esi,%rsi
  lea    0x1a(%rcx),%r8d
  add    $0xe,%eax
  add    %rbp,%rsi
  movslq %r8d,%r8
  movzbl (%rsi),%edi
  and    $0xf,%edi
  add    $0x41,%edi
  mov    %dil,0x1(%rbx,%r8,1)
  movzbl (%rsi),%esi
  shr    $0x4,%sil
  add    $0x41,%esi
  mov    %sil,(%rbx,%r8,1)
  cmp    %eax,%edx
  jle    L71
  cltq
  lea    0x1c(%rcx),%edx
  add    %rbp,%rax
  movslq %edx,%rdx
  movzbl (%rax),%ecx
  and    $0xf,%ecx
  add    $0x41,%ecx
  mov    %cl,0x1(%rbx,%rdx,1)
  movzbl (%rax),%eax
  shr    $0x4,%al
  add    $0x41,%eax
  mov    %al,(%rbx,%rdx,1)
L71:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L125:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L40:
  movzbl 0x0(%rbp,%rax,1),%edx
  and    $0xf,%edx
  add    $0x41,%edx
  mov    %dl,0x1(%rbx,%rax,2)
  movzbl 0x0(%rbp,%rax,1),%edx
  shr    $0x4,%dl
  add    $0x41,%edx
  mov    %dl,(%rbx,%rax,2)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdx,%rcx
  jne    L40
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D4
type_guessed: byte[16]
name: retrieve_data
arguments: data_tag: D0
type_guessed: byte[16]

tool: {"D4": [0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f]}

tool: {"D0": [0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41]}

assistant: ```c
void CustMD5_ToReadable(dBuf, readBuf) unsigned char *dBuf;
char *readBuf;
{
  int i, len = strlen((char *)dBuf);
  for (i = 0; i < len; i++) {
    readBuf[i * 2 + 1] = 'A' + (dBuf[i] & 0xf);
    readBuf[i * 2] = 'A' + (dBuf[i] >> 4);
  }
}
```