// File: /workspace/github_cpp_makefile_star2_O1/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 0x23fa(%rip), %rsi      # 0x728c
leaq 0x23f8(%rip), %rdx      # 0x7291
leaq 0x218(%rsp), %rdi
callq 0x62ae
leaq 0x218(%rsp), %rdi
callq 0x252c
movq 0x218(%rsp), %rdi
cmpq %r14, %rdi
je 0x4ed0
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 0x61a6
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x22b0
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x4f71
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 0x5016
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2297(%rip), %rsi      # 0x7292
leaq 0x22a7(%rip), %rdx      # 0x72a9
leaq 0x8(%rsp), %rdi
callq 0x62ae
leaq 0x8(%rsp), %rdi
callq 0x25a2
movl %eax, %ebx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2282(%rip), %rsi      # 0x72aa
leaq 0x228f(%rip), %rdx      # 0x72be
leaq 0x8(%rsp), %rdi
callq 0x62ae
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x505f
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 0x50ce
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x2223(%rip), %rsi      # 0x72bf
leaq 0x223b(%rip), %rdx      # 0x72de
callq 0x62ae
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x50ce
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 0x56f5
leaq 0x30(%rsp), %rdi
movl %ebp, %esi
callq 0x5fa1
leaq 0x2221(%rip), %rsi      # 0x7327
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rdx
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
leaq 0xa8(%rsp), %r15
callq 0x5f31
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5150
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x40(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
movl 0x54(%rsp), %ebx
je 0x516f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movl %ebx, %edi
movl $0x63, %esi
callq 0x2260
leaq 0x30(%rsp), %rdi
movl %ebp, %esi
callq 0x5fa1
leaq 0x21b4(%rip), %rsi      # 0x7342
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x5f31
leaq 0x8(%rsp), %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x51c3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x51df
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 0x2151(%rip), %rsi      # 0x7355
leaq 0x215f(%rip), %rdx      # 0x736a
callq 0x62ae
movq %r13, %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x522f
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 0x526c
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xe8(%rsp)
jmp 0x527e
leaq 0xe0(%rsp), %rdi
leaq 0x2c(%rsp), %rdx
callq 0x65fa
movq %r14, 0x8(%rsp)
movq %r13, %rdi
leaq 0x1e15(%rip), %rdx      # 0x70a2
movq %rdx, %rsi
callq 0x62ae
leaq 0x1b0(%rsp), %rdi
movq %r13, %rsi
callq 0x6736
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x52bc
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 -0x21e3(%rip), %rsi     # 0x3100
leaq 0x2c(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0xb8(%rsp), %r8
callq 0x6044
movq %r12, %r15
leaq 0x1d0(%rsp), %rdi
movq %r13, %rsi
callq 0x696a
cmpq $0x0, 0x8(%rsp)
jne 0x5b7b
movl 0x2c(%rsp), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x5374
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x536d
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x5372
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x5374
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 0x533a
addl $-0x3, %ebp
jmp 0x5374
addl $-0x2, %ebp
jmp 0x5374
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 0x61a6
movl $0xa, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1fa3(%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 0x53f9
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x5400
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 0x1f4f(%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 0x545c
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5462
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 0x29d3
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x54a8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x54bf
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
leaq 0x1a0(%rsp), %r14
je 0x54ec
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r14, 0x190(%rsp)
movq %r15, %rdi
leaq 0x1e84(%rip), %rsi      # 0x7382
leaq 0x1eb2(%rip), %rdx      # 0x73b7
callq 0x62ae
movq %r15, %rdi
leaq 0x180(%rsp), %r15
leaq 0x140(%rsp), %r13
movl 0x2c(%rsp), %esi
movl $0x1, %edx
callq 0x2960
movq 0x190(%rsp), %rdi
cmpq %r14, %rdi
je 0x5548
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r15, 0x170(%rsp)
leaq 0x170(%rsp), %rbx
movq %rbx, %rdi
leaq 0x1e56(%rip), %rsi      # 0x73b8
leaq 0x1e7d(%rip), %rdx      # 0x73e6
callq 0x62ae
leaq 0x18(%rsp), %r14
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2960
movq 0x170(%rsp), %rdi
cmpq %r15, %rdi
leaq 0xf8(%rsp), %rbx
je 0x55a9
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x108(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq %rbx, %rdi
leaq 0x1e24(%rip), %rsi      # 0x73e7
leaq 0x1e50(%rip), %rdx      # 0x741a
callq 0x62ae
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2960
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
leaq 0x150(%rsp), %rbx
je 0x560d
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r12, 0x150(%rsp)
movq %rbx, %rdi
leaq 0x1dfc(%rip), %rsi      # 0x741b
leaq 0x1e27(%rip), %rdx      # 0x744d
callq 0x62ae
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2960
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x130(%rsp), %rbx
je 0x5661
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r13, 0x130(%rsp)
movq %rbx, %rdi
leaq 0x1ddb(%rip), %rsi      # 0x744e
leaq 0x1dff(%rip), %rdx      # 0x7479
callq 0x62ae
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2960
movq 0x130(%rsp), %rdi
cmpq %r13, %rdi
je 0x56ad
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r14, 0x8(%rsp)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
leaq 0x1db9(%rip), %rsi      # 0x747a
leaq 0x1db7(%rip), %rdx      # 0x747f
callq 0x62ae
movq %r13, %rdi
callq 0x25d6
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x51f5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x51f5
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 0x5747
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x574d
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x5750
movl %eax, %ecx
imulq %rbx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x5717
addl $-0x3, %r12d
jmp 0x5750
addl $-0x2, %r12d
jmp 0x5750
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 0x61a6
movl $0x15, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1b51(%rip), %rcx      # 0x72df
callq 0x2270
movq %r13, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x57b6
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x57be
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 0x1b13(%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 0x580f
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5815
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 0x5853
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x586a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5887
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
incl %ebp
movl $0x4, %r12d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x58c1
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x58c7
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x58ca
movl %eax, %ecx
imulq %rbx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x5891
addl $-0x3, %r12d
jmp 0x58ca
addl $-0x2, %r12d
jmp 0x58ca
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 0x61a6
movl $0x11, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x1a0d(%rip), %rcx      # 0x7315
callq 0x2270
movq %r13, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5930
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x5938
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 0x1757(%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 0x5989
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x598f
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 0x59cd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x59e4
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5a01
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 0x570f
jmp 0x50f3
jmp 0x5b8c
jmp 0x5cc3
movq %rax, %rbx
movq 0x130(%rsp), %rdi
cmpq %r13, %rdi
je 0x5cc6
movq 0x140(%rsp), %rsi
jmp 0x5ba2
jmp 0x5cc3
movq %rax, %rbx
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
je 0x5cc6
movq 0x160(%rsp), %rsi
jmp 0x5ba2
jmp 0x5cc3
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x5cc6
movq 0x108(%rsp), %rsi
jmp 0x5ba2
jmp 0x5cc3
movq %rax, %rbx
movq 0x170(%rsp), %rdi
cmpq %r15, %rdi
je 0x5cc6
movq 0x180(%rsp), %rsi
jmp 0x5ba2
jmp 0x5cc3
movq %rax, %rbx
movq 0x190(%rsp), %rdi
cmpq %r14, %rdi
je 0x5cc6
movq 0x1a0(%rsp), %rsi
jmp 0x5ba2
jmp 0x5cc3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5b26
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5b26
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x5b47
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5b47
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x5cc6
movq 0xc8(%rsp), %rsi
jmp 0x5ba2
jmp 0x5cc3
cmpq $0x0, 0x8(%rsp)
je 0x5cc3
callq 0x2080
jmp 0x5cc3
jmp 0x5b8c
jmp 0x5cc3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5cc6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5cc6
jmp 0x5cc3
jmp 0x5cc3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5bd8
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 0x5bf7
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
jne 0x5cba
jmp 0x5d14
jmp 0x5d11
jmp 0x5c1a
jmp 0x5c3b
jmp 0x5c57
jmp 0x5cc3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5c3e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5c3e
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x5c5a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5c5a
movq %rax, %rbx
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5cd3
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5cd3
jmp 0x5cc3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5cac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5cac
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5d14
movq 0x40(%rsp), %rsi
jmp 0x5d05
jmp 0x5cdf
movq %rax, %rbx
leaq 0x68(%rsp), %r12
leaq 0x88(%rsp), %r13
leaq 0xa8(%rsp), %r15
jmp 0x5d14
jmp 0x5d11
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x5d00
jmp 0x5d14
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5d14
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5d14
jmp 0x5d11
movq %rax, %rbx
leaq 0x1b0(%rsp), %rdi
callq 0x5e4e
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x5d3e
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2230
leaq 0x1d0(%rsp), %rdi
callq 0x60f0
movq 0x427e(%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 0x5d88
movq %rax, %rbx
leaq 0x1f0(%rsp), %rdi
callq 0x5e4e
jmp 0x5d9a
movq %rax, %rbx
movq 0x98(%rsp), %rdi
cmpq %r15, %rdi
je 0x5db7
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x5dd1
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x58(%rsp), %rdi
cmpq %r12, %rdi
je 0x5e07
movq 0x68(%rsp), %rsi
jmp 0x5dfa
movq %rax, %rbx
movq 0x218(%rsp), %rdi
cmpq %r14, %rdi
je 0x5e07
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5e07
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2370
nop