// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/HttpResponse.cpp
// Function: HttpResponse::HttpResponse(HttpRequest const&, Logger&, Config const&)
HttpResponse::HttpResponse(const HttpRequest& request, Logger& logger, const Config& config) :
m_request(request),
m_keepAlive(true),
m_reader(NULL),
m_config(config)
{
  if (request.getHttpError())
  {
    m_reader = new ErrorReader(request.getHttpError());
    m_keepAlive = false; // If we had an error while parsing this request, we reset the whole connection.
    return;
  }

  string redirectPath;
  time_t mtime = 0;
  m_path = FilenameResolver::resolve(unescapeUri(m_request.getPath()), m_config, redirectPath, &mtime);
  if (!redirectPath.empty())
  {
    m_reader = new ErrorReader(301, "", "Location: " + redirectPath + "\r\n");
    m_path = redirectPath;
  }
  else if (m_path.empty())
  {
    m_path = m_request.getPath();
    if (isGone(m_path))
    {
      m_reader = new ErrorReader(410);
    }
    else
    {
      m_reader = new ErrorReader(404);
    }
  }
  else if (!pathLooksSafe(m_path))
  {
    m_reader = new ErrorReader(400);
  }
  else if (pathIsCgiScript(m_path))
  {
    // @TODO: Add 'CgiReader' class.
    m_reader = new ErrorReader(501, "CGI Not Yet Implemented.");
  }
  else
  {
    m_reader = new FileReader(m_path, logger);
    int code = m_reader->getHttpResponseCode();
    if (code != 200)
    {
      delete m_reader;
      m_reader = new ErrorReader(code);
    }
  }
  int code = m_reader->getHttpResponseCode();
  m_keepAlive = m_reader->lengthKnown();
  m_headerBuffer = "HTTP/1.1 " + Utils::llToString(code) + " " + ErrorReader::getErrorMessage(code) + "\r\n";
  m_headerBuffer += S_STANDARD_HEADERS;
  if (mtime != 0)
  {
    m_headerBuffer += "Last-Modified: " + Utils::getHttpDate(mtime) + "\r\n";
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r15
movq %rsi, (%rdi)
movb $0x1, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
leaq 0x18(%rdi), %rbx
leaq 0x28(%rdi), %rdx
movq %rdx, 0x98(%rsp)
movq %rdx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movb %al, 0x28(%rdi)
leaq 0x38(%rdi), %r14
leaq 0x48(%rdi), %rdx
movq %rdx, 0x90(%rsp)
movq %rdx, 0x38(%rdi)
movq %rax, 0x40(%rdi)
movb %al, 0x48(%rdi)
movq %rcx, 0x58(%rdi)
movq %rsi, %rdi
movq %rbx, 0x40(%rsp)
movq %r14, 0x68(%rsp)
callq 0x758e
testl %eax, %eax
je 0x7bc2
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
movq %r13, %rdi
callq 0x758e
movl %eax, %ebp
leaq 0x80(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x461b(%rip), %rdx      # 0xc160
leaq 0x70(%rsp), %rdi
movq %rdx, %rsi
callq 0x513e
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x45fe(%rip), %rdx      # 0xc160
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0x513e
leaq 0x70(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %r12, %rdi
movl %ebp, %esi
callq 0xa0b4
movq %r12, 0x10(%r15)
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x7b9e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x70(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7bb8
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3290
movb $0x0, 0x8(%r15)
jmp 0x83fb
leaq 0x80(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movq %rax, 0xa0(%rsp)
movq (%r15), %rdi
callq 0x7588
movq %rsp, %rdi
movq %rax, %rsi
callq 0x86be
movq 0x58(%r15), %rdx
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
leaq 0x70(%rsp), %rcx
leaq 0xa0(%rsp), %r8
callq 0x8a8c
leaq 0x20(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x3360
movq (%r13), %rdi
leaq 0x30(%rsp), %rbx
cmpq %rbx, %rdi
je 0x7c3b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x10(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x7c56
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
cmpq $0x0, 0x78(%rsp)
je 0x7cd1
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
leaq 0x20(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x44e6(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
leaq 0x460f(%rip), %rsi      # 0xc298
leaq 0x48(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x89eb
leaq 0x4595(%rip), %rsi      # 0xc234
leaq 0x48(%rsp), %rdi
callq 0x3560
movq %r14, (%rsp)
movq (%rax), %rcx
movq %rax, %rdx
addq $0x10, %rdx
cmpq %rdx, %rcx
je 0x7d79
movq %rcx, (%rsp)
movq (%rdx), %rcx
movq %rcx, 0x10(%rsp)
jmp 0x7d80
cmpq $0x0, 0x20(%r15)
je 0x7e0c
movq 0x40(%rsp), %r13
movq %r13, %rdi
callq 0x881a
testb %al, %al
je 0x7e86
movq 0x8670(%rip), %rsi      # 0x10368
movq 0x8671(%rip), %rcx      # 0x10370
movq %r13, %rdi
movq $-0x1, %rdx
callq 0x33b0
movq 0x20(%r15), %rcx
subq 0x8657(%rip), %rcx      # 0x10370
cmpq %rcx, %rax
jne 0x7f2c
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
leaq 0x20(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x4565(%rip), %rsi      # 0xc2a3
leaq 0x4576(%rip), %rdx      # 0xc2bb
callq 0x513e
movq %rsp, %rdi
movq %r14, (%rdi)
leaq 0x4409(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq %r12, %rdi
movl $0x1f5, %esi            # imm = 0x1F5
callq 0xa0b4
jmp 0x7fbe
movups (%rdx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rsi
movq %rsp, %rcx
movq %rsi, 0x8(%rcx)
movq %rdx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdx
movq %r12, %rdi
movl $0x12d, %esi            # imm = 0x12D
callq 0xa0b4
movq %r12, 0x10(%r15)
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x7dc6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7de1
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7df8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x70(%rsp), %rsi
movq 0x40(%rsp), %rdi
callq 0x3190
jmp 0x7fef
movq (%r15), %rdi
callq 0x7588
movq 0x40(%rsp), %rdi
movq %rax, %rsi
callq 0x3190
movq 0x40(%rsp), %rdi
callq 0x87d0
testb %al, %al
je 0x7ed9
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
leaq 0x20(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x4311(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
movq %rsp, %rdi
movq %r14, (%rdi)
leaq 0x42fc(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq %r12, %rdi
movl $0x19a, %esi            # imm = 0x19A
callq 0xa0b4
jmp 0x7fbe
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
leaq 0x20(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x42be(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
movq %rsp, %rdi
movq %r14, (%rdi)
leaq 0x42a9(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq %r12, %rdi
movl $0x190, %esi            # imm = 0x190
callq 0xa0b4
jmp 0x7fbe
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
leaq 0x20(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x426b(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
movq %rsp, %rdi
movq %r14, (%rdi)
leaq 0x4256(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq %r12, %rdi
movl $0x194, %esi            # imm = 0x194
callq 0xa0b4
jmp 0x7fbe
movl $0x78, %edi
callq 0x3280
movq %rax, %r13
movq %rax, %rdi
movq 0x40(%rsp), %rsi
movq %r12, %rdx
callq 0x9440
movq %r13, 0x10(%r15)
movq (%r13), %rax
movq %r13, %rdi
callq *0x28(%rax)
movl %eax, %ebp
cmpl $0xc8, %eax
je 0x7fef
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x7f73
movq (%rdi), %rax
callq *0x8(%rax)
movl $0x40, %edi
callq 0x3280
movq %rax, %r12
leaq 0x20(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x41d1(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
movq %rsp, %rdi
movq %r14, (%rdi)
leaq 0x41bc(%rip), %rdx      # 0xc160
movq %rdx, %rsi
callq 0x513e
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq %r12, %rdi
movl %ebp, %esi
callq 0xa0b4
movq %r12, 0x10(%r15)
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x7fd8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7fef
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x10(%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movl %eax, %ebp
movq 0x10(%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movb %al, 0x8(%r15)
movslq %ebp, %rsi
leaq 0xe8(%rsp), %rdi
callq 0xac34
leaq 0x429c(%rip), %rcx      # 0xc2bc
leaq 0xe8(%rsp), %rdi
movl $0x9, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x32e0
leaq 0xd8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8067
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x806f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x422f(%rip), %rsi      # 0xc2c4
callq 0x3560
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x80c2
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x80ca
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa8(%rsp), %rdi
movl %ebp, %esi
callq 0xa47a
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x8116
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x813b
leaq 0xb8(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x8136
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x814f
movq 0xa8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x30f0
jmp 0x8160
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32e0
movq %r14, (%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x817e
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x8185
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x408b(%rip), %rsi      # 0xc234
movq %rsp, %rdi
callq 0x3560
movq %rbx, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x81d4
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x81da
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rdi
movq %r15, %rsi
callq 0x3360
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x8218
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x822e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x824f
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8266
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x8283
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82a4
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x80dd(%rip), %rsi      # 0x10388
movq 0x80de(%rip), %rdx      # 0x10390
movq 0x68(%rsp), %rdi
callq 0x30f0
movq 0xa0(%rsp), %rsi
testq %rsi, %rsi
je 0x83d9
leaq 0x48(%rsp), %rdi
callq 0xadd2
leaq 0x3fe8(%rip), %rcx      # 0xc2c6
leaq 0x48(%rsp), %rdi
movl $0xf, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x32e0
movq %r14, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8313
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x831a
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3ef9(%rip), %rsi      # 0xc234
callq 0x3560
movq %rbx, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8363
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x8369
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x68(%rsp), %rdi
callq 0x30f0
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x83ac
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x83c2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x83d9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x83fb
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3290
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8452
jmp 0x8508
jmp 0x8524
jmp 0x8452
jmp 0x8508
movq %rax, %r15
movl $0x78, %esi
movq %r13, %rdi
jmp 0x85d2
jmp 0x8524
jmp 0x8452
jmp 0x8452
jmp 0x8508
jmp 0x8508
jmp 0x8524
jmp 0x8524
jmp 0x8641
movq %rax, %r15
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x850b
movq 0x10(%rsp), %rsi
jmp 0x84fe
jmp 0x8508
jmp 0x8524
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x8495
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8495
movq %rax, %r15
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x84b0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x84b0
movq %rax, %r15
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8644
movq 0x58(%rsp), %rsi
jmp 0x85cf
jmp 0x8641
movq %rax, %r15
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x84eb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x84eb
movq %rax, %r15
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x850b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x850b
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x8527
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8527
movq %rax, %r15
movl $0x40, %esi
movq %r12, %rdi
jmp 0x85d2
movq %rax, %r15
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x8552
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8552
movq %rax, %r15
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8578
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8578
movq %rax, %r15
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x8594
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8594
movq %rax, %r15
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x85b6
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x85b6
movq %rax, %r15
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8644
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8644
jmp 0x8641
movq %rax, %r15
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8644
movq 0x10(%rsp), %rsi
jmp 0x85cf
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x8612
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8612
movq %rax, %r15
movq 0x70(%rsp), %rdi
cmpq %rbx, %rdi
je 0x8633
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x8633
jmp 0x8630
movq %rax, %r15
movl $0x40, %esi
movq %r12, %rdi
jmp 0x8661
jmp 0x8641
jmp 0x8641
movq %rax, %r15
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x866b
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x866b
movq %rax, %r15
movq 0x68(%rsp), %rax
movq (%rax), %rdi
cmpq 0x90(%rsp), %rdi
je 0x8690
movq 0x90(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3290
movq 0x40(%rsp), %rax
movq (%rax), %rdi
cmpq 0x98(%rsp), %rdi
je 0x86b5
movq 0x98(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3290
movq %r15, %rdi
callq 0x3520
nop