user: 下面的汇编指令对应的C源代码是什么：

```asm
<FormSendMsg>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x310,%rsp
  mov    %rdi,-0x2f8(%rbp)
  mov    %rsi,-0x300(%rbp)
  mov    %rdx,-0x308(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x2f0(%rbp)
  mov    -0x308(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x2ec(%rbp)
  movl   $0x0,-0x2e8(%rbp)
  movl   $0x0,-0x2e4(%rbp)
  lea    -0x210(%rbp),%rax
  mov    $0x200,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x2e0(%rbp),%rax
  mov    $0xc8,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x2e0(%rbp),%rax
  mov    $0xc8,%esi
  mov    %rax,%rdi
  call   <gethostname@plt>
  lea    -0x2e0(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x2e8(%rbp)
  mov    -0x2ec(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x2e8(%rbp),%eax
  add    %edx,%eax
  cmp    $0xc4,%eax
  jle    L36
  mov    $0xffffffff,%eax
  jmp    L17
L36:
  lea    -0x2e0(%rbp),%rsi
  mov    -0x308(%rbp),%rcx
  mov    -0x308(%rbp),%rdx
  lea    -0x210(%rbp),%rax
  mov    %rsi,%r9
  mov    %rcx,%r8
  mov    %rdx,%rcx
  lea    D13(%rip),%rdx
  mov    $0x200,%esi
  mov    %rax,%rdi
  call   <snprintf@plt>
  lea    -0x210(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x2f0(%rbp)
  mov    -0x300(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x2e4(%rbp)
  mov    -0x2f0(%rbp),%edx
  mov    -0x2e4(%rbp),%eax
  add    %edx,%eax
  cmp    $0x1fd,%eax
  jg     L8
  mov    -0x2f0(%rbp),%eax
  cltq
  lea    -0x210(%rbp),%rdx
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2e4(%rbp),%edx
  mov    -0x300(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <strncpy@plt>
  mov    -0x2e4(%rbp),%eax
  add    %eax,-0x2f0(%rbp)
  mov    -0x2f0(%rbp),%eax
  cltq
  lea    -0x210(%rbp),%rdx
  add    %rdx,%rax
  mov    $0x2,%edx
  lea    D1(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
  addl   $0x2,-0x2f0(%rbp)
  mov    -0x2f0(%rbp),%edx
  lea    -0x210(%rbp),%rcx
  mov    -0x2f8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x2f0(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x2f8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    $0x0,%eax
  jmp    L17
L8:
  mov    $0xffffffff,%eax
L17:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L20
  call   <__stack_chk_fail@plt>
L20:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D13
type_guessed: string
name: extract_symbolic_data
arguments: label: D1
type_guessed: string

tool: D13: :%s!%s@%s 

tool: D1: 


assistant: ```c
int FormSendMsg(char *output, char *msg, const char *nick) {
  char buf[512];
  char hostname[200];
  int shift = 0, index;
  int nick_len = strlen(nick), host_len = 0, msg_len = 0;
  memset(&buf, 0, 512);
  memset(&hostname, 0, 200);
  gethostname(hostname, sizeof(hostname));
  host_len = strlen(hostname);
  if (host_len + 2 * nick_len + 3 >= 200)
    return -1;
  snprintf(buf, 512, ":%s!%s@%s ", nick, nick, hostname);
  shift = strlen(buf);
  msg_len = strlen(msg);
  if (shift + msg_len + 2 < 512) {
    strncpy(buf + shift, msg, msg_len);
    shift += msg_len;
    strncpy(buf + shift, "\r\n", 2);
    shift += 2;
    memcpy(output, buf, shift);
    output[shift] = '\0';
    return 0;
  } else {
    return -1;
  }
}
```