![]() |
miasm
Reverse engineering framework
|
Classes | |
| class | c_winobjs |
| class | find_data_mngr |
| class | FLS |
| class | handle_generator |
| class | hobj |
| class | mdl |
| class | startupinfo |
| class | systeminfo |
| class | whandle |
| class | win32_find_data |
Variables | |
| log = logging.getLogger("win_api_x86_32") | |
| console_handler = logging.StreamHandler() | |
| int | DATE_1601_TO_1970 = 116444736000000000 |
| int | MAX_PATH = 260 |
| dictionary | ACCESS_DICT |
| ACCESS_DICT_INV = dict((x[1], x[0]) for x in viewitems(ACCESS_DICT)) | |
| winobjs = c_winobjs() | |
| list | process_list |
| def | kernel32_GetVersionExA |
| def | kernel32_GetVersionExW |
| int | temp_num = 0 |
| def | kernel32_FindNextFileA = lambda jitter: my_FindNextFile(jitter, encode_win_str_a) |
| def | kernel32_FindNextFileW = lambda jitter: my_FindNextFile(jitter, encode_win_str_w) |
| digs = string.digits + string.ascii_lowercase | |
| fls = FLS() | |
| int | STD_INPUT_HANDLE = 0xfffffff6 |
| int | STD_OUTPUT_HANDLE = 0xfffffff5 |
| int | STD_ERROR_HANDLE = 0xfffffff4 |
| int | FILE_TYPE_UNKNOWN = 0x0000 |
| int | FILE_TYPE_CHAR = 0x0002 |
| dictionary | VALID_CODE_PAGES |
| def miasm.os_dep.win_api_x86_32.ad2mdl | ( | ad | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_CryptAcquireContext | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.advapi32_CryptAcquireContextA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_CryptAcquireContextW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_CryptCreateHash | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_CryptDecrypt | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_CryptDeriveKey | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_CryptDestroyHash | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_CryptGetHashParam | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_CryptHashData | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_CryptReleaseContext | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_RegCloseKey | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.advapi32_RegCreateKeyW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_RegOpenKeyEx | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.advapi32_RegOpenKeyExA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_RegOpenKeyExW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_RegSetValue | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.advapi32_RegSetValueA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_RegSetValueEx | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.advapi32_RegSetValueExA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_RegSetValueExW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.advapi32_RegSetValueW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.cryptdll_MD5Final | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.cryptdll_MD5Init | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.cryptdll_MD5Update | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.datetime_to_systemtime | ( | curtime | ) |

| def miasm.os_dep.win_api_x86_32.filetime_to_unixtime | ( | filetime | ) |
Convert filetime to unixtime # https://msdn.microsoft.com/en-us/library/ms724228
| def miasm.os_dep.win_api_x86_32.get_current_filetime | ( | ) |
Get current filetime https://msdn.microsoft.com/en-us/library/ms724228

| def miasm.os_dep.win_api_x86_32.get_fmt_args | ( | jitter, | |
| fmt, | |||
| cur_arg, | |||
| get_str | |||
| ) |

| def miasm.os_dep.win_api_x86_32.hal_ExAcquireFastMutex | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.hal_ExReleaseFastMutex | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.int2base | ( | x, | |
| base | |||
| ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CloseHandle | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_CreateDirectoryA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateDirectoryW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateEventA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateEventW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateFile | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_CreateFileA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateFileMapping | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateFileMappingA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateFileMappingW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateFileW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateMutex | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_CreateMutexA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateMutexW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_CreateToolhelp32Snapshot | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_DecodePointer | ( | jitter | ) |
PVOID DecodePointer(
PVOID Ptr
);
The function returns the decoded pointer.
| def miasm.os_dep.win_api_x86_32.kernel32_EncodePointer | ( | jitter | ) |
PVOID EncodePointer(
_In_ PVOID Ptr
);
Encoding globally available pointers helps protect them from being
exploited. The EncodePointer function obfuscates the pointer value
with a secret so that it cannot be predicted by an external agent.
The secret used by EncodePointer is different for each process.
A pointer must be decoded before it can be used.
| def miasm.os_dep.win_api_x86_32.kernel32_EnterCriticalSection | ( | jitter | ) |
void EnterCriticalSection( LPCRITICAL_SECTION lpCriticalSection );
| def miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileExA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileExW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_FlushFileBuffers | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_FlushInstructionCache | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetACP | ( | jitter | ) |
UINT GetACP();
| def miasm.os_dep.win_api_x86_32.kernel32_GetCommandLine | ( | jitter, | |
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_GetCommandLineA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetCommandLineW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetCPInfo | ( | jitter | ) |
BOOL GetCPInfo( UINT CodePage, LPCPINFO lpCPInfo );
| def miasm.os_dep.win_api_x86_32.kernel32_GetCurrentDirectoryA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetCurrentProcess | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetCurrentProcessId | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetCurrentThreadId | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetDiskFreeSpace | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetDiskFreeSpaceA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetDiskFreeSpaceW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetDriveType | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_GetDriveTypeA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetDriveTypeW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetEnvironmentVariableA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetEnvironmentVariableW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetFileSize | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetFileSizeEx | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetFileType | ( | jitter | ) |
DWORD GetFileType( HANDLE hFile );
| def miasm.os_dep.win_api_x86_32.kernel32_GetLastError | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetLocaleInfo | ( | jitter, | |
| funcname, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_GetLocaleInfoA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetLocaleInfoW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetLocalTime | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetModuleFileName | ( | jitter, | |
| funcname, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_GetModuleFileNameA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetModuleFileNameW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetModuleHandle | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_GetModuleHandleA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetModuleHandleW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetNativeSystemInfo | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetPriorityClass | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetProcAddress | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetProcessAffinityMask | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetProcessHeap | ( | jitter | ) |
HANDLE GetProcessHeap();
| def miasm.os_dep.win_api_x86_32.kernel32_GetStartupInfo | ( | jitter, | |
| funcname, | |||
| set_str | |||
| ) |
void GetStartupInfo(
LPSTARTUPINFOW lpStartupInfo
);
Retrieves the contents of the STARTUPINFO structure that was specified
when the calling process was created.
https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getstartupinfow 
| def miasm.os_dep.win_api_x86_32.kernel32_GetStartupInfoA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetStartupInfoW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetStdHandle | ( | jitter | ) |
HANDLE WINAPI GetStdHandle( _In_ DWORD nStdHandle ); STD_INPUT_HANDLE (DWORD)-10 The standard input device. Initially, this is the console input buffer, CONIN$. STD_OUTPUT_HANDLE (DWORD)-11 The standard output device. Initially, this is the active console screen buffer, CONOUT$. STD_ERROR_HANDLE (DWORD)-12 The standard error device. Initially, this is the active console screen buffer, CONOUT$.
| def miasm.os_dep.win_api_x86_32.kernel32_GetStringTypeW | ( | jitter | ) |
BOOL GetStringTypeW(
DWORD dwInfoType,
_In_NLS_string_(cchSrc)LPCWCH lpSrcStr,
int cchSrc,
LPWORD lpCharType
);
Retrieves character type information for the characters in the specified
Unicode source string. For each character in the string, the function
sets one or more bits in the corresponding 16-bit element of the output
array. Each bit identifies a given character type, for example, letter,
digit, or neither.
| def miasm.os_dep.win_api_x86_32.kernel32_GetSystemDefaultLangID | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetSystemDirectoryA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetSystemDirectoryW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetSystemInfo | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetSystemTime | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetSystemTimeAsFileTime | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetTempFileNameA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetTempPathA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetTempPathW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetThreadLocale | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetTickCount | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetUserGeoID | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetVersion | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetVersionEx | ( | jitter, | |
| str_size, | |||
| encode_str | |||
| ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetVolumeInformationA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GetVolumeInformationW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_GlobalAlloc | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_GlobalFree | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_HeapAlloc | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_HeapFree | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_InitializeCriticalSection | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_InitializeCriticalSectionEx | ( | jitter | ) |
LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags
| def miasm.os_dep.win_api_x86_32.kernel32_IsBadReadPtr | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_IsDebuggerPresent | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_IsProcessorFeaturePresent | ( | jitter | ) |
BOOL IsProcessorFeaturePresent( DWORD ProcessorFeature );
| def miasm.os_dep.win_api_x86_32.kernel32_IsValidCodePage | ( | jitter | ) |
BOOL IsValidCodePage( UINT CodePage );
| def miasm.os_dep.win_api_x86_32.kernel32_IsWow64Process | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_LeaveCriticalSection | ( | jitter | ) |
void LeaveCriticalSection( LPCRITICAL_SECTION lpCriticalSection );
| def miasm.os_dep.win_api_x86_32.kernel32_LoadLibrary | ( | jitter, | |
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryEx | ( | jitter, | |
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryExA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryExW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_LocalAlloc | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_LocalFree | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_lstrcatA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcatW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcmpA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcmpi | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcmpiA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcmpiW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcmpW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcpy | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcpyA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcpyn | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrcpyW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrlen | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrlenA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_lstrlenW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_MapViewOfFile | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_MultiByteToWideChar | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_myGetTempPath | ( | jitter, | |
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_Process32First | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_Process32Next | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_QueryPerformanceCounter | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_ReadFile | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_RestoreLastError | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_RtlMoveMemory | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_SetCurrentDirectory | ( | jitter, | |
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_SetCurrentDirectoryA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_SetCurrentDirectoryW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_SetEndOfFile | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_SetFileAttributesA | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_SetFilePointer | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_SetFilePointerEx | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_SetLastError | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_SetPriorityClass | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_SHGetPathFromIDList | ( | jitter, | |
| funcname, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.kernel32_Sleep | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_TlsAlloc | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_TlsFree | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_TlsGetValue | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_TlsSetValue | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_UnmapViewOfFile | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_VirtualAlloc | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.kernel32_VirtualFree | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_VirtualLock | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_VirtualProtect | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_VirtualQuery | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_WaitForSingleObject | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.kernel32_WideCharToMultiByte | ( | jitter | ) |
int WideCharToMultiByte(
UINT CodePage,
DWORD dwFlags,
_In_NLS_string_(cchWideChar)LPCWCH lpWideCharStr,
int cchWideChar,
LPSTR lpMultiByteStr,
int cbMultiByte,
LPCCH lpDefaultChar,
LPBOOL lpUsedDefaultChar
);
| def miasm.os_dep.win_api_x86_32.kernel32_WriteFile | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.mdl2ad | ( | n | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt__mbscpy | ( | jitter | ) |


| def miasm.os_dep.win_api_x86_32.msvcrt__ultow | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt__wcsicmp | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt__wcsnicmp | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt__wfopen | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_atexit | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_delete | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_fclose | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_fopen | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_fprintf | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_fread | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_free | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_fseek | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_ftell | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_fwrite | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_malloc | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_memcmp | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_memcpy | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_memset | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_myfopen | ( | jitter, | |
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.msvcrt_new | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_rand | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_realloc | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_rewind | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_sprintf | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_sprintf_str | ( | jitter, | |
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.msvcrt_srand | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.msvcrt_strlen | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_strrchr | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_swprintf | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_wcscat | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_wcscmp | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_wcscpy | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_wcslen | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_wcsncpy | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.msvcrt_wcsrchr | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.my_CreateDirectory | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |

| def miasm.os_dep.win_api_x86_32.my_CreateEvent | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_FindFirstFile | ( | jitter, | |
| pfilepattern, | |||
| pfindfiledata, | |||
| get_win_str, | |||
| encode_str | |||
| ) |

| def miasm.os_dep.win_api_x86_32.my_FindNextFile | ( | jitter, | |
| encode_str | |||
| ) |
| def miasm.os_dep.win_api_x86_32.my_GetEnvironmentVariable | ( | jitter, | |
| funcname, | |||
| get_str, | |||
| set_str, | |||
| mylen | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_GetSystemDirectory | ( | jitter, | |
| funcname, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_GetVolumeInformation | ( | jitter, | |
| funcname, | |||
| get_str, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_lstrcat | ( | jitter, | |
| funcname, | |||
| get_str, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_lstrcmp | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_strcpy | ( | jitter, | |
| funcname, | |||
| get_str, | |||
| set_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.my_strlen | ( | jitter, | |
| funcname, | |||
| get_str, | |||
| mylen | |||
| ) |


| def miasm.os_dep.win_api_x86_32.ntdll_LdrGetProcedureAddress | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_LdrLoadDll | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_memset | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_RtlAnsiCharToUnicodeChar | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlAnsiStringToUnicodeString | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_RtlCompareMemory | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlComputeCrc32 | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlEnlargedUnsignedMultiply | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlExtendedIntegerMultiply | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlFindCharInUnicodeString | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlFreeUnicodeString | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlHashUnicodeString | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlInitAnsiString | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_RtlInitString | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_RtlLargeIntegerAdd | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlLargeIntegerShiftRight | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlLargeIntegerSubtract | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_RtlMoveMemory | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_ZwAllocateVirtualMemory | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntdll_ZwFreeVirtualMemory | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_ZwProtectVirtualMemory | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_ZwQuerySystemInformation | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntdll_ZwUnmapViewOfSection | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntoskrnl_ExAllocatePoolWithTagPriority | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_IoAllocateMdl | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_IoFreeMdl | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_KeInitializeEvent | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntoskrnl_MmMapLockedPagesSpecifyCache | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_MmProbeAndLockPages | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_MmProtectMdlSystemAddress | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_MmUnlockPages | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_RtlGetVersion | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.ntoskrnl_RtlQueryRegistryValues | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.ntoskrnl_RtlVerifyVersionInfo | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.raw2guid | ( | r | ) |
| def miasm.os_dep.win_api_x86_32.shell32_CommandLineToArgvW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shell32_SHGetPathFromIDListA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shell32_SHGetPathFromIDListW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shell32_SHGetSpecialFolderLocation | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.shlwapi_PathFindExtensionA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathGetDriveNumber | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.shlwapi_PathGetDriveNumberA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathGetDriveNumberW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathIsDirectoryW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathIsFileSpec | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.shlwapi_PathIsFileSpecA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathIsFileSpecW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathIsPrefixW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_PathRemoveFileSpecW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_StrCmpNIA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_StrToInt64Ex | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.shlwapi_StrToInt64ExA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_StrToInt64ExW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.shlwapi_StrToIntA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.unixtime_to_filetime | ( | unixtime | ) |
Convert unixtime to filetime https://msdn.microsoft.com/en-us/library/ms724228
| def miasm.os_dep.win_api_x86_32.user32_BlockInput | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_FindWindowA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.user32_GetForegroundWindow | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_GetKeyboardType | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_GetMessagePos | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_GetSystemMetrics | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_GetTopWindow | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_GetWindowLongA | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_IsCharAlpha | ( | jitter, | |
| funcname, | |||
| get_str | |||
| ) |


| def miasm.os_dep.win_api_x86_32.user32_IsCharAlphaA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.user32_IsCharAlphaNumericA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.user32_IsCharAlphaW | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.user32_IsCharLowerA | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_IsCharUpperA | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.user32_MessageBoxA | ( | jitter | ) |

| def miasm.os_dep.win_api_x86_32.user32_SetWindowLongA | ( | jitter | ) |
| def miasm.os_dep.win_api_x86_32.wsock32_WSAStartup | ( | jitter | ) |
| dictionary miasm.os_dep.win_api_x86_32.ACCESS_DICT |
| miasm.os_dep.win_api_x86_32.ACCESS_DICT_INV = dict((x[1], x[0]) for x in viewitems(ACCESS_DICT)) |
| miasm.os_dep.win_api_x86_32.console_handler = logging.StreamHandler() |
| int miasm.os_dep.win_api_x86_32.DATE_1601_TO_1970 = 116444736000000000 |
| miasm.os_dep.win_api_x86_32.digs = string.digits + string.ascii_lowercase |
| int miasm.os_dep.win_api_x86_32.FILE_TYPE_CHAR = 0x0002 |
| int miasm.os_dep.win_api_x86_32.FILE_TYPE_UNKNOWN = 0x0000 |
| miasm.os_dep.win_api_x86_32.fls = FLS() |
| def miasm.os_dep.win_api_x86_32.kernel32_FindNextFileA = lambda jitter: my_FindNextFile(jitter, encode_win_str_a) |
| def miasm.os_dep.win_api_x86_32.kernel32_FindNextFileW = lambda jitter: my_FindNextFile(jitter, encode_win_str_w) |
| def miasm.os_dep.win_api_x86_32.kernel32_GetVersionExA |
| def miasm.os_dep.win_api_x86_32.kernel32_GetVersionExW |
| miasm.os_dep.win_api_x86_32.log = logging.getLogger("win_api_x86_32") |
| int miasm.os_dep.win_api_x86_32.MAX_PATH = 260 |
| list miasm.os_dep.win_api_x86_32.process_list |
| int miasm.os_dep.win_api_x86_32.STD_ERROR_HANDLE = 0xfffffff4 |
| int miasm.os_dep.win_api_x86_32.STD_INPUT_HANDLE = 0xfffffff6 |
| int miasm.os_dep.win_api_x86_32.STD_OUTPUT_HANDLE = 0xfffffff5 |
| int miasm.os_dep.win_api_x86_32.temp_num = 0 |
| dictionary miasm.os_dep.win_api_x86_32.VALID_CODE_PAGES |
| miasm.os_dep.win_api_x86_32.winobjs = c_winobjs() |