LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: ivan-tkatchev[P]yalz77/./lz77.h
// Function: lz77::offsets_dict_t::push_back(unsigned long*, unsigned long*, unsigned long*, unsigned long)
static size_t push_back(size_t* b, size_t* e, size_t* head, size_t val) {

        *head = val;
        ++head;

        if (head == e)
            head = b;

        return head - b;
    }

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq %rcx, -0x20(%rsp)
movq -0x20(%rsp), %rcx
movq -0x18(%rsp), %rax
movq %rcx, (%rax)
movq -0x18(%rsp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rsp)
movq -0x18(%rsp), %rax
cmpq -0x10(%rsp), %rax
jne 0x5135
movq -0x8(%rsp), %rax
movq %rax, -0x18(%rsp)
movq -0x18(%rsp), %rax
movq -0x8(%rsp), %rcx
subq %rcx, %rax
sarq $0x3, %rax
retq
nopw (%rax,%rax)
// File: ivan-tkatchev[P]yalz77/./lz77.h
// Function: lz77::vlq_length(unsigned long)
inline size_t vlq_length(size_t x) {
    size_t ret = 1;

    if (x > 0x7F)
        ret++;

    if (x > 0x3fff)
        ret++;

    if (x > 0x1fffff)
        ret++;

    return ret;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq $0x1, -0x10(%rsp)
cmpq $0x7f, -0x8(%rsp)
jbe 0x5174
movq -0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rsp)
cmpq $0x3fff, -0x8(%rsp)     # imm = 0x3FFF
jbe 0x518d
movq -0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rsp)
cmpq $0x1fffff, -0x8(%rsp)   # imm = 0x1FFFFF
jbe 0x51a6
movq -0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rsp)
movq -0x10(%rsp), %rax
retq
nopl (%rax)
// File: ivan-tkatchev[P]yalz77/./lz77.h
// Function: lz77::decompress_t::pop_vlq_uint(unsigned char const*&, unsigned char const*, unsigned long&)
bool pop_vlq_uint(const unsigned char*& i, const unsigned char* e, size_t& res) {

        while (1) {

            if (i == e)
                return false;

            size_t c = *i;

            if ((c & 0x80) == 0) {
                state.vlq_num |= (c << state.vlq_off);
                break;
            }

            state.vlq_num |= ((c & 0x7F) << state.vlq_off);
            state.vlq_off += 7;
            ++i;
        }

        res = state.vlq_num;
        state.vlq_num = 0;
        state.vlq_off = 0;

        return true;
    }

