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

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0xd000(%rsp),%r11
L13:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L13
  sub    $0x8e0,%rsp
  xor    %esi,%esi
  mov    $0x40,%edx
  mov    %fs:0x28,%rax
  mov    %rax,0xd8d8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rdi
  movl   $0xa440,0x4(%rsp)
  movabs $0xc9400000c6a1,%rax
  mov    %rax,0x8(%rsp)
  movabs $0xc67e0000a3bf,%rax
  mov    %rax,0x10(%rsp)
  movabs $0xf9fe0000c8d3,%rax
  mov    %rax,0x18(%rsp)
  mov    $0xa140,%eax
  jmp    L100
  nopl   0x0(%rax,%rax,1)
L2:
  add    $0x1,%eax
  movzbl %al,%edx
  cmp    $0xf9ff,%eax
  je     L50
L100:
  cmp    $0xff,%edx
  je     L2
  cmp    $0x3f,%edx
  jle    L2
  sub    $0x7f,%edx
  cmp    $0x21,%edx
  jbe    L2
  mov    $0xa140,%ecx
  xor    %edx,%edx
  cmp    %eax,%ecx
  jg     L49
L113:
  cmp    %eax,(%rdx,%rdi,1)
  jl     L49
  movslq %esi,%rcx
  add    $0x1,%esi
  mov    %eax,0x20(%rsp,%rcx,4)
L49:
  add    $0x4,%rdx
  cmp    $0x10,%rdx
  je     L2
  mov    (%rsp,%rdx,1),%ecx
  cmp    %eax,%ecx
  jg     L49
  jmp    L113
L50:
  mov    $0x362b,%ebp
  xor    %ebx,%ebx
  lea    D6(%rip),%r12
  nopl   (%rax)
L10:
  xor    %eax,%eax
  call   <random@plt>
  pxor   %xmm0,%xmm0
  movslq %eax,%rdx
  imul   $0xffffffffd9e2cbcb,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x1f,%eax
  sar    $0x11,%edx
  sub    %eax,%edx
  cvtsi2ss %edx,%xmm0
  cvttss2si %xmm0,%eax
  cmp    $0x362b,%eax
  jg     L10
  cltq
  mov    %r12,%rdi
  add    $0x1,%ebx
  mov    0x20(%rsp,%rax,4),%esi
  xor    %eax,%eax
  movzbl %sil,%edx
  sar    $0x8,%esi
  call   <printf@plt>
  cmp    $0x27,%ebx
  je     L29
L27:
  sub    $0x1,%ebp
  jne    L10
  mov    0xd8d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L118
  add    $0xd8e0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nop
L29:
  mov    $0xa,%edi
  xor    %ebx,%ebx
  call   <putchar@plt>
  jmp    L27
L118:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D6
type_infered: string

tool: D6: %c%c

assistant: ```c
main() {
  int b2_s[2], b2_end[2], code_start[4], code_end[4], out;
  int hanzi, j, hanzilsb;
  int count, column;
  float count1;
  int hanzi_code[13868];
  b2_s[0] = 0x40;
  b2_s[1] = 0xa1;
  b2_end[0] = 0x7e;
  b2_end[1] = 0xfe;
  code_start[0] = 0xa140;
  code_end[0] = 0xa3bf;
  code_start[1] = 0xa440;
  code_end[1] = 0xc67e;
  code_start[2] = 0xc6a1;
  code_end[2] = 0xc8d3;
  code_start[3] = 0xc940;
  code_end[3] = 0xf9fe;
  out = 1;
  count = 0;
  hanzi = code_start[0];
  hanzilsb = hanzi & 0xff;
  while ((hanzi != code_end[3] + 1)) {
    if (hanzilsb < b2_s[0])
      ;
    else if (hanzilsb > b2_end[1])
      ;
    else if ((hanzilsb > b2_end[0]) && (hanzilsb < b2_s[1]))
      ;
    else {
      for (j = 0; j < 4; j++) {
        if ((hanzi >= code_start[j]) && (hanzi <= code_end[j])) {
          hanzi_code[count] = hanzi;
          count++;
        }
      }
    }
    hanzi++;
    hanzilsb = hanzi & 0xff;
  }
  column = 0;
  for (j = 0; j < 13867; j++) {
  again:
    count1 = (random() / 0x25990);
    count = (int)count1;
    if (count > 13867)
      goto again;
    printf("%c%c", (hanzi_code[count] >> 8), (hanzi_code[count] & 0xff));
    column++;
    if (column == 39) {
      printf("\n");
      column = 0;
    }
  }
}
```