// File: /workspace/github_cpp_makefile_star2_O3/mortrevere[P]ninjat/main.cpp
// Function: main
int main() {
  int error = init("0.0.2"); //will be used to handle all networking errors
  int sock;
  int port = PORT;
  struct sockaddr_in sin;
  sin.sin_addr.s_addr = INADDR_ANY;
  sin.sin_family = AF_INET;
  sin.sin_port = htons(port);
  std::string tmp, key, value;
  tmp = std::to_string(port);

  int csock;
  struct sockaddr_in csin;
  socklen_t tempo = sizeof(csin);

  std::vector<std::string> lines;
  std::ofstream fout;

  std::vector<std::thread> threads;
  std::vector<int> clients;
  std::vector<std::string> nicks;

  if(error != 0)
    die("Couldn't initialize network.");

  sock = socket(AF_INET, SOCK_STREAM, 0);
  if(sock == INVALID_SOCKET)
    die("Couldn't create socket.");
  else
    info("Main socket created.");

  //allows binding on FIN_WAIT1 hanging ports
  int reuse = 1;
  if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(int)) < 0)
    info("setsockopt(SO_REUSEADDR) failed");

  while(bind(sock, (sockaddr *)&sin, sizeof(sin)) != 0) {
    err("Can't listen to port " + std::to_string(port) + " ... check if the port is busy.");
    port++;
    info("Retrying on port " + std::to_string(port) + " ...");
    sin.sin_port = htons(port);
  }
  info("bind() successful on port " + std::to_string(port));

  listen(sock, 99);
  info("Listening on port " + std::to_string(port));

  while(1) {
    info("Waiting for peers ...");
    csock = accept(sock,(struct sockaddr*)&csin,&tempo);
    clients.push_back(csock);
    nicks.push_back("");
    threads.push_back(std::thread(clientCare,csock,std::ref(clients),std::ref(nicks)));
    sAll("Someone (#" + std::to_string(csock) + ") joined !\n", clients);

    s("/nick               : get a name and talk to people.\n", csock);
    s("/list               : list people on the chat\n", csock);
    s("/p <dest> <message> : pm someone based on nickname\n", csock);
    s("/p . <message>      : pm the last person you pm'd\n", csock);
    s("/quit               : well, you guessed it\n", csock);

    if(PRIVATE) {
      s("THIS SERVER IS PASSWORD-PROTECTED : use /auth <pw> to log in\n", csock);
    }
    info("NCC !");
  }

  for (auto& th : threads) th.join();
  info("End.");
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
leaq 0x228(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x230e(%rip), %rsi      # 0x728c
leaq 0x230c(%rip), %rdx      # 0x7291
leaq 0x218(%rsp), %rdi
callq 0x6390
leaq 0x218(%rsp), %rdi
callq 0x252c
movq 0x218(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fbc
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2230
movq $0x39050002, 0x120(%rsp) # imm = 0x39050002
leaq 0x68(%rsp), %r12
movq %r12, -0x10(%r12)
xorl %eax, %eax
movq %rax, -0x8(%r12)
movb %al, (%r12)
leaq 0x88(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb %al, (%r13)
leaq 0xa8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
leaq 0x218(%rsp), %rdi
movq %r14, (%rdi)
movl $0x4, %esi
movl $0x2d, %edx
callq 0x2290
leaq 0x218(%rsp), %rbx
movq (%rbx), %rdi
movl $0x4, %esi
movl $0x539, %edx            # imm = 0x539
callq 0x6282
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x22b0
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x505d
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2230
movl $0x10, 0xdc(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x1f0(%rsp)
movq $0x0, 0x200(%rsp)
leaq 0x218(%rsp), %rdi
callq 0x2350
xorps %xmm0, %xmm0
movaps %xmm0, 0x1d0(%rsp)
xorl %eax, %eax
movq %rax, 0x1e0(%rsp)
movq %rax, 0xf0(%rsp)
movaps %xmm0, 0xe0(%rsp)
movq %rax, 0x1c0(%rsp)
movaps %xmm0, 0x1b0(%rsp)
movl $0x2, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x2060
cmpl $-0x1, %eax
jne 0x5102
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x21ab(%rip), %rsi      # 0x7292
leaq 0x21bb(%rip), %rdx      # 0x72a9
leaq 0x8(%rsp), %rdi
callq 0x6390
leaq 0x8(%rsp), %rdi
callq 0x25a2
movl %eax, %ebx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2196(%rip), %rsi      # 0x72aa
leaq 0x21a3(%rip), %rdx      # 0x72be
leaq 0x8(%rsp), %rdi
callq 0x6390
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x514b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x11c(%rsp), %rcx
movl $0x1, (%rcx)
movl %ebx, %edi
movl $0x1, %esi
movl $0x2, %edx
movl $0x4, %r8d
callq 0x2380
testl %eax, %eax
jns 0x51ba
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x2137(%rip), %rsi      # 0x72bf
leaq 0x214f(%rip), %rdx      # 0x72de
callq 0x6390
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x51ba
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x120(%rsp), %rsi
movl %ebx, 0x54(%rsp)
movl %ebx, %edi
movl $0x10, %edx
callq 0x2050
movl $0x539, %ebp            # imm = 0x539
testl %eax, %eax
jne 0x57e1
leaq 0x30(%rsp), %rdi
movl %ebp, %esi
callq 0x6090
leaq 0x2135(%rip), %rsi      # 0x7327
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rdx
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
leaq 0xa8(%rsp), %r15
callq 0x6020
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x523c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x40(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
movl 0x54(%rsp), %ebx
je 0x525b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movl %ebx, %edi
movl $0x63, %esi
callq 0x2260
leaq 0x30(%rsp), %rdi
movl %ebp, %esi
callq 0x6090
leaq 0x20c8(%rip), %rsi      # 0x7342
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x6020
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x52af
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x52cb
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x160(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x18(%rsp), %r14
movl 0x54(%rsp), %ebp
movq %r14, 0x8(%rsp)
movq %r13, %rdi
leaq 0x2065(%rip), %rsi      # 0x7355
leaq 0x2073(%rip), %rdx      # 0x736a
callq 0x6390
movq %r13, %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x531b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movl %ebp, %edi
leaq 0x208(%rsp), %rsi
leaq 0xdc(%rsp), %rdx
callq 0x20b0
movl %eax, 0x2c(%rsp)
movq 0xe8(%rsp), %rsi
cmpq 0xf0(%rsp), %rsi
je 0x5358
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xe8(%rsp)
jmp 0x536a
leaq 0xe0(%rsp), %rdi
leaq 0x2c(%rsp), %rdx
callq 0x66ae
movq %r14, 0x8(%rsp)
movq %r13, %rdi
leaq 0x1d29(%rip), %rdx      # 0x70a2
movq %rdx, %rsi
callq 0x6390
leaq 0x1b0(%rsp), %rdi
movq %r13, %rsi
callq 0x67ea
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x53a8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0xe0(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x1b0(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %r13, %rdi
leaq -0x22e2(%rip), %rsi     # 0x30ed
leaq 0x2c(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0xb8(%rsp), %r8
callq 0x6132
movq %r12, %r15
leaq 0x1d0(%rsp), %rdi
movq %r13, %rsi
callq 0x6a26
cmpq $0x0, 0x8(%rsp)
jne 0x5c67
movl 0x2c(%rsp), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x5460
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x5459
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x545e
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x5460
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x5426
addl $-0x3, %ebp
jmp 0x5460
addl $-0x2, %ebp
jmp 0x5460
decl %ebp
shrl $0x1f, %ebx
leal (%rbx,%rbp), %esi
leaq 0xc8(%rsp), %rax
movq %rax, 0xb8(%rsp)
leaq 0xb8(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2290
addq 0xb8(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x6282
movl $0xa, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1eb7(%rip), %rcx      # 0x736b
callq 0x2270
leaq 0x40(%rsp), %r14
movq %r14, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movl 0x54(%rsp), %ebp
je 0x54e5
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x54ec
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %r15, %r12
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x1e63(%rip), %rsi      # 0x7376
callq 0x23b0
leaq 0x190(%rsp), %r15
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5548
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x554e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x29c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5594
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x55ab
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
leaq 0x1a0(%rsp), %r14
je 0x55d8
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r14, 0x190(%rsp)
movq %r15, %rdi
leaq 0x1d98(%rip), %rsi      # 0x7382
leaq 0x1dc6(%rip), %rdx      # 0x73b7
callq 0x6390
movq %r15, %rdi
leaq 0x180(%rsp), %r15
leaq 0x140(%rsp), %r13
movl 0x2c(%rsp), %esi
movl $0x1, %edx
callq 0x294d
movq 0x190(%rsp), %rdi
cmpq %r14, %rdi
je 0x5634
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r15, 0x170(%rsp)
leaq 0x170(%rsp), %rbx
movq %rbx, %rdi
leaq 0x1d6a(%rip), %rsi      # 0x73b8
leaq 0x1d91(%rip), %rdx      # 0x73e6
callq 0x6390
leaq 0x18(%rsp), %r14
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x294d
movq 0x170(%rsp), %rdi
cmpq %r15, %rdi
leaq 0xf8(%rsp), %rbx
je 0x5695
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x108(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq %rbx, %rdi
leaq 0x1d38(%rip), %rsi      # 0x73e7
leaq 0x1d64(%rip), %rdx      # 0x741a
callq 0x6390
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x294d
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
leaq 0x150(%rsp), %rbx
je 0x56f9
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r12, 0x150(%rsp)
movq %rbx, %rdi
leaq 0x1d10(%rip), %rsi      # 0x741b
leaq 0x1d3b(%rip), %rdx      # 0x744d
callq 0x6390
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x294d
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x130(%rsp), %rbx
je 0x574d
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r13, 0x130(%rsp)
movq %rbx, %rdi
leaq 0x1cef(%rip), %rsi      # 0x744e
leaq 0x1d13(%rip), %rdx      # 0x7479
callq 0x6390
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x294d
movq 0x130(%rsp), %rdi
cmpq %r13, %rdi
je 0x5799
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r14, 0x8(%rsp)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
leaq 0x1ccd(%rip), %rsi      # 0x747a
leaq 0x1ccb(%rip), %rdx      # 0x747f
callq 0x6390
movq %r13, %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x52e1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x52e1
leaq 0xc8(%rsp), %r15
leaq 0x40(%rsp), %r13
leaq 0xb8(%rsp), %r14
movl $0xd1b71759, %ebx       # imm = 0xD1B71759
movl $0x4, %r12d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x5833
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x5839
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x583c
movl %eax, %ecx
imulq %rbx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x5803
addl $-0x3, %r12d
jmp 0x583c
addl $-0x2, %r12d
jmp 0x583c
decl %r12d
movl %r12d, %esi
movq %r15, 0xb8(%rsp)
movq %r14, %rdi
movl $0x2d, %edx
callq 0x2290
movq 0xb8(%rsp), %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x6282
movl $0x15, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1a65(%rip), %rcx      # 0x72df
callq 0x2270
movq %r13, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x58a2
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x58aa
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x1a27(%rip), %rsi      # 0x72f5
callq 0x23b0
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x58fb
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5901
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8(%rsp), %rdi
callq 0x2638
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x593f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x5956
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5973
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
incl %ebp
movl $0x4, %r12d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x59ad
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x59b3
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x59b6
movl %eax, %ecx
imulq %rbx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x597d
addl $-0x3, %r12d
jmp 0x59b6
addl $-0x2, %r12d
jmp 0x59b6
decl %r12d
movl %r12d, %esi
movq %r15, 0xb8(%rsp)
movq %r14, %rdi
movl $0x2d, %edx
callq 0x2290
movq 0xb8(%rsp), %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x6282
movl $0x11, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1921(%rip), %rcx      # 0x7315
callq 0x2270
movq %r13, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a1c
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x5a24
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x166b(%rip), %rsi      # 0x70b3
callq 0x23b0
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a75
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5a7b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5ab9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x5ad0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5aed
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
movl %ebp, %eax
rolw $0x8, %ax
movw %ax, 0x122(%rsp)
movl 0x54(%rsp), %edi
leaq 0x120(%rsp), %rsi
movl $0x10, %edx
callq 0x2050
testl %eax, %eax
jne 0x57fb
jmp 0x51df
jmp 0x5c78
jmp 0x5daf
movq %rax, %rbx
movq 0x130(%rsp), %rdi
cmpq %r13, %rdi
je 0x5db2
movq 0x140(%rsp), %rsi
jmp 0x5c8e
jmp 0x5daf
movq %rax, %rbx
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
je 0x5db2
movq 0x160(%rsp), %rsi
jmp 0x5c8e
jmp 0x5daf
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x5db2
movq 0x108(%rsp), %rsi
jmp 0x5c8e
jmp 0x5daf
movq %rax, %rbx
movq 0x170(%rsp), %rdi
cmpq %r15, %rdi
je 0x5db2
movq 0x180(%rsp), %rsi
jmp 0x5c8e
jmp 0x5daf
movq %rax, %rbx
movq 0x190(%rsp), %rdi
cmpq %r14, %rdi
je 0x5db2
movq 0x1a0(%rsp), %rsi
jmp 0x5c8e
jmp 0x5daf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5c12
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5c12
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x5c33
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5c33
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x5db2
movq 0xc8(%rsp), %rsi
jmp 0x5c8e
jmp 0x5daf
cmpq $0x0, 0x8(%rsp)
je 0x5daf
callq 0x2080
jmp 0x5daf
jmp 0x5c78
jmp 0x5daf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5db2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5db2
jmp 0x5daf
jmp 0x5daf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5cc4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
leaq 0xa8(%rsp), %r15
leaq 0x40(%rsp), %r14
jmp 0x5ce3
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
jne 0x5da6
jmp 0x5e00
jmp 0x5dfd
jmp 0x5d06
jmp 0x5d27
jmp 0x5d43
jmp 0x5daf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5d2a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5d2a
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x5d46
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5d46
movq %rax, %rbx
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5dbf
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5dbf
jmp 0x5daf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5d98
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5d98
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5e00
movq 0x40(%rsp), %rsi
jmp 0x5df1
jmp 0x5dcb
movq %rax, %rbx
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
leaq 0xa8(%rsp), %r15
jmp 0x5e00
jmp 0x5dfd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x5dec
jmp 0x5e00
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5e00
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5e00
jmp 0x5dfd
movq %rax, %rbx
leaq 0x1b0(%rsp), %rdi
callq 0x5f3a
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x5e2a
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2230
leaq 0x1d0(%rsp), %rdi
callq 0x61cc
movq 0x4192(%rip), %rax      # 0x9fd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x220(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x218(%rsp,%rcx)
callq 0x21b0
leaq 0x310(%rsp), %rdi
callq 0x20d0
jmp 0x5e74
movq %rax, %rbx
leaq 0x1f0(%rsp), %rdi
callq 0x5f3a
jmp 0x5e86
movq %rax, %rbx
movq 0x98(%rsp), %rdi
cmpq %r15, %rdi
je 0x5ea3
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x5ebd
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x58(%rsp), %rdi
cmpq %r12, %rdi
je 0x5ef3
movq 0x68(%rsp), %rsi
jmp 0x5ee6
movq %rax, %rbx
movq 0x218(%rsp), %rdi
cmpq %r14, %rdi
je 0x5ef3
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5ef3
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2370
nop