LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/justinpajak[P]Sum_SGX/aggsum.cpp
// Function: readAndDecrypt(std::vector<float, std::allocator<float>>&)
void readAndDecrypt(vector<float>& nums) {
	int enc_data = open("enc.txt", O_RDONLY);
	if (!enc_data) {
		fprintf(stderr, "Unable to open file: %s\n", strerror(errno));
		return;
	}
	unsigned char ciphertext[128];
	unsigned char *key = (unsigned char *)"01234567890123456789012345678901";
    unsigned char *iv = (unsigned char *)"0123456789012345";
	while(read(enc_data, (char*)ciphertext, 128)) {
		unsigned char plaintext[128];
		int plaintext_len = decrypt(ciphertext, 32, key, iv, plaintext);
		plaintext[plaintext_len] = '\0';
		nums.push_back(atof((const char*)plaintext));
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
leaq 0xa6b(%rip), %rdi       # 0x2023
xorl %esi, %esi
xorl %eax, %eax
callq 0x1100
testl %eax, %eax
je 0x167d
movl %eax, %r14d
leaq -0x130(%rbp), %rsi
movl $0x80, %edx
movl %eax, %edi
callq 0x11a0
testq %rax, %rax
je 0x166b
leaq 0xa76(%rip), %r12       # 0x2065
leaq -0x130(%rbp), %r13
leaq -0xb0(%rbp), %r15
movq %r13, %rdi
movl $0x20, %esi
leaq 0xa38(%rip), %rdx       # 0x2044
movq %r12, %rcx
movq %r15, %r8
callq 0x16b6
cltq
movb $0x0, -0xb0(%rbp,%rax)
movq %r15, %rdi
callq 0x1180
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x2c(%rbp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x164a
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x1656
movq %rbx, %rdi
leaq -0x2c(%rbp), %rdx
callq 0x17de
movl $0x80, %edx
movl %r14d, %edi
movq %r13, %rsi
callq 0x11a0
testq %rax, %rax
jne 0x15fd
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1210
jmp 0x166b
// File: /workspace/github_cpp_makefile_star2_O3/murry2018[P]mogazi/kakaotalk_chat.cpp
// Function: kakaotalk::chat::chat(std::istream&)
chat::chat(istream& in) {
    if (in) {
      string s;
      int c;
      while (in && (c = in.get()) != '\r')
        s.push_back(c);
      c = in.get(); // eliminate '\n'
      if (!(c == '\n' || c == EOF))
        throw runtime_error("Unexpected File Format");
      full_content = s;
      analyse();
    } else {
      throw domain_error("End of File");
    }
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x38(%rbp)
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x38(%rdi), %rcx
movq %rcx, -0x30(%rbp)
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movb %al, 0x38(%rdi)
leaq 0x58(%rdi), %r12
movq %r12, 0x48(%rdi)
movq %rax, 0x50(%rdi)
movb %al, 0x58(%rdi)
movq (%rsi), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rsi,%rax)
jne 0x619b
movq %rsi, %r14
leaq -0x48(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq -0x58(%rbp), %r15
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%r14,%rax)
jne 0x6151
movq %r14, %rdi
callq 0x4390
cmpl $0xd, %eax
je 0x6151
movsbl %al, %esi
movq %r15, %rdi
callq 0x42a0
jmp 0x6128
movq %r14, %rdi
callq 0x4390
cmpl $-0x1, %eax
je 0x6163
cmpl $0xa, %eax
jne 0x61cf
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0x41b0
movq %rbx, %rdi
callq 0x6288
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x618c
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x42f0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x4170
movq %rax, %r15
leaq 0x10030(%rip), %rsi     # 0x161df
movq %rax, %rdi
callq 0x4200
movq 0x18dba(%rip), %rsi     # 0x1ef78
movq 0x18dcb(%rip), %rdx     # 0x1ef90
movq %r15, %rdi
callq 0x4480
jmp 0x6201
movl $0x10, %edi
callq 0x4170
movq %rax, %r15
leaq 0xffe5(%rip), %rsi      # 0x161c8
movq %rax, %rdi
callq 0x4110
movq 0x18dfe(%rip), %rsi     # 0x1eff0
movq 0x18da7(%rip), %rdx     # 0x1efa0
movq %r15, %rdi
callq 0x4480
movq %rax, %r14
movq %r15, %rdi
callq 0x4270
jmp 0x6225
movq %rax, %r14
jmp 0x623a
movq %rax, %r14
movq %r15, %rdi
callq 0x4270
jmp 0x623a
jmp 0x6222
movq %rax, %r14
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x623a
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x42f0
movq 0x48(%rbx), %rdi
cmpq %r12, %rdi
je 0x624f
movq (%r12), %rsi
incq %rsi
callq 0x42f0
movq 0x28(%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x6268
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x42f0
movq (%rbx), %rdi
cmpq -0x38(%rbp), %rdi
je 0x6280
movq -0x38(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x42f0
movq %r14, %rdi
callq 0x44a0
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/entropy.cpp
// Function: Entropy::getCoeff(int) const
double Entropy::getCoeff( int N ) const
{
    if ( N < 0 )
    {
        std::cerr<<"Compute g(N) for negative N!!"<<std::endl;
        exit(1);
    }
    int L0 = ( N > L )? L:N;
    double gL = a[L0];
    for (int i = L0; i>0; i--) 
        gL = a[i-1] + gL * (N-i+1) / Ratio;
    gL = (gL * Ratio + log(n/Ratio) * N)/n;
    return gL;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x18, %rsp
testl %esi, %esi
js 0x25df
movl %esi, %ebp
movq %rdi, %rbx
movl 0x18(%rdi), %esi
cmpl %ebp, %esi
cmovgel %ebp, %esi
movslq %esi, %rcx
movq 0x40(%rdi), %rax
movsd (%rax,%rcx,8), %xmm1
testl %ecx, %ecx
jle 0x258f
movsd 0x10(%rbx), %xmm2
movl %esi, %ecx
incq %rcx
movl %ebp, %edx
subl %esi, %edx
incl %edx
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
mulsd %xmm1, %xmm0
divsd %xmm2, %xmm0
movapd %xmm0, %xmm1
addsd -0x10(%rax,%rcx,8), %xmm1
decq %rcx
incl %edx
cmpq $0x1, %rcx
ja 0x2563
movsd %xmm1, 0x8(%rsp)
jmp 0x259a
movsd %xmm1, 0x8(%rsp)
movsd 0x10(%rbx), %xmm2
movsd %xmm2, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x1c(%rbx), %xmm0
divsd %xmm2, %xmm0
callq 0x2150
xorps %xmm1, %xmm1
cvtsi2sd %ebp, %xmm1
mulsd %xmm1, %xmm0
movsd 0x8(%rsp), %xmm1
mulsd 0x10(%rsp), %xmm1
addsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x1c(%rbx), %xmm1
divsd %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
movq 0x3a0a(%rip), %rdi      # 0x5ff0
leaq 0x1a3b(%rip), %rsi      # 0x4028
callq 0x2180
movq %rax, %rdi
callq 0x20c0
movl $0x1, %edi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/entropy.cpp
// Function: Entropy::estimate_Miller_Madow() const
double Entropy::estimate_Miller_Madow() const
{
    double HEsti = 0;
    int symbolnumber = 0;
    for ( const auto & pair : fin )
    {
        int N = pair.first;
        symbolnumber += pair.second;
        if ( N>0 )
        {
            double x = (double)N / (double)n;
            HEsti += (-x*log(x)) * (pair.second);
        }
    }
    return (HEsti+1.0*(symbolnumber-1)/n/2)/log(2); // return the bias-corrected empirical entropy (bits)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %r14
movq 0x30(%rdi), %r15
cmpq %r15, %r14
je 0x2734
xorl %ebp, %ebp
xorpd %xmm2, %xmm2
movl (%r14), %eax
addl 0x4(%r14), %ebp
testl %eax, %eax
jle 0x2720
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x1c(%rbx), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd %xmm2, 0x10(%rsp)
callq 0x2150
movsd 0x10(%rsp), %xmm2
mulsd 0x8(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x4(%r14), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm1, %xmm2
addq $0x8, %r14
cmpq %r15, %r14
jne 0x26d4
decl %ebp
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
jmp 0x2740
xorpd %xmm2, %xmm2
movsd 0x18e0(%rip), %xmm0     # 0x4020
xorps %xmm1, %xmm1
cvtsi2sdl 0x1c(%rbx), %xmm1
divsd %xmm1, %xmm0
mulsd 0x18b4(%rip), %xmm0     # 0x4008
addsd %xmm2, %xmm0
divsd 0x18b0(%rip), %xmm0     # 0x4010
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/entropy.cpp
// Function: Entropy::setFin(std::shared_ptr<std::map<int, int, std::less<int>, std::allocator<std::pair<int const, int>>> const>)
void Entropy::setFin(std::shared_ptr< const std::map<int, int> > ptr_fin_map) 
{
    fin.clear();
    n = 0;
    for ( auto it = ptr_fin_map->begin(); it != ptr_fin_map->end(); ++it )
    {
        int freq = it->first, cnt = it->second;
        fin.push_back( std::make_pair( freq, cnt ) );
        n += (freq * cnt);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28(%rdi), %rax
cmpq %rax, 0x30(%rdi)
je 0x2813
movq %rax, 0x30(%r14)
movl $0x0, 0x1c(%r14)
movq (%rbx), %rax
movq 0x18(%rax), %r15
addq $0x8, %rax
cmpq %rax, %r15
je 0x286f
leaq 0x28(%r14), %r12
movl 0x20(%r15), %ebp
movl 0x24(%r15), %r13d
movq %r13, %rax
shlq $0x20, %rax
orq %rbp, %rax
movq %rax, (%rsp)
movq %r12, %rdi
movq %rsp, %rsi
callq 0x2f32
imull %ebp, %r13d
addl %r13d, 0x1c(%r14)
movq %r15, %rdi
callq 0x21e0
movq %rax, %r15
movq (%rbx), %rax
addq $0x8, %rax
cmpq %rax, %r15
jne 0x282f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/entropy.cpp
// Function: Entropy::setHist(std::vector<int, std::allocator<int>> const&)
void Entropy::setHist( const std::vector<int> &hist )
{
    fin.clear();
    n = 0;
    
    std::map<int, int> fin_map;
    for ( const auto & freq : hist )
    {
        auto iter = fin_map.find( freq );
        if ( iter == fin_map.end() )
            fin_map.insert( std::make_pair( freq,1 ) );
        else
            ++(iter->second);
    }
    
    for ( auto it = fin_map.begin(); it != fin_map.end(); ++it )
    {
        int freq = it->first, cnt = it->second;
        fin.push_back( std::make_pair( freq, cnt ) );
        n += (freq * cnt);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %rax
cmpq %rax, 0x30(%rdi)
je 0x2a2b
movq %rax, 0x30(%rbx)
xorl %eax, %eax
movl %eax, 0x1c(%rbx)
leaq 0x20(%rsp), %r13
movl %eax, (%r13)
movq %rax, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %rax, 0x20(%r13)
movq (%rsi), %rbp
movq 0x8(%rsi), %r15
cmpq %r15, %rbp
je 0x2b20
leaq 0x28(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x18(%rsp), %r14
leaq 0x8(%rsp), %r12
movq 0x28(%rsp), %r8
movl (%rbp), %eax
testq %r8, %r8
je 0x2ab0
movq %r13, %rcx
movq %rcx, %rdx
movq %r8, %rsi
movl 0x20(%r8), %edi
xorl %r8d, %r8d
cmpl %eax, %edi
setl %r8b
movq %rsi, %rcx
cmovlq %rdx, %rcx
movq 0x10(%rsi,%r8,8), %r8
testq %r8, %r8
jne 0x2a7c
cmpq %r13, %rcx
je 0x2ab0
cmpl %eax, %edi
cmovlq %rdx, %rsi
cmpl 0x20(%rsi), %eax
jge 0x2ad0
btsq $0x20, %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x30b0
addq $0x4, %rbp
cmpq %r15, %rbp
jne 0x2a6c
jmp 0x2ad5
incl 0x24(%rcx)
jmp 0x2ac5
movq 0x30(%rsp), %r15
cmpq %r13, %r15
je 0x2b20
leaq 0x8(%rsp), %r12
movl 0x20(%r15), %ebp
movl 0x24(%r15), %r14d
movq %r14, %rax
shlq $0x20, %rax
orq %rbp, %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x2f32
imull %ebp, %r14d
addl %r14d, 0x1c(%rbx)
movq %r15, %rdi
callq 0x2120
movq %rax, %r15
cmpq %r13, %rax
jne 0x2ae4
leaq 0x18(%rsp), %rdi
callq 0x2ee2
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b3b
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2ee2
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/entropy.cpp
// Function: Entropy::setDegree(int)
void Entropy::setDegree( int deg )
{
    L = deg;
    a.clear();
    
    std::fstream fd_coeffs("coeffs.txt");
    // ignore the first L-1 lines
    fd_coeffs.seekg(std::ios::beg);
    for( int i = 0; i < L-1; ++i )
        fd_coeffs.ignore(std::numeric_limits<std::streamsize>::max(),'\n');
    // Read line L
    int test_L;
    fd_coeffs >> test_L;
    if ( L != test_L )
    {
        std::cerr<<"Read the wrong line!!"<<std::endl;
        exit(1);
    }
    double coeff;
    for (int i = 0; i <= L; i++)
    {
        fd_coeffs >> coeff;
        a.push_back(coeff);
    }
    fd_coeffs.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x220, %rsp            # imm = 0x220
movq %rdi, %rbx
movl %esi, 0x18(%rdi)
movq 0x40(%rdi), %rax
cmpq %rax, 0x48(%rdi)
je 0x2d1b
movq %rax, 0x48(%rbx)
leaq 0x1324(%rip), %rsi      # 0x4046
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movl $0x18, %edx
callq 0x2210
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2200
cmpl $0x2, 0x18(%rbx)
jl 0x2d72
xorl %ebp, %ebp
leaq 0x10(%rsp), %r14
movabsq $0x7fffffffffffffff, %r15 # imm = 0x7FFFFFFFFFFFFFFF
movq %r14, %rdi
movq %r15, %rsi
movl $0xa, %edx
callq 0x2100
incl %ebp
movl 0x18(%rbx), %eax
decl %eax
cmpl %eax, %ebp
jl 0x2d57
leaq 0x10(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x20e0
movl 0x18(%rbx), %eax
cmpl 0x4(%rsp), %eax
jne 0x2e00
testl %eax, %eax
js 0x2ddc
leaq 0x40(%rbx), %r14
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x2110
movq 0x48(%rbx), %rsi
cmpq 0x50(%rbx), %rsi
je 0x2dca
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x48(%rbx)
jmp 0x2dd5
movq %r14, %rdi
movq %r12, %rdx
callq 0x31ee
incl %ebp
cmpl 0x18(%rbx), %ebp
jl 0x2da1
leaq 0x10(%rsp), %rdi
callq 0x2040
leaq 0x10(%rsp), %rdi
callq 0x2070
addq $0x220, %rsp            # imm = 0x220
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x31e9(%rip), %rdi      # 0x5ff0
leaq 0x1243(%rip), %rsi      # 0x4051
movl $0x15, %edx
callq 0x21d0
movq 0x31d1(%rip), %rdi      # 0x5ff0
callq 0x20c0
movl $0x1, %edi
callq 0x21f0
jmp 0x2e36
jmp 0x2e36
jmp 0x2e36
jmp 0x2e36
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x2290
nop
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/main_test.cpp
// Function: print_param(Entropy const&)
void print_param(const Entropy &entropy)
{
    printf("Parameters:\n");
    printf("Alphabet size\t\t=%d\n", entropy.getAlphabetSize());
    printf("Polynoimal degree\t=%d\n", entropy.getDegree());
    printf("Approximation interval\t=[0,%.2f/n]\n", entropy.getInterval());
    printf("Plug-in threshold\t=%d\n",(int)floor(entropy.getThreshold())+1);
    printf("\n");
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0xabd(%rip), %rdi       # 0x41a5
callq 0x2250
movl 0x20(%rbx), %esi
leaq 0x9c8(%rip), %rdi       # 0x40bf
xorl %eax, %eax
callq 0x2030
movl 0x18(%rbx), %esi
leaq 0x9cb(%rip), %rdi       # 0x40d3
xorl %eax, %eax
callq 0x2030
movsd 0x10(%rbx), %xmm0
leaq 0x9cf(%rip), %rdi       # 0x40ea
movb $0x1, %al
callq 0x2030
movsd 0x8(%rbx), %xmm0
callq 0x2280
cvttsd2si %xmm0, %esi
incl %esi
leaq 0x9d5(%rip), %rdi       # 0x410e
xorl %eax, %eax
callq 0x2030
movl $0xa, %edi
popq %rbx
jmp 0x2220
// File: /workspace/github_cpp_makefile_star2_O3/Albuso0[P]entropy/main_test.cpp
// Function: print_results(Entropy const&)
void print_results(const Entropy &entropy)
{
    printf("Results:\n");
    printf("Sample size\t=%d\n",entropy.getSampleSize());
    printf("Plug in\t\t=%.6f bits\n",entropy.estimate_plug());
    printf("Miller Madow\t=%.6f bits\n",entropy.estimate_Miller_Madow());
    printf("Polynomial\t=%.6f bits\n",entropy.estimate());
    printf("\n");
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0xa5b(%rip), %rdi       # 0x41b1
callq 0x2250
movl 0x1c(%rbx), %esi
leaq 0x9c0(%rip), %rdi       # 0x4125
xorl %eax, %eax
callq 0x2030
movq %rbx, %rdi
callq 0x276c
leaq 0x9bb(%rip), %rdi       # 0x4136
movb $0x1, %al
callq 0x2030
movq %rbx, %rdi
callq 0x26b4
leaq 0x9ba(%rip), %rdi       # 0x414b
movb $0x1, %al
callq 0x2030
movq %rbx, %rdi
callq 0x243c
leaq 0x9bd(%rip), %rdi       # 0x4164
movb $0x1, %al
callq 0x2030
movl $0xa, %edi
popq %rbx
jmp 0x2220
nop
// File: /workspace/github_cpp_makefile_star2_O3/st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: srv_open()
static int srv_open()
{
   struct sockaddr_in sin;

   srv_sock = socket(PF_INET,SOCK_DGRAM,0);
   if (srv_sock == -1)
   {
      traceit("Failed to create server socket,errno=%d\n",errno);
      return 1;
   }
   memset(&sin,0,sizeof(struct sockaddr_in));
   sin.sin_family = AF_INET;
   sin.sin_port = htons(LISTEN_PORT);
   sin.sin_addr.s_addr = inet_addr(LISTEN_IP);

   if (bind(srv_sock,(struct sockaddr *)&sin,sizeof(struct sockaddr_in)) != 0)
   {
      traceit("Failed to bind server socket on IP %s, port %d, errno=%d\n",
              LISTEN_IP, LISTEN_PORT,errno);
      close(srv_sock); srv_sock = -1;
      return 1;
   }
   fcntl(srv_sock,F_SETFL,O_NONBLOCK); 

   return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl $0x2, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x20b0
movl %eax, 0xdb56(%rip)      # 0x11238
cmpl $-0x1, %eax
je 0x376b
movq %rsp, %rbx
movq $0x0, 0x8(%rbx)
movw $0x2, (%rbx)
movzwl 0xdb42(%rip), %eax      # 0x11244
rolw $0x8, %ax
movw %ax, 0x2(%rbx)
leaq 0x113ef(%rip), %rdi     # 0x14b00
callq 0x2220
movl %eax, 0x4(%rbx)
movl 0xdb19(%rip), %edi      # 0x11238
movq %rbx, %rsi
movl $0x10, %edx
callq 0x2080
testl %eax, %eax
je 0x3787
movl 0xdb0e(%rip), %ebx      # 0x11244
callq 0x2050
movl (%rax), %ecx
leaq 0x8e99(%rip), %rdi      # 0xc5dd
leaq 0x113b5(%rip), %rsi     # 0x14b00
movl %ebx, %edx
xorl %eax, %eax
callq 0x26fc
movl 0xdade(%rip), %edi      # 0x11238
callq 0x2440
movl $0xffffffff, 0xdacf(%rip) # imm = 0xFFFFFFFF
jmp 0x3780
callq 0x2050
movl (%rax), %esi
leaq 0x8e3b(%rip), %rdi      # 0xc5b4
xorl %eax, %eax
callq 0x26fc
movl $0x1, %ebx
jmp 0x37a0
movl 0xdaab(%rip), %edi      # 0x11238
xorl %ebx, %ebx
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x2150
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: cmd_open()
static int cmd_open()
{
   struct sockaddr_in sin;

   cmd_sock = socket(PF_INET,SOCK_DGRAM,0);
   if (cmd_sock == -1)
   {
      traceit("Failed to create cmd socket,errno=%d\n",errno);
      return 1;
   }
   memset(&sin,0,sizeof(struct sockaddr_in));
   sin.sin_family = AF_INET;
   sin.sin_port = htons(COMMAND_PORT);
   sin.sin_addr.s_addr = inet_addr(LISTEN_IP);

   if (bind(cmd_sock,(struct sockaddr *)&sin,sizeof(struct sockaddr_in)) != 0)
   {
      traceit("Failed to bind cmd socket on IP %s, port %d, errno=%d\n",
              LISTEN_IP, COMMAND_PORT,errno);
      close(cmd_sock); cmd_sock = -1;
      return 1;
   }
   fcntl(cmd_sock,F_SETFL,O_NONBLOCK);

   return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl $0x2, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x20b0
movl %eax, 0xda78(%rip)      # 0x1123c
cmpl $-0x1, %eax
je 0x384d
movq %rsp, %rbx
movq $0x0, 0x8(%rbx)
movw $0x2, (%rbx)
movzwl 0xda64(%rip), %eax      # 0x11248
rolw $0x8, %ax
movw %ax, 0x2(%rbx)
leaq 0x1130d(%rip), %rdi     # 0x14b00
callq 0x2220
movl %eax, 0x4(%rbx)
movl 0xda3b(%rip), %edi      # 0x1123c
movq %rbx, %rsi
movl $0x10, %edx
callq 0x2080
testl %eax, %eax
je 0x3869
movl 0xda30(%rip), %ebx      # 0x11248
callq 0x2050
movl (%rax), %ecx
leaq 0x8e17(%rip), %rdi      # 0xc63d
leaq 0x112d3(%rip), %rsi     # 0x14b00
movl %ebx, %edx
xorl %eax, %eax
callq 0x26fc
movl 0xda00(%rip), %edi      # 0x1123c
callq 0x2440
movl $0xffffffff, 0xd9f1(%rip) # imm = 0xFFFFFFFF
jmp 0x3862
callq 0x2050
movl (%rax), %esi
leaq 0x8dbc(%rip), %rdi      # 0xc617
xorl %eax, %eax
callq 0x26fc
movl $0x1, %ebx
jmp 0x3882
movl 0xd9cd(%rip), %edi      # 0x1123c
xorl %ebx, %ebx
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x2150
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: ref_open()
static int ref_open()
{
   struct sockaddr_in sin;

   ref_sock = socket(PF_INET,SOCK_DGRAM,0);
   if (ref_sock == -1)
   {
      traceit("Failed to create ref socket,errno=%d\n",errno);
      return 1;
   }
   memset(&sin,0,sizeof(struct sockaddr_in));
   sin.sin_family = AF_INET;
   sin.sin_port = htons(20001);
   sin.sin_addr.s_addr = inet_addr(LISTEN_IP);

   if (bind(ref_sock,(struct sockaddr *)&sin,sizeof(struct sockaddr_in)) != 0)
   {
      traceit("Failed to bind ref socket on IP %s, port 20001, errno=%d\n",
              LISTEN_IP, errno);
      close(ref_sock); ref_sock = -1;
      return 1;
   }
   fcntl(ref_sock,F_SETFL,O_NONBLOCK);

   return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl $0x2, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x20b0
movl %eax, 0xd99a(%rip)      # 0x11240
cmpl $-0x1, %eax
je 0x3915
movq %rsp, %rbx
movq $0x0, 0x8(%rbx)
movl $0x214e0002, (%rbx)     # imm = 0x214E0002
leaq 0x1123d(%rip), %rdi     # 0x14b00
callq 0x2220
movl %eax, 0x4(%rbx)
movl 0xd96f(%rip), %edi      # 0x11240
movq %rbx, %rsi
movl $0x10, %edx
callq 0x2080
testl %eax, %eax
je 0x3931
callq 0x2050
movl (%rax), %edx
leaq 0x8daa(%rip), %rdi      # 0xc69a
leaq 0x11209(%rip), %rsi     # 0x14b00
xorl %eax, %eax
callq 0x26fc
movl 0xd93c(%rip), %edi      # 0x11240
callq 0x2440
movl $0xffffffff, 0xd92d(%rip) # imm = 0xFFFFFFFF
jmp 0x392a
callq 0x2050
movl (%rax), %esi
leaq 0x8d51(%rip), %rdi      # 0xc674
xorl %eax, %eax
callq 0x26fc
movl $0x1, %ebx
jmp 0x394a
movl 0xd909(%rip), %edi      # 0x11240
xorl %ebx, %ebx
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x2150
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: mute_users(bool)
static void mute_users(bool mute)
{
   a_user_list_type::iterator pos;
   struct a_user *a_user_ptr;

   inbound_type::iterator pos2;
   inbound *inbound_ptr;

   for (pos = a_user_list.begin(); pos != a_user_list.end(); pos++)
   {
      a_user_ptr = (struct a_user *)pos->second;
      a_user_ptr->isMute = mute;
   }

   for (pos2 = inbound_list.begin(); pos2 != inbound_list.end(); pos2++)
   {
      inbound_ptr = (inbound *)pos2->second;
      inbound_ptr->isMute = mute;
   }
   return;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
movq 0x7d4c(%rip), %rax      # 0x112e8
leaq 0x7d35(%rip), %r14      # 0x112d8
cmpq %r14, %rax
je 0x95b9
movq 0x40(%rax), %rcx
movb %bl, 0x9(%rcx)
movq %rax, %rdi
callq 0x2170
jmp 0x95a3
movq 0x7cf8(%rip), %rax      # 0x112b8
leaq 0x7ce1(%rip), %r14      # 0x112a8
cmpq %r14, %rax
je 0x95dd
movq 0x40(%rax), %rcx
movb %bl, 0x9(%rcx)
movq %rax, %rdi
callq 0x2170
jmp 0x95c7
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: mute_call(char*, bool)
static bool mute_call(char *call, bool mute)
{
   bool found = false;
   a_user_list_type::iterator pos;
   struct a_user *a_user_ptr;

   inbound_type::iterator pos2;
   inbound *inbound_ptr;

   for (pos = a_user_list.begin(); pos != a_user_list.end(); pos++)
   {
      a_user_ptr = (struct a_user *)pos->second;
      if (strcmp(a_user_ptr->call, call) == 0)
      {
         found = true;
         a_user_ptr->isMute = mute;
      }
   }

   for (pos2 = inbound_list.begin(); pos2 != inbound_list.end(); pos2++)
   {
      inbound_ptr = (inbound *)pos2->second;
      if (strcmp(inbound_ptr->call, call) == 0)
      {
         found = true;
         inbound_ptr->isMute = mute;
      }
   }

   return found;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq 0x7cec(%rip), %r15      # 0x112e8
leaq 0x7cd5(%rip), %r13      # 0x112d8
xorl %ebp, %ebp
cmpq %r13, %r15
je 0x9635
movq 0x40(%r15), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x2330
testl %eax, %eax
jne 0x9625
movb %bl, 0x9(%r12)
movb $0x1, %bpl
movq %r15, %rdi
callq 0x2170
movq %rax, %r15
cmpq %r13, %rax
jne 0x960a
movq 0x7c7c(%rip), %r15      # 0x112b8
leaq 0x7c65(%rip), %r13      # 0x112a8
cmpq %r13, %r15
je 0x9673
movq 0x40(%r15), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x2330
testl %eax, %eax
jne 0x9663
movb %bl, 0x9(%r12)
movb $0x1, %bpl
movq %r15, %rdi
callq 0x2170
movq %rax, %r15
cmpq %r13, %rax
jne 0x9648
andb $0x1, %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: link_to_xrf(char, char*, char, char*)
static int link_to_xrf(char local_mod, char *ref, char remote_mod, char *IP)
{
   short counter;
   char request[CALL_SIZE + 3];
   struct sockaddr_in sin;
   a_user_list_type::iterator user_pos;

   if (remote_mod == 'X')
      remote_mod = ' ';  /* unlink request */
   else
   {
      user_pos = a_user_list.find(IP);
      if (user_pos != a_user_list.end())
      {
         /* It already exists */
         traceit("Remote reflector [%s] ip=%s already linked, unlink first\n", ref, IP); 
         return 0;
      }
   }

   /* send the request to the remote XRF reflector */
   strcpy(request, OWNER);
   request[8] = local_mod;
   request[9] = remote_mod;
   request[10] = '\0';

   memset(&sin,0,sizeof(struct sockaddr_in));
   sin.sin_family = AF_INET;
   sin.sin_port = htons(LISTEN_PORT);
   sin.sin_addr.s_addr = inet_addr(IP);

   traceit("Sending request [%s] to reflector %s\n", request, ref);

   for (counter = 0; counter < 5; counter++)
      sendto(srv_sock, request, CALL_SIZE + 3,
             0,(struct sockaddr *)&sin,
             sizeof(struct sockaddr_in));

   return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %rbx
movl %edi, %ebp
movb $0x20, %r13b
cmpb $0x58, %r15b
je 0x9dfc
leaq 0x8(%rsp), %r12
leaq 0x7(%rsp), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0xa1d6
leaq 0x7522(%rip), %rdi      # 0x112d0
movq %r12, %rsi
callq 0xafe4
movq %rax, %r12
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9dd4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x74fd(%rip), %rax      # 0x112d8
movl %r15d, %r13d
cmpq %rax, %r12
je 0x9dfc
leaq 0x3356(%rip), %rdi      # 0xd140
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x26fc
jmp 0x9e8b
leaq 0xacd5(%rip), %rsi      # 0x14ad8
leaq 0x2d(%rsp), %r15
movq %r15, %rdi
callq 0x21e0
movb %bpl, 0x8(%r15)
movb %r13b, 0x9(%r15)
movb $0x0, 0xa(%r15)
leaq 0x38(%rsp), %r12
movq $0x0, 0x8(%r12)
movw $0x2, (%r12)
movzwl 0x740b(%rip), %eax      # 0x11244
rolw $0x8, %ax
movw %ax, 0x2(%r12)
movq %r14, %rdi
callq 0x2220
movl %eax, 0x4(%r12)
leaq 0x3323(%rip), %rdi      # 0xd17a
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x26fc
movw $0x5, %bx
movl 0x73ca(%rip), %edi      # 0x11238
movl $0xb, %edx
movq %r15, %rsi
xorl %ecx, %ecx
movq %r12, %r8
movl $0x10, %r9d
callq 0x2060
decw %bx
jne 0x9e68
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9eb8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x23f0
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/Menu.cpp
// Function: Menu::displayMenu() const
void Menu :: displayMenu() const {
  cout << endl << endl;
  for (size_t i = 0; i != options.size(); ++i) {
    cout << i + 1 << ". " << options[i] << endl;
  }
  cout << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x2016b(%rip), %rbx     # 0x24fc0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq 0x10(%r14), %rax
cmpq 0x8(%r14), %rax
je 0x4f3f
movl $0x8, %ebx
xorl %r15d, %r15d
movq 0x200fd(%rip), %r12     # 0x24fc0
leaq 0x16186(%rip), %r13     # 0x1b050
incq %r15
movq %r12, %rdi
movq %r15, %rsi
callq 0x41a0
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x42f0
movq 0x8(%r14), %rax
movq -0x8(%rax,%rbx), %rsi
movq (%rax,%rbx), %rdx
movq %rbp, %rdi
callq 0x42f0
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbp, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq 0x10(%r14), %rax
subq 0x8(%r14), %rax
sarq $0x5, %rax
addq $0x20, %rbx
cmpq %rax, %r15
jne 0x4eca
movq 0x2007a(%rip), %rbx     # 0x24fc0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x41b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/Menu.cpp
// Function: Menu::getSelection()
int Menu :: getSelection() {
  string input;
  int option;
  do {
    cout << endl << "Please enter an option: "
	 << endl << endl << "> ";
    getline(cin, input);
    option = atoi(input.c_str());
  } while (option < 1 || option > options.size());
  return option;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x1ff9c(%rip), %r14     # 0x24fc0
movq 0x1ffa5(%rip), %r13     # 0x24fd0
leaq 0x8(%rsp), %rbp
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %r14, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq %rax, %r15
movl $0x18, %edx
movq %rax, %rdi
leaq 0x15fea(%rip), %rsi     # 0x1b053
callq 0x42f0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movl $0x2, %edx
movq %rax, %rdi
leaq 0x15f9e(%rip), %rsi     # 0x1b06c
callq 0x42f0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x4460
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x43b0
testl %eax, %eax
jle 0x5030
movl %eax, %r12d
movl %eax, %eax
movq 0x10(%rbx), %rcx
subq 0x8(%rbx), %rcx
sarq $0x5, %rcx
cmpq %rax, %rcx
jb 0x5030
leaq 0x18(%rsp), %rax
cmpq %rax, %r15
je 0x513f
movq 0x18(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x42a0
movl %r12d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5170
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
movq %rbx, %rdi
callq 0x4430
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: BasicMenu::BasicMenu()
BasicMenu :: BasicMenu()
  : Menu() {
  options.push_back("Display stats");
  options.push_back("Check invnentory");
  options.push_back("Move");
  options.push_back("Go to Main Menu");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x4e18
leaq 0x1f4f6(%rip), %rax     # 0x24688
movq %rax, (%rbx)
leaq 0x8(%rbx), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15ecb(%rip), %rsi     # 0x1b075
leaq 0x15ed1(%rip), %rdx     # 0x1b082
leaq 0x8(%rsp), %rdi
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x51df
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15e95(%rip), %rsi     # 0x1b083
leaq 0x15e9e(%rip), %rdx     # 0x1b093
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x521e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15e67(%rip), %rsi     # 0x1b094
leaq 0x15e64(%rip), %rdx     # 0x1b098
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x525d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15e2d(%rip), %rsi     # 0x1b099
leaq 0x15e35(%rip), %rdx     # 0x1b0a8
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x529c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x52b4
jmp 0x52d0
jmp 0x52b4
jmp 0x52d0
jmp 0x52b4
jmp 0x52d0
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x52d3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x52d3
movq %rax, %r15
leaq 0x1f376(%rip), %rax     # 0x24650
addq $0x10, %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x627c
movq %r15, %rdi
callq 0x4430
nop
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: BattleMenu::BattleMenu()
BattleMenu :: BattleMenu()
  : Menu() {
  options.push_back("Display stats");
  options.push_back("Attack");
  options.push_back("Cast spell");
  options.push_back("Use potion");
  options.push_back("Change weapon/armor");
  options.push_back("Go to Main Menu");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x4e18
leaq 0x1f394(%rip), %rax     # 0x246a0
movq %rax, (%rbx)
leaq 0x8(%rbx), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15d51(%rip), %rsi     # 0x1b075
leaq 0x15d57(%rip), %rdx     # 0x1b082
leaq 0x8(%rsp), %rdi
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5359
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15d41(%rip), %rsi     # 0x1b0a9
leaq 0x15d40(%rip), %rdx     # 0x1b0af
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5398
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15d09(%rip), %rsi     # 0x1b0b0
leaq 0x15d0c(%rip), %rdx     # 0x1b0ba
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x53d7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15cd5(%rip), %rsi     # 0x1b0bb
leaq 0x15cd8(%rip), %rdx     # 0x1b0c5
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5416
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15ca1(%rip), %rsi     # 0x1b0c6
leaq 0x15cad(%rip), %rdx     # 0x1b0d9
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5455
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15c35(%rip), %rsi     # 0x1b099
leaq 0x15c3d(%rip), %rdx     # 0x1b0a8
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5494
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x54b4
jmp 0x54d0
jmp 0x54b4
jmp 0x54d0
jmp 0x54b4
jmp 0x54d0
jmp 0x54b4
jmp 0x54d0
jmp 0x54b4
jmp 0x54d0
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x54d3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x54d3
movq %rax, %r15
leaq 0x1f176(%rip), %rax     # 0x24650
addq $0x10, %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x627c
movq %r15, %rdi
callq 0x4430
nop
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: MarketMenu::MarketMenu()
MarketMenu :: MarketMenu()
  : Menu() {
  options.push_back("Display Items/Spells");
  options.push_back("Buy Item/Spell");
  options.push_back("Sell Item/Spell");
  options.push_back("Exit Market");
  options.push_back("Go to Main Menu");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x4e18
leaq 0x1f1ac(%rip), %rax     # 0x246b8
movq %rax, (%rbx)
leaq 0x8(%rbx), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15bb6(%rip), %rsi     # 0x1b0da
leaq 0x15bc3(%rip), %rdx     # 0x1b0ee
leaq 0x8(%rsp), %rdi
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5559
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15b87(%rip), %rsi     # 0x1b0ef
leaq 0x15b8e(%rip), %rdx     # 0x1b0fd
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5598
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15b57(%rip), %rsi     # 0x1b0fe
leaq 0x15b5f(%rip), %rdx     # 0x1b10d
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x55d7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15b28(%rip), %rsi     # 0x1b10e
leaq 0x15b2c(%rip), %rdx     # 0x1b119
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5616
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15a74(%rip), %rsi     # 0x1b099
leaq 0x15a7c(%rip), %rdx     # 0x1b0a8
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5655
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x5671
jmp 0x568d
jmp 0x5671
jmp 0x568d
jmp 0x5671
jmp 0x568d
jmp 0x5671
jmp 0x568d
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5690
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x5690
movq %rax, %r15
leaq 0x1efb9(%rip), %rax     # 0x24650
addq $0x10, %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x627c
movq %r15, %rdi
callq 0x4430
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: InventoryMenu::InventoryMenu()
InventoryMenu :: InventoryMenu()
  : Menu() {
  options.push_back("Display Items/Spells");
  options.push_back("Equip Item/Spell");
  options.push_back("Discard Item/Spell");
  options.push_back("Use Potion");
  options.push_back("Exit Inventory");
  options.push_back("Go to Main Menu");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x4e18
leaq 0x1f008(%rip), %rax     # 0x246d0
movq %rax, (%rbx)
leaq 0x8(%rbx), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x159fa(%rip), %rsi     # 0x1b0da
leaq 0x15a07(%rip), %rdx     # 0x1b0ee
leaq 0x8(%rsp), %rdi
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5715
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x159f6(%rip), %rsi     # 0x1b11a
leaq 0x159ff(%rip), %rdx     # 0x1b12a
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5754
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x159c8(%rip), %rsi     # 0x1b12b
leaq 0x159d3(%rip), %rdx     # 0x1b13d
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5793
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x1599c(%rip), %rsi     # 0x1b13e
leaq 0x1599f(%rip), %rdx     # 0x1b148
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x57d2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15968(%rip), %rsi     # 0x1b149
leaq 0x1596f(%rip), %rdx     # 0x1b157
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5811
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15879(%rip), %rsi     # 0x1b099
leaq 0x15881(%rip), %rdx     # 0x1b0a8
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5850
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x5870
jmp 0x588c
jmp 0x5870
jmp 0x588c
jmp 0x5870
jmp 0x588c
jmp 0x5870
jmp 0x588c
jmp 0x5870
jmp 0x588c
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x588f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x588f
movq %rax, %r15
leaq 0x1edba(%rip), %rax     # 0x24650
addq $0x10, %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x627c
movq %r15, %rdi
callq 0x4430
nop
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: MainMenu::MainMenu()
MainMenu :: MainMenu()
  : Menu() {
  options.push_back("Play");
  options.push_back("GenerateMap");
  options.push_back("Help");
  options.push_back("Quit");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x4e18
leaq 0x1ee20(%rip), %rax     # 0x246e8
movq %rax, (%rbx)
leaq 0x8(%rbx), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15878(%rip), %rsi     # 0x1b158
leaq 0x15875(%rip), %rdx     # 0x1b15c
leaq 0x8(%rsp), %rdi
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5915
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15839(%rip), %rsi     # 0x1b15d
leaq 0x1583d(%rip), %rdx     # 0x1b168
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5954
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x15806(%rip), %rsi     # 0x1b169
leaq 0x15803(%rip), %rdx     # 0x1b16d
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5993
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x157cc(%rip), %rsi     # 0x1b16e
leaq 0x157c9(%rip), %rdx     # 0x1b172
callq 0x654a
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x62da
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x59d2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x59ea
jmp 0x5a06
jmp 0x59ea
jmp 0x5a06
jmp 0x59ea
jmp 0x5a06
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5a09
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42a0
jmp 0x5a09
movq %rax, %r15
leaq 0x1ec40(%rip), %rax     # 0x24650
addq $0x10, %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x627c
movq %r15, %rdi
callq 0x4430
nop
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: MainMenu::welcome() const
void MainMenu :: welcome() const {  
  cout << endl << "Welcome to ..." << endl;

  displayMenu();

  cout << "Type any of the above options to enter (i.e : \"GenerateMap\" or \"Help\")"
       << endl << endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x1f589(%rip), %rbx     # 0x24fc0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq %rax, %r15
leaq 0x1570b(%rip), %rsi     # 0x1b173
movl $0xe, %edx
movq %rax, %rdi
callq 0x42f0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq (%r14), %rax
movq %r14, %rdi
callq *(%rax)
leaq 0x156d7(%rip), %rsi     # 0x1b182
movl $0x46, %edx
movq %rbx, %rdi
callq 0x42f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x41b0
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/menu/AllMenus.cpp
// Function: MainMenu::help() const
void MainMenu::help() const {
	ifstream helpFile;

	helpFile.open("input/help.info");

	if (helpFile.is_open()) {
		cout << endl;
		cout << helpFile.rdbuf();
	} else {
		cerr << "A problem occured while opening \"input/help.info\" ";
		cout << endl<< endl;
	}

	string answer;
	  while (answer != "Y" && answer != "y") {
		cout << endl << "Exit to Main Menu?(Y/n) : ";
		cin >> answer;
	  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x42e0
leaq 0x151fe(%rip), %rsi     # 0x1b29f
movq %rbx, %rdi
movl $0x8, %edx
callq 0x4170
leaq 0x98(%rsp), %rdi
callq 0x40a0
testb %al, %al
je 0x6101
movq 0x1eefa(%rip), %rdi     # 0x24fc0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq 0x1eedf(%rip), %rdi     # 0x24fc0
callq 0x4040
movq %rax, %rdi
callq 0x41b0
leaq 0x30(%rsp), %rsi
movq 0x1eec6(%rip), %rdi     # 0x24fc0
callq 0x4080
jmp 0x6172
movq 0x1eee0(%rip), %rdi     # 0x24fe8
leaq 0x151a0(%rip), %rsi     # 0x1b2af
movl $0x32, %edx
callq 0x42f0
movq 0x1eea0(%rip), %rdi     # 0x24fc0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq 0x1ee85(%rip), %rdi     # 0x24fc0
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x15c31(%rip), %rbx     # 0x1bdbe
movq %rsp, %r14
leaq 0x14fc4(%rip), %r15     # 0x1b15b
movq 0x1ee22(%rip), %r12     # 0x24fc0
leaq 0x1513d(%rip), %r13     # 0x1b2e2
movq 0x1ee24(%rip), %rbp     # 0x24fd0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x40d0
testl %eax, %eax
je 0x620f
movq %r14, %rdi
movq %r15, %rsi
callq 0x40d0
testl %eax, %eax
je 0x620f
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4270
movsbl %al, %esi
movq %r12, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41b0
movl $0x1a, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x42f0
movq %rbp, %rdi
movq %r14, %rsi
callq 0x4330
jmp 0x61ac
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x622a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x20(%rsp), %rdi
callq 0x4480
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x6269
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6269
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42a0
leaq 0x20(%rsp), %rdi
callq 0x4480
movq %rbx, %rdi
callq 0x4430
nop
// File: /workspace/github_cpp_makefile_star2_O3/arisKoutsou[P]oopproj/./src/grid/Grid.cpp
// Function: Grid::Tile::~Tile()
Grid :: Tile :: ~Tile() {
  while (livings.empty() == false) {
    delete livings.front();
    livings.pop_front();
  }

  delete market;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x8(%rdi), %r15
movq 0x8(%rdi), %r14
cmpq %r15, %r14
je 0x6640
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x6621
movq (%rdi), %rax
callq *0x8(%rax)
movq (%r15), %r14
decq 0x18(%rbx)
movq %r14, %rdi
callq 0x43f0
movl $0x18, %esi
movq %r14, %rdi
callq 0x42a0
movq 0x8(%rbx), %r14
jmp 0x660a
movq 0x20(%rbx), %rbx
testq %rbx, %rbx
je 0x6651
movq %rbx, %rdi
callq 0xfd66
movl $0x58, %esi
movq %rbx, %rdi
callq 0x42a0
movq (%r15), %rdi
cmpq %r15, %rdi
je 0x667b
movq (%rdi), %rbx
movl $0x18, %esi
callq 0x42a0
movq %rbx, %rdi
cmpq %r15, %rbx
jne 0x6666
popq %rbx
popq %r14
popq %r15
retq
nop