user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<WrStringOverflow>:
  endbr64
  push   %r12
  lea    D5(%rip),%rsi
  push   %rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    0x1e(%rsp),%rdi
  lea    0x14(%rsp),%rbx
  call   <strcpy@plt>
  lea    0x10(%rsp),%rbp
  lea    D83(%rip),%rdi
  call   <WrMessage@plt>
  lea    0xc(%rsp),%r12
  mov    %rbp,%rcx
  mov    %rbx,%rdx
  mov    %r12,%rsi
  lea    D36(%rip),%rdi
  movl   $0xffffffff,0xc(%rsp)
  movl   $0xffffffff,0x10(%rsp)
  call   <printf@plt>
  lea    D84(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcpy@plt>
  cmpl   $0xffffffff,0xc(%rsp)
  jne    L28
  cmpl   $0xffffffff,0x10(%rsp)
  je     L5
L64:
  lea    D81(%rip),%rdi
  call   <WrMessage@plt>
  mov    0xc(%rsp),%eax
  and    0x10(%rsp),%eax
  cmp    $0xffffffff,%eax
  je     L5
L94:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L24
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L28:
  lea    D30(%rip),%rdi
  call   <WrMessage@plt>
  cmpl   $0xffffffff,0x10(%rsp)
  jne    L64
  cmpl   $0xffffffff,0xc(%rsp)
  jne    L94
  nopw   0x0(%rax,%rax,1)
L5:
  lea    D49(%rip),%rdi
  sub    %rbx,%rbp
  call   <WrMessage@plt>
  cmp    $0xa,%rbp
  ja     L51
  cmp    %r12,%rbx
  jle    L51
  lea    D44(%rip),%rdi
  call   <WrMessage@plt>
  jmp    L94
  nopl   0x0(%rax,%rax,1)
L51:
  lea    D7(%rip),%rdi
  call   <WrMessage@plt>
  jmp    L94
L24:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D5
datatype: string
name: disassemble_data
arguments: data_label: D83
datatype: string
name: disassemble_data
arguments: data_label: D36
datatype: string
name: disassemble_data
arguments: data_label: D84
datatype: string
name: disassemble_data
arguments: data_label: D81
datatype: string
name: disassemble_data
arguments: data_label: D30
datatype: string
name: disassemble_data
arguments: data_label: D49
datatype: string
name: disassemble_data
arguments: data_label: D44
datatype: string
name: disassemble_data
arguments: data_label: D7
datatype: string

tool: D5: Dummy

tool: D83: @STRING-OVERFLOW

tool: D36: Adresses of the variables:
int before: %p
string:     %p
int after:  %p


tool: D84: 1234567890

tool: D81: @STRING-OVERFLOW-AFTER

tool: D30: @STRING-OVERFLOW-BEFORE

tool: D49: @STRING-OVERFLOW-NO-EFFECT

tool: D44: @STRING-OVERFLOW-STACK-REORGANISED

tool: D7: @STRING-OVERFLOW-MEMORY-ALIGNMENT

assistant: ```c
void WrStringOverflow(void) {
  int int_before;
  char string[10];
  int int_after;
  long diff1;
  long diff2;
  char second_string[10];
  strcpy(second_string, "Dummy");
  WrMessage("@STRING-OVERFLOW");
  int_before = -1;
  int_after = -1;
  printf("Adresses of the variables:\nint before: %p\nstring:     %p\nint after:  %p\n", &int_before, string, &int_after);
  strcpy(string, "1234567890");
  if (int_before != -1) {
    WrMessage("@STRING-OVERFLOW-BEFORE");
  }
  if (int_after != -1) {
    WrMessage("@STRING-OVERFLOW-AFTER");
  }
  if (int_before == -1 && int_after == -1) {
    WrMessage("@STRING-OVERFLOW-NO-EFFECT");
    diff1 = (long)&int_after - (long)&string[0];
    diff2 = (long)&int_after - (long)&int_before;
    if (diff1 > sizeof(string)) {
      WrMessage("@STRING-OVERFLOW-MEMORY-ALIGNMENT");
    } else {
      if (diff2 > diff1) {
        WrMessage("@STRING-OVERFLOW-STACK-REORGANISED");
      } else {
        WrMessage("@STRING-OVERFLOW-MEMORY-ALIGNMENT");
      }
    }
  }
  return;
}
```