user: 请将以下的汇编代码转换成C语言代码：

```asm
<convert_man_hwymd>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x448,%rsp
  mov    %rdi,-0x438(%rbp)
  mov    %rsi,-0x440(%rbp)
  mov    %rdx,-0x448(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0x4,-0x42c(%rbp)
  mov    -0x440(%rbp),%rdx
  lea    -0x420(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x448(%rbp),%rdx
  lea    -0x420(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  mov    -0x42c(%rbp),%eax
  cltq
  mov    $0x8,%esi
  mov    %rax,%rdi
  call   <calloc@plt>
  mov    %rax,-0x428(%rbp)
  movl   $0x0,-0x430(%rbp)
  jmp    L44
L16:
  mov    -0x430(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x428(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  mov    $0x1,%esi
  mov    $0x400,%edi
  call   <calloc@plt>
  mov    %rax,(%rbx)
  addl   $0x1,-0x430(%rbp)
L44:
  mov    -0x430(%rbp),%eax
  cmp    -0x42c(%rbp),%eax
  jl     L16
  mov    -0x428(%rbp),%rax
  mov    (%rax),%rax
  mov    -0x438(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x428(%rbp),%rax
  mov    (%rax),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  add    %rbx,%rax
  movabs $0x766f735f6e616d5c,%rcx
  movabs $0x616e69622e646d5f,%rbx
  mov    %rcx,(%rax)
  mov    %rbx,0x8(%rax)
  movw   $0x7972,0x10(%rax)
  movb   $0x0,0x12(%rax)
  mov    -0x428(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    -0x438(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x428(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  add    %rbx,%rax
  movabs $0x766f685f6e616d5c,%rcx
  movabs $0x616e69622e646d5f,%rbx
  mov    %rcx,(%rax)
  mov    %rbx,0x8(%rax)
  movw   $0x7972,0x10(%rax)
  movb   $0x0,0x12(%rax)
  mov    -0x428(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    -0x438(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x428(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  add    %rbx,%rax
  movabs $0x766f735f6e616d5c,%rcx
  movabs $0x2e6865765f646d5f,%rbx
  mov    %rcx,(%rax)
  mov    %rbx,0x8(%rax)
  movl   $0x616e6962,0x10(%rax)
  movw   $0x7972,0x14(%rax)
  movb   $0x0,0x16(%rax)
  mov    -0x428(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    -0x438(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x428(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  add    %rbx,%rax
  movabs $0x766f685f6e616d5c,%rcx
  movabs $0x2e6865765f646d5f,%rbx
  mov    %rcx,(%rax)
  mov    %rbx,0x8(%rax)
  movl   $0x616e6962,0x10(%rax)
  movw   $0x7972,0x14(%rax)
  movb   $0x0,0x16(%rax)
  mov    -0x42c(%rbp),%edx
  lea    -0x420(%rbp),%rcx
  mov    -0x428(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <combineBinaryTablesInTpplusFile@plt>
  movl   $0x0,-0x430(%rbp)
  jmp    L9
L29:
  mov    -0x430(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x428(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <free@plt>
  addl   $0x1,-0x430(%rbp)
L9:
  mov    -0x430(%rbp),%eax
  cmp    -0x42c(%rbp),%eax
  jl     L29
  mov    -0x428(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  nop
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L6
  call   <__stack_chk_fail@plt>
L6:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
void convert_man_hwymd(char *binaryFilesDirectory, char *tppFilesDirectory, char *tppFileName) {
  void combineBinaryTablesInTpplusFile(char **binaryFileNames, char *tppFileName, int ntables);
  int i;
  int nTables = 4;
  char **binaryFileNames;
  char fileName[1024];
  strcpy(fileName, tppFilesDirectory);
  strcat(fileName, tppFileName);
  binaryFileNames = (char **)calloc(nTables, sizeof(char *));
  for (i = 0; i < nTables; i++)
    binaryFileNames[i] = (char *)calloc(1024, sizeof(char));
  strcpy(binaryFileNames[0], binaryFilesDirectory);
  strcat(binaryFileNames[0], "\\man_sov_md.binary");
  strcpy(binaryFileNames[1], binaryFilesDirectory);
  strcat(binaryFileNames[1], "\\man_hov_md.binary");
  strcpy(binaryFileNames[2], binaryFilesDirectory);
  strcat(binaryFileNames[2], "\\man_sov_md_veh.binary");
  strcpy(binaryFileNames[3], binaryFilesDirectory);
  strcat(binaryFileNames[3], "\\man_hov_md_veh.binary");
  combineBinaryTablesInTpplusFile(binaryFileNames, fileName, nTables);
  for (i = 0; i < nTables; i++)
    free(binaryFileNames[i]);
  free(binaryFileNames);
}
```