// Assembly:
movq %rdi, -0x10(%rsp)
movq %rsi, -0x18(%rsp)
movq %rdx, -0x20(%rsp)
movq %rcx, -0x28(%rsp)
movq -0x10(%rsp), %rax
movq %rax, -0x38(%rsp)
movq -0x18(%rsp), %rax
movq (%rax), %rax
cmpq -0x20(%rsp), %rax
jne 0x5237
movb $0x0, -0x1(%rsp)
jmp 0x52dc
movq -0x18(%rsp), %rax
movq (%rax), %rax
movzbl (%rax), %eax
movq %rax, -0x30(%rsp)
movq -0x30(%rsp), %rax
andq $0x80, %rax
cmpq $0x0, %rax
jne 0x5276
movq -0x38(%rsp), %rax
movq -0x30(%rsp), %rdx
movq 0x58(%rax), %rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq 0x50(%rax), %rcx
movq %rcx, 0x50(%rax)
jmp 0x52b6
movq -0x38(%rsp), %rax
movq -0x30(%rsp), %rdx
andq $0x7f, %rdx
movq 0x58(%rax), %rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq 0x50(%rax), %rcx
movq %rcx, 0x50(%rax)
movq 0x58(%rax), %rcx
addq $0x7, %rcx
movq %rcx, 0x58(%rax)
movq -0x18(%rsp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
jmp 0x521e
movq -0x38(%rsp), %rax
movq 0x50(%rax), %rdx
movq -0x28(%rsp), %rcx
movq %rdx, (%rcx)
movq $0x0, 0x50(%rax)
movq $0x0, 0x58(%rax)
movb $0x1, -0x1(%rsp)
movb -0x1(%rsp), %al
andb $0x1, %al
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: 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
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
movq %rdi, %rax
movq %rax, -0x68(%rbp)
callq 0x5590
movq -0x58(%rbp), %rdi
addq $0x28, %rdi
movq %rdi, -0x60(%rbp)
callq 0x5590
movq -0x58(%rbp), %rdi
addq $0x48, %rdi
movq %rdi, -0x50(%rbp)
callq 0x5590
movq -0x10(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x5530
movb %al, -0x45(%rbp)
jmp 0xa231
movb -0x45(%rbp), %al
testb $0x1, %al
jne 0xa23d
jmp 0xa36b
leaq -0x40(%rbp), %rdi
callq 0x5590
movq -0x10(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x5530
movb %al, -0x69(%rbp)
jmp 0xa25e
movb -0x69(%rbp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x6a(%rbp)
jne 0xa26d
jmp 0xa28a
movq -0x10(%rbp), %rdi
callq 0x5500
movl %eax, -0x70(%rbp)
jmp 0xa27b
movl -0x70(%rbp), %eax
movl %eax, -0x44(%rbp)
cmpl $0xd, %eax
setne %al
movb %al, -0x6a(%rbp)
movb -0x6a(%rbp), %al
testb $0x1, %al
jne 0xa293
jmp 0xa2c6
movsbl -0x44(%rbp), %esi
leaq -0x40(%rbp), %rdi
callq 0x5380
jmp 0xa2a2
jmp 0xa246
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xa3cf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xa360
movq -0x10(%rbp), %rdi
callq 0x5500
movl %eax, -0x74(%rbp)
jmp 0xa2d4
movl -0x74(%rbp), %eax
movl %eax, -0x44(%rbp)
cmpl $0xa, -0x44(%rbp)
je 0xa33b
cmpl $-0x1, -0x44(%rbp)
je 0xa33b
movl $0x10, %edi
callq 0x51d0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x80(%rbp)
leaq 0x2af47(%rip), %rsi     # 0x35248
callq 0x5150
jmp 0xa308
movq -0x80(%rbp), %rdi
movq 0x44cd5(%rip), %rsi     # 0x4efe8
movq 0x44c76(%rip), %rdx     # 0x4ef90
callq 0x5660
jmp 0xa3f3
movq -0x80(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x5330
jmp 0xa360
movq -0x68(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x5060
jmp 0xa34a
movq -0x68(%rbp), %rdi
callq 0xa400
jmp 0xa355
leaq -0x40(%rbp), %rdi
callq 0x5768
jmp 0xa3c6
leaq -0x40(%rbp), %rdi
callq 0x5768
jmp 0xa3cf
movl $0x10, %edi
callq 0x51d0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x88(%rbp)
leaq 0x2aed6(%rip), %rsi     # 0x3525f
callq 0x52c0
jmp 0xa390
movq -0x88(%rbp), %rdi
movq 0x44bca(%rip), %rsi     # 0x4ef68
movq 0x44be3(%rip), %rdx     # 0x4ef88
callq 0x5660
jmp 0xa3f3
movq -0x88(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x5330
jmp 0xa3cf
addq $0x90, %rsp
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x5768
movq -0x60(%rbp), %rdi
callq 0x5768
movq -0x58(%rbp), %rdi
callq 0x5768
movq -0x18(%rbp), %rdi
callq 0x56a0
nopw %cs:(%rax,%rax)
// File: Albuso0[P]entropy/entropy.cpp
// Function: Entropy::estimate() const
double Entropy::estimate() const 
{
    double HEsti = 0;
    int symbolnumber = 0;
    for ( const auto & pair : fin )
    {
        int N = pair.first;
        symbolnumber += pair.second;
        if ( N > N_thr) // plug-in
        {
            double x = (double)N / (double)n;
            HEsti += (-x*log(x)+0.5/n) * (pair.second);
        }
        else // polynomial
        {
            HEsti += getCoeff(N) * (pair.second);
        }
    }
    HEsti += 1.0*getCoeff(0) * (k-symbolnumber);
    
    HEsti = (HEsti > 0)? HEsti:0;
    // HEsti = (HEsti < log(k))?HEsti:log(k);

    return HEsti/log(2); // return the estimated entropy (bits)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
addq $0x28, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x3770
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x37a0
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x37d0
testb $0x1, %al
jne 0x254b
jmp 0x2640
leaq -0x28(%rbp), %rdi
callq 0x3810
movq %rax, %rcx
movq -0x50(%rbp), %rax
movq %rcx, -0x38(%rbp)
movq -0x38(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, -0x3c(%rbp)
movq -0x38(%rbp), %rcx
movl 0x4(%rcx), %ecx
addl -0x14(%rbp), %ecx
movl %ecx, -0x14(%rbp)
cvtsi2sdl -0x3c(%rbp), %xmm0
ucomisd 0x8(%rax), %xmm0
jbe 0x2609
movq -0x50(%rbp), %rax
cvtsi2sdl -0x3c(%rbp), %xmm0
cvtsi2sdl 0x1c(%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x48(%rbp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -0x58(%rbp)
movsd -0x48(%rbp), %xmm0
callq 0x21a0
movq -0x50(%rbp), %rax
movaps %xmm0, %xmm2
movsd -0x58(%rbp), %xmm0
cvtsi2sdl 0x1c(%rax), %xmm3
movsd 0x5a38(%rip), %xmm1     # 0x8018
divsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
cvtsi2sdl 0x4(%rax), %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
jmp 0x2630
movq -0x50(%rbp), %rdi
movl -0x3c(%rbp), %esi
callq 0x26e0
movq -0x38(%rbp), %rax
cvtsi2sdl 0x4(%rax), %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
jmp 0x2632
leaq -0x28(%rbp), %rdi
callq 0x3830
jmp 0x2535
movq -0x50(%rbp), %rdi
xorl %esi, %esi
callq 0x26e0
movq -0x50(%rbp), %rax
movaps %xmm0, %xmm1
movsd 0x59ae(%rip), %xmm0     # 0x8008
mulsd %xmm1, %xmm0
movl 0x20(%rax), %eax
subl -0x14(%rbp), %eax
cvtsi2sd %eax, %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
movsd -0x10(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x2694
movsd -0x10(%rbp), %xmm0
movsd %xmm0, -0x60(%rbp)
jmp 0x269e
xorps %xmm0, %xmm0
movsd %xmm0, -0x60(%rbp)
jmp 0x269e
movsd -0x60(%rbp), %xmm0
movsd %xmm0, -0x10(%rbp)
movsd -0x10(%rbp), %xmm0
movsd %xmm0, -0x68(%rbp)
movsd 0x5956(%rip), %xmm0     # 0x8010
callq 0x21a0
movaps %xmm0, %xmm1
movsd -0x68(%rbp), %xmm0
divsd %xmm1, %xmm0
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpl $0x0, -0xc(%rbp)
jge 0x2729
movq 0xa8ec(%rip), %rdi      # 0xcff0
leaq 0x5915(%rip), %rsi      # 0x8020
callq 0x21e0
movq %rax, %rdi
movq 0xa8ae(%rip), %rsi      # 0xcfc8
callq 0x2220
movl $0x1, %edi
callq 0x2290
movq -0x28(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x18(%rcx), %eax
jle 0x2741
movq -0x28(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x2c(%rbp)
jmp 0x2747
movl -0xc(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x28(%rbp), %rdi
movl -0x2c(%rbp), %eax
movl %eax, -0x10(%rbp)
addq $0x40, %rdi
movslq -0x10(%rbp), %rsi
callq 0x3850
movsd (%rax), %xmm0
movsd %xmm0, -0x18(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jle 0x27c3
movq -0x28(%rbp), %rdi
addq $0x40, %rdi
movl -0x1c(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x3850
movq %rax, %rcx
movq -0x28(%rbp), %rax
movsd (%rcx), %xmm0
movsd -0x18(%rbp), %xmm1
movl -0xc(%rbp), %ecx
subl -0x1c(%rbp), %ecx
addl $0x1, %ecx
cvtsi2sd %ecx, %xmm2
mulsd %xmm2, %xmm1
divsd 0x10(%rax), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x276d
movq -0x28(%rbp), %rax
movsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movsd 0x10(%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
cvtsi2sdl 0x1c(%rax), %xmm0
divsd 0x10(%rax), %xmm0
callq 0x21a0
movsd -0x40(%rbp), %xmm2
movq -0x28(%rbp), %rax
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
cvtsi2sdl -0xc(%rbp), %xmm3
mulsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvtsi2sdl 0x1c(%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movsd -0x18(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Albuso0[P]entropy/entropy.cpp
// Function: Entropy::estimate_non_zero() const
double Entropy::estimate_non_zero() const // Only use fingerprint f_j for j>=1. In other words, g(0)=0.
{
    double HEsti = 0;
    for ( const auto & pair : fin )
    {
        int N = pair.first;
        if ( N > N_thr) // plug-in
        {
            double x = (double)N / (double)n;
            HEsti += (-x*log(x)+0.5/n) * (pair.second);
        }
        else // polynomial
        {
            HEsti += getCoeff(N) * (pair.second);
        }
    }
    
    HEsti = (HEsti > 0)? HEsti:0;
    // HEsti = (HEsti < log(k))?HEsti:log(k);

    return HEsti/log(2); // return the estimated entropy (bits)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x10(%rbp)
addq $0x28, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x3770
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x37a0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x37d0
testb $0x1, %al
jne 0x2884
jmp 0x296c
leaq -0x20(%rbp), %rdi
callq 0x3810
movq %rax, %rcx
movq -0x48(%rbp), %rax
movq %rcx, -0x30(%rbp)
movq -0x30(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, -0x34(%rbp)
cvtsi2sdl -0x34(%rbp), %xmm0
ucomisd 0x8(%rax), %xmm0
jbe 0x2935
movq -0x48(%rbp), %rax
cvtsi2sdl -0x34(%rbp), %xmm0
cvtsi2sdl 0x1c(%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x40(%rbp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -0x50(%rbp)
movsd -0x40(%rbp), %xmm0
callq 0x21a0
movq -0x48(%rbp), %rax
movaps %xmm0, %xmm2
movsd -0x50(%rbp), %xmm0
cvtsi2sdl 0x1c(%rax), %xmm3
movsd 0x570c(%rip), %xmm1     # 0x8018
divsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -0x30(%rbp), %rax
cvtsi2sdl 0x4(%rax), %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
jmp 0x295c
movq -0x48(%rbp), %rdi
movl -0x34(%rbp), %esi
callq 0x26e0
movq -0x30(%rbp), %rax
cvtsi2sdl 0x4(%rax), %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
jmp 0x295e
leaq -0x20(%rbp), %rdi
callq 0x3830
jmp 0x286e
movsd -0x10(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x2986
movsd -0x10(%rbp), %xmm0
movsd %xmm0, -0x58(%rbp)
jmp 0x2990
xorps %xmm0, %xmm0
movsd %xmm0, -0x58(%rbp)
jmp 0x2990
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x10(%rbp)
movsd -0x10(%rbp), %xmm0
movsd %xmm0, -0x60(%rbp)
movsd 0x5664(%rip), %xmm0     # 0x8010
callq 0x21a0
movaps %xmm0, %xmm1
movsd -0x60(%rbp), %xmm0
divsd %xmm1, %xmm0
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
addq $0x28, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x3770
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x37a0
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x37d0
testb $0x1, %al
jne 0x2a2b
jmp 0x2acd
leaq -0x28(%rbp), %rdi
callq 0x3810
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x38(%rbp), %rax
movl 0x4(%rax), %eax
addl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x3c(%rbp)
jle 0x2abd
movq -0x50(%rbp), %rax
cvtsi2sdl -0x3c(%rbp), %xmm0
cvtsi2sdl 0x1c(%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x48(%rbp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -0x58(%rbp)
movsd -0x48(%rbp), %xmm0
callq 0x21a0
movaps %xmm0, %xmm1
movsd -0x58(%rbp), %xmm0
mulsd %xmm1, %xmm0
movq -0x38(%rbp), %rax
cvtsi2sdl 0x4(%rax), %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
jmp 0x2abf
leaq -0x28(%rbp), %rdi
callq 0x3830
jmp 0x2a15
movq -0x50(%rbp), %rax
movsd -0x10(%rbp), %xmm0
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
cvtsi2sd %ecx, %xmm2
movsd 0x5520(%rip), %xmm1     # 0x8008
mulsd %xmm2, %xmm1
cvtsi2sdl 0x1c(%rax), %xmm2
divsd %xmm2, %xmm1
movsd 0x5513(%rip), %xmm2     # 0x8010
divsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x60(%rbp)
movsd 0x54fe(%rip), %xmm0     # 0x8010
callq 0x21a0
movaps %xmm0, %xmm1
movsd -0x60(%rbp), %xmm0
divsd %xmm1, %xmm0
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)
// File: Albuso0[P]entropy/entropy.cpp
// Function: Entropy::estimate_plug() const
double Entropy::estimate_plug() const
{
    double HEsti = 0;
    for ( const auto & pair : fin )
    {
        int N = pair.first;
        if ( N>0 )
        {
            double x = (double)N / (double)n;
            HEsti += (-x*log(x)) * (pair.second);
        }
    }
    return HEsti/log(2); // return the empirical entropy (bits)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x10(%rbp)
addq $0x28, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x3770
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x37a0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x37d0
testb $0x1, %al
jne 0x2b84
jmp 0x2c19
leaq -0x20(%rbp), %rdi
callq 0x3810
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x34(%rbp)
cmpl $0x0, -0x34(%rbp)
jle 0x2c09
movq -0x48(%rbp), %rax
cvtsi2sdl -0x34(%rbp), %xmm0
cvtsi2sdl 0x1c(%rax), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x40(%rbp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -0x50(%rbp)
movsd -0x40(%rbp), %xmm0
callq 0x21a0
movaps %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
mulsd %xmm1, %xmm0
movq -0x30(%rbp), %rax
cvtsi2sdl 0x4(%rax), %xmm2
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
jmp 0x2c0b
leaq -0x20(%rbp), %rdi
callq 0x3830
jmp 0x2b6e
movsd -0x10(%rbp), %xmm0
movsd %xmm0, -0x58(%rbp)
movsd 0x53e5(%rip), %xmm0     # 0x8010
callq 0x21a0
movaps %xmm0, %xmm1
movsd -0x58(%rbp), %xmm0
divsd %xmm1, %xmm0
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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
movq %rsp, %rbp
subq $0x50, %rsp
movq %rsi, -0x38(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
addq $0x28, %rdi
callq 0x3870
movq -0x40(%rbp), %rax
movq -0x38(%rbp), %rdi
movl $0x0, 0x1c(%rax)
callq 0x3890
movq %rax, %rdi
callq 0x38b0
movq %rax, -0x18(%rbp)
movq -0x38(%rbp), %rdi
callq 0x3890
movq %rax, %rdi
callq 0x3910
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x38e0
testb $0x1, %al
jne 0x2cbd
jmp 0x2d26
leaq -0x18(%rbp), %rdi
callq 0x3940
movl (%rax), %eax
movl %eax, -0x24(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x3940
movq %rax, %rcx
movq -0x40(%rbp), %rax
movl 0x4(%rcx), %ecx
movl %ecx, -0x28(%rbp)
addq $0x28, %rax
movq %rax, -0x48(%rbp)
leaq -0x24(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x39a0
movq -0x48(%rbp), %rdi
movq %rax, -0x30(%rbp)
leaq -0x30(%rbp), %rsi
callq 0x3970
movq -0x40(%rbp), %rax
movl -0x24(%rbp), %ecx
imull -0x28(%rbp), %ecx
addl 0x1c(%rax), %ecx
movl %ecx, 0x1c(%rax)
leaq -0x18(%rbp), %rdi
callq 0x39d0
jmp 0x2c95
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)
// File: 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
movq %rsp, %rbp
subq $0x270, %rsp            # imm = 0x270
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x260(%rbp)
movl -0xc(%rbp), %eax
movl %eax, 0x18(%rdi)
addq $0x40, %rdi
callq 0x3d40
movl $0x8, %edi
movl $0x10, %esi
callq 0x3d60
movl %eax, %edx
leaq 0x4ada(%rip), %rsi      # 0x803e
leaq -0x220(%rbp), %rdi
callq 0x22c0
xorl %eax, %eax
movl %eax, %esi
leaq -0x230(%rbp), %rdi
callq 0x3d80
jmp 0x3582
movq -0x230(%rbp), %rsi
movq -0x228(%rbp), %rdx
leaq -0x220(%rbp), %rdi
callq 0x22b0
jmp 0x359e
movl $0x0, -0x240(%rbp)
movq -0x260(%rbp), %rcx
movl -0x240(%rbp), %eax
movl 0x18(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x3610
callq 0x3dc0
movq %rax, %rsi
leaq -0x220(%rbp), %rdi
movl $0xa, %edx
callq 0x2140
jmp 0x35da
jmp 0x35dc
movl -0x240(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x240(%rbp)
jmp 0x35a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x238(%rbp)
movl %eax, -0x23c(%rbp)
leaq -0x220(%rbp), %rdi
callq 0x2080
jmp 0x36f2
leaq -0x220(%rbp), %rdi
leaq -0x244(%rbp), %rsi
callq 0x2110
jmp 0x3625
movq -0x260(%rbp), %rax
movl 0x18(%rax), %eax
cmpl -0x244(%rbp), %eax
je 0x3672
movq 0x99b2(%rip), %rdi      # 0xcff0
leaq 0x4a04(%rip), %rsi      # 0x8049
callq 0x21e0
movq %rax, -0x268(%rbp)
jmp 0x3653
movq -0x268(%rbp), %rdi
movq 0x9967(%rip), %rsi      # 0xcfc8
callq 0x2220
jmp 0x3668
movl $0x1, %edi
callq 0x2290
movl $0x0, -0x254(%rbp)
movq -0x260(%rbp), %rcx
movl -0x254(%rbp), %eax
cmpl 0x18(%rcx), %eax
jg 0x36cf
leaq -0x220(%rbp), %rdi
leaq -0x250(%rbp), %rsi
callq 0x21b0
jmp 0x36a3
movq -0x260(%rbp), %rdi
addq $0x40, %rdi
leaq -0x250(%rbp), %rsi
callq 0x3dd0
jmp 0x36bc
jmp 0x36be
movl -0x254(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x254(%rbp)
jmp 0x367c
leaq -0x220(%rbp), %rdi
callq 0x2040
jmp 0x36dd
leaq -0x220(%rbp), %rdi
callq 0x2080
addq $0x270, %rsp            # imm = 0x270
popq %rbp
retq
movq -0x238(%rbp), %rdi
callq 0x2330
nop
// File: 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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x1884(%rip), %rdi      # 0x80b7
movb $0x0, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x6af0
movl %eax, %esi
leaq 0x1878(%rip), %rdi      # 0x80c4
movb $0x0, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x6b10
movl %eax, %esi
leaq 0x1873(%rip), %rdi      # 0x80d8
movb $0x0, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x6b30
leaq 0x1873(%rip), %rdi      # 0x80ef
movb $0x1, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x6b50
callq 0x2310
cvttsd2si %xmm0, %esi
addl $0x1, %esi
leaq 0x1874(%rip), %rdi      # 0x8113
movb $0x0, %al
callq 0x2030
leaq 0x1815(%rip), %rdi      # 0x80c2
movb $0x0, %al
callq 0x2030
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x1857(%rip), %rdi      # 0x812a
movb $0x0, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x6b70
movl %eax, %esi
leaq 0x1848(%rip), %rdi      # 0x8134
movb $0x0, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x2b30
leaq 0x1842(%rip), %rdi      # 0x8145
movb $0x1, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x29d0
leaq 0x1840(%rip), %rdi      # 0x815a
movb $0x1, %al
callq 0x2030
movq -0x8(%rbp), %rdi
callq 0x24f0
leaq 0x1842(%rip), %rdi      # 0x8173
movb $0x1, %al
callq 0x2030
leaq 0x1783(%rip), %rdi      # 0x80c2
movb $0x0, %al
callq 0x2030
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: sigCatch(int)
static void sigCatch(int signum)
{
   /* do NOT do any serious work here */
   /* Just get out of its processing loop */

      if ((signum == SIGTERM) ||
       (signum == SIGINT))
         keep_running = false;
   return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
cmpl $0xf, -0x4(%rbp)
je 0x3d63
cmpl $0x2, -0x4(%rbp)
jne 0x3d6a
movb $0x0, 0x1b57a(%rip)     # 0x1f2e4
popq %rbp
retq
nopl (%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x2, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x30e0
movl %eax, 0x1a56c(%rip)     # 0x1f2d8
cmpl $-0x1, 0x1a565(%rip)    # 0x1f2d8
jne 0x4d96
callq 0x3050
movl (%rax), %esi
leaq 0x1277b(%rip), %rdi     # 0x174fe
movb $0x0, %al
callq 0x3820
movl $0x1, -0x4(%rbp)
jmp 0x4e4a
leaq -0x14(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x31a0
movw $0x2, -0x14(%rbp)
movl 0x1a536(%rip), %eax     # 0x1f2e8
movzwl %ax, %edi
callq 0x3070
movw %ax, -0x12(%rbp)
leaq 0x1dddb(%rip), %rdi     # 0x22ba0
callq 0x32f0
movl %eax, -0x10(%rbp)
movl 0x1a505(%rip), %edi     # 0x1f2d8
leaq -0x14(%rbp), %rsi
movl $0x10, %edx
callq 0x30a0
cmpl $0x0, %eax
je 0x4e2c
movl 0x1a4fc(%rip), %eax     # 0x1f2e8
movl %eax, -0x18(%rbp)
callq 0x3050
movl -0x18(%rbp), %edx
movl (%rax), %ecx
leaq 0x12727(%rip), %rdi     # 0x17527
leaq 0x1dd99(%rip), %rsi     # 0x22ba0
movb $0x0, %al
callq 0x3820
movl 0x1a4c4(%rip), %edi     # 0x1f2d8
callq 0x3570
movl $0xffffffff, 0x1a4b5(%rip) # imm = 0xFFFFFFFF
movl $0x1, -0x4(%rbp)
jmp 0x4e4a
movl 0x1a4a6(%rip), %edi     # 0x1f2d8
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
movb $0x0, %al
callq 0x31b0
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x2, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x30e0
movl %eax, 0x1a460(%rip)     # 0x1f2dc
cmpl $-0x1, 0x1a459(%rip)    # 0x1f2dc
jne 0x4ea6
callq 0x3050
movl (%rax), %esi
leaq 0x126ce(%rip), %rdi     # 0x17561
movb $0x0, %al
callq 0x3820
movl $0x1, -0x4(%rbp)
jmp 0x4f5a
leaq -0x14(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x31a0
movw $0x2, -0x14(%rbp)
movl 0x1a42a(%rip), %eax     # 0x1f2ec
movzwl %ax, %edi
callq 0x3070
movw %ax, -0x12(%rbp)
leaq 0x1dccb(%rip), %rdi     # 0x22ba0
callq 0x32f0
movl %eax, -0x10(%rbp)
movl 0x1a3f9(%rip), %edi     # 0x1f2dc
leaq -0x14(%rbp), %rsi
movl $0x10, %edx
callq 0x30a0
cmpl $0x0, %eax
je 0x4f3c
movl 0x1a3f0(%rip), %eax     # 0x1f2ec
movl %eax, -0x18(%rbp)
callq 0x3050
movl -0x18(%rbp), %edx
movl (%rax), %ecx
leaq 0x12677(%rip), %rdi     # 0x17587
leaq 0x1dc89(%rip), %rsi     # 0x22ba0
movb $0x0, %al
callq 0x3820
movl 0x1a3b8(%rip), %edi     # 0x1f2dc
callq 0x3570
movl $0xffffffff, 0x1a3a9(%rip) # imm = 0xFFFFFFFF
movl $0x1, -0x4(%rbp)
jmp 0x4f5a
movl 0x1a39a(%rip), %edi     # 0x1f2dc
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
movb $0x0, %al
callq 0x31b0
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x2, %esi
xorl %edx, %edx
movl %esi, %edi
callq 0x30e0
movl %eax, 0x1a354(%rip)     # 0x1f2e0
cmpl $-0x1, 0x1a34d(%rip)    # 0x1f2e0
jne 0x4fb6
callq 0x3050
movl (%rax), %esi
leaq 0x1261b(%rip), %rdi     # 0x175be
movb $0x0, %al
callq 0x3820
movl $0x1, -0x4(%rbp)
jmp 0x505a
leaq -0x14(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x31a0
movw $0x2, -0x14(%rbp)
movl $0x4e21, %edi           # imm = 0x4E21
callq 0x3070
movw %ax, -0x12(%rbp)
leaq 0x1dbbf(%rip), %rdi     # 0x22ba0
callq 0x32f0
movl %eax, -0x10(%rbp)
movl 0x1a2f1(%rip), %edi     # 0x1f2e0
leaq -0x14(%rbp), %rsi
movl $0x10, %edx
callq 0x30a0
cmpl $0x0, %eax
je 0x503c
callq 0x3050
movl (%rax), %edx
leaq 0x125d4(%rip), %rdi     # 0x175e4
leaq 0x1db89(%rip), %rsi     # 0x22ba0
movb $0x0, %al
callq 0x3820
movl 0x1a2bc(%rip), %edi     # 0x1f2e0
callq 0x3570
movl $0xffffffff, 0x1a2ad(%rip) # imm = 0xFFFFFFFF
movl $0x1, -0x4(%rbp)
jmp 0x505a
movl 0x1a29e(%rip), %edi     # 0x1f2e0
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
movb $0x0, %al
callq 0x31b0
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %dil, %al
andb $0x1, %al
movb %al, -0x1(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x13d50
leaq -0x20(%rbp), %rdi
callq 0x10840
leaq 0x10937(%rip), %rdi     # 0x1f380
callq 0x13d70
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x10(%rbp)
leaq 0x1091f(%rip), %rdi     # 0x1f380
callq 0x13dd0
movq %rax, -0x38(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x13da0
testb $0x1, %al
jne 0xea7d
jmp 0xeaac
leaq -0x10(%rbp), %rdi
callq 0x13e00
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
movb -0x1(%rbp), %cl
movq -0x18(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x9(%rax)
leaq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x13e20
movq %rax, -0x40(%rbp)
jmp 0xea5a
leaq 0x1089d(%rip), %rdi     # 0x1f350
callq 0x10860
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10885(%rip), %rdi     # 0x1f350
callq 0x108c0
movq %rax, -0x50(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x10890
testb $0x1, %al
jne 0xeae7
jmp 0xeb16
leaq -0x20(%rbp), %rdi
callq 0x108f0
movq 0x20(%rax), %rax
movq %rax, -0x28(%rbp)
movb -0x1(%rbp), %cl
movq -0x28(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x9(%rax)
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x10910
movq %rax, -0x58(%rbp)
jmp 0xeac4
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)
// File: st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: print_blocks()
static void print_blocks()
{
   blocks_type::iterator pos;
   char buf[32];

   for (pos = blocks.begin(); pos != blocks.end(); pos++)
   {
      snprintf(buf, 31, "[%s]\n", pos->c_str()); 
      sendto(cmd_sock, buf, strlen(buf),
             0, (struct sockaddr *)&fromCmd,
             sizeof(struct sockaddr_in));
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
leaq -0x8(%rbp), %rdi
callq 0x13370
leaq 0x104d8(%rip), %rdi     # 0x1f3e0
callq 0x13420
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
leaq 0x104c0(%rip), %rdi     # 0x1f3e0
callq 0x13480
movq %rax, -0x40(%rbp)
leaq -0x8(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x13450
testb $0x1, %al
jne 0xef3c
jmp 0xefbb
leaq -0x30(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq -0x8(%rbp), %rdi
callq 0x134b0
movq %rax, %rdi
callq 0x3140
movq -0x60(%rbp), %rdi
movq %rax, %rcx
movl $0x1f, %esi
leaq 0x84eb(%rip), %rdx      # 0x17453
movb $0x0, %al
callq 0x34c0
movl 0x10367(%rip), %eax     # 0x1f2dc
movl %eax, -0x54(%rbp)
leaq -0x30(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3150
movl -0x54(%rbp), %edi
movq -0x50(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
leaq 0x140d4(%rip), %r8      # 0x23070
movl $0x10, %r9d
callq 0x3080
leaq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x134d0
movq %rax, -0x48(%rbp)
jmp 0xef19
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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
movq %rsp, %rbp
subq $0x60, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movb $0x0, -0xa(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x13d50
leaq -0x28(%rbp), %rdi
callq 0x10840
leaq 0xfdcf(%rip), %rdi      # 0x1f380
callq 0x13d70
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x18(%rbp)
leaq 0xfdb7(%rip), %rdi      # 0x1f380
callq 0x13dd0
movq %rax, -0x40(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x13da0
testb $0x1, %al
jne 0xf5e5
jmp 0xf62c
leaq -0x18(%rbp), %rdi
callq 0x13e00
movq 0x20(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x3460
cmpl $0x0, %eax
jne 0xf619
movb $0x1, -0xa(%rbp)
movb -0x9(%rbp), %cl
movq -0x20(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x9(%rax)
jmp 0xf61b
leaq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x13e20
movq %rax, -0x48(%rbp)
jmp 0xf5c2
leaq 0xfd1d(%rip), %rdi      # 0x1f350
callq 0x10860
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0xfd05(%rip), %rdi      # 0x1f350
callq 0x108c0
movq %rax, -0x58(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x10890
testb $0x1, %al
jne 0xf667
jmp 0xf6ae
leaq -0x28(%rbp), %rdi
callq 0x108f0
movq 0x20(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x3460
cmpl $0x0, %eax
jne 0xf69b
movb $0x1, -0xa(%rbp)
movb -0x9(%rbp), %cl
movq -0x30(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x9(%rax)
jmp 0xf69d
leaq -0x28(%rbp), %rdi
xorl %esi, %esi
callq 0x10910
movq %rax, -0x60(%rbp)
jmp 0xf644
movb -0xa(%rbp), %al
andb $0x1, %al
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)
// File: st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: get_ip(char*, char*)
static bool get_ip(char *call, char *ip)
{
   bool ok = false;
   call_ip_type::iterator pos;

   struct sockaddr_in a_net_addr;

   pos = call_ip_map.find(call);
   if (pos == call_ip_map.end())
   {
      traceit("Callsign [%s] not found in database\n", call);
      return false;  // not found
   }

   ok = resolve_rmt((char *)pos->second.c_str(), SOCK_DGRAM, &(a_net_addr));
   if (!ok)
   {
      traceit("Failed to resolve [%s] for callsign [%s]\n", 
               pos->second.c_str(), call); 
      return false;
   }

   if (ip)
      strcpy(ip, inet_ntoa(a_net_addr.sin_addr));

   return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11de0
movq -0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq -0x61(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x3520
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdx
leaq -0x60(%rbp), %rdi
callq 0x11f00
jmp 0x10254
leaq 0xf155(%rip), %rdi      # 0x1f3b0
leaq -0x60(%rbp), %rsi
callq 0x145e0
movq %rax, -0xa0(%rbp)
jmp 0x1026d
movq -0xa0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x31e0
leaq -0x61(%rbp), %rdi
callq 0x3330
leaq 0xf117(%rip), %rdi      # 0x1f3b0
callq 0x12010
movq %rax, -0x80(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x12140
testb $0x1, %al
jne 0x102b5
jmp 0x10301
movq -0x10(%rbp), %rsi
leaq 0x7d71(%rip), %rdi      # 0x18031
movb $0x0, %al
callq 0x3820
movb $0x0, -0x1(%rbp)
jmp 0x1039b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x102f3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x31e0
leaq -0x61(%rbp), %rdi
callq 0x3330
jmp 0x103a9
leaq -0x28(%rbp), %rdi
callq 0x12040
movq %rax, %rdi
addq $0x20, %rdi
callq 0x3140
movq %rax, %rdi
movl $0x2, %esi
leaq -0x38(%rbp), %rdx
callq 0x105c0
andb $0x1, %al
movb %al, -0x19(%rbp)
testb $0x1, -0x19(%rbp)
jne 0x10362
leaq -0x28(%rbp), %rdi
callq 0x12040
movq %rax, %rdi
addq $0x20, %rdi
callq 0x3140
movq %rax, %rsi
movq -0x10(%rbp), %rdx
leaq 0x7d01(%rip), %rdi      # 0x18056
movb $0x0, %al
callq 0x3820
movb $0x0, -0x1(%rbp)
jmp 0x1039b
cmpq $0x0, -0x18(%rbp)
je 0x10397
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x84(%rbp)
movl -0x84(%rbp), %edi
callq 0x3160
movq -0xa8(%rbp), %rdi
movq %rax, %rsi
callq 0x32b0
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xb0, %rsp
popq %rbp
retq
movq -0x70(%rbp), %rdi
callq 0x3500
nopw %cs:(%rax,%rax)
// File: st0ne[P]XReflectorPlus/dxrfd.cpp
// Function: resolve_rmt(char*, int, sockaddr_in*)
static bool resolve_rmt(char *name, int type, struct sockaddr_in *addr)
{
   struct addrinfo hints;
   struct addrinfo *res;
   struct addrinfo *rp;
   int rc = 0;
   bool found = false;

   memset(&hints, 0x00, sizeof(struct addrinfo));
   hints.ai_family = AF_INET;
   hints.ai_socktype = type;

   rc = getaddrinfo(name, NULL, &hints, &res);
   if (rc != 0)
   {
      traceit("getaddrinfo return error code %d for [%s]\n", rc, name);
      return false;
   }

   for (rp = res; rp != NULL; rp = rp->ai_next)
   {
      if ((rp->ai_family == AF_INET) &&
          (rp->ai_socktype == type))
      {
         memcpy(addr, rp->ai_addr, sizeof(struct sockaddr_in));
         found = true;
         break;
      }
   }
   freeaddrinfo(res);
   return found;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl $0x0, -0x64(%rbp)
movb $0x0, -0x65(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x30, %edx
callq 0x31a0
movl $0x2, -0x4c(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x48(%rbp)
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -0x50(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x3400
movl %eax, -0x64(%rbp)
cmpl $0x0, -0x64(%rbp)
je 0x10634
movl -0x64(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq 0x7a59(%rip), %rdi      # 0x18080
movb $0x0, %al
callq 0x3820
movb $0x0, -0x1(%rbp)
jmp 0x1069a
movq -0x58(%rbp), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
je 0x10689
movq -0x60(%rbp), %rax
cmpl $0x2, 0x4(%rax)
jne 0x10679
movq -0x60(%rbp), %rax
movl 0x8(%rax), %eax
cmpl -0x14(%rbp), %eax
jne 0x10679
movq -0x20(%rbp), %rax
movq -0x60(%rbp), %rcx
movq 0x18(%rcx), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rcx
movq %rcx, 0x8(%rax)
movb $0x1, -0x65(%rbp)
jmp 0x10689
jmp 0x1067b
movq -0x60(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x60(%rbp)
jmp 0x1063c
movq -0x58(%rbp), %rdi
callq 0x3410
movb -0x65(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: textbrowser[P]zepeto/zepeto.cc
// Function: zepeto::~zepeto()
zepeto::~zepeto()
{
  close(m_fd);
  delete []m_buffer;
  delete []m_pwd_buffer;
  delete []m_tempfilename;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movl 0x18(%rax), %edi
callq 0x3660
jmp 0x3eeb
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x3f05
movq -0x20(%rbp), %rdi
callq 0x3470
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x3f20
movq -0x28(%rbp), %rdi
callq 0x3470
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x3f3b
movq -0x30(%rbp), %rdi
callq 0x3470
movq -0x18(%rbp), %rdi
addq $0x140, %rdi            # imm = 0x140
callq 0x3250
movq -0x18(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
callq 0x3250
movq -0x18(%rbp), %rdi
addq $0x100, %rdi            # imm = 0x100
callq 0x3250
movq -0x18(%rbp), %rdi
addq $0xe0, %rdi
callq 0x3250
movq -0x18(%rbp), %rdi
addq $0xb0, %rdi
callq 0x7790
movq -0x18(%rbp), %rdi
subq $-0x80, %rdi
callq 0x7790
movq -0x18(%rbp), %rdi
addq $0x50, %rdi
callq 0x7790
movq -0x18(%rbp), %rdi
addq $0x20, %rdi
callq 0x77d0
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x3fd2
addq $0x30, %rsp
popq %rbp
retq
movq %rax, %rdi
callq 0x7810
callq 0x33f0
nopw (%rax,%rax)
// File: textbrowser[P]zepeto/zepeto.cc
// Function: zepeto::print_error()
void zepeto::print_error(void)
{
  try
    {
      if(m_fd != -1)
	{
	  write(m_fd, m_error.c_str(), m_error.length());
	  fsync(m_fd);
	}

      if(m_tempfilename)
	std::cout << m_tempfilename;
    }
  catch(const std::bad_alloc &exception)
    {
      throw;
    }
  catch(...)
    {
      throw std::runtime_error("An error occurred within print_error().\n");
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpl $-0x1, 0x18(%rax)
je 0x69e8
movq -0x30(%rbp), %rdi
movl 0x18(%rdi), %eax
movl %eax, -0x3c(%rbp)
addq $0xe0, %rdi
movq %rdi, -0x48(%rbp)
callq 0x3160
movq -0x48(%rbp), %rdi
movq %rax, -0x38(%rbp)
callq 0x3510
movl -0x3c(%rbp), %edi
movq -0x38(%rbp), %rsi
movq %rax, %rdx
callq 0x3110
jmp 0x6933
movq -0x30(%rbp), %rax
movl 0x18(%rax), %edi
callq 0x3300
jmp 0x6941
jmp 0x69e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0x698b
movq -0x18(%rbp), %rdi
callq 0x3150
movq %rax, -0x28(%rbp)
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x6a91
callq 0x34f0
jmp 0x6a91
movq -0x18(%rbp), %rdi
callq 0x3150
movl $0x10, %edi
callq 0x31b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
leaq 0xa8a0(%rip), %rsi      # 0x1124f
callq 0x3140
jmp 0x69b6
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x6a91
movq -0x50(%rbp), %rdi
movq 0x10619(%rip), %rsi     # 0x16ff0
movq 0x105e2(%rip), %rdx     # 0x16fc0
callq 0x35c0
jmp 0x6a91
movq -0x30(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x6a0b
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rsi
movq 0x105c6(%rip), %rdi     # 0x16fc8
callq 0x3350
jmp 0x6a09
jmp 0x6a0b
jmp 0x6a4e
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x32c0
jmp 0x6a30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x35a0
jmp 0x6a37
jmp 0x6a66
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x35a0
jmp 0x6a4c
jmp 0x6a66
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x6a91
addq $0x60, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x6a91
movq -0x58(%rbp), %rdi
callq 0x35f0
movq %rax, %rdi
callq 0x7810
callq 0x33f0
nopw %cs:(%rax,%rax)
// File: textbrowser[P]zepeto/zepeto.cc
// Function: zepeto::set_product_file(char const*)
void zepeto::set_product_file(const char *product_file)
{
  try
    {
      if(product_file)
	m_product_file = product_file;
    }
  catch(const std::bad_alloc &exception)
    {
      throw;
    }
  catch(...)
    {
      m_error.append
	("echo \"An error occurred within set_product_file().\"\n");
      throw std::runtime_error(m_error);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x758a
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x120, %rdi            # imm = 0x120
callq 0x34c0
jmp 0x74c6
jmp 0x758a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0x7510
movq -0x20(%rbp), %rdi
callq 0x3150
movq %rax, -0x30(%rbp)
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x7610
callq 0x34f0
jmp 0x7610
movq -0x20(%rbp), %rdi
callq 0x3150
movq -0x38(%rbp), %rdi
addq $0xe0, %rdi
leaq 0x9d8d(%rip), %rsi      # 0x112b8
callq 0x3640
jmp 0x7532
movl $0x10, %edi
callq 0x31b0
movq -0x38(%rbp), %rsi
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x40(%rbp)
addq $0xe0, %rsi
callq 0x3590
jmp 0x7558
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x7610
movq -0x40(%rbp), %rdi
movq 0xfa77(%rip), %rsi      # 0x16ff0
movq 0xfa40(%rip), %rdx      # 0x16fc0
callq 0x35c0
jmp 0x7610
jmp 0x75cd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x75af
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x32c0
callq 0x35a0
jmp 0x75b6
jmp 0x75e5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x35a0
jmp 0x75cb
jmp 0x75e5
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x7610
addq $0x50, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x7610
movq -0x48(%rbp), %rdi
callq 0x35f0
movq %rax, %rdi
callq 0x7810
callq 0x33f0
nopw %cs:(%rax,%rax)
nop
// File: arisKoutsou[P]oopproj/./src/random/Random.cpp
// Function: Random::Random(int)
Random::Random(int seed) {
  if (seed == 0) {
    srand(time(NULL));
  } else {
    srand(seed);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0x5fa7
xorl %eax, %eax
movl %eax, %edi
callq 0x52b0
movl %eax, %edi
callq 0x52d0
jmp 0x5faf
movl -0xc(%rbp), %edi
callq 0x52d0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)