user: What would the C source look like for the assembly code provided here?

```asm
<send_to_client>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x440,%rsp
  mov    %edi,-0x434(%rbp)
  mov    %rsi,-0x440(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x424(%rbp)
  lea    D14(%rip),%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x420(%rbp)
  mov    -0x420(%rbp),%rax
  mov    $0xa,%esi
  mov    %rax,%rdi
  call   <get_data_from_file@plt>
  mov    %rax,-0x418(%rbp)
  mov    -0x418(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x3ff(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0xa,%eax
  mov    %eax,-0x424(%rbp)
  movl   $0x0,-0x42c(%rbp)
  jmp    L33
L15:
  mov    -0x418(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x424(%rbp),%eax
  add    %eax,%edx
  mov    -0x42c(%rbp),%eax
  shl    $0xa,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x428(%rbp)
  cmpl   $0x3ff,-0x428(%rbp)
  jle    L21
  movl   $0x3ff,-0x428(%rbp)
L21:
  lea    -0x410(%rbp),%rax
  mov    $0x400,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x424(%rbp),%eax
  sub    -0x42c(%rbp),%eax
  mov    %eax,%edx
  lea    -0x410(%rbp),%rax
  lea    D28(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  mov    -0x42c(%rbp),%edx
  mov    %edx,%eax
  shl    $0xa,%eax
  sub    %edx,%eax
  movslq %eax,%rdx
  mov    -0x418(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x410(%rbp),%rax
  add    $0x1,%rax
  mov    -0x428(%rbp),%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  movb   $0x0,-0x10(%rbp)
  mov    -0x428(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x440(%rbp),%rcx
  lea    -0x410(%rbp),%rsi
  mov    -0x434(%rbp),%eax
  mov    $0x4,%r9d
  mov    %rcx,%r8
  mov    $0x0,%ecx
  mov    %eax,%edi
  call   <sendto@plt>
  test   %rax,%rax
  jns    L40
  mov    -0x434(%rbp),%eax
  mov    %eax,%esi
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  call   <dieError@plt>
L40:
  addl   $0x1,-0x42c(%rbp)
L33:
  mov    -0x42c(%rbp),%eax
  cmp    -0x424(%rbp),%eax
  jle    L15
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L5
  call   <__stack_chk_fail@plt>
L5:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D14
type_guessed: string
name: extract_symbolic_data
arguments: label: D26
type_guessed: string
name: extract_symbolic_data
arguments: label: D28
type_guessed: string
name: extract_symbolic_data
arguments: label: D25
type_guessed: string

tool: D14: r

tool: D26: output.txt

tool: D28: %x

tool: D25: sendto() failed

assistant: ```c
void send_to_client(int sock, struct sockaddr_in6 *client_addr) {
  FILE *fp;
  char *msg;
  int numChunk = 0;
  int count;
  fp = fopen("output.txt", "r");
  msg = get_data_from_file(fp, 10);
  numChunk = (int)strlen(msg) / 1024;
  for (count = 0; count <= numChunk; count++) {
    char sentMsg[1024];
    int numBytesCpy = ((int)strlen(msg) + numChunk) - (1024 * count);
    if (numBytesCpy >= 1024)
      numBytesCpy = 1023;
    memset(sentMsg, 0, 1024);
    sprintf(sentMsg, "%x", (numChunk - count));
    memcpy(sentMsg + 1, msg + (1023 * count), numBytesCpy);
    sentMsg[1024] = '\0';
    if (sendto(sock, sentMsg, numBytesCpy + 1, 0, (struct sockaddr *)client_addr, sizeof(*client_addr)) < 0) {
      dieError("sendto() failed", sock);
    }
  }
}
```