[Windows Phone 7 Development and Hacking] spavlin:
; +-------------------------------------------------------------------------+

; | This file	has been generated by The Interactive Disassembler (IDA) |

; |	Copyright	(c) 2011 Hex-Rays, <support@hex-rays.com>	|

; +-------------------------------------------------------------------------+

;

; Input	MD5 :	D3E482A6A5A9FE6FD9A5114F091D2A20

; Input	CRC32 :	AF18BC02

; File Name :	C:\OEM_8x50_ULDR_BOOT\~oalioctl.dll

; Imports from CEDDK.dll

;

; ===========================================================================

; Segment type:	Externs

; PVOID	MmMapIoSpace(PHYSICAL_ADDRESS PhysicalAddress, ULONG NumberOfBytes, BOOLEAN CacheEnable)

IMPORT MmMapIoSpace	; DATA XREF: .text:EF8A1914o

;

; Imports from COREDLL.dll

;

IMPORT COREDLL_2580	; DATA XREF: .text:EF8A1928o

IMPORT COREDLL_2577

IMPORT COREDLL_2587

; BOOL __stdcall CloseHandle(HANDLE hObject)

IMPORT CloseHandle

IMPORT COREDLL_2581

; LPVOID __stdcall VirtualAlloc(LPVOID lpAddress, DWORD	dwSize,	DWORD flAllocationType,	DWORD flProtect)

IMPORT VirtualAlloc

; BOOL __stdcall DeviceIoControl(HANDLE	hDevice, DWORD dwIoControlCode,	LPVOID lpInBuf,	DWORD nInBufSize, LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped)

IMPORT DeviceIoControl

; BOOL __stdcall VirtualFree(LPVOID lpAddress, DWORD dwSize, DWORD dwFreeType)

IMPORT VirtualFree

; void __stdcall SetLastError(DWORD dwErrCode)

IMPORT SetLastError

; BOOL __stdcall DisableThreadLibraryCalls(HMODULE hLibModule)

IMPORT DisableThreadLibraryCalls

; HANDLE __stdcall CreateMutexW(LPSECURITY_ATTRIBUTES lpsa, BOOL bInitialOwner,	LPCWSTR	lpName)

IMPORT CreateMutexW

; DWORD	GetLastError(void)

IMPORT GetLastError

; DWORD	__stdcall WaitForSingleObject(HANDLE hHandle, DWORD dwMilliseconds)

IMPORT WaitForSingleObject

; BOOL __stdcall ReleaseMutex(HANDLE hMutex)

IMPORT ReleaseMutex

; BOOL RegisterDbgZones(HMODULE	hMod, LPDBGPARAM lpdbgparam)

IMPORT RegisterDbgZones

; void *__cdecl	memset(void *, int, size_t)

IMPORT memset

IMPORT _rt_udiv

IMPORT COREDLL_2629

; EXCEPTION_ROUTINE C_specific_handler

IMPORT _C_specific_handler

; int __cdecl XcptFilter(unsigned __int32, struct _EXCEPTION_POINTERS *)

IMPORT XcptFilter	; DATA XREF: sub_EF8A189Co

; sub_EF8A189C+4r ...

IMPORT _report_gsfailure ; DATA	XREF: sub_EF8A18ACo

; sub_EF8A18AC+4r ...

IMPORT COREDLL_2696	; DATA XREF: sub_EF8A18BCo

; sub_EF8A18BC+4r ...

; void __cdecl free(void *)

IMPORT free	; DATA XREF: sub_EF8A18CCo

; sub_EF8A18CC+4r ...

; BOOL __stdcall TerminateProcess(HANDLE hProcess, DWORD uExitCode)

IMPORT TerminateProcess	; DATA XREF: sub_EF8A18DCo

; sub_EF8A18DC+4r ...

; ===========================================================================

---------- Post added at 12:54 AM ---------- Previous post was at 12:50 AM ----------

; +-------------------------------------------------------------------------+

; | This file	has been generated by The Interactive Disassembler (IDA) |

; |	Copyright	(c) 2011 Hex-Rays, <support@hex-rays.com>	|

; +-------------------------------------------------------------------------+

;

; Input	MD5 :	C7D83F0D10815A6A9D4AAF9FA4E97A8B

; Input	CRC32 :	0FAB6971

; File Name :	C:\OEM_8x50_ULDR_BOOT\ceddk.dll

; Imports from COREDLL.dll

;

; ===========================================================================

; Segment type:	Externs

; LPVOID __stdcall VirtualAlloc(LPVOID lpAddress, DWORD	dwSize,	DWORD flAllocationType,	DWORD flProtect)

IMPORT VirtualAlloc

IMPORT VirtualCopy

; BOOL __stdcall VirtualFree(LPVOID lpAddress, DWORD dwSize, DWORD dwFreeType)

IMPORT VirtualFree

IMPORT VirtualSetAttributes

IMPORT CreateStaticMapping

; LONG __stdcall RegQueryValueExW(HKEY hKey, LPCWSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)

IMPORT RegQueryValueExW

; HLOCAL __stdcall LocalAlloc(UINT fuFlags, UINT cbBytes)

IMPORT LocalAlloc

; HLOCAL __stdcall LocalFree(HLOCAL hMem)

IMPORT LocalFree

; HKEY OpenDeviceKey(LPCTSTR ActiveKey)

IMPORT OpenDeviceKey

