user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<EasyClientName>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xc0,%rsp
  mov    %edi,-0xb4(%rbp)
  mov    %rsi,-0xc0(%rbp)
  mov    %edx,-0xb8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x90(%rbp),%rcx
  mov    -0xb4(%rbp),%eax
  mov    $0x80,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <ClientName@plt>
  mov    %eax,%edx
  lea    -0x90(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <strcpy@plt>
  movl   $0x0,-0xac(%rbp)
  jmp    L238
L31:
  mov    -0xac(%rbp),%eax
  cltq
  movzbl -0x90(%rbp,%rax,1),%eax
  and    $0x7f,%eax
  mov    %eax,%edx
  mov    -0xac(%rbp),%eax
  cltq
  mov    %dl,-0x90(%rbp,%rax,1)
  addl   $0x1,-0xac(%rbp)
L238:
  mov    -0xac(%rbp),%eax
  cltq
  movzbl -0x90(%rbp,%rax,1),%eax
  test   %al,%al
  jne    L31
  lea    -0x90(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0xa8(%rbp)
  jmp    L132
L235:
  mov    -0xa8(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%rdx
  mov    -0xa8(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    -0xa8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memmove@plt>
  lea    -0x90(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0xa8(%rbp)
L132:
  cmpq   $0x0,-0xa8(%rbp)
  jne    L235
  lea    -0x90(%rbp),%rax
  mov    $0x5b,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0xa0(%rbp)
  lea    -0x90(%rbp),%rax
  mov    $0x5d,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x98(%rbp)
  cmpq   $0x0,-0xa0(%rbp)
  je     L221
  cmpq   $0x0,-0x98(%rbp)
  je     L221
  mov    -0x98(%rbp),%rax
  cmp    -0xa0(%rbp),%rax
  jbe    L130
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%rdx
  mov    -0x98(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    -0xa0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memmove@plt>
  jmp    L221
L130:
  mov    -0xa0(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%rdx
  mov    -0xa0(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    -0x98(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memmove@plt>
L221:
  movzbl -0x90(%rbp),%eax
  cmp    $0x6d,%al
  je     L103
  movzbl -0x90(%rbp),%eax
  cmp    $0x4d,%al
  jne    L13
L103:
  movzbl -0x8f(%rbp),%eax
  cmp    $0x72,%al
  je     L227
  movzbl -0x8f(%rbp),%eax
  cmp    $0x52,%al
  jne    L13
L227:
  lea    -0x90(%rbp),%rax
  add    $0x2,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%rdx
  lea    -0x90(%rbp),%rax
  add    $0x2,%rax
  lea    -0x90(%rbp),%rcx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memmove@plt>
L13:
  lea    -0x90(%rbp),%rax
  mov    %rax,-0xa8(%rbp)
  jmp    L89
L208:
  mov    -0xa8(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0xad(%rbp)
  cmpb   $0x60,-0xad(%rbp)
  jle    L110
  cmpb   $0x7a,-0xad(%rbp)
  jle    L22
L110:
  cmpb   $0x2f,-0xad(%rbp)
  jle    L104
  cmpb   $0x39,-0xad(%rbp)
  jle    L22
L104:
  cmpb   $0x5f,-0xad(%rbp)
  jne    L71
L22:
  addq   $0x1,-0xa8(%rbp)
  jmp    L89
L71:
  cmpb   $0x40,-0xad(%rbp)
  jle    L163
  cmpb   $0x5a,-0xad(%rbp)
  jg     L163
  mov    -0xa8(%rbp),%rax
  movzbl (%rax),%eax
  add    $0x20,%eax
  mov    %eax,%edx
  mov    -0xa8(%rbp),%rax
  mov    %dl,(%rax)
  addq   $0x1,-0xa8(%rbp)
  jmp    L89
L163:
  mov    -0xa8(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%rdx
  mov    -0xa8(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    -0xa8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memmove@plt>
L89:
  mov    -0xa8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L208
  mov    -0xb8(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0x90(%rbp),%rcx
  mov    -0xc0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
  mov    -0xb8(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0xc0(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L129
  call   <__stack_chk_fail@plt>
L129:
  leave
  ret
```

assistant: ```c
char *EasyClientName(int client, char *buf, int size) {
  int i;
  char *str1, *str2, *ptr, c;
  char name[128];
  strcpy(name, ClientName(client, name, sizeof(name)));
  for (i = 0; name[i]; i++)
    name[i] &= 127;
  for (ptr = strstr(name, " "); ptr; ptr = strstr(name, " ")) {
    memmove(ptr, ptr + 1, strlen(ptr + 1) + 1);
  }
  str1 = strstr(name, "[");
  str2 = strstr(name, "]");
  if (str1 && str2) {
    if (str2 > str1) {
      memmove(str1, str2 + 1, strlen(str2 + 1) + 1);
    } else {
      memmove(str2, str1 + 1, strlen(str1 + 1) + 1);
    }
  }
  if ((name[0] == 'm' || name[0] == 'M') && (name[1] == 'r' || name[1] == 'R')) {
    memmove(name, name + 2, strlen(name + 2) + 1);
  }
  ptr = name;
  while (*ptr) {
    c = *ptr;
    if ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '_') {
      ptr++;
    } else if (c >= 'A' && c <= 'Z') {
      *ptr += 'a' - 'A';
      ptr++;
    } else {
      memmove(ptr, ptr + 1, strlen(ptr + 1) + 1);
    }
  }
  strncpy(buf, name, size - 1);
  buf[size - 1] = '\0';
  return buf;
}
```