// File: /workspace/github_cpp_makefile_star2_O1/joao18araujo[P]pierluigi/src/counterpoint.cpp
// Function: Counterpoint::generate_first_species_counterpoint(Song&, bool)
vector<Note> Counterpoint::generate_first_species_counterpoint(Song & c_song, bool ascendant){
  song = &c_song;
  vector <Note> counterpoint;
  vector<Interval> consonant_intervals {Interval("P1", ascendant), Interval("P8", ascendant), Interval("P5", ascendant), Interval("m3", ascendant), Interval("M3", ascendant), Interval("m6", ascendant), Interval("M6", ascendant), Interval("m10", ascendant), Interval("M10", ascendant)};
  vector<Interval> perfect_consonant_intervals {Interval("P1", ascendant), Interval("P8", ascendant), Interval("P5", ascendant)};
  vector<Interval> imperfect_consonant_intervals { Interval("m3", ascendant), Interval("M3", ascendant), Interval("m6", ascendant), Interval("M6", ascendant), Interval("m10", ascendant), Interval("M10", ascendant)};

  vector<Interval> possible_intervals;

  srand(clock());

  int count_imperfects = 0;

  Interval current_interval, previous_interval, interval;
  Interval melodic_cantus_interval, melodic_counterpoint_interval;
  Note previous_note;
  Note counterpoint_note;
  Note previous_counterpoint_note;

  int times_not_reversed = 0;
  for(unsigned i = 0; i < song->size(); ++i){
    possible_intervals.clear();
    auto note = song->notes[i];

    melodic_cantus_interval = Interval(previous_note, note);
    bool reverse_movement = true;

    begin:
    bool melodic_ascendant = melodic_cantus_interval.ascendant();
    if(reverse_movement) melodic_ascendant = !melodic_ascendant;

    string previous = previous_interval.description();
    if(i == 0 || i == song->size() - 1){
      interval = Interval("P1", ascendant);
      counterpoint_note = Interval::interval_to_note(note, interval);
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("P1", ascendant), nullptr);
    }else if(count_imperfects < 4){
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("m3", ascendant), nullptr);
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("M3", ascendant), nullptr);
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("m6", ascendant), nullptr);
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("M6", ascendant), nullptr);
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("m10", ascendant), nullptr);
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("M10", ascendant), nullptr);
    }

    if(previous != "P5" && previous != "P8"){
      analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("P8", ascendant), nullptr);
      if(ascendant)
        analyse_and_add_interval(reverse_movement, melodic_ascendant, possible_intervals, previous_counterpoint_note, note, Interval("P5", ascendant), nullptr);
    }

    if(possible_intervals.empty() && reverse_movement && times_not_reversed++ < 3){
      reverse_movement = false;
      goto begin;
    }

    if(possible_intervals.empty()) return vector<Note>();
    int index = rand() % possible_intervals.size();

    current_interval = possible_intervals[index];
    counterpoint_note = Interval::interval_to_note(note, current_interval);
    if(note.valid) counterpoint.push_back(counterpoint_note);

    string interval_qualitative = current_interval.qualitative;
    if(interval_qualitative == "M" || interval_qualitative == "m")
      count_imperfects++;
    else
      count_imperfects = 0;

    previous_interval = current_interval;
    previous_note = note;
    previous_counterpoint_note = counterpoint_note;
  }

  return counterpoint;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x11e8, %rsp           # imm = 0x11E8
