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

```asm
<reset_LD_PRELOAD>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%r13
  lea    D7(%rip),%rdi
  call   <getenv@plt>
  mov    %rax,0x18(%rsp)
  test   %r13,%r13
  je     L36
  cmpq   $0x0,0x0(%r13)
  je     L71
  lea    0x8(%r13),%rax
  mov    $0x0,%ebx
L120:
  mov    %ebx,0xc(%rsp)
  add    $0x1,%ebx
  add    $0x8,%rax
  cmpq   $0x0,-0x8(%rax)
  jne    L120
  mov    0xc(%rsp),%eax
  lea    0x10(,%rax,8),%edi
  call   <malloc@plt>
  mov    %rax,%r15
  test   %ebx,%ebx
  jle    L88
  mov    $0x0,%ebx
  mov    $0x0,%ebp
  jmp    L15
L31:
  add    $0x1,%ebp
  add    $0x1,%rbx
  lea    -0x1(%rbx),%eax
  cmp    0xc(%rsp),%eax
  jge    L94
L15:
  movslq %ebp,%rax
  lea    (%r15,%rax,8),%r14
  mov    0x0(%r13,%rbx,8),%rdi
  call   <strdup@plt>
  mov    %rax,0x10(%rsp)
  mov    %rax,(%r14)
  mov    0x0(%r13,%rbx,8),%r12
  lea    D15(%rip),%rsi
  mov    %r12,%rdi
  call   <strstr@plt>
  cmp    %rax,%r12
  jne    L31
  mov    $0x3d,%esi
  mov    0x10(%rsp),%rdi
  call   <strchr@plt>
  mov    %rax,%r12
  lea    0x1(%rax),%rdi
  lea    D26(%rip),%rdx
  mov    0x18(%rsp),%rsi
  call   <strdel@plt>
  cmpb   $0x0,0x1(%r12)
  jne    L31
  mov    (%r14),%rdi
  call   <free@plt>
  sub    $0x1,%ebp
  jmp    L31
L88:
  mov    $0x0,%ebp
  jmp    L94
L36:
  lea    D10(%rip),%rdi
  call   <getenv@plt>
  mov    %rax,%r15
  test   %rax,%rax
  je     L122
  mov    %rax,%rdi
  call   <strdup@plt>
  mov    %rax,%rdi
  lea    D26(%rip),%rdx
  mov    0x18(%rsp),%rsi
  call   <strdel@plt>
  cmpb   $0x0,(%rax)
  jne    L13
  lea    D10(%rip),%rdi
  call   <unsetenv@plt>
  mov    %r13,%r15
  jmp    L122
L13:
  mov    $0x1,%edx
  mov    %rax,%rsi
  lea    D10(%rip),%rdi
  call   <setenv@plt>
  mov    %r13,%r15
  jmp    L122
L71:
  mov    $0x8,%edi
  call   <malloc@plt>
  mov    %rax,%r15
  mov    $0x0,%ebp
L94:
  movslq %ebp,%rbp
  movq   $0x0,(%r15,%rbp,8)
L122:
  mov    %r15,%rax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: data_label: D7
type_infered: string
name: parse_data
arguments: data_label: D15
type_infered: string
name: parse_data
arguments: data_label: D26
type_infered: string
name: parse_data
arguments: data_label: D10
type_infered: string

tool: D7: OBSERVE_CAPTURE_SO

tool: D15: LD_PRELOAD=

tool: D26:  

tool: D10: LD_PRELOAD

assistant: ```c
char *const *reset_LD_PRELOAD(char *const envp[]) {
  const char *capturepath = getenv("OBSERVE_CAPTURE_SO");
  char **newenvp = NULL;
  if (envp != NULL) {
    int i;
    int j;
    int len;
    for (len = 0; envp[len] != NULL; len++)
      ;
    j = len;
    newenvp = (char **)malloc((len + 1) * sizeof(char *));
    for (i = 0, j = 0; i < len; i++, j++) {
      newenvp[j] = strdup(envp[i]);
      if (strstr(envp[i], "LD_PRELOAD"
                          "=") == envp[i]) {
        char *newpreload = strchr(newenvp[j], '=') + 1;
        strdel(newpreload, capturepath, " ");
        if (*newpreload == '\0') {
          free(newenvp[j]);
          j--;
        }
      }
    }
    newenvp[j] = NULL;
  } else {
    char *preload = getenv("LD_PRELOAD");
    if (preload != NULL) {
      char *newpreload = strdel(strdup(preload), capturepath, " ");
      if (*newpreload == '\0')
        unsetenv("LD_PRELOAD");
      else
        setenv("LD_PRELOAD", newpreload, 1);
    }
  }
  return newenvp;
}
```