LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: ra101[P]Generic-BlockChain-container-cpp/./includes/rsa.hpp
// Function: ra::rsa_key_pair::decrypt(unsigned int)
std::size_t rsa_key_pair::decrypt(unsigned encrypted_data)
    {
        int n = private_key / BIG_NO; // retrive n
        int d = private_key % BIG_NO; // retrive d
        unsigned long long int res = 1;
        unsigned long long int x = encrypted_data;
        x = x % n;
        while (d > 0) // exact simmilar encrypt
        {
            if (d & 1)
                res = (res * x) % n;
            d = d >> 1;
            x = (x * x) % n;
        }
        return res;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq (%rax), %rax
movabsq $0x174876e800, %rcx     # imm = 0x174876E800
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movq -0x30(%rbp), %rax
movl %ecx, -0x10(%rbp)
movq (%rax), %rax
movabsq $0x174876e800, %rcx     # imm = 0x174876E800
xorl %edx, %edx
divq %rcx
movl %edx, %eax
movl %eax, -0x14(%rbp)
movq $0x1, -0x20(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movslq -0x10(%rbp), %rcx
xorl %edx, %edx
divq %rcx
movq %rdx, -0x28(%rbp)
cmpl $0x0, -0x14(%rbp)
jle 0x3a3d
movl -0x14(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x3a1d
movq -0x20(%rbp), %rax
imulq -0x28(%rbp), %rax
movslq -0x10(%rbp), %rcx
xorl %edx, %edx
divq %rcx
movq %rdx, -0x20(%rbp)
movl -0x14(%rbp), %eax
sarl %eax
movl %eax, -0x14(%rbp)
movq -0x28(%rbp), %rax
imulq -0x28(%rbp), %rax
movslq -0x10(%rbp), %rcx
xorl %edx, %edx
divq %rcx
movq %rdx, -0x28(%rbp)
jmp 0x39f6
movq -0x20(%rbp), %rax
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./includes/rsa.hpp
// Function: ra::encrypt_with_padding[abi:cxx11](unsigned long, unsigned long long)
std::string encrypt_with_padding(std::size_t digest, unsigned long long int others_public_key)
    {
        std::string output;
        while (digest != 0)
        {
            // encrypt one digit at a time and pad it
            output = padding(std::to_string(encrypt((digest % 10), others_public_key))) + output;
            digest /= 10;
        }
        return output;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0xa0(%rbp)
movq %rdi, %rax
movq %rax, -0x98(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
callq 0x3390
cmpq $0x0, -0x10(%rbp)
je 0x3bee
movq -0x10(%rbp), %rdi
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq %rdi, %rax
mulq %rcx
movq %rdx, %rax
shrq $0x2, %rax
andq $-0x2, %rax
leaq (%rax,%rax,4), %rax
subq %rax, %rdi
movq -0x18(%rbp), %rsi
callq 0x38e0
movq %rax, %rsi
leaq -0x80(%rbp), %rdi
callq 0x44b0
jmp 0x3b39
leaq -0x60(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3a50
jmp 0x3b48
movq -0xa0(%rbp), %rdx
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x4460
jmp 0x3b5e
movq -0xa0(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x3340
leaq -0x40(%rbp), %rdi
callq 0x31a0
leaq -0x60(%rbp), %rdi
callq 0x31a0
leaq -0x80(%rbp), %rdi
callq 0x31a0
movq -0x10(%rbp), %rax
movl $0xa, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, -0x10(%rbp)
jmp 0x3af1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x3c14
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x3be3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x31a0
leaq -0x80(%rbp), %rdi
callq 0x31a0
jmp 0x3c14
movb $0x1, -0x19(%rbp)
testb $0x1, -0x19(%rbp)
jne 0x3c04
movq -0xa0(%rbp), %rdi
callq 0x31a0
movq -0x98(%rbp), %rax
addq $0xa0, %rsp
popq %rbp
retq
movq -0xa0(%rbp), %rdi
callq 0x31a0
movq -0x88(%rbp), %rdi
callq 0x3430
nopl (%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./includes/rsa.hpp
// Function: ra::rsa_key_pair::decrypt_with_padding(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::size_t rsa_key_pair::decrypt_with_padding(std::string encrypted_data)
    {
        int digit = 0;
        std::size_t res = 0;
        int i, n = encrypted_data.length();
        for (i = 0; i < n; digit = 0)
        {
            while (i < n - 1 && encrypted_data.at(i) == '0') // let all zeros pass and n-1 'cuz of i+=1
            {
                i += 1;
                if (i % PAD_SIZE == 0)
                {
                    // if we pass a PAD_SIZEgth of '0's (encryption of zero is zero)
                    res = res * 10;
                }
            }
            while (i % PAD_SIZE != 0) // change loop after each PAD_SIZEgth
            {
                digit = digit * 10 + (encrypted_data.at(i) - '0'); // create digit
                i += 1;
            }
            res = res * 10 + decrypt(digit);
        }
        return res;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rsi, -0x40(%rbp)
movq %rdi, %rax
movq -0x40(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq %rax, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x14(%rbp)
movq $0x0, -0x20(%rbp)
callq 0x33b0
movl %eax, -0x28(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x28(%rbp), %eax
jge 0x3d4c
jmp 0x3c83
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %edx
subl $0x1, %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x41(%rbp)
jge 0x3cae
movq -0x38(%rbp), %rdi
movslq -0x24(%rbp), %rsi
callq 0x3490
movsbl (%rax), %eax
cmpl $0x30, %eax
sete %al
movb %al, -0x41(%rbp)
movb -0x41(%rbp), %al
testb $0x1, %al
jne 0x3cb7
jmp 0x3cdb
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x3cd9
imulq $0xa, -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0x3c83
jmp 0x3cdd
movl -0x24(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
je 0x3d1d
movq -0x38(%rbp), %rdi
imull $0xa, -0x14(%rbp), %eax
movl %eax, -0x48(%rbp)
movslq -0x24(%rbp), %rsi
callq 0x3490
movq %rax, %rcx
movl -0x48(%rbp), %eax
movsbl (%rcx), %ecx
subl $0x30, %ecx
addl %ecx, %eax
movl %eax, -0x14(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x3cdd
movq -0x30(%rbp), %rdi
imulq $0xa, -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movl -0x14(%rbp), %esi
callq 0x3990
movq %rax, %rcx
movq -0x50(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x14(%rbp)
jmp 0x3c75
movq -0x20(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./includes/prime.hpp
// Function: ra::random_prime_engine<std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>>::random_prime_engine(unsigned long, char const*)
random_prime_engine<Engine>::random_prime_engine(unsigned long rand_seed, char const *db_filepath)
    {
        //lazy intiallisation
        min_prime = 0;
        max_prime = 0;

        // Get DB path
        this->db_filepath = db_filepath;

        //
        eng.seed(rand_seed);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x5c90
movq -0x20(%rbp), %rdi
movl $0x0, 0x8(%rdi)
movl $0x0, 0xc(%rdi)
movq -0x18(%rbp), %rax
movq %rax, 0x10(%rdi)
movq -0x10(%rbp), %rsi
callq 0x5cb0
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./includes/prime.hpp
// Function: ra::random_prime_engine<std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>>::operator()()
int random_prime_engine<Engine>::operator()()
    {
        int idx = eng() % DB_SIZE; //to get a index within file
        int rand_prime;
        std::ifstream file;
        file.open(db_filepath);

        //update rand_prime till it gets the value at index
        for (int i = 0; i <= idx; i++)
            file >> rand_prime;

        file.close();
        return (rand_prime);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x238(%rbp)
callq 0x5da0
movq %rax, -0x240(%rbp)
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
mulq %rcx
movq -0x240(%rbp), %rax
shrq $0x4, %rdx
movl %edx, %ecx
imull $0x3e8, %ecx, %ecx      # imm = 0x3E8
subl %ecx, %eax
movl %eax, -0xc(%rbp)
leaq -0x218(%rbp), %rdi
movq %rdi, -0x230(%rbp)
callq 0x3310
movq -0x238(%rbp), %rax
movq -0x230(%rbp), %rdi
movq 0x10(%rax), %rsi
movl $0x8, %edx
callq 0x31b0
jmp 0x42c0
movl $0x0, -0x228(%rbp)
movl -0x228(%rbp), %eax
cmpl -0xc(%rbp), %eax
jg 0x431a
leaq -0x218(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x3190
jmp 0x42e7
jmp 0x42e9
movl -0x228(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x228(%rbp)
jmp 0x42ca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x220(%rbp)
movl %eax, -0x224(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x30d0
jmp 0x434c
leaq -0x218(%rbp), %rdi
callq 0x30a0
jmp 0x4328
movl -0x10(%rbp), %eax
movl %eax, -0x244(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x30d0
movl -0x244(%rbp), %eax
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq -0x220(%rbp), %rdi
callq 0x3430
nopl (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block_chain.hpp
// Function: ra::block_chain<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::block_chain(int, bool (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, unsigned long long), float)
block_chain(int difficulty, bool (*verfication_function)(std::string, std::size_t, unsigned long long int), float minning_reward = 0)
        {
            this->difficulty = difficulty;
            this->minning_reward = minning_reward;
            this->verfication_function = verfication_function;
            chain.push_back(*(new block_type(0, difficulty, pending_transaction, size())));
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movss %xmm0, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x78(%rbp)
movq %rdi, %rax
movq %rax, -0x90(%rbp)
movq %rdi, %rax
movq %rax, -0x88(%rbp)
callq 0x5e90
movq -0x78(%rbp), %rdi
addq $0x18, %rdi
movq %rdi, -0x80(%rbp)
callq 0x5eb0
movq -0x78(%rbp), %rax
movl -0xc(%rbp), %ecx
movl %ecx, 0x48(%rax)
movss -0x1c(%rbp), %xmm0
movss %xmm0, 0x4c(%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x50(%rax)
movl $0x58, %edi
callq 0x3280
movq %rax, -0x70(%rbp)
jmp 0x4709
movq -0x90(%rbp), %rsi
movb $0x1, -0x61(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x94(%rbp)
addq $0x18, %rsi
leaq -0x60(%rbp), %rdi
callq 0x5f10
jmp 0x472c
movq -0x90(%rbp), %rdi
callq 0x5f40
movl %eax, -0x98(%rbp)
jmp 0x4740
movl -0x98(%rbp), %r8d
movl -0x94(%rbp), %edx
movq -0x70(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -0x60(%rbp), %rcx
callq 0x5f60
jmp 0x4760
movq -0x70(%rbp), %rsi
movq -0x78(%rbp), %rdi
movb $0x0, -0x61(%rbp)
callq 0x5ed0
jmp 0x4773
leaq -0x60(%rbp), %rdi
callq 0x5440
addq $0xa0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x47ce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x47b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x5440
testb $0x1, -0x61(%rbp)
jne 0x47be
jmp 0x47cc
movq -0x70(%rbp), %rdi
movl $0x58, %esi
callq 0x3290
jmp 0x47ce
movq -0x80(%rbp), %rdi
callq 0x5440
movq -0x88(%rbp), %rdi
callq 0x5460
movq -0x28(%rbp), %rdi
callq 0x3430
nopl (%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/main.cpp
// Function: custom_transaction::custom_transaction(unsigned long long, unsigned long long, float const&)
custom_transaction(const unsigned long long int from_address, const unsigned long long int to_address, const float &transfer_amount)
  {
    this->from_address = from_address;
    this->to_address = to_address;
    this->transfer_amount = transfer_amount;
    timestamp = std::chrono::steady_clock::now();
    signature = 0;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x53b0
movq -0x30(%rbp), %rdi
addq $0x18, %rdi
callq 0x53c0
movq -0x30(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rcx
movss (%rcx), %xmm0
movss %xmm0, 0x10(%rax)
callq 0x3380
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, -0x28(%rbp)
movq -0x28(%rbp), %rcx
movq %rcx, 0x18(%rax)
movq $0x0, 0x20(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/main.cpp
// Function: bool custom_transaction::sign_transaction<ra::rsa_key_pair>(ra::rsa_key_pair)
bool sign_transaction(EncryptionAlgo key_pair)
  {
    if (from_address != key_pair.get_public_key())
    {
      throw ra::public_key_mismatch(std::to_string(from_address), std::to_string(key_pair.get_public_key()));
    }

    // already signed
    if (signature != 0)
      throw ra::resign_transaction_exception(*this);

    signature = key_pair.sign(generate_hash_input());
    return true;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rsi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq (%rax), %rax
movq %rax, -0xc0(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x38a0
movq %rax, %rcx
movq -0xc0(%rbp), %rax
cmpq %rcx, %rax
je 0x4988
movb $0x1, -0x69(%rbp)
movl $0x10, %edi
callq 0x3160
movq %rax, %rcx
movq -0xc8(%rbp), %rax
movq %rcx, -0xd0(%rbp)
movq (%rax), %rsi
leaq -0x38(%rbp), %rdi
callq 0x81f0
jmp 0x48e5
leaq -0x10(%rbp), %rdi
callq 0x38a0
movq %rax, %rsi
leaq -0x68(%rbp), %rdi
callq 0x81f0
jmp 0x48fc
movq -0xd0(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x8870
jmp 0x4912
movq -0xd0(%rbp), %rdi
movb $0x0, -0x69(%rbp)
leaq 0xa3cc(%rip), %rsi      # 0xecf0
leaq 0x40b5(%rip), %rdx      # 0x89e0
callq 0x3400
jmp 0x4ac0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x496f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4966
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x31a0
leaq -0x38(%rbp), %rdi
callq 0x31a0
testb $0x1, -0x69(%rbp)
jne 0x4977
jmp 0x4983
movq -0xd0(%rbp), %rdi
callq 0x31f0
jmp 0x4ab7
movq -0xc8(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0x4a41
movb $0x1, -0x91(%rbp)
movl $0x10, %edi
callq 0x3160
movq -0xc8(%rbp), %rsi
movq %rax, -0xd8(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x8a00
jmp 0x49c7
movq -0xd8(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x8ce0
jmp 0x49dc
movq -0xd8(%rbp), %rdi
movb $0x0, -0x91(%rbp)
leaq 0xa317(%rip), %rsi      # 0xed08
leaq 0x4368(%rip), %rdx      # 0x8d60
callq 0x3400
jmp 0x4ac0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4a28
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x31a0
testb $0x1, -0x91(%rbp)
jne 0x4a33
jmp 0x4a3f
movq -0xd8(%rbp), %rdi
callq 0x31f0
jmp 0x4ab7
movq -0xc8(%rbp), %rsi
leaq -0xb8(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x7d90
movq -0xe8(%rbp), %rsi
leaq -0x10(%rbp), %rdi
callq 0x8d80
movq %rax, -0xe0(%rbp)
jmp 0x4a74
movq -0xc8(%rbp), %rax
movq -0xe0(%rbp), %rcx
movq %rcx, 0x20(%rax)
leaq -0xb8(%rbp), %rdi
callq 0x31a0
movb $0x1, %al
andb $0x1, %al
addq $0xf0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x31a0
movq -0x40(%rbp), %rdi
callq 0x3430
// File: ra101[P]Generic-BlockChain-container-cpp/./block_chain.hpp
// Function: ra::block_chain<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::add_transaction(custom_transaction&)
void add_transaction(Transaction &temp)
        {
            // Signed?
            if (!temp.is_transaction_valid(verfication_function))
            {
                throw invalid_transaction_error(temp);
            }
            pending_transaction.insert(temp);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rdi
movq 0x50(%rax), %rsi
callq 0x9050
testb $0x1, %al
jne 0x4b70
movb $0x1, -0x3d(%rbp)
movl $0x10, %edi
callq 0x3160
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x8a00
jmp 0x4b0e
movq -0x60(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x90f0
jmp 0x4b1d
movq -0x60(%rbp), %rdi
movb $0x0, -0x3d(%rbp)
leaq 0xa244(%rip), %rsi      # 0xed70
leaq 0x463d(%rip), %rdx      # 0x9170
callq 0x3400
jmp 0x4b97
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4b5d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x31a0
testb $0x1, -0x3d(%rbp)
jne 0x4b65
jmp 0x4b6e
movq -0x60(%rbp), %rdi
callq 0x31f0
jmp 0x4b8e
movq -0x58(%rbp), %rdi
addq $0x18, %rdi
movq -0x10(%rbp), %rsi
callq 0x9190
movq %rax, -0x50(%rbp)
movb %dl, -0x48(%rbp)
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x3430
nopw (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block_chain.hpp
// Function: ra::block_chain<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::mine_pending_transactions(unsigned long long)
void mine_pending_transactions(unsigned long long int minning_reward_address = 0)
        {
            if (minning_reward)
            {
                Transaction reward_transaction(0, minning_reward_address, minning_reward);
                add_transaction(reward_transaction);
            }

            block_type new_block((chain.back().get_hash()), difficulty, pending_transaction, size());
            chain.push_back(new_block);
            pending_transaction.clear();
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movss 0x4c(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x4bcf
jp 0x4bcf
jmp 0x4bfb
movq -0xd8(%rbp), %rcx
movq -0x10(%rbp), %rdx
addq $0x4c, %rcx
leaq -0x38(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x47f0
movq -0xd8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x4ac0
movq -0xd8(%rbp), %rdi
callq 0x97e0
movq %rax, %rdi
callq 0x9820
movq -0xd8(%rbp), %rsi
movq %rax, -0xf0(%rbp)
movl 0x48(%rsi), %eax
movl %eax, -0xe4(%rbp)
addq $0x18, %rsi
leaq -0xc0(%rbp), %rdi
movq %rdi, -0xe0(%rbp)
callq 0x5f10
movq -0xd8(%rbp), %rdi
callq 0x5f40
movq -0xf0(%rbp), %rsi
movl -0xe4(%rbp), %edx
movq -0xe0(%rbp), %rcx
movl %eax, %r8d
leaq -0x90(%rbp), %rdi
callq 0x5f60
jmp 0x4c6e
leaq -0xc0(%rbp), %rdi
callq 0x5440
movq -0xd8(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x5ed0
jmp 0x4c8f
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x9840
leaq -0x90(%rbp), %rdi
callq 0x5970
addq $0xf0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xc8(%rbp)
movl %eax, -0xcc(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x5440
jmp 0x4cf2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xc8(%rbp)
movl %eax, -0xcc(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x5970
movq -0xc8(%rbp), %rdi
callq 0x3430
nop
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::operator<<(std::ostream&, ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
std::ostream &operator<<(std::ostream &out, block<Transaction, HashFunctionClass> const &temp)
        {
            int i = 1;
            if (temp.id == 0)
                out << "...\nGenesis block\n";
            else
                out << "\n\n...\nBlock No. " << temp.id;

            out << "\n\nNo of Entries: " << temp.transaction_set.size() << "\nHash: " << temp.hash << "\nPrevious Hash: " << temp.previous_hash;
            for (typename std::set<Transaction>::const_iterator trans_elem = (temp.transaction_set).begin(); trans_elem != temp.transaction_set.end(); trans_elem++, i++)
                out << "\n\nEntry no: " << i << (*trans_elem);

            return out;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x1, -0x14(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
jne 0x4dc2
movq -0x8(%rbp), %rdi
leaq 0x536c(%rip), %rsi      # 0xa127
callq 0x3270
jmp 0x4de0
movq -0x8(%rbp), %rdi
leaq 0x536d(%rip), %rsi      # 0xa13a
callq 0x3270
movq %rax, %rdi
movq -0x10(%rbp), %rax
movl (%rax), %esi
callq 0x3420
movq -0x8(%rbp), %rdi
leaq 0x5360(%rip), %rsi      # 0xa14b
callq 0x3270
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0x99d0
movq -0x38(%rbp), %rdi
movq %rax, %rsi
callq 0x30b0
movq %rax, %rdi
leaq 0x5346(%rip), %rsi      # 0xa15d
callq 0x3270
movq %rax, %rdi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x30b0
movq %rax, %rdi
leaq 0x532f(%rip), %rsi      # 0xa165
callq 0x3270
movq %rax, %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0x30b0
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0x7cd0
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0x7d30
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x7d00
testb $0x1, %al
jne 0x4e80
jmp 0x4ece
movq -0x8(%rbp), %rdi
leaq 0x52eb(%rip), %rsi      # 0xa176
callq 0x3270
movq %rax, %rdi
movl -0x14(%rbp), %esi
callq 0x3420
movq %rax, -0x40(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x9a60
movq -0x40(%rbp), %rdi
movq %rax, %rsi
callq 0x99f0
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x7fb0
movq %rax, -0x30(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4e5c
movq -0x8(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block_chain.hpp
// Function: ra::block_chain<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::is_chain_valid()
bool is_chain_valid()
        {
            for (iterator previous_block, current_block = begin(); current_block != end(); ++current_block)
            {
                if (!(*current_block).is_hash_valid())
                    return false;

                // Connection of chains are valid?
                if (current_block != begin())
                    if ((*current_block).get_previous_hash() != (*previous_block).get_hash())
                        return false;

                // All sinature are valid?
                if (!((*current_block).is_block_valid(verfication_function)))
                    return false;

                previous_block = current_block;
            }
            return true;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x9aa0
movq -0x40(%rbp), %rdi
callq 0x4d00
movq %rax, -0x20(%rbp)
movq -0x40(%rbp), %rdi
callq 0x4d60
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x4d30
testb $0x1, %al
jne 0x4f7d
jmp 0x5037
leaq -0x20(%rbp), %rdi
callq 0x4ee0
movq %rax, %rdi
callq 0x9ac0
testb $0x1, %al
jne 0x4f9b
movb $0x0, -0x1(%rbp)
jmp 0x503b
movq -0x40(%rbp), %rdi
callq 0x4d00
movq %rax, -0x30(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x4d30
testb $0x1, %al
jne 0x4fbb
jmp 0x4ff5
leaq -0x20(%rbp), %rdi
callq 0x4ee0
movq %rax, %rdi
callq 0x9b80
movq %rax, -0x48(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x4ee0
movq %rax, %rdi
callq 0x9820
movq %rax, %rcx
movq -0x48(%rbp), %rax
cmpq %rcx, %rax
je 0x4ff3
movb $0x0, -0x1(%rbp)
jmp 0x503b
jmp 0x4ff5
leaq -0x20(%rbp), %rdi
callq 0x4ee0
movq %rax, %rdi
movq -0x40(%rbp), %rax
movq 0x50(%rax), %rsi
callq 0x9ba0
testb $0x1, %al
jne 0x5018
movb $0x0, -0x1(%rbp)
jmp 0x503b
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x9c30
movq %rax, -0x38(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x9c60
jmp 0x4f5a
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block_chain.hpp
// Function: ra::block_chain<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::get_balance(unsigned long long)
float get_balance(const unsigned long long int address)
        {
            float balance = 0;
            for (iterator current_block = begin(); current_block != end(); ++current_block)
                balance += (*current_block).get_balance(address);

            return balance;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x14(%rbp)
callq 0x4d00
movq %rax, -0x20(%rbp)
movq -0x30(%rbp), %rdi
callq 0x4d60
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x4d30
testb $0x1, %al
jne 0x5099
jmp 0x50c3
leaq -0x20(%rbp), %rdi
callq 0x4ee0
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0x9c90
addss -0x14(%rbp), %xmm0
movss %xmm0, -0x14(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x9c60
jmp 0x5079
movss -0x14(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nop
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::block(unsigned long, int, std::set<custom_transaction, std::less<custom_transaction>, std::allocator<custom_transaction>>, int)
block(std::size_t previous_hash, int difficulty, std::set<Transaction> transaction_set, int id)
        {
            this->id = id;
            this->previous_hash = previous_hash;
            this->transaction_set = transaction_set;
            difficulty = std::max(std::min(difficulty, MAX_DIFFICULTY), MIN_DIFFICULTY);
            nonce = 0;
            timestamp = std::chrono::steady_clock::now();
            hash = mine_block(generate_hash_input(), find_hash_length(difficulty));
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rcx, -0x70(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x80(%rbp)
addq $0x18, %rdi
callq 0x53c0
movq -0x80(%rbp), %rdi
addq $0x28, %rdi
movq %rdi, -0x78(%rbp)
callq 0x5eb0
movq -0x80(%rbp), %rax
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
movl -0x24(%rbp), %ecx
movl %ecx, (%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
callq 0x6e90
jmp 0x5fc4
movl $0x3, -0x38(%rbp)
leaq -0x14(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x6f00
movq %rax, -0x88(%rbp)
jmp 0x5fe1
movq -0x88(%rbp), %rdi
movl $0x1, -0x3c(%rbp)
leaq -0x3c(%rbp), %rsi
callq 0x6ec0
movq %rax, -0x90(%rbp)
jmp 0x6001
movq -0x80(%rbp), %rax
movq -0x90(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, -0x14(%rbp)
movl $0x0, 0x24(%rax)
callq 0x3380
movq -0x80(%rbp), %rsi
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, 0x18(%rsi)
leaq -0x68(%rbp), %rdi
callq 0x70c0
jmp 0x6038
movq -0x80(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x7260
movq %rax, -0x98(%rbp)
jmp 0x604d
movq -0x98(%rbp), %rdx
movq -0x80(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x6f40
movq %rax, -0xa0(%rbp)
jmp 0x606a
movq -0x80(%rbp), %rax
movq -0xa0(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq -0x68(%rbp), %rdi
callq 0x31a0
addq $0xa0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x60ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x31a0
movq -0x78(%rbp), %rdi
callq 0x5440
movq -0x30(%rbp), %rdi
callq 0x3430
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::mine_block(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, long long)
std::size_t mine_block(std::string hash_input, long long int hash_length)
        {
            std::size_t hash_output = hash_function(hash_input + std::to_string(nonce));
            while (hash_output / hash_length != 0) // own time of proof of work
            {
                nonce += 1;
                hash_output = hash_function(hash_input + std::to_string(nonce));
            }
            return hash_output;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rsi, -0xc0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq %rax, %rcx
addq $0x20, %rcx
movq %rcx, -0xc8(%rbp)
movl 0x24(%rax), %esi
leaq -0x60(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x78b0
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
leaq -0x40(%rbp), %rdi
callq 0x7860
jmp 0x6fa3
movq -0xc8(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x41a0
movq %rax, -0xd8(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x31a0
leaq -0x60(%rbp), %rdi
callq 0x31a0
movq -0xd8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq -0x18(%rbp)
cmpq $0x0, %rax
je 0x70a1
movq -0xd0(%rbp), %rax
movl 0x24(%rax), %ecx
incl %ecx
movl %ecx, 0x24(%rax)
movq %rax, %rcx
addq $0x20, %rcx
movq %rcx, -0xe8(%rbp)
movl 0x24(%rax), %esi
leaq -0xb0(%rbp), %rdi
movq %rdi, -0xe0(%rbp)
callq 0x78b0
movq -0xc0(%rbp), %rsi
movq -0xe0(%rbp), %rdx
leaq -0x90(%rbp), %rdi
callq 0x7860
jmp 0x703c
movq -0xe8(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x41a0
movq %rax, -0x20(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x31a0
leaq -0xb0(%rbp), %rdi
callq 0x31a0
jmp 0x6fd7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x31a0
jmp 0x70ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x31a0
jmp 0x70ae
movq -0x20(%rbp), %rax
addq $0xf0, %rsp
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0x3430
nopw (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::generate_hash_input()
std::string generate_hash_input()
        {
            std::string hash_input = std::to_string((std::chrono::duration_cast<std::chrono::microseconds>(timestamp.time_since_epoch()).count()));
            for (typename std::set<Transaction>::iterator trans_elem = transaction_set.begin(); trans_elem != transaction_set.end(); trans_elem++)
            {
                hash_input += trans_elem->generate_hash_input();
            }
            hash_input += std::to_string(previous_hash);
            return hash_input;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0xa0(%rbp)
movq %rdi, %rax
movq %rax, -0xa8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x98(%rbp)
movb $0x0, -0x11(%rbp)
addq $0x18, %rdi
callq 0x4160
movq %rax, -0x28(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x7c80
movq %rax, -0x20(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x7cb0
movq -0xa0(%rbp), %rdi
movq %rax, %rsi
callq 0x7b50
movq -0x98(%rbp), %rdi
addq $0x28, %rdi
callq 0x7cd0
movq %rax, -0x30(%rbp)
movq -0x98(%rbp), %rdi
addq $0x28, %rdi
callq 0x7d30
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x7d00
testb $0x1, %al
jne 0x7160
jmp 0x71cb
leaq -0x30(%rbp), %rdi
callq 0x7d60
movq %rax, %rsi
leaq -0x58(%rbp), %rdi
callq 0x7d90
jmp 0x7177
movq -0xa0(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x3360
jmp 0x7189
leaq -0x58(%rbp), %rdi
callq 0x31a0
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
callq 0x7fb0
movq %rax, -0x70(%rbp)
jmp 0x7139
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x7247
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x31a0
jmp 0x7247
movq -0x98(%rbp), %rax
movq 0x8(%rax), %rsi
leaq -0x90(%rbp), %rdi
callq 0x44b0
jmp 0x71e4
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x3360
jmp 0x71f9
leaq -0x90(%rbp), %rdi
callq 0x31a0
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x7237
jmp 0x722b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x31a0
jmp 0x7247
movq -0xa0(%rbp), %rdi
callq 0x31a0
movq -0xa8(%rbp), %rax
addq $0xb0, %rsp
popq %rbp
retq
movq -0xa0(%rbp), %rdi
callq 0x31a0
movq -0x60(%rbp), %rdi
callq 0x3430
nopl (%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::find_hash_length(int)
long long int find_hash_length(int difficulty)
        {
            int factor = 1;
            for (int i = 0; i < difficulty; i++)
            {
                factor *= 10;
            }

            // hash functor produces a number of 10 or 9 digits
            return (100000000000000 / factor);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x1, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x7293
imull $0xa, -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x7279
movslq -0x10(%rbp), %rcx
movabsq $0x5af3107a4000, %rax   # imm = 0x5AF3107A4000
cqto
idivq %rcx
popq %rbp
retq
nopl (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/main.cpp
// Function: custom_transaction::is_transaction_valid(bool (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, unsigned long long)) const
bool is_transaction_valid(bool (*verfication_function)(std::string, std::size_t, unsigned long long int)) const
  {
    // reward
    if (from_address == 0)
      return true;

    return verfication_function(generate_hash_input(), signature, from_address);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, (%rax)
jne 0x9074
movb $0x1, -0x1(%rbp)
jmp 0x90d1
movq -0x50(%rbp), %rsi
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq -0x38(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x7d90
movq -0x50(%rbp), %rcx
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rax
movq (%rcx), %rdx
movq 0x20(%rcx), %rsi
callq *%rax
movb %al, -0x51(%rbp)
jmp 0x90a7
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x31a0
jmp 0x90d1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x31a0
jmp 0x90dc
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x70, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x3430
nopw %cs:(%rax,%rax)
nop
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::is_block_valid(bool (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, unsigned long long))
bool is_block_valid(bool (*verfication_function)(std::string, std::size_t, unsigned long long int))
        {

            for (typename std::set<Transaction>::iterator trans_elem = transaction_set.begin(); trans_elem != transaction_set.end(); trans_elem++)
                if (!((*trans_elem).is_transaction_valid(verfication_function)))
                    return false;
            return true;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x38(%rbp)
addq $0x28, %rdi
callq 0x7cd0
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
addq $0x28, %rdi
callq 0x7d30
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x7d00
testb $0x1, %al
jne 0x9be9
jmp 0x9c1b
leaq -0x20(%rbp), %rdi
callq 0x9a60
movq %rax, %rdi
movq -0x18(%rbp), %rsi
callq 0x9050
testb $0x1, %al
jne 0x9c08
movb $0x0, -0x1(%rbp)
jmp 0x9c1f
jmp 0x9c0a
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x7fb0
movq %rax, -0x30(%rbp)
jmp 0x9bc5
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/./block.hpp
// Function: ra::block<custom_transaction, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::get_balance(unsigned long long)
float get_balance(const unsigned long long int address)
        {
            float balance = 0;
            for (typename std::set<Transaction>::iterator trans_elem = transaction_set.begin(); trans_elem != transaction_set.end(); trans_elem++)
                balance += (*trans_elem).get_balance(address);
            return balance;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x14(%rbp)
addq $0x28, %rdi
callq 0x7cd0
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
addq $0x28, %rdi
callq 0x7d30
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x7d00
testb $0x1, %al
jne 0x9ce1
jmp 0x9d11
leaq -0x20(%rbp), %rdi
callq 0x9a60
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0x9d20
addss -0x14(%rbp), %xmm0
movss %xmm0, -0x14(%rbp)
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x7fb0
movq %rax, -0x30(%rbp)
jmp 0x9cbd
movss -0x14(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: ra101[P]Generic-BlockChain-container-cpp/main.cpp
// Function: custom_transaction::get_balance(unsigned long long) const
float get_balance(unsigned long long int address) const
  {
    if (address == this->to_address)
      return transfer_amount;

    if (address == this->from_address)
      return (-transfer_amount);

    return 0;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rcx
movq %rcx, -0x20(%rbp)
movq -0x18(%rbp), %rax
cmpq 0x8(%rcx), %rax
jne 0x9d4e
movq -0x20(%rbp), %rax
movss 0x10(%rax), %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x9d80
movq -0x20(%rbp), %rcx
movq -0x18(%rbp), %rax
cmpq (%rcx), %rax
jne 0x9d78
movq -0x20(%rbp), %rax
movss 0x10(%rax), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x9d80
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
popq %rbp
retq
// File: eiskalteschatten[P]developersnotebook/src/main.cpp
// Function: main
int main(int argc, char **argv) {
    GtkApplication *app     = gtk_application_new("com.alexseifert.developersnotebook", G_APPLICATION_FLAGS_NONE);
    MainWindow *main_window = new MainWindow(argv[0]);

    g_signal_connect(app, "startup", G_CALLBACK(initialize), NULL);
    g_signal_connect(app, "activate", G_CALLBACK(main_window->activate), main_window);

    int status = g_application_run(G_APPLICATION(app), argc, argv);
    g_object_unref(app);

    #ifdef __APPLE__
        GtkosxApplication *osx_app = gtkosx_application_get();
        gtkosx_application_ready(osx_app);
        g_object_unref(osx_app);
    #endif

    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq 0x42bab(%rip), %rdi     # 0x530eb
xorl %esi, %esi
callq 0xae50
movq %rax, -0x18(%rbp)
movl $0x50, %edi
callq 0xa280
movq %rax, -0x78(%rbp)
movb $0x1, -0x55(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x70(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0xaf80
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
leaq -0x40(%rbp), %rdi
callq 0x10f00
jmp 0x10588
movq -0x78(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x1f340
jmp 0x10597
movb $0x0, -0x55(%rbp)
leaq -0x40(%rbp), %rdi
callq 0xb430
leaq -0x41(%rbp), %rdi
callq 0xb410
movq -0x78(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x42b4e(%rip), %rsi     # 0x5310e
leaq 0xc9(%rip), %rdx        # 0x10690
xorl %eax, %eax
movl %eax, %r8d
xorl %r9d, %r9d
movq %r8, %rcx
callq 0xa380
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rcx
leaq 0x42b30(%rip), %rsi     # 0x53116
leaq 0xee03(%rip), %rdx      # 0x1f3f0
xorl %eax, %eax
movl %eax, %r8d
xorl %r9d, %r9d
callq 0xa380
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
callq 0xa760
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0xa190
movq %rax, %rdi
movl -0x8(%rbp), %esi
movq -0x10(%rbp), %rdx
callq 0xa090
movl %eax, -0x5c(%rbp)
movq -0x18(%rbp), %rdi
callq 0xafe0
movl -0x5c(%rbp), %eax
addq $0x80, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x1065d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x40(%rbp), %rdi
callq 0xb430
leaq -0x41(%rbp), %rdi
callq 0xb410
testb $0x1, -0x55(%rbp)
jne 0x1066e
jmp 0x1067c
movq -0x78(%rbp), %rdi
movl $0x50, %esi
callq 0xa200
jmp 0x1067e
movq -0x50(%rbp), %rdi
callq 0xaa00
nopw (%rax,%rax)
// File: eiskalteschatten[P]developersnotebook/src/main.cpp
// Function: initialize()
void initialize() {
    fs::path path_to_config = fs::path(Constants::path_to_config);

    if (!fs::is_directory(path_to_config)) {
        if(!fs::create_directory(path_to_config)) {
            throw std::runtime_error("Unable to create destination directory " + path_to_config.string());
        }
    }

    SqliteSchema::setup_db();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
leaq 0x657ae(%rip), %rsi     # 0x75e50
leaq -0x20(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x11030
movq -0x60(%rbp), %rdi
callq 0x11060
movb %al, -0x52(%rbp)
jmp 0x106bd
movb -0x52(%rbp), %al
testb $0x1, %al
jne 0x1078e
jmp 0x106ca
leaq -0x20(%rbp), %rdi
callq 0x11090
movb %al, -0x61(%rbp)
jmp 0x106d8
movb -0x61(%rbp), %al
testb $0x1, %al
jne 0x1078c
jmp 0x106e5
movb $0x1, -0x51(%rbp)
movl $0x10, %edi
callq 0xa680
movq %rax, -0x78(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x111d0
movq %rax, -0x70(%rbp)
jmp 0x10706
movq -0x70(%rbp), %rdx
leaq 0x42a0e(%rip), %rsi     # 0x5311f
leaq -0x50(%rbp), %rdi
callq 0x110c0
jmp 0x1071c
movq -0x78(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xa4d0
jmp 0x1072b
movq -0x78(%rbp), %rdi
movb $0x0, -0x51(%rbp)
movq 0x6488e(%rip), %rsi     # 0x74fc8
movq 0x64857(%rip), %rdx     # 0x74f98
callq 0xa9e0
jmp 0x107b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x107a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x10779
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0xb430
testb $0x1, -0x51(%rbp)
jne 0x10781
jmp 0x1078a
movq -0x78(%rbp), %rdi
callq 0xae40
jmp 0x107a7
jmp 0x1078e
callq 0x1cd20
jmp 0x10795
leaq -0x20(%rbp), %rdi
callq 0x111e0
addq $0x80, %rsp
popq %rbp
retq
leaq -0x20(%rbp), %rdi
callq 0x111e0
movq -0x28(%rbp), %rdi
callq 0xaa00
nopl (%rax)
// File: eiskalteschatten[P]developersnotebook/src/resources/Image.cpp
// Function: Image::get_pixbuf()
GdkPixbuf* Image::get_pixbuf() {
    GdkPixbuf *pixbuf;

    if (extension == "svg") {
        std::string svg_content = get_svg_content();
        GInputStream *stream    = g_memory_input_stream_new_from_data(svg_content.c_str(), -1, g_free);
        pixbuf                  = gdk_pixbuf_new_from_stream(stream, NULL, NULL);
    }
    else {
        pixbuf = gdk_pixbuf_new_from_file(path.c_str(), NULL);
    }

    if (height == -1 || width == -1) {
        return pixbuf;
    }

    return gdk_pixbuf_scale_simple(pixbuf, width, height, GDK_INTERP_BILINEAR);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x58(%rbp)
addq $0x40, %rdi
leaq 0x3f49a(%rip), %rsi     # 0x53069
callq 0x13eb0
testb $0x1, %al
jne 0x13bda
jmp 0x13c58
movq -0x58(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x13a70
movq -0x68(%rbp), %rdi
callq 0xa1d0
movq %rax, %rdi
movq 0x61372(%rip), %rdx     # 0x74f70
movq $-0x1, %rsi
callq 0xa6e0
movq %rax, -0x60(%rbp)
jmp 0x13c10
movq -0x60(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0xa260
movq %rax, -0x70(%rbp)
jmp 0x13c2e
movq -0x70(%rbp), %rax
movq %rax, -0x18(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xb430
jmp 0x13c75
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xb430
jmp 0x13cc5
movq -0x58(%rbp), %rdi
addq $0x60, %rdi
callq 0xa1d0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xa4c0
movq %rax, -0x18(%rbp)
movq -0x58(%rbp), %rax
cmpl $-0x1, 0xa0(%rax)
je 0x13c8f
movq -0x58(%rbp), %rax
cmpl $-0x1, 0xa4(%rax)
jne 0x13c99
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x13cbb
movq -0x58(%rbp), %rax
movq -0x18(%rbp), %rdi
movl 0xa4(%rax), %esi
movl 0xa0(%rax), %edx
movl $0x2, %ecx
callq 0xaca0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0xaa00
nop
// File: eiskalteschatten[P]developersnotebook/src/resources/Resource.cpp
// Function: Resource::Resource(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Resource::Resource(const std::string new_name, const std::string new_extension, const std::string new_path_to_exec, const std::string new_sub_folders) {
    name             = new_name;
    extension        = new_extension;
    path_to_exec_str = new_path_to_exec;
    sub_folders      = new_sub_folders;

    #ifdef __APPLE__
        path = get_resource_path_mac();
    #else
        path = get_resource_path();
    #endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rsi, -0x60(%rbp)
movq %rdx, -0xa8(%rbp)
movq %rcx, -0xa0(%rbp)
movq %r8, -0x98(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x78(%rbp)
movq %rdi, %rax
movq %rax, -0x90(%rbp)
callq 0xa5c0
movq -0x78(%rbp), %rdi
addq $0x20, %rdi
movq %rdi, -0x68(%rbp)
callq 0xa5c0
movq -0x78(%rbp), %rdi
addq $0x40, %rdi
movq %rdi, -0x88(%rbp)
callq 0xa5c0
movq -0x78(%rbp), %rdi
addq $0x60, %rdi
movq %rdi, -0x80(%rbp)
callq 0xa5c0
movq -0x78(%rbp), %rdi
subq $-0x80, %rdi
movq %rdi, -0x70(%rbp)
callq 0xa5c0
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xb240
jmp 0x145a5
movq -0xa8(%rbp), %rsi
movq -0x90(%rbp), %rdi
addq $0x40, %rdi
callq 0xb240
jmp 0x145be
movq -0xa0(%rbp), %rsi
movq -0x90(%rbp), %rdi
callq 0xb240
jmp 0x145d3
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdi
subq $-0x80, %rdi
callq 0xb240
jmp 0x145ec
movq -0x90(%rbp), %rsi
leaq -0x58(%rbp), %rdi
callq 0x14670
jmp 0x145fe
movq -0x90(%rbp), %rdi
addq $0x60, %rdi
leaq -0x58(%rbp), %rsi
callq 0xa820
leaq -0x58(%rbp), %rdi
callq 0xb430
addq $0xb0, %rsp
popq %rbp
retq
movq -0x70(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
callq 0xb430
movq -0x80(%rbp), %rdi
callq 0xb430
movq -0x88(%rbp), %rdi
callq 0xb430
movq -0x68(%rbp), %rdi
callq 0xb430
movq -0x78(%rbp), %rdi
callq 0xb430
movq -0x30(%rbp), %rdi
callq 0xaa00
nopl (%rax)