Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import Enum | |
class HandlerType(Enum): | |
Zero = 0 | |
Shuffle = 1 | |
Rc4 = 2 | |
Imm = 3 | |
RegReg = 4 | |
RegImm = 5 | |
Reg = 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ZeusVMToC: | |
def __init__(self, diasm_file, output_file=None): | |
self.diasm_file = diasm_file | |
self.output_file = output_file | |
self.line_num = 0 | |
self.data_ptr_mov = 0 | |
def tokenize(self): | |
with open(self.diasm_file, 'r') as f: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <memory> | |
#include <string> | |
#include <vector> | |
#include <fmt/core.h> | |
#include <stdexcept> | |
#include <zasm/zasm.hpp> | |
#include <windows.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <string_view> | |
#include <cstdint> | |
#include <cctype> | |
#include <limits> | |
#include <array> | |
namespace util | |
{ | |
namespace detail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <stdio.h> | |
#include <wchar.h> | |
#include <Unknwn.h> | |
typedef enum _TTD_LOG_LEVEL | |
{ | |
TTD_LOG_LEVEL_ERROR = 1, | |
TTD_LOG_LEVEL_WARNING, | |
TTD_LOG_LEVEL_INFO, |
OlderNewer