user: Translate the below assembly code into C programming language:

```asm
<isAdditiveNumber>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,0x8(%rsp)
  call   <strlen@plt>
  mov    %eax,%r15d
  shr    $0x1f,%eax
  add    %r15d,%eax
  sar    %eax
  mov    %eax,0x2c(%rsp)
  cmp    $0x1,%r15d
  jle    L104
  movq   $0x1,0x20(%rsp)
L46:
  mov    0x20(%rsp),%rbx
  lea    0x1(%rbx),%edi
  call   <malloc@plt>
  mov    %rax,%r14
  mov    %rax,(%rsp)
  mov    %ebx,0x28(%rsp)
  mov    %ebx,%edx
  mov    0x8(%rsp),%rbp
  mov    %rbp,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
  movb   $0x0,(%r14,%rbx,1)
  movq   $0x1,0x10(%rsp)
  add    %rbx,%rbp
  mov    %rbp,0x18(%rsp)
  jmp    L72
L48:
  cmp    %ebp,%eax
  jl     L68
L36:
  add    %ebp,%r12d
  cmp    %r12d,%r15d
  jle    L17
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <add_two_number@plt>
  mov    %rax,%r13
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%ebp
  cmp    %r14,(%rsp)
  je     L93
  mov    %r14,%rdi
  call   <free@plt>
L93:
  mov    %rbx,%r14
  mov    %r13,%rbx
  mov    $0x1,%r13d
L135:
  cmpb   $0x30,(%rbx)
  je     L68
  mov    %r15d,%eax
  sub    %r12d,%eax
  cmp    %ebp,%eax
  jl     L68
  test   %ebp,%ebp
  jle    L36
  mov    %ebp,%esi
  mov    $0x0,%eax
  movslq %r12d,%rdx
  add    0x8(%rsp),%rdx
L114:
  movzbl (%rdx,%rax,1),%edi
  cmp    %dil,(%rbx,%rax,1)
  jne    L48
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L114
  jmp    L36
L17:
  mov    $0x1,%r13d
L68:
  mov    %r14,%rdi
  call   <free@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  addq   $0x1,0x10(%rsp)
  test   %r13d,%r13d
  je     L72
  cmp    %r15d,%r12d
  je     L10
L72:
  mov    0x10(%rsp),%rcx
  mov    %ecx,%ebx
  mov    %r15d,%eax
  sub    0x28(%rsp),%eax
  cmp    %ecx,%eax
  jle    L37
  mov    0x10(%rsp),%rbp
  lea    0x1(%rbp),%edi
  call   <malloc@plt>
  mov    %rax,%r14
  mov    %ebx,%edx
  mov    0x18(%rsp),%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
  movb   $0x0,(%r14,%rbp,1)
  addl   $0x1,0x28(%rsp)
  mov    0x28(%rsp),%r12d
  mov    %r14,%rsi
  mov    (%rsp),%rdi
  call   <add_two_number@plt>
  mov    %rax,%rbx
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%ebp
  mov    $0x0,%r13d
  jmp    L135
L10:
  mov    (%rsp),%rdi
  call   <free@plt>
  mov    $0x1,%eax
L84:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L37:
  mov    (%rsp),%rdi
  call   <free@plt>
  addq   $0x1,0x20(%rsp)
  mov    0x20(%rsp),%rax
  sub    $0x1,%eax
  cmp    %eax,0x2c(%rsp)
  jg     L46
  mov    $0x0,%eax
  jmp    L84
L104:
  mov    $0x0,%eax
  jmp    L84
```

assistant: ```c
bool isAdditiveNumber(char *num) {
  int len = strlen(num);
  int len_sum;
  int i, j, k, h;
  bool ret = false;
  char *first, *second, *sum;
  first = second = sum = NULL;
  for (i = 0; i < len / 2; i++) {
    first = (char *)malloc(i + 1 + 1);
    strncpy(first, num, i + 1);
    first[i + 1] = '\0';
    for (j = i + 1; j - i <= len - j - 1; j++) {
      second = (char *)malloc(j - i + 1);
      strncpy(second, num + i + 1, j - i);
      second[j - i] = '\0';
      h = j + 1;
      char *first2 = first;
      bool flag = false;
      ;
      do {
        sum = add_two_number(first2, second);
        len_sum = strlen(sum);
        if (first2 != first)
          free(first2);
        first2 = second;
        second = sum;
        if (sum[0] == '0' || len_sum > len - h)
          break;
        for (k = 0; k < len_sum && sum[k] == num[h + k]; k++)
          ;
        if (k < len_sum)
          break;
        flag = true;
        h = h + len_sum;
      } while (h < len);
      free(first2);
      free(second);
      if (flag && h == len) {
        free(first);
        return true;
      }
    }
    free(first);
  }
  return false;
}
```