movl %edx, %r12d
movq %rdi, 0x88(%rsp)
movq %rsi, 0x9c0a529(%rip)   # 0x9c124a8
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movq $0x0, 0xb0(%rsp)
leaq 0x5e8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x33077(%rip), %rsi     # 0x3b020
leaq 0x33072(%rip), %rdx     # 0x3b022
leaq 0x5d8(%rsp), %rdi
callq 0xb62c
movzbl %r12b, %edx
leaq 0x8a8(%rsp), %r15
leaq 0x5d8(%rsp), %rsi
movq %r15, %rdi
movl %edx, 0x8(%rsp)
callq 0x14f5c
leaq 0x8d8(%rsp), %r15
leaq 0x370(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3302b(%rip), %rsi     # 0x3b023
leaq 0x33026(%rip), %rdx     # 0x3b025
leaq 0x360(%rsp), %rdi
callq 0xb62c
leaq 0x360(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x908(%rsp), %r15
leaq 0x350(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x32feb(%rip), %rsi     # 0x3b026
leaq 0x32fe6(%rip), %rdx     # 0x3b028
leaq 0x340(%rsp), %rdi
callq 0xb62c
leaq 0x340(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x938(%rsp), %r15
leaq 0x5c8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x32fab(%rip), %rsi     # 0x3b029
leaq 0x32fa6(%rip), %rdx     # 0x3b02b
leaq 0x5b8(%rsp), %rdi
callq 0xb62c
leaq 0x5b8(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x968(%rsp), %r15
leaq 0x330(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x32f6b(%rip), %rsi     # 0x3b02c
leaq 0x32f66(%rip), %rdx     # 0x3b02e
leaq 0x320(%rsp), %rdi
callq 0xb62c
leaq 0x320(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x998(%rsp), %r15
leaq 0x310(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x32f2b(%rip), %rsi     # 0x3b02f
leaq 0x32f26(%rip), %rdx     # 0x3b031
leaq 0x300(%rsp), %rdi
callq 0xb62c
leaq 0x300(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x9c8(%rsp), %r15
leaq 0x2f0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x32eeb(%rip), %rsi     # 0x3b032
leaq 0x32ee6(%rip), %rdx     # 0x3b034
leaq 0x2e0(%rsp), %rdi
callq 0xb62c
leaq 0x2e0(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x9f8(%rsp), %r15
leaq 0x5a8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x32eab(%rip), %rsi     # 0x3b035
leaq 0x32ea7(%rip), %rdx     # 0x3b038
leaq 0x598(%rsp), %rdi
callq 0xb62c
leaq 0x598(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0xa28(%rsp), %r15
leaq 0x588(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x32e6c(%rip), %rsi     # 0x3b039
leaq 0x32e68(%rip), %rdx     # 0x3b03c
leaq 0x578(%rsp), %rdi
callq 0xb62c
leaq 0x578(%rsp), %rsi
movq %r15, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl %r12d, 0x9c(%rsp)
leaq 0x890(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
leaq 0x3b0(%rsp), %rcx
movl $0x9, %edx
callq 0xb0ca
movq $-0x1b0, %r15           # imm = 0xFE50
leaq 0xa40(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x8244
movq (%r12), %rsi
incq %rsi
callq 0x5360
addq $-0x30, %r12
addq $0x30, %r15
jne 0x822e
movq 0x578(%rsp), %rdi
cmpq %rbp, %rdi
je 0x826b
movq 0x588(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x598(%rsp), %rdi
cmpq %r13, %rdi
leaq 0x370(%rsp), %r15
leaq 0x350(%rsp), %r12
leaq 0x330(%rsp), %r13
leaq 0x310(%rsp), %rbp
je 0x82a8
movq 0x5a8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x2e0(%rsp), %rdi
leaq 0x2f0(%rsp), %rax
cmpq %rax, %rdi
je 0x82cd
movq 0x2f0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x300(%rsp), %rdi
cmpq %rbp, %rdi
je 0x82ea
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x320(%rsp), %rdi
cmpq %r13, %rdi
je 0x8307
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x5b8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x8324
movq 0x5c8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x340(%rsp), %rdi
cmpq %r12, %rdi
je 0x8341
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x360(%rsp), %rdi
cmpq %r15, %rdi
je 0x835e
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x5d8(%rsp), %rdi
cmpq %r14, %rdi
je 0x837b
movq 0x5e8(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x568(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x32c92(%rip), %rsi     # 0x3b020
leaq 0x32c8d(%rip), %rdx     # 0x3b022
leaq 0x558(%rsp), %rdi
callq 0xb62c
leaq 0x8a8(%rsp), %r13
leaq 0x558(%rsp), %rsi
movq %r13, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x8d8(%rsp), %r13
leaq 0x548(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x32c4a(%rip), %rsi     # 0x3b023
leaq 0x32c45(%rip), %rdx     # 0x3b025
leaq 0x538(%rsp), %rdi
callq 0xb62c
leaq 0x538(%rsp), %rsi
movq %r13, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x908(%rsp), %r13
leaq 0x528(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x32c09(%rip), %rsi     # 0x3b026
leaq 0x32c04(%rip), %rdx     # 0x3b028
leaq 0x518(%rsp), %rdi
callq 0xb62c
leaq 0x518(%rsp), %rsi
movq %r13, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x878(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
leaq 0x3b0(%rsp), %rcx
movl $0x3, %edx
callq 0xb0ca
movq $-0x90, %r13
leaq 0x920(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0x848b
movq (%rbp), %rsi
incq %rsi
callq 0x5360
addq $-0x30, %rbp
addq $0x30, %r13
jne 0x8476
movq 0x518(%rsp), %rdi
cmpq %r12, %rdi
je 0x84b2
movq 0x528(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x538(%rsp), %rdi
cmpq %r15, %rdi
je 0x84cf
movq 0x548(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x558(%rsp), %rdi
cmpq %rbx, %rdi
je 0x84ec
movq 0x568(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x508(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x32b2a(%rip), %rsi     # 0x3b029
leaq 0x32b25(%rip), %rdx     # 0x3b02b
leaq 0x4f8(%rsp), %rdi
callq 0xb62c
leaq 0x8a8(%rsp), %r12
leaq 0x4f8(%rsp), %rsi
movq %r12, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x8d8(%rsp), %r12
leaq 0x4e8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x32ae2(%rip), %rsi     # 0x3b02c
leaq 0x32add(%rip), %rdx     # 0x3b02e
leaq 0x4d8(%rsp), %rdi
callq 0xb62c
leaq 0x4d8(%rsp), %rsi
movq %r12, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x908(%rsp), %r12
leaq 0x2d0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x32aa2(%rip), %rsi     # 0x3b02f
leaq 0x32a9d(%rip), %rdx     # 0x3b031
leaq 0x2c0(%rsp), %rdi
callq 0xb62c
leaq 0x2c0(%rsp), %rsi
movq %r12, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x938(%rsp), %r12
leaq 0x2b0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x32a62(%rip), %rsi     # 0x3b032
leaq 0x32a5d(%rip), %rdx     # 0x3b034
leaq 0x2a0(%rsp), %rdi
callq 0xb62c
leaq 0x2a0(%rsp), %rsi
movq %r12, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x968(%rsp), %r12
leaq 0x4c8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x32a22(%rip), %rsi     # 0x3b035
leaq 0x32a1e(%rip), %rdx     # 0x3b038
leaq 0x4b8(%rsp), %rdi
callq 0xb62c
leaq 0x4b8(%rsp), %rsi
movq %r12, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x998(%rsp), %r12
leaq 0x4a8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x329e3(%rip), %rsi     # 0x3b039
leaq 0x329df(%rip), %rdx     # 0x3b03c
leaq 0x498(%rsp), %rdi
callq 0xb62c
leaq 0x498(%rsp), %rsi
movq %r12, %rdi
movl 0x8(%rsp), %edx
callq 0x14f5c
leaq 0x860(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
leaq 0x3b0(%rsp), %rcx
movl $0x6, %edx
callq 0xb0ca
movq $-0x120, %r12           # imm = 0xFEE0
leaq 0x9b0(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0x86c4
movq (%rbp), %rsi
incq %rsi
callq 0x5360
addq $-0x30, %rbp
addq $0x30, %r12
jne 0x86af
movq 0x498(%rsp), %rdi
cmpq %r13, %rdi
je 0x86eb
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x4b8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x8708
movq 0x4c8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x2a0(%rsp), %rdi
leaq 0x2b0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x2d0(%rsp), %rbx
je 0x8735
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x2c0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x8752
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x4d8(%rsp), %rdi
cmpq %r15, %rdi
je 0x876f
movq 0x4e8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x4f8(%rsp), %rdi
cmpq %r14, %rdi
je 0x878c
movq 0x508(%rsp), %rsi
incq %rsi
callq 0x5360
xorl %ebx, %ebx
movq %rbx, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
callq 0x5240
movl %eax, %edi
callq 0x5310
leaq 0xd0(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
leaq 0x480(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
leaq 0x398(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
leaq 0x668(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
leaq 0x848(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, -0x8(%rax)
movb %bl, (%rax)
leaq 0x8a8(%rsp), %rdi
callq 0x1aa88
leaq 0x3b0(%rsp), %rdi
callq 0x1aa88
leaq 0x5f8(%rsp), %rdi
callq 0x1aa88
movq $0x0, 0x28(%rsp)
movl $0x0, 0xc(%rsp)
movq $0x0, 0x90(%rsp)
movq 0x9c09c5c(%rip), %rdi   # 0x9c124a8
callq 0x24288
movl %eax, %eax
cmpq %rax, 0x28(%rsp)
jae 0x9e2c
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
cmpq %rbx, %r12
je 0x889b
leaq 0x18(%rbx), %r13
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x8886
movq (%r13), %rsi
incq %rsi
callq 0x5360
leaq 0x30(%r13), %rax
addq $0x18, %r13
cmpq %r12, %r13
movq %rax, %r13
jne 0x8871
movq %rbx, 0x18(%rsp)
movq 0x9c09c06(%rip), %rax   # 0x9c124a8
imulq $0x58, 0x28(%rsp), %rsi
addq (%rax), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x1a9c6
leaq 0x1088(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
callq 0x1a9c6
leaq 0x1190(%rsp), %rbx
movq %rbx, %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x30(%rsp), %rdi
leaq 0x1088(%rsp), %rsi
movq %rbx, %rdx
callq 0x15216
movl 0x30(%rsp), %eax
movl %eax, 0x650(%rsp)
leaq 0x658(%rsp), %rbx
movq %rbx, %rdi
leaq 0x38(%rsp), %r12
movq %r12, %rsi
callq 0x5420
movzwl 0x24(%r12), %eax
movw %ax, 0x24(%rbx)
movl 0x20(%r12), %eax
movl %eax, 0x20(%rbx)
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x894b
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x11b8(%rsp), %rdi
leaq 0x11c8(%rsp), %rax
cmpq %rax, %rdi
je 0x8970
movq 0x11c8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1198(%rsp), %rdi
leaq 0x11a8(%rsp), %rax
cmpq %rax, %rdi
je 0x8995
movq 0x11a8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x10b0(%rsp), %rdi
leaq 0x10c0(%rsp), %rax
cmpq %rax, %rdi
je 0x89ba
movq 0x10c0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1090(%rsp), %rdi
leaq 0x10a0(%rsp), %rax
cmpq %rax, %rdi
je 0x89df
movq 0x10a0(%rsp), %rsi
incq %rsi
callq 0x5360
movb $0x1, %bpl
leaq 0x650(%rsp), %rdi
callq 0x15b78
movl %eax, %ebx
leaq 0x280(%rsp), %rdi
leaq 0x468(%rsp), %rsi
callq 0x1539c
xorb %bpl, %bl
cmpq $0x0, 0x28(%rsp)
je 0x8a2a
movq 0x9c09a90(%rip), %rdi   # 0x9c124a8
callq 0x24288
decl %eax
cmpq %rax, 0x28(%rsp)
jne 0x8ddd
leaq 0x270(%rsp), %rax
movq %rax, 0x260(%rsp)
leaq 0x260(%rsp), %r12
movq %r12, %rdi
leaq 0x325d4(%rip), %rsi     # 0x3b020
leaq 0x325cf(%rip), %rdx     # 0x3b022
callq 0xb62c
leaq 0x30(%rsp), %rdi
movq %r12, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl 0x30(%rsp), %eax
movl %eax, 0x380(%rsp)
leaq 0x388(%rsp), %r12
movq %r12, %rdi
leaq 0x38(%rsp), %rsi
callq 0x5420
leaq 0x38(%rsp), %rcx
movzwl 0x24(%rcx), %eax
movw %ax, 0x24(%r12)
movl 0x20(%rcx), %eax
movl %eax, 0x20(%r12)
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x8abc
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x8ae1
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x1030(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
movl 0x380(%rsp), %eax
movl %eax, 0x438(%rsp)
leaq 0x450(%rsp), %rax
movq %rax, 0x440(%rsp)
movq 0x388(%rsp), %rsi
movq 0x390(%rsp), %rdx
addq %rsi, %rdx
leaq 0x440(%rsp), %r12
movq %r12, %rdi
callq 0xb544
leaq 0x388(%rsp), %rcx
movzwl 0x24(%rcx), %eax
movw %ax, 0x24(%r12)
movl 0x20(%rcx), %eax
movl %eax, 0x20(%r12)
leaq 0x30(%rsp), %rdi
leaq 0x1030(%rsp), %rsi
leaq 0x438(%rsp), %rdx
callq 0x15a46
movq 0x30(%rsp), %rax
movq %rax, 0x3b0(%rsp)
leaq 0x3b8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x51e0
leaq 0x3d8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x51e0
leaq 0x38(%rsp), %rcx
movq 0x40(%rcx), %rax
movq 0x46(%rcx), %rcx
leaq 0x3f8(%rsp), %rdx
movq %rcx, 0x6(%rdx)
movq %rax, (%rdx)
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x8bd4
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x8bf0
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x440(%rsp), %rdi
leaq 0x450(%rsp), %rax
cmpq %rax, %rdi
je 0x8c15
movq 0x450(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1058(%rsp), %rdi
leaq 0x1068(%rsp), %rax
cmpq %rax, %rdi
je 0x8c3a
movq 0x1068(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1038(%rsp), %rdi
leaq 0x1048(%rsp), %rax
cmpq %rax, %rdi
je 0x8c5f
movq 0x1048(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x1138(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xfd8(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x250(%rsp), %rax
movq %rax, 0x240(%rsp)
leaq 0x240(%rsp), %r12
movq %r12, %rdi
leaq 0x32375(%rip), %rsi     # 0x3b020
leaq 0x32370(%rip), %rdx     # 0x3b022
callq 0xb62c
leaq 0x800(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movzbl %bpl, %edi
andl $0x1, %edi
movzbl %bl, %esi
andl $0x1, %esi
leaq 0x10(%rsp), %rdx
leaq 0x1138(%rsp), %rcx
leaq 0xfd8(%rsp), %r8
movq %r13, %r9
callq 0xabbc
movq 0x808(%rsp), %rdi
leaq 0x818(%rsp), %rax
cmpq %rax, %rdi
je 0x8d1d
movq 0x818(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x8d42
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1000(%rsp), %rdi
leaq 0x1010(%rsp), %rax
cmpq %rax, %rdi
je 0x8d67
movq 0x1010(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xfe0(%rsp), %rdi
leaq 0xff0(%rsp), %rax
cmpq %rax, %rdi
je 0x8d8c
movq 0xff0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1160(%rsp), %rdi
leaq 0x1170(%rsp), %rax
cmpq %rax, %rdi
je 0x8db1
movq 0x1170(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1140(%rsp), %rdi
leaq 0x1150(%rsp), %rcx
movq %rcx, %rax
cmpq %rcx, %rdi
je 0x9688
movq (%rax), %rsi
incq %rsi
callq 0x5360
jmp 0x9688
cmpl $0x3, 0xc(%rsp)
jg 0x9688
leaq 0xf80(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xf28(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x230(%rsp), %rax
movq %rax, 0x220(%rsp)
leaq 0x220(%rsp), %r14
movq %r14, %rdi
leaq 0x321f5(%rip), %rsi     # 0x3b029
leaq 0x321f0(%rip), %rdx     # 0x3b02b
callq 0xb62c
leaq 0x7d0(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movzbl %bpl, %r13d
andl $0x1, %r13d
movzbl %bl, %r12d
andl $0x1, %r12d
movl %r13d, %edi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
leaq 0xf80(%rsp), %rcx
leaq 0xf28(%rsp), %r8
movq %r15, %r9
callq 0xabbc
movq 0x7d8(%rsp), %rdi
leaq 0x7e8(%rsp), %rax
cmpq %rax, %rdi
je 0x8eaf
movq 0x7e8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x8ed4
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xf50(%rsp), %rdi
leaq 0xf60(%rsp), %rax
cmpq %rax, %rdi
je 0x8ef9
movq 0xf60(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xf30(%rsp), %rdi
leaq 0xf40(%rsp), %rax
cmpq %rax, %rdi
je 0x8f1e
movq 0xf40(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xfa8(%rsp), %rdi
leaq 0xfb8(%rsp), %rax
cmpq %rax, %rdi
je 0x8f43
movq 0xfb8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xf88(%rsp), %rdi
leaq 0xf98(%rsp), %rax
cmpq %rax, %rdi
je 0x8f68
movq 0xf98(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xed0(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xe78(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x210(%rsp), %rax
movq %rax, 0x200(%rsp)
leaq 0x200(%rsp), %r14
movq %r14, %rdi
leaq 0x32078(%rip), %rsi     # 0x3b02c
leaq 0x32073(%rip), %rdx     # 0x3b02e
callq 0xb62c
leaq 0x7a0(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl %r13d, %edi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
leaq 0xed0(%rsp), %rcx
leaq 0xe78(%rsp), %r8
movq %r15, %r9
callq 0xabbc
movq 0x7a8(%rsp), %rdi
leaq 0x7b8(%rsp), %rax
cmpq %rax, %rdi
je 0x901f
movq 0x7b8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x9044
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xea0(%rsp), %rdi
leaq 0xeb0(%rsp), %rax
cmpq %rax, %rdi
je 0x9069
movq 0xeb0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xe80(%rsp), %rdi
leaq 0xe90(%rsp), %rax
cmpq %rax, %rdi
je 0x908e
movq 0xe90(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xef8(%rsp), %rdi
leaq 0xf08(%rsp), %rax
cmpq %rax, %rdi
je 0x90b3
movq 0xf08(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xed8(%rsp), %rdi
leaq 0xee8(%rsp), %rax
cmpq %rax, %rdi
je 0x90d8
movq 0xee8(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xe20(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xdc8(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x1f0(%rsp), %rax
movq %rax, 0x1e0(%rsp)
leaq 0x1e0(%rsp), %r14
movq %r14, %rdi
leaq 0x31f0b(%rip), %rsi     # 0x3b02f
leaq 0x31f06(%rip), %rdx     # 0x3b031
callq 0xb62c
leaq 0x770(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl %r13d, %edi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
leaq 0xe20(%rsp), %rcx
leaq 0xdc8(%rsp), %r8
movq %r15, %r9
callq 0xabbc
movq 0x778(%rsp), %rdi
leaq 0x788(%rsp), %rax
cmpq %rax, %rdi
je 0x918f
movq 0x788(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x91b4
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xdf0(%rsp), %rdi
leaq 0xe00(%rsp), %rax
cmpq %rax, %rdi
je 0x91d9
movq 0xe00(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xdd0(%rsp), %rdi
leaq 0xde0(%rsp), %rax
cmpq %rax, %rdi
je 0x91fe
movq 0xde0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xe48(%rsp), %rdi
leaq 0xe58(%rsp), %rax
cmpq %rax, %rdi
je 0x9223
movq 0xe58(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xe28(%rsp), %rdi
leaq 0xe38(%rsp), %rax
cmpq %rax, %rdi
je 0x9248
movq 0xe38(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xd70(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xd18(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x1d0(%rsp), %rax
movq %rax, 0x1c0(%rsp)
leaq 0x1c0(%rsp), %r14
movq %r14, %rdi
leaq 0x31d9e(%rip), %rsi     # 0x3b032
leaq 0x31d99(%rip), %rdx     # 0x3b034
callq 0xb62c
leaq 0x740(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl %r13d, %edi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
leaq 0xd70(%rsp), %rcx
leaq 0xd18(%rsp), %r8
movq %r15, %r9
callq 0xabbc
movq 0x748(%rsp), %rdi
leaq 0x758(%rsp), %rax
cmpq %rax, %rdi
je 0x92ff
movq 0x758(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x9324
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xd40(%rsp), %rdi
leaq 0xd50(%rsp), %rax
cmpq %rax, %rdi
je 0x9349
movq 0xd50(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xd20(%rsp), %rdi
leaq 0xd30(%rsp), %rax
cmpq %rax, %rdi
je 0x936e
movq 0xd30(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xd98(%rsp), %rdi
leaq 0xda8(%rsp), %rax
cmpq %rax, %rdi
je 0x9393
movq 0xda8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xd78(%rsp), %rdi
leaq 0xd88(%rsp), %rax
cmpq %rax, %rdi
je 0x93b8
movq 0xd88(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xcc0(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xc68(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x1b0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
leaq 0x1a0(%rsp), %r14
movq %r14, %rdi
leaq 0x31c31(%rip), %rsi     # 0x3b035
leaq 0x31c2d(%rip), %rdx     # 0x3b038
callq 0xb62c
leaq 0x710(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl %r13d, %edi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
leaq 0xcc0(%rsp), %rcx
leaq 0xc68(%rsp), %r8
movq %r15, %r9
callq 0xabbc
movq 0x718(%rsp), %rdi
leaq 0x728(%rsp), %rax
cmpq %rax, %rdi
je 0x946f
movq 0x728(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x9494
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xc90(%rsp), %rdi
leaq 0xca0(%rsp), %rax
cmpq %rax, %rdi
je 0x94b9
movq 0xca0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xc70(%rsp), %rdi
leaq 0xc80(%rsp), %rax
cmpq %rax, %rdi
je 0x94de
movq 0xc80(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xce8(%rsp), %rdi
leaq 0xcf8(%rsp), %rax
cmpq %rax, %rdi
je 0x9503
movq 0xcf8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xcc8(%rsp), %rdi
leaq 0xcd8(%rsp), %rax
cmpq %rax, %rdi
je 0x9528
movq 0xcd8(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x10e0(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xc10(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x190(%rsp), %rax
movq %rax, 0x180(%rsp)
leaq 0x180(%rsp), %r14
movq %r14, %rdi
leaq 0x31ac5(%rip), %rsi     # 0x3b039
leaq 0x31ac1(%rip), %rdx     # 0x3b03c
callq 0xb62c
leaq 0x6e0(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movl %r13d, %edi
movl %r12d, %esi
leaq 0x10(%rsp), %rdx
leaq 0x10e0(%rsp), %rcx
leaq 0xc10(%rsp), %r8
movq %r15, %r9
callq 0xabbc
movq 0x6e8(%rsp), %rdi
leaq 0x6f8(%rsp), %rax
cmpq %rax, %rdi
je 0x95df
movq 0x6f8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x9604
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xc38(%rsp), %rdi
leaq 0xc48(%rsp), %rax
cmpq %rax, %rdi
je 0x9629
movq 0xc48(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xc18(%rsp), %rdi
leaq 0xc28(%rsp), %rax
cmpq %rax, %rdi
je 0x964e
movq 0xc28(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x1108(%rsp), %rdi
leaq 0x1118(%rsp), %rax
cmpq %rax, %rdi
je 0x9673
movq 0x1118(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x10e8(%rsp), %rdi
leaq 0x10f8(%rsp), %rcx
jmp 0x8dc1
leaq 0x280(%rsp), %rdi
leaq 0x3198f(%rip), %rsi     # 0x3b026
callq 0x5100
testl %eax, %eax
je 0x99bb
leaq 0x280(%rsp), %rdi
leaq 0x31970(%rip), %rsi     # 0x3b023
callq 0x5100
testl %eax, %eax
je 0x99bb
leaq 0xbb8(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xb60(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x170(%rsp), %rax
movq %rax, 0x160(%rsp)
leaq 0x160(%rsp), %r12
movq %r12, %rdi
leaq 0x31917(%rip), %rsi     # 0x3b023
leaq 0x31912(%rip), %rdx     # 0x3b025
callq 0xb62c
leaq 0x6b0(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movl 0x8(%rsp), %edx
callq 0x14f5c
movzbl %bpl, %r12d
andl $0x1, %r12d
movzbl %bl, %ebx
andl $0x1, %ebx
movl %r12d, %edi
movl %ebx, %esi
leaq 0x10(%rsp), %rdx
leaq 0xbb8(%rsp), %rcx
leaq 0xb60(%rsp), %r8
movq %r13, %r9
callq 0xabbc
movq 0x6b8(%rsp), %rdi
leaq 0x6c8(%rsp), %rax
cmpq %rax, %rdi
je 0x9784
movq 0x6c8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x97a9
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xb88(%rsp), %rdi
leaq 0xb98(%rsp), %rax
cmpq %rax, %rdi
je 0x97ce
movq 0xb98(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xb68(%rsp), %rdi
leaq 0xb78(%rsp), %rax
cmpq %rax, %rdi
je 0x97f3
movq 0xb78(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xbe0(%rsp), %rdi
leaq 0xbf0(%rsp), %rax
cmpq %rax, %rdi
je 0x9818
movq 0xbf0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xbc0(%rsp), %rdi
leaq 0xbd0(%rsp), %rax
cmpq %rax, %rdi
je 0x983d
movq 0xbd0(%rsp), %rsi
incq %rsi
callq 0x5360
cmpb $0x0, 0x9c(%rsp)
je 0x99bb
leaq 0xb08(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0x1a9c6
leaq 0xab0(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
leaq 0x150(%rsp), %rax
movq %rax, 0x140(%rsp)
leaq 0x140(%rsp), %r13
movq %r13, %rdi
leaq 0x3178f(%rip), %rsi     # 0x3b026
leaq 0x3178a(%rip), %rdx     # 0x3b028
callq 0xb62c
leaq 0x680(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
movl $0x1, %edx
callq 0x14f5c
movl %r12d, %edi
movl %ebx, %esi
leaq 0x10(%rsp), %rdx
leaq 0xb08(%rsp), %rcx
leaq 0xab0(%rsp), %r8
movq %r14, %r9
callq 0xabbc
movq 0x688(%rsp), %rdi
leaq 0x698(%rsp), %rax
cmpq %rax, %rdi
je 0x9902
movq 0x698(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x9927
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xad8(%rsp), %rdi
leaq 0xae8(%rsp), %rax
cmpq %rax, %rdi
je 0x994c
movq 0xae8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xab8(%rsp), %rdi
leaq 0xac8(%rsp), %rax
cmpq %rax, %rdi
je 0x9971
movq 0xac8(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xb30(%rsp), %rdi
leaq 0xb40(%rsp), %rax
cmpq %rax, %rdi
je 0x9996
movq 0xb40(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xb10(%rsp), %rdi
leaq 0xb20(%rsp), %rax
cmpq %rax, %rdi
je 0x99bb
movq 0xb20(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
cmpq %rcx, %rax
sete %dl
andb %bpl, %dl
cmpb $0x1, %dl
jne 0x9a02
movq 0x90(%rsp), %rsi
leal 0x1(%rsi), %edx
cmpl $0x3, %esi
jge 0x99fa
movb $0x1, %r13b
xorl %r12d, %r12d
movl %edx, %eax
movq %rax, 0x90(%rsp)
xorl %ebp, %ebp
jmp 0x9da4
movq %rdx, 0x90(%rsp)
cmpq %rcx, %rax
je 0x9d88
callq 0x50e0
cltq
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %rcx
subq %rbx, %rcx
sarq $0x4, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
xorl %edx, %edx
divq %rcx
movslq %edx, %rax
leaq (%rax,%rax,2), %r12
shlq $0x4, %r12
leaq (%rbx,%r12), %rsi
addq $0x8, %rsi
movl -0x8(%rsi), %eax
movl %eax, 0xb8(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0x51e0
addq %r12, %rbx
movzwl 0x2c(%rbx), %eax
leaq 0xc0(%rsp), %rcx
movw %ax, 0x24(%rcx)
movl 0x28(%rbx), %eax
movl %eax, 0x20(%rcx)
leaq 0xa58(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1a9c6
movl 0xb8(%rsp), %eax
movl %eax, 0x408(%rsp)
leaq 0x420(%rsp), %rax
movq %rax, 0x410(%rsp)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x410(%rsp), %rbx
movq %rbx, %rdi
callq 0xb544
leaq 0xc0(%rsp), %rcx
movzwl 0x24(%rcx), %eax
movw %ax, 0x24(%rbx)
movl 0x20(%rcx), %eax
movl %eax, 0x20(%rbx)
leaq 0x30(%rsp), %rdi
leaq 0xa58(%rsp), %rsi
leaq 0x408(%rsp), %rdx
callq 0x15a46
movq 0x30(%rsp), %rax
movq %rax, 0x3b0(%rsp)
leaq 0x3b8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x51e0
leaq 0x3d8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x51e0
leaq 0x38(%rsp), %rcx
movq 0x40(%rcx), %rax
movq 0x46(%rcx), %rcx
leaq 0x3f8(%rsp), %rdx
movq %rcx, 0x6(%rdx)
movq %rax, (%rdx)
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x9b68
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x9b84
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x410(%rsp), %rdi
leaq 0x420(%rsp), %rax
cmpq %rax, %rdi
je 0x9ba9
movq 0x420(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xa80(%rsp), %rdi
leaq 0xa90(%rsp), %rax
cmpq %rax, %rdi
je 0x9bce
movq 0xa90(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xa60(%rsp), %rdi
leaq 0xa70(%rsp), %rax
cmpq %rax, %rdi
je 0x9bf3
movq 0xa70(%rsp), %rsi
incq %rsi
callq 0x5360
cmpb $0x1, 0x13c(%rsp)
jne 0x9c12
leaq 0xa0(%rsp), %rdi
leaq 0x3b0(%rsp), %rsi
callq 0xb14e
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0xb544
movq %rbx, %rdi
leaq 0x32101(%rip), %rsi     # 0x3bd47
callq 0x5100
testl %eax, %eax
je 0x9c66
leaq 0x30(%rsp), %rdi
leaq 0x3192e(%rip), %rsi     # 0x3b589
callq 0x5100
xorl %ebx, %ebx
testl %eax, %eax
jne 0x9c6c
movl 0xc(%rsp), %ebx
incl %ebx
movl 0xb8(%rsp), %eax
movl %eax, 0x468(%rsp)
leaq 0x470(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x51e0
leaq 0xc0(%rsp), %rcx
movzwl 0x24(%rcx), %eax
leaq 0x470(%rsp), %rdx
movw %ax, 0x24(%rdx)
movl 0x20(%rcx), %eax
movl %eax, 0x20(%rdx)
movq 0xe8(%rsp), %rax
movq %rax, 0x8a8(%rsp)
leaq 0x8b0(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x51e0
leaq 0x8d0(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x51e0
leaq 0xf0(%rsp), %rcx
movq 0x40(%rcx), %rax
movq 0x46(%rcx), %rcx
leaq 0x8b0(%rsp), %rdx
movq %rcx, 0x46(%rdx)
movq %rax, 0x40(%rdx)
movq 0x3b0(%rsp), %rax
movq %rax, 0x5f8(%rsp)
leaq 0x600(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x51e0
leaq 0x620(%rsp), %rdi
leaq 0x3d8(%rsp), %rsi
callq 0x51e0
leaq 0x3f8(%rsp), %rcx
movq (%rcx), %rax
movq 0x6(%rcx), %rcx
leaq 0x600(%rsp), %rdx
movq %rcx, 0x46(%rdx)
movq %rax, 0x40(%rdx)
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x9d7c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5360
movb $0x1, %r12b
xorl %r13d, %r13d
movl %ebx, 0xc(%rsp)
jmp 0x9da4
movq 0x88(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
xorl %r13d, %r13d
xorl %r12d, %r12d
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0x9dc9
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x5360
testb %r13b, %r13b
jne 0x89e2
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x9df7
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x9e1c
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x5360
incq 0x28(%rsp)
testb %r12b, %r12b
jne 0x8845
jmp 0x9e6e
movq 0xa0(%rsp), %rax
movq 0x88(%rsp), %rcx
movq %rax, (%rcx)
movq 0xa8(%rsp), %rax
movq %rax, 0x8(%rcx)
movq 0xb0(%rsp), %rax
movq %rax, 0x10(%rcx)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movq $0x0, 0xb0(%rsp)
leaq 0x630(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e8f
movq 0x630(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x610(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9eb0
movq 0x610(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x3e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ed1
movq 0x3e8(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x3c8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ef2
movq 0x3c8(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x8e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f13
movq 0x8e0(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x8c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f34
movq 0x8c0(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x838(%rsp), %rdi
leaq 0x848(%rsp), %rax
cmpq %rax, %rdi
je 0x9f59
movq 0x848(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x658(%rsp), %rdi
leaq 0x668(%rsp), %rax
cmpq %rax, %rdi
je 0x9f7e
movq 0x668(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x388(%rsp), %rdi
leaq 0x398(%rsp), %rax
cmpq %rax, %rdi
je 0x9fa3
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x470(%rsp), %rdi
leaq 0x480(%rsp), %rax
cmpq %rax, %rdi
je 0x9fc8
movq 0x480(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x9fed
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x10(%rsp), %rdi
callq 0xb17a
leaq 0x860(%rsp), %rdi
callq 0xb17a
leaq 0x878(%rsp), %rdi
callq 0xb17a
leaq 0x890(%rsp), %rdi
callq 0xb17a
leaq 0xa0(%rsp), %rdi
callq 0xb1d6
movq 0x88(%rsp), %rax
addq $0x11e8, %rsp           # imm = 0x11E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xaaa2
movq %rax, %rbx
jmp 0xaaaf
movq %rax, %rbx
jmp 0xaabc
movq %rax, %rbp
leaq 0x9c8(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
callq 0x56f6
movb $0x1, %al
movl %eax, 0x8(%rsp)
jmp 0xa088
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
movq 0x498(%rsp), %rdi
cmpq %r13, %rdi
je 0xa0b4
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa0b4
jmp 0xa0a9
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
movq 0x4b8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa0e0
movq 0x4c8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa0e0
jmp 0xa0d5
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
movq 0x2a0(%rsp), %rdi
leaq 0x2b0(%rsp), %rax
cmpq %rax, %rdi
je 0xa114
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa114
jmp 0xa109
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
movq 0x2c0(%rsp), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0xa148
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa148
jmp 0xa13d
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
movq 0x4d8(%rsp), %rdi
cmpq %r15, %rdi
je 0xa174
movq 0x4e8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa174
jmp 0xa169
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
movq 0x4f8(%rsp), %rdi
cmpq %r14, %rdi
je 0xa191
movq 0x508(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x8a8(%rsp), %rax
cmpq %r12, %rax
sete %al
cmpb $0x0, 0x8(%rsp)
jne 0xa1d5
testb %al, %al
jne 0xa1d5
leaq 0x8a8(%rsp), %rbx
movq -0x28(%r12), %rdi
leaq -0x18(%r12), %rax
cmpq %rdi, %rax
je 0xa1cc
movq (%rax), %rsi
incq %rsi
callq 0x5360
addq $-0x30, %r12
cmpq %rbx, %r12
jne 0xa1b2
movq %rbp, %rbx
jmp 0xab8c
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
leaq 0x8a8(%rsp), %r12
jmp 0xa191
movq %rax, %r14
leaq 0x938(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
callq 0x56c3
movb $0x1, %bpl
jmp 0xa214
movq %rax, %r14
xorl %ebp, %ebp
movq 0x518(%rsp), %rdi
cmpq %r12, %rdi
je 0xa23a
movq 0x528(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa23a
jmp 0xa235
movq %rax, %r14
xorl %ebp, %ebp
movq 0x538(%rsp), %rdi
cmpq %r15, %rdi
je 0xa260
movq 0x548(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa260
jmp 0xa25b
movq %rax, %r14
xorl %ebp, %ebp
movq 0x558(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa28c
movq 0x568(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa28c
movq %rax, %r14
xorl %ebp, %ebp
leaq 0x8a8(%rsp), %r13
leaq 0x8a8(%rsp), %rax
cmpq %r13, %rax
sete %al
orb %bpl, %al
jne 0xa2c8
leaq 0x8a8(%rsp), %rbx
movq -0x28(%r13), %rdi
leaq -0x18(%r13), %rax
cmpq %rdi, %rax
je 0xa2bf
movq (%rax), %rsi
incq %rsi
callq 0x5360
addq $-0x30, %r13
cmpq %rbx, %r13
jne 0xa2a7
movq %r14, %rbx
jmp 0xab99
movq %rax, %r12
leaq 0xa58(%rsp), %rdi
leaq 0x8a8(%rsp), %rsi
callq 0x5690
movb $0x1, %al
movl %eax, 0x8(%rsp)
jmp 0xa2fb
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x578(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa327
movq 0x588(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa327
jmp 0xa31c
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x598(%rsp), %rdi
cmpq %r13, %rdi
je 0xa353
movq 0x5a8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa353
jmp 0xa348
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x2e0(%rsp), %rdi
leaq 0x2f0(%rsp), %rax
cmpq %rax, %rdi
je 0xa387
movq 0x2f0(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa387
jmp 0xa37c
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x300(%rsp), %rdi
leaq 0x310(%rsp), %rax
cmpq %rax, %rdi
je 0xa3bb
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa3bb
jmp 0xa3b0
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0xa3ef
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa3ef
jmp 0xa3e4
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x5b8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa41b
movq 0x5c8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa41b
jmp 0xa410
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0xa44f
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa44f
jmp 0xa444
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x360(%rsp), %rdi
leaq 0x370(%rsp), %rax
cmpq %rax, %rdi
je 0xa483
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa483
jmp 0xa478
movq %rax, %r12
movl $0x0, 0x8(%rsp)
movq 0x5d8(%rsp), %rdi
cmpq %r14, %rdi
je 0xa4a0
movq 0x5e8(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x8a8(%rsp), %rbx
cmpq %r15, %rbx
sete %al
cmpb $0x0, 0x8(%rsp)
jne 0xa4da
testb %al, %al
jne 0xa4da
movq -0x28(%r15), %rdi
leaq -0x18(%r15), %rax
cmpq %rdi, %rax
je 0xa4d1
movq (%rax), %rsi
incq %rsi
callq 0x5360
addq $-0x30, %r15
cmpq %rbx, %r15
jne 0xa4b9
movq %r12, %rbx
jmp 0xaba6
movq %rax, %r12
leaq 0x8a8(%rsp), %r15
movl $0x0, 0x8(%rsp)
jmp 0xa4a0
jmp 0xa525
jmp 0xa9f6
movq %rax, %rbx
jmp 0xa513
movq %rax, %rbx
leaq 0x1190(%rsp), %rdi
callq 0xb116
leaq 0x1088(%rsp), %rdi
callq 0xb116
jmp 0xaa88
movq %rax, %rbx
jmp 0xaa95
movq %rax, %rbx
jmp 0xa7e7
movq %rax, %rbx
movq 0x7d8(%rsp), %rdi
leaq 0x7e8(%rsp), %rax
cmpq %rax, %rdi
je 0xa5bb
movq 0x7e8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa5bb
movq %rax, %rbx
movq 0x6e8(%rsp), %rdi
leaq 0x6f8(%rsp), %rax
cmpq %rax, %rdi
je 0xa58c
movq 0x6f8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa58c
movq %rax, %rbx
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0xa602
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa602
movq %rax, %rbx
jmp 0xa5e0
movq %rax, %rbx
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0xa5e0
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xf28(%rsp), %rdi
callq 0xb116
jmp 0xa5f2
movq %rax, %rbx
leaq 0xf80(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
leaq 0xc10(%rsp), %rdi
callq 0xb116
jmp 0xa614
movq %rax, %rbx
leaq 0x10e0(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
movq 0x718(%rsp), %rdi
leaq 0x728(%rsp), %rax
cmpq %rax, %rdi
je 0xa64e
movq 0x728(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa64e
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0xa678
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa678
movq %rax, %rbx
leaq 0xc68(%rsp), %rdi
callq 0xb116
jmp 0xa68a
movq %rax, %rbx
leaq 0xcc0(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
movq 0x748(%rsp), %rdi
leaq 0x758(%rsp), %rax
cmpq %rax, %rdi
je 0xa6c4
movq 0x758(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa6c4
movq %rax, %rbx
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0xa6ee
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa6ee
movq %rax, %rbx
leaq 0xd18(%rsp), %rdi
callq 0xb116
jmp 0xa700
movq %rax, %rbx
leaq 0xd70(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
movq 0x778(%rsp), %rdi
leaq 0x788(%rsp), %rax
cmpq %rax, %rdi
je 0xa73a
movq 0x788(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa73a
movq %rax, %rbx
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0xa764
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa764
movq %rax, %rbx
leaq 0xdc8(%rsp), %rdi
callq 0xb116
jmp 0xa7a0
movq %rax, %rbx
movq 0x7a8(%rsp), %rdi
leaq 0x7b8(%rsp), %rax
cmpq %rax, %rdi
je 0xa7b0
movq 0x7b8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa7b0
movq %rax, %rbx
leaq 0xe20(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0xa7da
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa7da
movq %rax, %rbx
leaq 0xe78(%rsp), %rdi
callq 0xb116
leaq 0xed0(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
movq 0x688(%rsp), %rdi
leaq 0x698(%rsp), %rax
cmpq %rax, %rdi
je 0xa821
movq 0x698(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa821
movq %rax, %rbx
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0xa84b
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa84b
movq %rax, %rbx
leaq 0xab0(%rsp), %rdi
callq 0xb116
jmp 0xa85d
movq %rax, %rbx
leaq 0xb08(%rsp), %rdi
jmp 0xaa38
movq %rax, %rbx
jmp 0xa8c6
movq %rax, %rbx
jmp 0xa8d3
movq %rax, %rbx
movq 0x6b8(%rsp), %rdi
leaq 0x6c8(%rsp), %rax
cmpq %rax, %rdi
je 0xa8a1
movq 0x6c8(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa8a1
movq %rax, %rbx
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0xa8c6
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xb60(%rsp), %rdi
callq 0xb116
leaq 0xbb8(%rsp), %rdi
jmp 0xaa38
jmp 0xaa60
movq %rax, %rbx
jmp 0xa9c5
jmp 0xaa60
movq %rax, %rbx
jmp 0xa9ea
jmp 0xaa60
movq %rax, %rbx
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0xaa63
movq 0x270(%rsp), %rsi
jmp 0xaa56
jmp 0xaa60
movq %rax, %rbx
jmp 0xaa30
movq %rax, %rbx
jmp 0xaa0b
movq %rax, %rbx
jmp 0xa9a6
movq %rax, %rbx
jmp 0xa999
movq %rax, %rbx
movq 0x808(%rsp), %rdi
leaq 0x818(%rsp), %rax
cmpq %rax, %rdi
je 0xa974
movq 0x818(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xa974
movq %rax, %rbx
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0xa999
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xfd8(%rsp), %rdi
callq 0xb116
leaq 0x1138(%rsp), %rdi
jmp 0xaa38
jmp 0xaa60
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xb116
movq 0x410(%rsp), %rdi
leaq 0x420(%rsp), %rax
cmpq %rax, %rdi
je 0xa9ea
movq 0x420(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xa58(%rsp), %rdi
jmp 0xaa38
jmp 0xa9f6
movq %rax, %rbx
jmp 0xaa88
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xb116
movq 0x440(%rsp), %rdi
leaq 0x450(%rsp), %rax
cmpq %rax, %rdi
je 0xaa30
movq 0x450(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x1030(%rsp), %rdi
callq 0xb116
jmp 0xaa63
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xaa63
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5360
jmp 0xaa63
movq %rax, %rbx
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0xaa88
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0xe8(%rsp), %rdi
callq 0xb116
leaq 0x5f8(%rsp), %rdi
callq 0xb116
leaq 0x3b0(%rsp), %rdi
callq 0xb116
leaq 0x8a8(%rsp), %rdi
callq 0xb116
movq 0x838(%rsp), %rdi
leaq 0x848(%rsp), %rax
cmpq %rax, %rdi
je 0xaae1
movq 0x848(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x658(%rsp), %rdi
leaq 0x668(%rsp), %rax
cmpq %rax, %rdi
je 0xab06
movq 0x668(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x388(%rsp), %rdi
leaq 0x398(%rsp), %rax
cmpq %rax, %rdi
je 0xab2b
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0x470(%rsp), %rdi
leaq 0x480(%rsp), %rax
cmpq %rax, %rdi
je 0xab50
movq 0x480(%rsp), %rsi
incq %rsi
callq 0x5360
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0xab75
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x5360
leaq 0x10(%rsp), %rdi
callq 0xb17a
leaq 0x860(%rsp), %rdi
callq 0xb17a
leaq 0x878(%rsp), %rdi
callq 0xb17a
leaq 0x890(%rsp), %rdi
callq 0xb17a
leaq 0xa0(%rsp), %rdi
callq 0xb1d6
movq %rbx, %rdi
callq 0x55e0
nop