user: Please show me the C implementation that matches the assembly code listed below:

```asm
<convert_nonman_hwypm>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x410,%rsp
  mov    %rdi,%r14
  mov    %rdx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <strcpy@plt>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  mov    $0x8,%esi
  mov    $0x4,%edi
  call   <calloc@plt>
  mov    %rax,%r12
  mov    %rax,%rbx
  lea    0x20(%rax),%r13
  mov    %rax,%rbp
L28:
  mov    $0x1,%esi
  mov    $0x400,%edi
  call   <calloc@plt>
  mov    %rax,0x0(%rbp)
  add    $0x8,%rbp
  cmp    %r13,%rbp
  jne    L28
  mov    %r14,%rsi
  mov    (%r12),%rdi
  call   <strcpy@plt>
  mov    (%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  add    %rbp,%rax
  movabs $0x5f6e616d6e6f6e5c,%rdx
  movabs $0x622e6d705f766f73,%rcx
  mov    %rdx,(%rax)
  mov    %rcx,0x8(%rax)
  movl   $0x72616e69,0x10(%rax)
  movw   $0x79,0x14(%rax)
  mov    0x8(%r12),%rdi
  mov    %r14,%rsi
  call   <strcpy@plt>
  mov    0x8(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  add    %rbp,%rax
  movabs $0x5f6e616d6e6f6e5c,%rdx
  movabs $0x622e6d705f766f68,%rcx
  mov    %rdx,(%rax)
  mov    %rcx,0x8(%rax)
  movl   $0x72616e69,0x10(%rax)
  movw   $0x79,0x14(%rax)
  mov    0x10(%r12),%rdi
  mov    %r14,%rsi
  call   <strcpy@plt>
  mov    0x10(%r12),%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  add    %rbp,%rax
  movabs $0x5f6e616d6e6f6e5c,%rdx
  movabs $0x765f6d705f766f73,%rcx
  mov    %rdx,(%rax)
  mov    %rcx,0x8(%rax)
  movabs $0x72616e69622e6865,%rbp
  mov    %rbp,0x10(%rax)
  movw   $0x79,0x18(%rax)
  mov    0x18(%r12),%rdi
  mov    %r14,%rsi
  call   <strcpy@plt>
  mov    0x18(%r12),%r14
  mov    %r14,%rdi
  call   <strlen@plt>
  add    %r14,%rax
  movabs $0x5f6e616d6e6f6e5c,%rdx
  movabs $0x765f6d705f766f68,%rcx
  mov    %rdx,(%rax)
  mov    %rcx,0x8(%rax)
  mov    %rbp,0x10(%rax)
  movw   $0x79,0x18(%rax)
  mov    %rsp,%rsi
  mov    $0x4,%edx
  mov    %r12,%rdi
  call   <combineBinaryTablesInTpplusFile@plt>
L14:
  mov    (%rbx),%rdi
  call   <free@plt>
  add    $0x8,%rbx
  cmp    %r13,%rbx
  jne    L14
  mov    %r12,%rdi
  call   <free@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x410,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L6:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void convert_nonman_hwypm(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], "\\nonman_sov_pm.binary");
  strcpy(binaryFileNames[1], binaryFilesDirectory);
  strcat(binaryFileNames[1], "\\nonman_hov_pm.binary");
  strcpy(binaryFileNames[2], binaryFilesDirectory);
  strcat(binaryFileNames[2], "\\nonman_sov_pm_veh.binary");
  strcpy(binaryFileNames[3], binaryFilesDirectory);
  strcat(binaryFileNames[3], "\\nonman_hov_pm_veh.binary");
  combineBinaryTablesInTpplusFile(binaryFileNames, fileName, nTables);
  for (i = 0; i < nTables; i++)
    free(binaryFileNames[i]);
  free(binaryFileNames);
}
```