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

```asm
<reset_LD_PRELOAD>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdi,%r14
  lea    D18(%rip),%rdi
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  call   <getenv@plt>
  mov    %rax,0x18(%rsp)
  test   %r14,%r14
  je     L66
  cmpq   $0x0,(%r14)
  je     L90
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L107:
  mov    %eax,%edx
  mov    %rax,%rbp
  add    $0x1,%rax
  cmpq   $0x0,(%r14,%rax,8)
  jne    L107
  lea    0x10(,%rdx,8),%edi
  xor    %r15d,%r15d
  call   <malloc@plt>
  mov    %rax,%r12
  lea    0x8(%r14,%rbp,8),%rax
  mov    %rax,0x8(%rsp)
  jmp    L83
  xchg   %ax,%ax
L3:
  add    $0x1,%r15d
  lea    0x8(%r12,%r13,1),%rbx
  add    $0x8,%r14
  cmp    0x8(%rsp),%r14
  je     L38
L83:
  mov    (%r14),%rdi
  movslq %r15d,%r8
  lea    0x0(,%r8,8),%r13
  call   <strdup@plt>
  lea    (%r12,%r13,1),%rbx
  mov    $0xb,%edx
  lea    D4(%rip),%rsi
  mov    %rax,(%rbx)
  mov    (%r14),%rdi
  mov    %rax,%rbp
  call   <strncmp@plt>
  test   %eax,%eax
  jne    L3
  mov    $0x3d,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  mov    0x18(%rsp),%rsi
  lea    D9(%rip),%rdx
  lea    0x1(%rax),%rdi
  mov    %rax,0x10(%rsp)
  call   <strdel@plt>
  mov    0x10(%rsp),%r9
  cmpb   $0x0,0x1(%r9)
  jne    L3
  mov    (%rbx),%rdi
  add    $0x8,%r14
  call   <free@plt>
  cmp    0x8(%rsp),%r14
  jne    L83
  nop
L38:
  movq   $0x0,(%rbx)
L11:
  add    $0x28,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L66:
  lea    D13(%rip),%rbp
  mov    %rbp,%rdi
  call   <getenv@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L11
  mov    %rax,%rdi
  call   <strdup@plt>
  mov    0x18(%rsp),%rsi
  lea    D9(%rip),%rdx
  mov    %rax,%rdi
  call   <strdel@plt>
  cmpb   $0x0,(%rax)
  mov    %rax,%rsi
  jne    L110
  mov    %rbp,%rdi
  xor    %r12d,%r12d
  call   <unsetenv@plt>
  jmp    L11
  nopl   0x0(%rax,%rax,1)
L90:
  mov    $0x8,%edi
  call   <malloc@plt>
  mov    %rax,%r12
  mov    %rax,%rbx
  jmp    L38
L110:
  mov    $0x1,%edx
  mov    %rbp,%rdi
  xor    %r12d,%r12d
  call   <setenv@plt>
  jmp    L11
```

tool_calls: name: unpack_data
arguments: label: D18
type_infered: string
name: unpack_data
arguments: label: D4
type_infered: string
name: unpack_data
arguments: label: D9
type_infered: string
name: unpack_data
arguments: label: D13
type_infered: string

tool: D18: OBSERVE_CAPTURE_SO

tool: D4: LD_PRELOAD=

tool: D9:  

tool: D13: 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;
}
```