; LONG __stdcall RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired,	PHKEY phkResult)

IMPORT RegOpenKeyExW

; LONG __stdcall RegCloseKey(HKEY hKey)

IMPORT RegCloseKey

; BOOL __stdcall DisableThreadLibraryCalls(HMODULE hLibModule)

IMPORT DisableThreadLibraryCalls

; void __stdcall SetLastError(DWORD dwErrCode)

IMPORT SetLastError

; LONG __stdcall InterlockedCompareExchange(LPLONG Destination,	LONG Exchange, LONG Comperand)

IMPORT InterlockedCompareExchange

IMPORT CreateAPIHandle

IMPORT COREDLL_2604

IMPORT COREDLL_2528

IMPORT COREDLL_2539

IMPORT RegisterAPISet

; BOOL __stdcall DeviceIoControl(HANDLE	hDevice, DWORD dwIoControlCode,	LPVOID lpInBuf,	DWORD nInBufSize, LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped)

IMPORT DeviceIoControl

; BOOL __stdcall DuplicateHandle(HANDLE	hSourceProcessHandle, HANDLE hSourceHandle, HANDLE hTargetProcessHandle, LPHANDLE lpTargetHandle, DWORD	dwDesiredAccess, BOOL bInheritHandle, DWORD dwOptions)

IMPORT DuplicateHandle

; BOOL __stdcall CloseHandle(HANDLE hObject)

IMPORT CloseHandle

IMPORT CeSafeCopyMemory

; HANDLE __stdcall CreateFileW(LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD	dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)

IMPORT CreateFileW

IMPORT GetDeviceInformationByDeviceHandle

; HRESULT StringCchCopyW(wchar_t *pszDest, size_t cchDest, const wchar_t *pszSrc)

IMPORT StringCchCopyW

IMPORT FreePhysMem

IMPORT AllocPhysMem

; LONG __stdcall InterlockedExchange(LPLONG Target, LONG Value)

IMPORT InterlockedExchange

IMPORT LockPages

IMPORT UnlockPages

IMPORT CacheRangeFlush

IMPORT KernelIoControl

; DWORD	__stdcall WaitForSingleObject(HANDLE hHandle, DWORD dwMilliseconds)

IMPORT WaitForSingleObject

; void __stdcall InitializeCriticalSection(LPCRITICAL_SECTION pcsCriticalSection)

IMPORT InitializeCriticalSection

; BOOL __stdcall EventModify(HANDLE hEvent, DWORD func)

IMPORT EventModify

; void __stdcall LeaveCriticalSection(LPCRITICAL_SECTION pcsCriticalSection)

IMPORT LeaveCriticalSection

; void __stdcall EnterCriticalSection(LPCRITICAL_SECTION pcsCriticalSection)

IMPORT EnterCriticalSection

; HANDLE __stdcall CreateEventW(LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState,	LPCWSTR	lpName)

IMPORT CreateEventW

; void __stdcall DeleteCriticalSection(LPCRITICAL_SECTION pcsCriticalSection)

IMPORT DeleteCriticalSection

; BOOL __stdcall FreeLibrary(HMODULE hLibModule)

IMPORT FreeLibrary

; FARPROC __stdcall GetProcAddressA(HMODULE hModule, LPCSTR lpProcName)

IMPORT GetProcAddressA

; BOOL __stdcall QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount)

IMPORT QueryPerformanceCounter

; HINSTANCE __stdcall LoadLibraryW(LPCWSTR lpLibFileName)

IMPORT LoadLibraryW

; BOOL __stdcall CeSetThreadPriority(HANDLE hThread, int nPriority)

IMPORT CeSetThreadPriority

; int __stdcall	CeGetThreadPriority(HANDLE hThread)

IMPORT CeGetThreadPriority

; BOOL __stdcall QueryPerformanceFrequency(LARGE_INTEGER *lpFrequency)

IMPORT QueryPerformanceFrequency

; DWORD	GetLastError(void)

IMPORT GetLastError

IMPORT LoadDriver

; HRESULT StringCbCopyNW(wchar_t *pszDest, size_t cbDest, const	wchar_t	*pszSrc, size_t	cbSrc)

IMPORT StringCbCopyNW

; size_t __cdecl wcslen(const wchar_t *)

IMPORT wcslen

; void *__cdecl	memcpy(void *, const void *, size_t)

IMPORT memcpy

; unsigned __int32 __cdecl wcstoul(const wchar_t *, wchar_t **,	int)

IMPORT wcstoul

; void __cdecl operator	delete(void *)

IMPORT __3_YAXPAX_Z

; void * __cdecl operator new(unsigned int)

IMPORT __2_YAPAXI_Z

; void __cdecl free(void *)

IMPORT free

; void *__cdecl	malloc(size_t)

IMPORT malloc

; EXCEPTION_ROUTINE C_specific_handler

IMPORT _C_specific_handler

; int __cdecl XcptFilter(unsigned __int32, struct _EXCEPTION_POINTERS *)

IMPORT XcptFilter

IMPORT _report_gsfailure

IMPORT COREDLL_2696

; BOOL __stdcall TerminateProcess(HANDLE hProcess, DWORD uExitCode)

IMPORT TerminateProcess

; void *__cdecl	memset(void *, int, size_t)

IMPORT memset

IMPORT _rt_sdiv64by64

IMPORT _u64tod

IMPORT _rt_udiv64by64

; ===========================================================================