LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: williewillus[P]panda_scratchpad/src/wrapper/wrapper.cpp
// Function: wrapper::RecordCmFsOps::WriteWhole(int, unsigned long long, std::shared_ptr<char>)
int RecordCmFsOps::WriteWhole(const int fd, const unsigned long long size,
    shared_ptr<char> data) {
  unsigned long long written = 0;
  while (written < size) {
    const int res = write(fd, data.get() + written, size - written);
    if (res < 0) {
      return res;
    }
    written += res;
  }

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rcx, -0x40(%rbp)
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae 0x11ff2
movq -0x40(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, -0x44(%rbp)
callq 0xf430
movl -0x44(%rbp), %edi
movq %rax, %rsi
addq -0x30(%rbp), %rsi
movq -0x20(%rbp), %rdx
subq -0x30(%rbp), %rdx
callq 0x61d0
movl %eax, -0x34(%rbp)
cmpl $0x0, -0x34(%rbp)
jge 0x11fe4
movl -0x34(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x11ff9
movslq -0x34(%rbp), %rax
addq -0x30(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x11fa3
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/wrapper/wrapper.cpp
// Function: wrapper::RecordCmFsOps::Serialize(int)
int RecordCmFsOps::Serialize(const int fd) {
  for (auto &mod : mods_) {
    unsigned long long size;
    shared_ptr<char> serial_mod = DiskMod::Serialize(mod, &size);
    if (serial_mod == nullptr) {
      return -1;
    }

    const int res = WriteWhole(fd, size, serial_mod);
    if (res < 0) {
      return -1;
    }
  }

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
addq $0x78, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x14320
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x14350
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x14380
testb $0x1, %al
jne 0x12062
jmp 0x12166
leaq -0x28(%rbp), %rdi
callq 0x143c0
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xdc60
leaq -0x50(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x143e0
testb $0x1, %al
jne 0x12093
jmp 0x120a6
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
movl $0x1, -0x54(%rbp)
jmp 0x12142
movl -0x14(%rbp), %eax
movl %eax, -0x9c(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq -0x68(%rbp), %rdi
movq %rdi, -0x90(%rbp)
leaq -0x50(%rbp), %rsi
callq 0x14410
movq -0x80(%rbp), %rdi
movl -0x9c(%rbp), %esi
movq -0x98(%rbp), %rdx
movq -0x90(%rbp), %rcx
callq 0x11f80
movl %eax, -0x84(%rbp)
jmp 0x120f3
leaq -0x68(%rbp), %rdi
callq 0xbfa0
movl -0x84(%rbp), %eax
movl %eax, -0x58(%rbp)
cmpl $0x0, -0x58(%rbp)
jge 0x1213b
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
movl $0x1, -0x54(%rbp)
jmp 0x12142
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xbfa0
leaq -0x50(%rbp), %rdi
callq 0xbfa0
jmp 0x12179
movl $0x0, -0x54(%rbp)
leaq -0x50(%rbp), %rdi
callq 0xbfa0
movl -0x54(%rbp), %eax
testl %eax, %eax
je 0x12156
jmp 0x12154
jmp 0x1216d
jmp 0x12158
leaq -0x28(%rbp), %rdi
callq 0x14440
jmp 0x1204c
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xa0, %rsp
popq %rbp
retq
movq -0x70(%rbp), %rdi
callq 0x68a0
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/utils/FSCommands.cpp
// Function: GetFSCommands(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
FSCommands* GetFSCommands(string &fs_name){
	if (fs_name.compare(DAXCommands::fsName) == 0 )
		return new DAXCommands(); 
	else if (fs_name.compare(NOVACommands::fsName) == 0 )
		return new NOVACommands();
	else if (fs_name.compare(PMFSCommands::fsName) == 0 )
		return new PMFSCommands();
	else
		return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0xc91b(%rip), %rsi      # 0x250e2
callq 0x6170
cmpl $0x0, %eax
jne 0x18804
movl $0x8, %edi
callq 0x6540
movq %rax, %rdi
movq %rdi, -0x18(%rbp)
xorl %esi, %esi
movl $0x8, %edx
callq 0x6310
movq -0x18(%rbp), %rdi
callq 0x188a0
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x18896
movq -0x10(%rbp), %rdi
leaq 0xc8d7(%rip), %rsi      # 0x250e6
callq 0x6170
cmpl $0x0, %eax
jne 0x18849
movl $0x8, %edi
callq 0x6540
movq %rax, %rdi
movq %rdi, -0x20(%rbp)
xorl %esi, %esi
movl $0x8, %edx
callq 0x6310
movq -0x20(%rbp), %rdi
callq 0x188e0
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x18896
movq -0x10(%rbp), %rdi
leaq 0xc897(%rip), %rsi      # 0x250eb
callq 0x6170
cmpl $0x0, %eax
jne 0x1888e
movl $0x8, %edi
callq 0x6540
movq %rax, %rdi
movq %rdi, -0x28(%rbp)
xorl %esi, %esi
movl $0x8, %edx
callq 0x6310
movq -0x28(%rbp), %rdi
callq 0x18920
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x18896
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
// File: williewillus[P]panda_scratchpad/src/utils/Tester.cpp
// Function: Tester::restore_snapshot()
int Tester::restore_snapshot() {
	cout << "Restoring snapshot of " << record_device_path 
		<< " to " << replay_device_path << endl;
	string command = "dd if=" MNT_POINT_SNAPSHOT "/" SNAPSHOT_NAME 
		" of=" + replay_device_path + " bs=1M count=" + to_string(device_size);
	cout << "Restore snapshot dev command is : " << command << endl;
	if (system(command.c_str()) != 0 ) {
		return RESTORE_ERR;
	}
	return SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq 0x1b19f(%rip), %rdi     # 0x34fc0
leaq 0xb47c(%rip), %rsi      # 0x252a4
callq 0x6520
movq -0xc0(%rbp), %rsi
movq %rax, %rdi
addq $0x50, %rsi
callq 0x64a0
movq %rax, %rdi
leaq 0xb661(%rip), %rsi      # 0x254ab
callq 0x6520
movq -0xc0(%rbp), %rsi
movq %rax, %rdi
addq $0x70, %rsi
movq %rsi, -0xb8(%rbp)
callq 0x64a0
movq %rax, %rdi
movq 0x1b125(%rip), %rsi     # 0x34f98
callq 0x6580
movq -0xb8(%rbp), %rdx
leaq 0xb435(%rip), %rsi      # 0x252bb
leaq -0x70(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
callq 0x18c40
movq -0xb0(%rbp), %rsi
leaq 0xb43c(%rip), %rdx      # 0x252e0
leaq -0x50(%rbp), %rdi
callq 0x9d60
jmp 0x19eaf
movq -0xc0(%rbp), %rax
movq 0x90(%rax), %rsi
leaq -0xa0(%rbp), %rdi
callq 0x1c410
jmp 0x19ecb
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0x1c340
jmp 0x19ee1
leaq -0xa0(%rbp), %rdi
callq 0x69d8
leaq -0x50(%rbp), %rdi
callq 0x69d8
leaq -0x70(%rbp), %rdi
callq 0x69d8
movq 0x1b0ba(%rip), %rdi     # 0x34fc0
leaq 0xb3e1(%rip), %rsi      # 0x252ee
callq 0x6520
movq %rax, -0xc8(%rbp)
jmp 0x19f1b
movq -0xc8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x64a0
movq %rax, -0xd0(%rbp)
jmp 0x19f34
movq -0xd0(%rbp), %rdi
movq 0x1b056(%rip), %rsi     # 0x34f98
callq 0x6580
jmp 0x19f49
leaq -0x30(%rbp), %rdi
callq 0x6220
movq %rax, %rdi
callq 0x6470
movl %eax, -0xd4(%rbp)
jmp 0x19f62
movl -0xd4(%rbp), %eax
cmpl $0x0, %eax
je 0x19fdf
movl $0xfffffffe, -0x4(%rbp) # imm = 0xFFFFFFFE
movl $0x1, -0xa4(%rbp)
jmp 0x19ff0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x19fbd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x19fb4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x69d8
leaq -0x50(%rbp), %rdi
callq 0x69d8
leaq -0x70(%rbp), %rdi
callq 0x69d8
jmp 0x1a005
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x69d8
jmp 0x1a005
movl $0x0, -0x4(%rbp)
movl $0x1, -0xa4(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x69d8
movl -0x4(%rbp), %eax
addq $0xe0, %rsp
popq %rbp
retq
movq -0x78(%rbp), %rdi
callq 0x68a0
nop
// File: williewillus[P]panda_scratchpad/src/utils/Tester.cpp
// Function: Tester::mount_device(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int Tester::mount_device(string device_path, string mount_point) {
	string command = fs_commands_->GetMountCommand(device_path, mount_point);
	if (system(command.c_str()) != 0) {
		return MNT_ERR;
	}
	return SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
movq (%rsi), %rax
movq 0x10(%rax), %rax
leaq -0x40(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq *%rax
movq -0x60(%rbp), %rdi
callq 0x6220
movq %rax, %rdi
callq 0x6470
movl %eax, -0x54(%rbp)
jmp 0x1a059
movl -0x54(%rbp), %eax
cmpl $0x0, %eax
je 0x1a088
movl $0xfffffffd, -0x4(%rbp) # imm = 0xFFFFFFFD
movl $0x1, -0x50(%rbp)
jmp 0x1a096
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x69d8
jmp 0x1a0a8
movl $0x0, -0x4(%rbp)
movl $0x1, -0x50(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x69d8
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x68a0
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/utils/Tester.cpp
// Function: Tester::format_and_mount_device(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int Tester::format_and_mount_device(string device_path, string mount_point) {
	string command = fs_commands_->GetMkfsCommand(device_path, mount_point);
	if (system(command.c_str()) != 0) {
		return FMT_ERR;
	}
	return SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
movq (%rsi), %rax
movq 0x8(%rax), %rax
leaq -0x40(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq *%rax
movq -0x60(%rbp), %rdi
callq 0x6220
movq %rax, %rdi
callq 0x6470
movl %eax, -0x54(%rbp)
jmp 0x1a109
movl -0x54(%rbp), %eax
cmpl $0x0, %eax
je 0x1a138
movl $0xfffffffc, -0x4(%rbp) # imm = 0xFFFFFFFC
movl $0x1, -0x50(%rbp)
jmp 0x1a146
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x69d8
jmp 0x1a158
movl $0x0, -0x4(%rbp)
movl $0x1, -0x50(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x69d8
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x68a0
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/utils/Tester.cpp
// Function: Tester::umount_device()
int Tester::umount_device() {
		if (umount(MNT_POINT_RECORD) < 0) {
			record_dev_mounted = true;
			return UMNT_ERR;
		}
	record_dev_mounted = false;
	return SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
leaq 0xb218(%rip), %rdi      # 0x253a3
callq 0x66e0
cmpl $0x0, %eax
jge 0x1a1a9
movq -0x18(%rbp), %rax
movb $0x1, 0xf0(%rax)
movl $0xfffffffb, -0x4(%rbp) # imm = 0xFFFFFFFB
jmp 0x1a1bb
movq -0x18(%rbp), %rax
movb $0x0, 0xf0(%rax)
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/utils/Tester.cpp
// Function: Tester::cleanup_harness()
void Tester::cleanup_harness() {
	int umount_res;
	int err;
	do {
		umount_res = umount_device();
		if (umount_res < 0) {
			err = errno;
			usleep(500);
		}
	}while (umount_res < 0 && err == EBUSY);

	if (umount_res < 0) {
		cerr << "Unable to unmount device" << endl;
		test_unload_class();
		return; 
	}

	test_unload_class();
	if (fs_commands_ != NULL) {
		delete fs_commands_;
		fs_commands_ = NULL;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1a170
movl %eax, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jge 0x1b8ba
callq 0x6070
movl (%rax), %eax
movl %eax, -0x10(%rbp)
movl $0x1f4, %edi            # imm = 0x1F4
callq 0x66d0
jmp 0x1b8bc
xorl %eax, %eax
cmpl $0x0, -0xc(%rbp)
movb %al, -0x19(%rbp)
jge 0x1b8d1
cmpl $0x10, -0x10(%rbp)
sete %al
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
testb $0x1, %al
jne 0x1b894
cmpl $0x0, -0xc(%rbp)
jge 0x1b90b
movq 0x1970b(%rip), %rdi     # 0x34ff0
leaq 0x9c31(%rip), %rsi      # 0x2551d
callq 0x6520
movq %rax, %rdi
movq 0x1969d(%rip), %rsi     # 0x34f98
callq 0x6580
movq -0x18(%rbp), %rdi
callq 0x1b860
jmp 0x1b946
movq -0x18(%rbp), %rdi
callq 0x1b860
movq -0x18(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x1b946
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x1b93a
movq -0x28(%rbp), %rdi
callq 0x6500
movq -0x18(%rbp), %rax
movq $0x0, 0x8(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: williewillus[P]panda_scratchpad/src/utils/Tester.cpp
// Function: operator<<(std::ostream&, Tester::time_stats)
std::ostream& operator<<(std::ostream& os, Tester::time_stats time) {
	switch (time) {
		case Tester::SNAPSHOT_TIME:
			os << "snapshot restore time";
			break;
		case Tester::TEST_CASE_TIME:
			os << "test case time";
			break;
		case Tester::MOUNT_TIME:
			os << "mount/umount time";
			break;
		case Tester::TOTAL_TIME:
			os << "total time";
			break;
		default:
			os.setstate(std::ios_base::failbit);
	}
	return os;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl -0xc(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x18(%rbp)
subl $0x5, %eax
ja 0x1ba7b
movq -0x18(%rbp), %rax
leaq 0x9742(%rip), %rcx      # 0x2516c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x8(%rbp), %rdi
leaq 0x9af8(%rip), %rsi      # 0x25536
callq 0x6520
jmp 0x1ba90
movq -0x8(%rbp), %rdi
leaq 0x9afc(%rip), %rsi      # 0x2554c
callq 0x6520
jmp 0x1ba90
movq -0x8(%rbp), %rdi
leaq 0x9af9(%rip), %rsi      # 0x2555b
callq 0x6520
jmp 0x1ba90
movq -0x8(%rbp), %rdi
leaq 0x9af9(%rip), %rsi      # 0x2556d
callq 0x6520
jmp 0x1ba90
movq -0x8(%rbp), %rdi
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0x4, %esi
callq 0x6380
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/utils/ClassLoader.h
// Function: void utils::ClassLoader<tests::BaseTestCase>::unload_class<void (*)(tests::BaseTestCase*)>()
void unload_class() {
    if (loader_handle != NULL && instance != NULL) {
      ((DF)(defactory))(instance);
      dlclose(loader_handle);
      factory = NULL;
      defactory = NULL;
      loader_handle = NULL;
      instance = NULL;
    }
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, (%rax)
je 0x1ca82
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x1ca82
movq -0x10(%rbp), %rcx
movq 0x10(%rcx), %rax
movq 0x18(%rcx), %rdi
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x6430
movq -0x10(%rbp), %rax
movq $0x0, 0x8(%rax)
movq $0x0, 0x10(%rax)
movq $0x0, (%rax)
movq $0x0, 0x18(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: fileAttributes::fileAttributes()
fileAttributes::fileAttributes() {
  md5sum = "";
  // Initialize dir_attr entries
  dir_attr.d_ino = -1;
  dir_attr.d_off = -1;
  dir_attr.d_reclen = -1;
  dir_attr.d_type = -1;
  dir_attr.d_name[0] = '\0';
  // Initialize stat_attr entried
  stat_attr.st_ino == -1;
  stat_attr.st_mode = -1;
  stat_attr.st_nlink = -1;
  stat_attr.st_uid = -1;
  stat_attr.st_gid = -1;
  stat_attr.st_size = -1;
  stat_attr.st_blksize = -1;
  stat_attr.st_blocks = -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
addq $0x1a8, %rdi            # imm = 0x1A8
movq %rdi, -0x20(%rbp)
callq 0x6680
movq -0x20(%rbp), %rdi
leaq 0x546d(%rip), %rsi      # 0x241bc
callq 0x6660
jmp 0x1ed56
movq -0x28(%rbp), %rax
movq $-0x1, (%rax)
movq $-0x1, 0x8(%rax)
movw $0xffff, 0x10(%rax)     # imm = 0xFFFF
movb $-0x1, 0x12(%rax)
movb $0x0, 0x13(%rax)
movl $0xffffffff, 0x130(%rax) # imm = 0xFFFFFFFF
movq $-0x1, 0x128(%rax)
movl $0xffffffff, 0x134(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x138(%rax) # imm = 0xFFFFFFFF
movq $-0x1, 0x148(%rax)
movq $-0x1, 0x150(%rax)
movq $-0x1, 0x158(%rax)
addq $0x30, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
callq 0x69d8
movq -0x10(%rbp), %rdi
callq 0x68a0
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: fileAttributes::set_dir_attr(dirent*)
void fileAttributes::set_dir_attr(struct dirent* a) {
  dir_attr.d_ino = a->d_ino;
  dir_attr.d_off = a->d_off;
  dir_attr.d_reclen = a->d_reclen;
  dir_attr.d_type = a->d_type;
  strncpy(dir_attr.d_name, a->d_name, sizeof(a->d_name));
  dir_attr.d_name[sizeof(a->d_name) - 1] = '\0';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, (%rdi)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rdi)
movq -0x10(%rbp), %rax
movw 0x10(%rax), %ax
movw %ax, 0x10(%rdi)
movq -0x10(%rbp), %rax
movb 0x12(%rax), %al
movb %al, 0x12(%rdi)
addq $0x13, %rdi
movq -0x10(%rbp), %rsi
addq $0x13, %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x62f0
movq -0x18(%rbp), %rax
movb $0x0, 0x112(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: fileAttributes::set_stat_attr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
void fileAttributes::set_stat_attr(string path, bool islstat) {
  if (islstat) {
    lstat(path.c_str(), &stat_attr);
  } else {
    stat(path.c_str(), &stat_attr);
  }
  return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rsi, -0x28(%rbp)
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
testb $0x1, -0x11(%rbp)
je 0x1eed7
movq -0x28(%rbp), %rdi
callq 0x6220
movq -0x20(%rbp), %rsi
movq %rax, %rdi
addq $0x118, %rsi            # imm = 0x118
callq 0x6960
jmp 0x1eef3
movq -0x28(%rbp), %rdi
callq 0x6220
movq -0x20(%rbp), %rsi
movq %rax, %rdi
addq $0x118, %rsi            # imm = 0x118
callq 0x64b0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: fileAttributes::set_md5sum(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void fileAttributes::set_md5sum(string file_path) {
  FILE *fp;
  string command = "md5sum " + file_path;
  char md5[100];
  fp = popen(command.c_str(), "r");
  fscanf(fp, "%s", md5);
  fclose(fp);
  md5sum = string(md5);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rsi, %rdx
movq %rdi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x6991(%rip), %rsi      # 0x258b9
leaq -0x38(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x18c40
movq -0xe8(%rbp), %rdi
callq 0x6220
movq %rax, %rdi
leaq 0x55d6(%rip), %rsi      # 0x24524
callq 0x6190
movq %rax, -0xe0(%rbp)
jmp 0x1ef5c
movq -0xe0(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x67a7(%rip), %rsi      # 0x25719
xorl %eax, %eax
leaq -0xa0(%rbp), %rdx
callq 0x6900
jmp 0x1ef82
movq -0x18(%rbp), %rdi
callq 0x6530
jmp 0x1ef8d
leaq -0xd1(%rbp), %rdi
movq %rdi, -0xf8(%rbp)
callq 0x68b0
movq -0xf8(%rbp), %rdx
leaq -0xd0(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x6670
jmp 0x1efbc
movq -0xf0(%rbp), %rdi
addq $0x1a8, %rdi            # imm = 0x1A8
leaq -0xd0(%rbp), %rsi
callq 0x65c0
leaq -0xd0(%rbp), %rdi
callq 0x69d8
leaq -0xd1(%rbp), %rdi
callq 0x6590
leaq -0x38(%rbp), %rdi
callq 0x69d8
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x1f032
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0xd1(%rbp), %rdi
callq 0x6590
leaq -0x38(%rbp), %rdi
callq 0x69d8
movq -0xa8(%rbp), %rdi
callq 0x68a0
nopw (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: fileAttributes::compare_dir_attr(dirent)
bool fileAttributes::compare_dir_attr(struct dirent a) {

  return ((dir_attr.d_ino == a.d_ino) &&
    (dir_attr.d_off == a.d_off) &&
    (dir_attr.d_reclen == a.d_reclen) &&
    (dir_attr.d_type == a.d_type) &&
    (strcmp(dir_attr.d_name, a.d_name) == 0));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x10(%rbp), %rdx
movq %rdx, -0x20(%rbp)
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq (%rax), %rcx
xorl %eax, %eax
cmpq (%rdx), %rcx
movb %al, -0x9(%rbp)
jne 0x1f0e0
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, -0x9(%rbp)
jne 0x1f0e0
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
movzwl 0x10(%rcx), %ecx
movzwl 0x10(%rax), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x9(%rbp)
jne 0x1f0e0
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
movzbl 0x12(%rcx), %ecx
movzbl 0x12(%rax), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x9(%rbp)
jne 0x1f0e0
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdi
addq $0x13, %rdi
addq $0x13, %rsi
callq 0x66b0
cmpl $0x0, %eax
sete %al
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: fileAttributes::compare_stat_attr(stat)
bool fileAttributes::compare_stat_attr(struct stat a) {

  return ((stat_attr.st_ino == a.st_ino) &&
    (stat_attr.st_mode == a.st_mode) &&
    (stat_attr.st_nlink == a.st_nlink) &&
    (stat_attr.st_uid == a.st_uid) &&
    (stat_attr.st_gid == a.st_gid) &&
    // (stat_attr.st_rdev == a.st_rdev) &&
    // (stat_attr.st_dev == a.st_dev) &&
    (stat_attr.st_size == a.st_size) &&
    (stat_attr.st_blksize == a.st_blksize) &&
    (stat_attr.st_blocks == a.st_blocks));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rdx
movq %rdx, -0x20(%rbp)
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0x120(%rax), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movl 0x130(%rax), %ecx
xorl %eax, %eax
cmpl 0x18(%rdx), %ecx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movq 0x128(%rax), %rcx
xorl %eax, %eax
cmpq 0x10(%rdx), %rcx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movl 0x134(%rax), %ecx
xorl %eax, %eax
cmpl 0x1c(%rdx), %ecx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movl 0x138(%rax), %ecx
xorl %eax, %eax
cmpl 0x20(%rdx), %ecx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movq 0x148(%rax), %rcx
xorl %eax, %eax
cmpq 0x30(%rdx), %rcx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rax
movq 0x150(%rax), %rcx
xorl %eax, %eax
cmpq 0x38(%rdx), %rcx
movb %al, -0x9(%rbp)
jne 0x1f1d1
movq -0x20(%rbp), %rcx
movq -0x18(%rbp), %rax
movq 0x158(%rax), %rax
cmpq 0x40(%rcx), %rax
sete %al
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %al
andb $0x1, %al
popq %rbp
retq
nopl (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: DiskContents::mount_disk()
int DiskContents::mount_disk() {
  // Construct and set mount_point
  mount_point = "/mnt/";
  mount_point += disk_path.substr(5);
  // Create the mount directory with read/write/search permissions for owner and group, 
  // and with read/search permissions for others.
  int ret = mkdir(mount_point.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
  if (ret == -1 && errno != EEXIST) {
    cout << "creating mountpoint failed" << endl;
    return -1;
  }
  // Mount the disk
  if (mount(disk_path.c_str(), mount_point.c_str(), fs_type.c_str(), MS_RDONLY, NULL) < 0) {
    return -1;
  }
  // sleep after mount
  unsigned int to_sleep = 0;
  do {
    to_sleep = sleep(to_sleep);
  } while (to_sleep > 0);

  device_mounted = true;
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x60(%rbp)
addq $0x28, %rdi
movq %rdi, -0x58(%rbp)
leaq 0x6153(%rip), %rsi      # 0x25806
callq 0x6660
movq -0x60(%rbp), %rsi
addq $0x8, %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x50(%rbp)
movl $0x5, %edx
movq $-0x1, %rcx
callq 0x6560
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x65e0
jmp 0x1f6e8
leaq -0x30(%rbp), %rdi
callq 0x69d8
movq -0x60(%rbp), %rdi
addq $0x28, %rdi
callq 0x6220
movq %rax, %rdi
movl $0x1fd, %esi            # imm = 0x1FD
callq 0x6280
movl %eax, -0x40(%rbp)
cmpl $-0x1, -0x40(%rbp)
jne 0x1f766
callq 0x6070
cmpl $0x11, (%rax)
je 0x1f766
movq 0x1589b(%rip), %rdi     # 0x34fc0
leaq 0x60e0(%rip), %rsi      # 0x2580c
callq 0x6520
movq %rax, %rdi
movq 0x1585d(%rip), %rsi     # 0x34f98
callq 0x6580
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x1f7e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x69d8
jmp 0x1f7ec
movq -0x60(%rbp), %rdi
addq $0x8, %rdi
callq 0x6220
movq -0x60(%rbp), %rdi
movq %rax, -0x70(%rbp)
addq $0x28, %rdi
callq 0x6220
movq -0x60(%rbp), %rdi
movq %rax, -0x68(%rbp)
addq $0x48, %rdi
callq 0x6220
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq %rax, %rdx
movl $0x1, %ecx
xorl %eax, %eax
movl %eax, %r8d
callq 0x6920
cmpl $0x0, %eax
jge 0x1f7bd
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x1f7e3
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %edi
callq 0x63f0
movl %eax, -0x44(%rbp)
cmpl $0x0, -0x44(%rbp)
ja 0x1f7c4
movq -0x60(%rbp), %rax
movb $0x1, (%rax)
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x68a0
nopw %cs:(%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: DiskContents::unmount_and_delete_mount_point()
int DiskContents::unmount_and_delete_mount_point() {
  // umount till successful
  int umount_res;
  int err;
  string command = "umount ";
  command += mount_point;
  do {
    umount_res = system(command.c_str());
    if (umount_res < 0) {
      err = errno;
      usleep(500);
    }
  } while (umount_res < 0 && err == EBUSY);

  // Delete the mount directory
  if (unlink(mount_point.c_str()) != 0) {
    return -1;
  }
  device_mounted = false;
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x68b0
movq -0x58(%rbp), %rdx
leaq 0x5ffb(%rip), %rsi      # 0x25827
leaq -0x38(%rbp), %rdi
callq 0x6670
jmp 0x1f837
leaq -0x39(%rbp), %rdi
callq 0x6590
movq -0x60(%rbp), %rsi
addq $0x28, %rsi
leaq -0x38(%rbp), %rdi
callq 0x65e0
jmp 0x1f853
jmp 0x1f855
leaq -0x38(%rbp), %rdi
callq 0x6220
movq %rax, %rdi
callq 0x6470
movl %eax, -0x64(%rbp)
jmp 0x1f86b
movl -0x64(%rbp), %eax
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jge 0x1f8c0
callq 0x6070
movl (%rax), %eax
movl %eax, -0x18(%rbp)
movl $0x1f4, %edi            # imm = 0x1F4
callq 0x66d0
jmp 0x1f88d
jmp 0x1f8c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x39(%rbp), %rdi
callq 0x6590
jmp 0x1f933
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x69d8
jmp 0x1f933
jmp 0x1f8c2
xorl %eax, %eax
cmpl $0x0, -0x14(%rbp)
movb %al, -0x65(%rbp)
jge 0x1f8d7
cmpl $0x10, -0x18(%rbp)
sete %al
movb %al, -0x65(%rbp)
movb -0x65(%rbp), %al
testb $0x1, %al
jne 0x1f855
movq -0x60(%rbp), %rdi
addq $0x28, %rdi
callq 0x6220
movq %rax, %rdi
callq 0x62a0
cmpl $0x0, %eax
je 0x1f90c
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
movl $0x1, -0x50(%rbp)
jmp 0x1f921
movq -0x60(%rbp), %rax
movb $0x0, (%rax)
movl $0x0, -0x4(%rbp)
movl $0x1, -0x50(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x69d8
movl -0x4(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x68a0
nopl (%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: isEmptyDirOrFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool isEmptyDirOrFile(string path) {
  DIR *directory = opendir(path.c_str());
  if (directory == NULL) {
    return true;
  }

  struct dirent *dir_entry;
  int num_dir_entries = 0;
  while (dir_entry = readdir(directory)) {
    if (++num_dir_entries > 2) {
      break;
    }
  }
  closedir(directory);
  if (num_dir_entries <= 2) {
    return true;
  }
  return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
callq 0x6220
movq %rax, %rdi
callq 0x6750
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x218da
movb $0x1, -0x1(%rbp)
jmp 0x2191f
movl $0x0, -0x24(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6780
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x21906
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x2, %eax
jle 0x21904
jmp 0x21906
jmp 0x218e1
movq -0x18(%rbp), %rdi
callq 0x67e0
cmpl $0x2, -0x24(%rbp)
jg 0x2191b
movb $0x1, -0x1(%rbp)
jmp 0x2191f
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x30, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: williewillus[P]panda_scratchpad/src/checker/DiskContents.cpp
// Function: isFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool isFile(string path) {
  struct stat sb;
  if (stat(path.c_str(), &sb) < 0) {
    cout << __func__ << ": Failed stating " << path << endl;
    return false;
  }
  if (S_ISDIR(sb.st_mode)) {
    return false;
  }
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0xa8(%rbp)
movq %rdi, -0x10(%rbp)
callq 0x6220
movq %rax, %rdi
leaq -0xa0(%rbp), %rsi
callq 0x64b0
cmpl $0x0, %eax
jge 0x219a5
movq 0x1365a(%rip), %rdi     # 0x34fc0
leaq 0x3fde(%rip), %rsi      # 0x2594b
callq 0x6520
movq %rax, %rdi
leaq 0x3fd6(%rip), %rsi      # 0x25952
callq 0x6520
movq -0xa8(%rbp), %rsi
movq %rax, %rdi
callq 0x64a0
movq %rax, %rdi
movq 0x135fe(%rip), %rsi     # 0x34f98
callq 0x6580
movb $0x0, -0x1(%rbp)
jmp 0x219c1
movl -0x88(%rbp), %eax
andl $0xf000, %eax           # imm = 0xF000
cmpl $0x4000, %eax           # imm = 0x4000
jne 0x219bd
movb $0x0, -0x1(%rbp)
jmp 0x219c1
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xb0, %rsp
popq %rbp
retq
nop
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: is_newPath()
bool is_newPath(){
	uint8_t *digest = sha256((unsigned char*)shmAddr, 0x1000);

	for (int i = 0; i < path.size(); i++){
		if (!memcmp(digest, path[i], 32)) return false;
	}

	path.push_back(digest);
	totalpath++;
	
	// debug
	// cout << "Path : " << totalpath << endl;
	// char buf[2*SHA256::DIGEST_SIZE+1];
    // buf[2*SHA256::DIGEST_SIZE] = 0;
    // for (int i = 0; i < SHA256::DIGEST_SIZE; i++)
    //     sprintf(buf+i*2, "%02x", digest[i]);
	// cout << buf << endl;

	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x8c19(%rip), %rdi      # 0xb258
movl $0x1000, %esi           # imm = 0x1000
callq 0x66a0
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movslq -0x14(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x8c7d(%rip), %rdi      # 0xb2e0
callq 0x3410
movq %rax, %rcx
movq -0x20(%rbp), %rax
cmpq %rcx, %rax
jae 0x26b5
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movslq -0x14(%rbp), %rsi
leaq 0x8c59(%rip), %rdi      # 0xb2e0
callq 0x3430
movq -0x28(%rbp), %rdi
movq (%rax), %rsi
movl $0x20, %edx
callq 0x2100
cmpl $0x0, %eax
jne 0x26a8
movb $0x0, -0x1(%rbp)
jmp 0x26d8
jmp 0x26aa
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x2654
leaq 0x8c24(%rip), %rdi      # 0xb2e0
leaq -0x10(%rbp), %rsi
callq 0x3450
movl 0x8b9d(%rip), %eax      # 0xb268
addl $0x1, %eax
movl %eax, 0x8b94(%rip)      # 0xb268
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: Add_cur_input()
void Add_cur_input(){
	ifstream in("out/cur_input.j2k", ios::ate);
	if (in.fail()){
        perror("open cur_input error!\n");
        exit(-1);
    }
	uint32_t length = in.tellg();
	in.seekg(0, ios::beg);
	uint8_t* buf = new uint8_t[length+1];
    in.read((char*)buf, length);
	
	string fileName = "out/crash/input_" + to_string(crash);
	ofstream out(fileName, ios::binary);
	out.write((char*)buf, length);
	out.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x4a0, %rsp            # imm = 0x4A0
leaq 0x49cd(%rip), %rsi      # 0x70ff
leaq -0x208(%rbp), %rdi
movl $0x2, %edx
callq 0x2400
movq -0x208(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x208(%rbp,%rax), %rdi
callq 0x2030
movb %al, -0x471(%rbp)
jmp 0x2763
movb -0x471(%rbp), %al
testb $0x1, %al
jne 0x276f
jmp 0x279e
leaq 0x488e(%rip), %rdi      # 0x7004
callq 0x21b0
jmp 0x277d
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
jmp 0x2959
leaq -0x208(%rbp), %rdi
callq 0x23c0
movq %rdx, -0x488(%rbp)
movq %rax, -0x480(%rbp)
jmp 0x27ba
movq -0x488(%rbp), %rax
movq -0x480(%rbp), %rcx
movq %rcx, -0x228(%rbp)
movq %rax, -0x220(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x34c0
movq %rax, -0x490(%rbp)
jmp 0x27eb
movq -0x490(%rbp), %rax
movl %eax, -0x218(%rbp)
xorl %edx, %edx
movl %edx, %esi
leaq -0x208(%rbp), %rdi
callq 0x22f0
jmp 0x280a
movl -0x218(%rbp), %eax
incl %eax
movl %eax, %edi
callq 0x2040
movq %rax, -0x498(%rbp)
jmp 0x2822
movq -0x498(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0x230(%rbp), %rsi
movl -0x218(%rbp), %eax
movl %eax, %edx
leaq -0x208(%rbp), %rdi
callq 0x22d0
jmp 0x284d
movl 0x8a1d(%rip), %esi      # 0xb270
leaq -0x270(%rbp), %rdi
callq 0x3530
jmp 0x2861
leaq 0x47b3(%rip), %rsi      # 0x701b
leaq -0x250(%rbp), %rdi
leaq -0x270(%rbp), %rdx
callq 0x34e0
jmp 0x287d
leaq -0x270(%rbp), %rdi
callq 0x2150
leaq -0x470(%rbp), %rdi
leaq -0x250(%rbp), %rsi
movl $0x4, %edx
callq 0x2410
jmp 0x28a3
movq -0x230(%rbp), %rsi
movl -0x218(%rbp), %eax
movl %eax, %edx
leaq -0x470(%rbp), %rdi
callq 0x22e0
jmp 0x28c0
leaq -0x470(%rbp), %rdi
callq 0x2320
jmp 0x28ce
leaq -0x470(%rbp), %rdi
callq 0x2340
leaq -0x250(%rbp), %rdi
callq 0x2150
leaq -0x208(%rbp), %rdi
callq 0x2080
addq $0x4a0, %rsp            # imm = 0x4A0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x270(%rbp), %rdi
callq 0x2150
jmp 0x2959
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
jmp 0x294d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x470(%rbp), %rdi
callq 0x2340
leaq -0x250(%rbp), %rdi
callq 0x2150
leaq -0x208(%rbp), %rdi
callq 0x2080
movq -0x210(%rbp), %rdi
callq 0x23d0
nopw %cs:(%rax,%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: Add_state(int)
void Add_state(int state){
	ofstream out("out/crash_log", ios::app);
	out << "======================================" << endl;
	out << "crash " << crash << endl;
	out << "  signal : " << (int)WTERMSIG(state) << endl;
	out.close();
	crash++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movl %edi, -0x4(%rbp)
leaq 0x4697(%rip), %rsi      # 0x702c
leaq -0x208(%rbp), %rdi
movq %rdi, -0x228(%rbp)
movl $0x1, %edx
callq 0x2260
movq -0x228(%rbp), %rdi
leaq 0x467f(%rip), %rsi      # 0x703a
callq 0x2200
movq %rax, -0x220(%rbp)
jmp 0x29c9
movq -0x220(%rbp), %rdi
movq 0x85f1(%rip), %rsi      # 0xafc8
callq 0x2230
jmp 0x29de
leaq 0x467c(%rip), %rsi      # 0x7061
leaq -0x208(%rbp), %rdi
callq 0x2200
movq %rax, -0x230(%rbp)
jmp 0x29fa
movq -0x230(%rbp), %rdi
movl 0x8869(%rip), %esi      # 0xb270
callq 0x23b0
movq %rax, -0x238(%rbp)
jmp 0x2a15
movq -0x238(%rbp), %rdi
movq 0x85a5(%rip), %rsi      # 0xafc8
callq 0x2230
jmp 0x2a2a
leaq 0x4637(%rip), %rsi      # 0x7068
leaq -0x208(%rbp), %rdi
callq 0x2200
movq %rax, -0x240(%rbp)
jmp 0x2a46
movq -0x240(%rbp), %rdi
movl -0x4(%rbp), %esi
andl $0x7f, %esi
callq 0x23b0
movq %rax, -0x248(%rbp)
jmp 0x2a61
movq -0x248(%rbp), %rdi
movq 0x8559(%rip), %rsi      # 0xafc8
callq 0x2230
jmp 0x2a76
leaq -0x208(%rbp), %rdi
callq 0x2320
jmp 0x2a84
movl 0x87e6(%rip), %eax      # 0xb270
addl $0x1, %eax
movl %eax, 0x87dd(%rip)      # 0xb270
leaq -0x208(%rbp), %rdi
callq 0x2340
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x208(%rbp), %rdi
callq 0x2340
movq -0x210(%rbp), %rdi
callq 0x23d0
nopw %cs:(%rax,%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: Add_to_corpus()
void Add_to_corpus(){
	ifstream in("out/cur_input.j2k", ios::ate);
	if (in.fail()){
        perror("open cur_input error!\n");
        exit(-1);
    }
	uint32_t length = in.tellg();
	in.seekg(0, ios::beg);

	uint8_t* buf = new uint8_t[length+1+4];
    memcpy(buf, &length, 4);
	in.read((char*)buf+4, length);
	corpus.insert(corpus.begin(), buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x280, %rsp            # imm = 0x280
leaq 0x45ed(%rip), %rsi      # 0x70ff
leaq -0x208(%rbp), %rdi
movl $0x2, %edx
callq 0x2400
movq -0x208(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x208(%rbp,%rax), %rdi
callq 0x2030
movb %al, -0x249(%rbp)
jmp 0x2b43
movb -0x249(%rbp), %al
testb $0x1, %al
jne 0x2b4f
jmp 0x2b8a
leaq 0x44ae(%rip), %rdi      # 0x7004
callq 0x21b0
jmp 0x2b5d
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x208(%rbp), %rdi
callq 0x2080
jmp 0x2cc0
leaq -0x208(%rbp), %rdi
callq 0x23c0
movq %rdx, -0x260(%rbp)
movq %rax, -0x258(%rbp)
jmp 0x2ba6
movq -0x260(%rbp), %rax
movq -0x258(%rbp), %rcx
movq %rcx, -0x228(%rbp)
movq %rax, -0x220(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x34c0
movq %rax, -0x268(%rbp)
jmp 0x2bd7
movq -0x268(%rbp), %rax
movl %eax, -0x218(%rbp)
xorl %edx, %edx
movl %edx, %esi
leaq -0x208(%rbp), %rdi
callq 0x22f0
jmp 0x2bf6
movl -0x218(%rbp), %eax
addl $0x5, %eax
movl %eax, %edi
callq 0x2040
movq %rax, -0x270(%rbp)
jmp 0x2c0f
movq -0x270(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0x230(%rbp), %rax
movl -0x218(%rbp), %ecx
movl %ecx, (%rax)
movq -0x230(%rbp), %rsi
addq $0x4, %rsi
movl -0x218(%rbp), %eax
movl %eax, %edx
leaq -0x208(%rbp), %rdi
callq 0x22d0
jmp 0x2c4d
leaq 0x8674(%rip), %rdi      # 0xb2c8
movq %rdi, -0x280(%rbp)
callq 0x3850
movq %rax, -0x240(%rbp)
leaq -0x238(%rbp), %rdi
leaq -0x240(%rbp), %rsi
callq 0x3880
movq -0x280(%rbp), %rdi
movq -0x238(%rbp), %rsi
leaq -0x230(%rbp), %rdx
callq 0x3650
movq %rax, -0x278(%rbp)
jmp 0x2c9d
movq -0x278(%rbp), %rax
movq %rax, -0x248(%rbp)
leaq -0x208(%rbp), %rdi
callq 0x2080
addq $0x280, %rsp            # imm = 0x280
popq %rbp
retq
movq -0x210(%rbp), %rdi
callq 0x23d0
nopl (%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: run_target(char*, char**)
void run_target(char* target, char* argvs[]){

	pid_t pid = fork();
	int state;

	if (pid < 0){
		perror("fork() error!\n");
		exit(-1);
	}
	else if (pid == 0){
		execv(target, argvs);
		totalexec++;
		exit(0);
	}
	else {
		wait(&state);

		// Check if the testcase causes crash.
		if (is_crashed(state)){
			Add_to_report(state);
		}


		// Check if the testcase hits new code path.
		if (is_newPath()){
			// If it hits new code path, Add to corpus.
			Add_to_corpus();	
		}

		//printf("status : %d\n", state);
		//printf("child exited!\n");
	}	
	
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
callq 0x2090
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jge 0x2d04
leaq 0x437f(%rip), %rdi      # 0x7074
callq 0x21b0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22a0
cmpl $0x0, -0x14(%rbp)
jne 0x2d2d
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x21f0
movl 0x854f(%rip), %eax      # 0xb26c
addl $0x1, %eax
movl %eax, 0x8546(%rip)      # 0xb26c
xorl %edi, %edi
callq 0x22a0
leaq -0x18(%rbp), %rdi
callq 0x22c0
movl -0x18(%rbp), %edi
callq 0x26f0
testb $0x1, %al
jne 0x2d44
jmp 0x2d4c
movl -0x18(%rbp), %edi
callq 0x2ae0
callq 0x2630
testb $0x1, %al
jne 0x2d57
jmp 0x2d5c
callq 0x2b00
jmp 0x2d5e
jmp 0x2d60
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: shared_memory_init()
void shared_memory_init(){
	int shmID;
	
	if ((shmID = shmget((key_t)1337, 0x1000, IPC_CREAT | 0666)) < 0 ){
		perror("shmget() error!\n");
		exit(-1);
	}
	
	if ((shmAddr = shmat(shmID, (void*)0, 0)) == (void*)-1){
		perror("shmat() error!\n");
		exit(-1);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x539, %edi            # imm = 0x539
movl $0x1000, %esi           # imm = 0x1000
movl $0x3b6, %edx            # imm = 0x3B6
callq 0x2140
movl %eax, -0x4(%rbp)
cmpl $0x0, %eax
jge 0x2daa
leaq 0x42e8(%rip), %rdi      # 0x7083
callq 0x21b0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22a0
movl -0x4(%rbp), %edi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq 0x2300
movq %rax, 0x8499(%rip)      # 0xb258
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x2de1
leaq 0x42c2(%rip), %rdi      # 0x7094
callq 0x21b0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22a0
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: create_input()
void create_input(){
	// make cur_input file by <vector>input
	uint8_t* data = input.front();
	uint32_t length;

	memcpy((char*)&length, data, 4);

	ofstream out("out/cur_input.j2k", ios::binary);
	out.write((char*)data + 4, length);
	out.close();
	input.pop();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
leaq 0x80c6(%rip), %rdi      # 0xb278
callq 0x3a20
movq (%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xc(%rbp)
leaq 0x3f31(%rip), %rsi      # 0x70ff
leaq -0x210(%rbp), %rdi
movq %rdi, -0x228(%rbp)
movl $0x4, %edx
callq 0x2260
movq -0x228(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x4, %rsi
movl -0xc(%rbp), %eax
movl %eax, %edx
callq 0x22e0
jmp 0x3201
leaq -0x210(%rbp), %rdi
callq 0x2320
jmp 0x320f
leaq 0x8062(%rip), %rdi      # 0xb278
callq 0x3a40
jmp 0x321d
leaq -0x210(%rbp), %rdi
callq 0x2340
addq $0x230, %rsp            # imm = 0x230
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x218(%rbp)
movl %eax, -0x21c(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x2340
movq -0x218(%rbp), %rdi
callq 0x23d0
nopl (%rax)
// File: ch4rli3kop[P]ch4rli3-fuzzer/main.cc
// Function: main
int main(int argc, char* argv[]){

	char* target = TARGET;
	char* argvs[] = {TARGET, "-i", "out/cur_input.j2k", "-o", "out/tmp.pgm", NULL};

	printf("[+] target : %s\n", target);

	shared_memory_init();
	init_corpus();

	while (true){
	
		for (int i = 0; i < corpus.size(); i++){
			mutation(corpus[i]);

			// run target with the input created by mutation.
			int input_size = input.size();
			for (int j = 0; j < input_size; j++){
				create_input();
				//use_radamsa();
				run_target(target, argvs);
			}
		}
	}

	// cout << corpus.size() << endl;
	// int len = corpus.size();
	// for (int i = 0; i < len; i++){
	// 	char* tmp = corpus.front();
	// 	corpus.pop();
	// 	printf("%p\n", tmp);
	// 	printf("%s\n", tmp);
	// }

	// char* Data = reinterpret_cast<char*>(shmAddr);
	// printf("%p\n", shmAddr);
	// printf("%p\n", Data);

	// printf("Result : %s\n", shmAddr);
	// for (int i = 0; i < 0x100; i++){
	// 	if (i % 0x10 == 0) printf("\n");
	// 	printf("%x ", Data[i]);
	// }

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq 0x3e94(%rip), %rax      # 0x7111
movq %rax, -0x18(%rbp)
leaq -0x50(%rbp), %rdi
leaq 0x7af4(%rip), %rsi      # 0xad80
movl $0x30, %edx
callq 0x21a0
movq -0x18(%rbp), %rsi
leaq 0x3eae(%rip), %rdi      # 0x714f
movb $0x0, %al
callq 0x2050
callq 0x2d70
callq 0x2df0
movl $0x0, -0x54(%rbp)
movslq -0x54(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x8000(%rip), %rdi      # 0xb2c8
callq 0x3410
movq %rax, %rcx
movq -0x68(%rbp), %rax
cmpq %rcx, %rax
jae 0x3339
movslq -0x54(%rbp), %rsi
leaq 0x7fe4(%rip), %rdi      # 0xb2c8
callq 0x3430
movq (%rax), %rdi
callq 0x3160
leaq 0x7f80(%rip), %rdi      # 0xb278
callq 0x3a60
movl %eax, -0x58(%rbp)
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x58(%rbp), %eax
jge 0x332c
callq 0x31a0
movq -0x18(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x2cd0
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x3307
jmp 0x332e
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x32b9
jmp 0x32b2
nop
// File: ch4rli3kop[P]ch4rli3-fuzzer/sha256.cpp
// Function: sha256(unsigned char*, int)
unsigned char* sha256(unsigned char* input, int length)
{
    unsigned char* digest = new unsigned char[SHA256::DIGEST_SIZE];
    memset(digest,0,SHA256::DIGEST_SIZE);
 
    SHA256 ctx = SHA256();
    ctx.init();
    ctx.update(input, length);
    ctx.final(digest);
 
    return digest;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x20, %edi
callq 0x2040
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x2120
leaq -0xc0(%rbp), %rdi
xorl %esi, %esi
movl $0xa8, %edx
callq 0x2120
leaq -0xc0(%rbp), %rdi
callq 0x63b0
movq -0x8(%rbp), %rsi
movl -0xc(%rbp), %edx
leaq -0xc0(%rbp), %rdi
callq 0x6420
movq -0x18(%rbp), %rsi
leaq -0xc0(%rbp), %rdi
callq 0x6530
movq -0x18(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
// File: lmclaramunt[P]AES-Crypto/Main.cpp
// Function: help(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
static void help(string name) {
    cerr<<name<<endl
        <<"Three options are provided:\n"
        <<"1. Encrypt/Decrypt with keys stored locally in default secret folder\n"
        <<"\t-e/encrypt [-p/path filePath] && (-ofb || -cbc) && "
        <<"[-b/bits length]"<<endl
        <<"\t-d/decrypt [-p/path filePath] && (-ofb || -cbc) && "
        <<"[-b/bits length]"<<endl
        <<"2. Encrypt/Decrypt using existing keys in a specified path\n"
        <<"\t-e/encrypt [-p/path filePath] && [-aes aesPath] && [-mac macPath] && "
        <<"(-ofb || -cbc)"<<endl
        <<"\t-d/decrypt [-p/path filePath] && [-aes aesPath] && [-mac macPath] && "
        <<"(-ofb || -cbc)"<<endl
        <<"3. Encrypt storing new keys in USB Drive. Include Key's filename in path to USB\n"
        <<"\t-e/encrypt [-p/path filePath] && [-aes aesPath] && [-mac macPath] && " 
        <<"(-ofb || -cbc) && [-b/bits length]"<<endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, %rsi
movq %rsi, -0x8(%rbp)
movq 0x11aba(%rip), %rdi     # 0x15ff0
callq 0x3220
movq %rax, %rdi
movq 0x11a73(%rip), %rsi     # 0x15fb8
callq 0x32a0
movq %rax, %rdi
leaq 0xabee(%rip), %rsi      # 0xf142
callq 0x3270
movq %rax, %rdi
leaq 0xabfc(%rip), %rsi      # 0xf15f
callq 0x3270
movq %rax, %rdi
leaq 0xac33(%rip), %rsi      # 0xf1a5
callq 0x3270
movq %rax, %rdi
leaq 0xadca(%rip), %rsi      # 0xf34b
callq 0x3270
movq %rax, %rdi
movq 0x11a28(%rip), %rsi     # 0x15fb8
callq 0x32a0
movq %rax, %rdi
leaq 0xac3b(%rip), %rsi      # 0xf1da
callq 0x3270
movq %rax, %rdi
leaq 0xad9d(%rip), %rsi      # 0xf34b
callq 0x3270
movq %rax, %rdi
movq 0x119fb(%rip), %rsi     # 0x15fb8
callq 0x32a0
movq %rax, %rdi
leaq 0xac43(%rip), %rsi      # 0xf20f
callq 0x3270
movq %rax, %rdi
leaq 0xac70(%rip), %rsi      # 0xf24b
callq 0x3270
movq %rax, %rdi
leaq 0xaca8(%rip), %rsi      # 0xf292
callq 0x3270
movq %rax, %rdi
movq 0x119bf(%rip), %rsi     # 0x15fb8
callq 0x32a0
movq %rax, %rdi
leaq 0xac99(%rip), %rsi      # 0xf2a1
callq 0x3270
movq %rax, %rdi
leaq 0xac7b(%rip), %rsi      # 0xf292
callq 0x3270
movq %rax, %rdi
movq 0x11992(%rip), %rsi     # 0x15fb8
callq 0x32a0
movq %rax, %rdi
leaq 0xacb3(%rip), %rsi      # 0xf2e8
callq 0x3270
movq %rax, %rdi
leaq 0xac07(%rip), %rsi      # 0xf24b
callq 0x3270
movq %rax, %rdi
leaq 0xace6(%rip), %rsi      # 0xf339
callq 0x3270
movq %rax, %rdi
movq 0x11956(%rip), %rsi     # 0x15fb8
callq 0x32a0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)