Advertisement
Guest User

Jtag Back ?!

a guest
Mar 1st, 2011
2,037
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 131.50 KB | None | 0 0
  1. Ok so I know the mods have been deleting all the posts out there that had that fake method and stuff but please do not delete this one. That is all i'm saying.
  2.  
  3. Here is the 12625 Kernel which was extracted out of a retail console, I have also extracted the hypervisor out of the kernel. Also included is a script for IDA created by XanTium (XBS) which makes the loading and dissembling of a "xboxkrnl.exe" easier.
  4.  
  5. Instructions for IDA script;
  6.  
  7. Open xboxkrnl.exe as a binary
  8. Set processor to PPC, base 0
  9. Load script
  10.  
  11.  
  12. Also, here is the link for the 12625 update from microsoft:
  13. http://www.xbox.com/system-update-cd
  14.  
  15. Downloads:
  16.  
  17. 12625 Kernel
  18. http://www.mediafire.com/?ayrgj3zvbb56w7b
  19.  
  20.  
  21. Hypervisor
  22. http://www.mediafire.com/?o35k69khsmqa67a
  23.  
  24.  
  25. IDA Script
  26. http://www.mediafire.com/?0w71as6ielbmlmd
  27.  
  28.  
  29.  
  30. Here are the xex names and processes extracted from the kernel:
  31.  
  32. Kernel Import 0:
  33.  
  34.  
  35.  
  36. static GetKernelImportName_0(importNum)
  37. {
  38. if( importNum == 0x001) return "DbgBreakPoint";
  39. else if(importNum == 0x002) return "DbgBreakPointWithStatus";
  40. else if(importNum == 0x003) return "DbgPrint";
  41. else if(importNum == 0x004) return "DbgPrompt";
  42. else if(importNum == 0x005) return "DumpGetRawDumpInfo";
  43. else if(importNum == 0x006) return "DumpWriteDump";
  44. else if(importNum == 0x007) return "ExAcquireReadWriteLockExclusive";
  45. else if(importNum == 0x008) return "ExAcquireReadWriteLockShared";
  46. else if(importNum == 0x009) return "ExAllocatePool";
  47. else if(importNum == 0x00A) return "ExAllocatePoolWithTag";
  48. else if(importNum == 0x00B) return "ExAllocatePoolTypeWithTag";
  49. else if(importNum == 0x00C) return "ExConsoleGameRegion";
  50. else if(importNum == 0x00D) return "ExCreateThread";
  51. else if(importNum == 0x00E) return "ExEventObjectType";
  52. else if(importNum == 0x00F) return "ExFreePool";
  53. else if(importNum == 0x010) return "ExGetXConfigSetting";
  54. else if(importNum == 0x011) return "ExInitializeReadWriteLock";
  55. else if(importNum == 0x012) return "ExMutantObjectType";
  56. else if(importNum == 0x013) return "ExQueryPoolBlockSize";
  57. else if(importNum == 0x014) return "ExRegisterThreadNotification";
  58. else if(importNum == 0x015) return "ExRegisterTitleTerminateNotification";
  59. else if(importNum == 0x016) return "ExReleaseReadWriteLock";
  60. else if(importNum == 0x017) return "ExSemaphoreObjectType";
  61. else if(importNum == 0x018) return "ExSetXConfigSetting";
  62. else if(importNum == 0x019) return "ExTerminateThread";
  63. else if(importNum == 0x01A) return "ExTerminateTitleProcess";
  64. else if(importNum == 0x01B) return "ExThreadObjectType";
  65. else if(importNum == 0x01C) return "ExTimerObjectType";
  66. else if(importNum == 0x01D) return "MmDoubleMapMemory";
  67. else if(importNum == 0x01E) return "MmUnmapMemory";
  68. else if(importNum == 0x01F) return "XeKeysGetConsoleCertificate";
  69. else if(importNum == 0x020) return "FscGetCacheElementCount";
  70. else if(importNum == 0x021) return "FscSetCacheElementCount";
  71. else if(importNum == 0x022) return "HalGetCurrentAVPack";
  72. else if(importNum == 0x023) return "HalGpioControl";
  73. else if(importNum == 0x024) return "HalOpenCloseODDTray";
  74. else if(importNum == 0x025) return "HalReadWritePCISpace";
  75. else if(importNum == 0x026) return "HalRegisterPowerDownNotification";
  76. else if(importNum == 0x027) return "HalRegisterSMCNotification";
  77. else if(importNum == 0x028) return "HalReturnToFirmware";
  78. else if(importNum == 0x029) return "HalSendSMCMessage";
  79. else if(importNum == 0x02A) return "HalSetAudioEnable";
  80. else if(importNum == 0x02B) return "InterlockedFlushSList";
  81. else if(importNum == 0x02C) return "InterlockedPopEntrySList";
  82. else if(importNum == 0x02D) return "InterlockedPushEntrySList";
  83. else if(importNum == 0x02E) return "IoAcquireDeviceObjectLock";
  84. else if(importNum == 0x02F) return "IoAllocateIrp";
  85. else if(importNum == 0x030) return "IoBuildAsynchronousFsdRequest";
  86. else if(importNum == 0x031) return "IoBuildDeviceIoControlRequest";
  87. else if(importNum == 0x032) return "IoBuildSynchronousFsdRequest";
  88. else if(importNum == 0x033) return "IoCallDriver";
  89. else if(importNum == 0x034) return "IoCheckShareAccess";
  90. else if(importNum == 0x035) return "IoCompleteRequest";
  91. else if(importNum == 0x036) return "IoCompletionObjectType";
  92. else if(importNum == 0x037) return "IoCreateDevice";
  93. else if(importNum == 0x038) return "IoCreateFile";
  94. else if(importNum == 0x039) return "IoDeleteDevice";
  95. else if(importNum == 0x03A) return "IoDeviceObjectType";
  96. else if(importNum == 0x03B) return "IoDismountVolume";
  97. else if(importNum == 0x03C) return "IoDismountVolumeByFileHandle";
  98. else if(importNum == 0x03D) return "IoDismountVolumeByName";
  99. else if(importNum == 0x03E) return "IoFileObjectType";
  100. else if(importNum == 0x03F) return "IoFreeIrp";
  101. else if(importNum == 0x040) return "IoInitializeIrp";
  102. else if(importNum == 0x041) return "IoInvalidDeviceRequest";
  103. else if(importNum == 0x042) return "ExSetBetaFeaturesEnabled";
  104. else if(importNum == 0x043) return "IoQueueThreadIrp";
  105. else if(importNum == 0x044) return "IoReleaseDeviceObjectLock";
  106. else if(importNum == 0x045) return "IoRemoveShareAccess";
  107. else if(importNum == 0x046) return "IoSetIoCompletion";
  108. else if(importNum == 0x047) return "IoSetShareAccess";
  109. else if(importNum == 0x048) return "IoStartNextPacket";
  110. else if(importNum == 0x049) return "IoStartNextPacketByKey";
  111. else if(importNum == 0x04A) return "IoStartPacket";
  112. else if(importNum == 0x04B) return "IoSynchronousDeviceIoControlRequest";
  113. else if(importNum == 0x04C) return "IoSynchronousFsdRequest";
  114. else if(importNum == 0x04D) return "KeAcquireSpinLockAtRaisedIrql";
  115. else if(importNum == 0x04E) return "KeAlertResumeThread";
  116. else if(importNum == 0x04F) return "KeAlertThread";
  117. else if(importNum == 0x050) return "KeBlowFuses";
  118. else if(importNum == 0x051) return "KeBoostPriorityThread";
  119. else if(importNum == 0x052) return "KeBugCheck";
  120. else if(importNum == 0x053) return "KeBugCheckEx";
  121. else if(importNum == 0x054) return "KeCancelTimer";
  122. else if(importNum == 0x055) return "KeConnectInterrupt";
  123. else if(importNum == 0x056) return "KeContextFromKframes";
  124. else if(importNum == 0x057) return "KeContextToKframes";
  125. else if(importNum == 0x058) return "KeCreateUserMode";
  126. else if(importNum == 0x059) return "KeDebugMonitorData";
  127. else if(importNum == 0x05A) return "KeDelayExecutionThread";
  128. else if(importNum == 0x05B) return "KeDeleteUserMode";
  129. else if(importNum == 0x05C) return "KeDisconnectInterrupt";
  130. else if(importNum == 0x05D) return "KeEnableFpuExceptions";
  131. else if(importNum == 0x05E) return "KeEnablePPUPerformanceMonitor";
  132. else if(importNum == 0x05F) return "KeEnterCriticalRegion";
  133. else if(importNum == 0x060) return "KeEnterUserMode";
  134. else if(importNum == 0x061) return "KeFlushCacheRange";
  135. else if(importNum == 0x062) return "KeFlushCurrentEntireTb";
  136. else if(importNum == 0x063) return "KeFlushEntireTb";
  137. else if(importNum == 0x064) return "KeFlushUserModeCurrentTb";
  138. else if(importNum == 0x065) return "KeFlushUserModeTb";
  139. else if(importNum == 0x066) return "KeGetCurrentProcessType";
  140. else if(importNum == 0x067) return "KeGetPMWRegister";
  141. else if(importNum == 0x068) return "KeGetPRVRegister";
  142. else if(importNum == 0x069) return "KeGetSocRegister";
  143. else if(importNum == 0x06A) return "KeGetSpecialPurposeRegister";
  144. else if(importNum == 0x06B) return "KeLockL2";
  145. else if(importNum == 0x06C) return "KeUnlockL2";
  146. else if(importNum == 0x06D) return "KeInitializeApc";
  147. else if(importNum == 0x06E) return "KeInitializeDeviceQueue";
  148. else if(importNum == 0x06F) return "KeInitializeDpc";
  149. else if(importNum == 0x070) return "KeInitializeEvent";
  150. else if(importNum == 0x071) return "KeInitializeInterrupt";
  151. else if(importNum == 0x072) return "KeInitializeMutant";
  152. else if(importNum == 0x073) return "KeInitializeQueue";
  153. else if(importNum == 0x074) return "KeInitializeSemaphore";
  154. else if(importNum == 0x075) return "KeInitializeTimerEx";
  155. else if(importNum == 0x076) return "KeInsertByKeyDeviceQueue";
  156. else if(importNum == 0x077) return "KeInsertDeviceQueue";
  157. else if(importNum == 0x078) return "KeInsertHeadQueue";
  158. else if(importNum == 0x079) return "KeInsertQueue";
  159. else if(importNum == 0x07A) return "KeInsertQueueApc";
  160. else if(importNum == 0x07B) return "KeInsertQueueDpc";
  161. else if(importNum == 0x07C) return "KeIpiGenericCall";
  162. else if(importNum == 0x07D) return "KeLeaveCriticalRegion";
  163. else if(importNum == 0x07E) return "KeLeaveUserMode";
  164. else if(importNum == 0x07F) return "KePulseEvent";
  165. else if(importNum == 0x080) return "KeQueryBackgroundProcessors";
  166. else if(importNum == 0x081) return "KeQueryBasePriorityThread";
  167. else if(importNum == 0x082) return "KeQueryInterruptTime";
  168. else if(importNum == 0x083) return "KeQueryPerformanceFrequency";
  169. else if(importNum == 0x084) return "KeQuerySystemTime";
  170. else if(importNum == 0x085) return "KeRaiseIrqlToDpcLevel";
  171. else if(importNum == 0x086) return "KeRegisterDriverNotification";
  172. else if(importNum == 0x087) return "KeReleaseMutant";
  173. else if(importNum == 0x088) return "KeReleaseSemaphore";
  174. else if(importNum == 0x089) return "KeReleaseSpinLockFromRaisedIrql";
  175. else if(importNum == 0x08A) return "KeRemoveByKeyDeviceQueue";
  176. else if(importNum == 0x08B) return "KeRemoveDeviceQueue";
  177. else if(importNum == 0x08C) return "KeRemoveEntryDeviceQueue";
  178. else if(importNum == 0x08D) return "KeRemoveQueue";
  179. else if(importNum == 0x08E) return "KeRemoveQueueDpc";
  180. else if(importNum == 0x08F) return "KeResetEvent";
  181. else if(importNum == 0x090) return "KeRestoreFloatingPointState";
  182. else if(importNum == 0x091) return "KeRestoreVectorUnitState";
  183. else if(importNum == 0x092) return "KeResumeThread";
  184. else if(importNum == 0x093) return "KeRetireDpcList";
  185. else if(importNum == 0x094) return "KeRundownQueue";
  186. else if(importNum == 0x095) return "KeSaveFloatingPointState";
  187. else if(importNum == 0x096) return "KeSaveVectorUnitState";
  188. else if(importNum == 0x097) return "KeSetAffinityThread";
  189. else if(importNum == 0x098) return "KeSetBackgroundProcessors";
  190. else if(importNum == 0x099) return "KeSetBasePriorityThread";
  191. else if(importNum == 0x09A) return "KeSetCurrentProcessType";
  192. else if(importNum == 0x09B) return "KeSetCurrentStackPointers";
  193. else if(importNum == 0x09C) return "KeSetDisableBoostThread";
  194. else if(importNum == 0x09D) return "KeSetEvent";
  195. else if(importNum == 0x09E) return "KeSetEventBoostPriority";
  196. else if(importNum == 0x09F) return "KeSetPMWRegister";
  197. else if(importNum == 0x0A0) return "KeSetPowerMode";
  198. else if(importNum == 0x0A1) return "KeSetPRVRegister";
  199. else if(importNum == 0x0A2) return "KeSetPriorityClassThread";
  200. else if(importNum == 0x0A3) return "KeSetPriorityThread";
  201. else if(importNum == 0x0A4) return "KeSetSocRegister";
  202. else if(importNum == 0x0A5) return "KeSetSpecialPurposeRegister";
  203. else if(importNum == 0x0A6) return "KeSetTimer";
  204. else if(importNum == 0x0A7) return "KeSetTimerEx";
  205. else if(importNum == 0x0A8) return "KeStallExecutionProcessor";
  206. else if(importNum == 0x0A9) return "KeSuspendThread";
  207. else if(importNum == 0x0AA) return "KeSweepDcacheRange";
  208. else if(importNum == 0x0AB) return "KeSweepIcacheRange";
  209. else if(importNum == 0x0AC) return "KeTestAlertThread";
  210. else if(importNum == 0x0AD) return "KeTimeStampBundle";
  211. else if(importNum == 0x0AE) return "KeTryToAcquireSpinLockAtRaisedIrql";
  212. else if(importNum == 0x0AF) return "KeWaitForMultipleObjects";
  213. else if(importNum == 0x0B0) return "KeWaitForSingleObject";
  214. else if(importNum == 0x0B1) return "KfAcquireSpinLock";
  215. else if(importNum == 0x0B2) return "KfRaiseIrql";
  216. else if(importNum == 0x0B3) return "KfLowerIrql";
  217. else if(importNum == 0x0B4) return "KfReleaseSpinLock";
  218. else if(importNum == 0x0B5) return "KiBugCheckData";
  219. else if(importNum == 0x0B6) return "LDICreateDecompression";
  220. else if(importNum == 0x0B7) return "LDIDecompress";
  221. else if(importNum == 0x0B8) return "LDIDestroyDecompression";
  222. else if(importNum == 0x0B9) return "MmAllocatePhysicalMemory";
  223. else if(importNum == 0x0BA) return "MmAllocatePhysicalMemoryEx";
  224. else if(importNum == 0x0BB) return "MmCreateKernelStack";
  225. else if(importNum == 0x0BC) return "MmDeleteKernelStack";
  226. else if(importNum == 0x0BD) return "MmFreePhysicalMemory";
  227. else if(importNum == 0x0BE) return "MmGetPhysicalAddress";
  228. else if(importNum == 0x0BF) return "MmIsAddressValid";
  229. else if(importNum == 0x0C0) return "MmLockAndMapSegmentArray";
  230. else if(importNum == 0x0C1) return "MmLockUnlockBufferPages";
  231. else if(importNum == 0x0C2) return "MmMapIoSpace";
  232. else if(importNum == 0x0C3) return "MmPersistPhysicalMemoryAllocation";
  233. else if(importNum == 0x0C4) return "MmQueryAddressProtect";
  234. else if(importNum == 0x0C5) return "MmQueryAllocationSize";
  235. else if(importNum == 0x0C6) return "MmQueryStatistics";
  236. else if(importNum == 0x0C7) return "MmSetAddressProtect";
  237. else if(importNum == 0x0C8) return "MmSplitPhysicalMemoryAllocation";
  238. else if(importNum == 0x0C9) return "MmUnlockAndUnmapSegmentArray";
  239. else if(importNum == 0x0CA) return "MmUnmapIoSpace";
  240. else if(importNum == 0x0CB) return "Nls844UnicodeCaseTable";
  241. else if(importNum == 0x0CC) return "NtAllocateVirtualMemory";
  242. else if(importNum == 0x0CD) return "NtCancelTimer";
  243. else if(importNum == 0x0CE) return "NtClearEvent";
  244. else if(importNum == 0x0CF) return "NtClose";
  245. else if(importNum == 0x0D0) return "NtCreateDirectoryObject";
  246. else if(importNum == 0x0D1) return "NtCreateEvent";
  247. else if(importNum == 0x0D2) return "NtCreateFile";
  248. else if(importNum == 0x0D3) return "NtCreateIoCompletion";
  249. else if(importNum == 0x0D4) return "NtCreateMutant";
  250. else if(importNum == 0x0D5) return "NtCreateSemaphore";
  251. else if(importNum == 0x0D6) return "NtCreateSymbolicLinkObject";
  252. else if(importNum == 0x0D7) return "NtCreateTimer";
  253. else if(importNum == 0x0D8) return "NtDeleteFile";
  254. else if(importNum == 0x0D9) return "NtDeviceIoControlFile";
  255. else if(importNum == 0x0DA) return "NtDuplicateObject";
  256. else if(importNum == 0x0DB) return "NtFlushBuffersFile";
  257. else if(importNum == 0x0DC) return "NtFreeVirtualMemory";
  258. else if(importNum == 0x0DD) return "NtMakeTemporaryObject";
  259. else if(importNum == 0x0DE) return "NtOpenDirectoryObject";
  260. else if(importNum == 0x0DF) return "NtOpenFile";
  261. else if(importNum == 0x0E0) return "NtOpenSymbolicLinkObject";
  262. else if(importNum == 0x0E1) return "NtProtectVirtualMemory";
  263. else if(importNum == 0x0E2) return "NtPulseEvent";
  264. else if(importNum == 0x0E3) return "NtQueueApcThread";
  265. else if(importNum == 0x0E4) return "NtQueryDirectoryFile";
  266. else if(importNum == 0x0E5) return "NtQueryDirectoryObject";
  267. else if(importNum == 0x0E6) return "NtQueryEvent";
  268. else if(importNum == 0x0E7) return "NtQueryFullAttributesFile";
  269. else if(importNum == 0x0E8) return "NtQueryInformationFile";
  270. else if(importNum == 0x0E9) return "NtQueryIoCompletion";
  271. else if(importNum == 0x0EA) return "NtQueryMutant";
  272. else if(importNum == 0x0EB) return "NtQuerySemaphore";
  273. else if(importNum == 0x0EC) return "NtQuerySymbolicLinkObject";
  274. else if(importNum == 0x0ED) return "NtQueryTimer";
  275. else if(importNum == 0x0EE) return "NtQueryVirtualMemory";
  276. else if(importNum == 0x0EF) return "NtQueryVolumeInformationFile";
  277. else if(importNum == 0x0F0) return "NtReadFile";
  278. else if(importNum == 0x0F1) return "NtReadFileScatter";
  279. else if(importNum == 0x0F2) return "NtReleaseMutant";
  280. else if(importNum == 0x0F3) return "NtReleaseSemaphore";
  281. else if(importNum == 0x0F4) return "NtRemoveIoCompletion";
  282. else if(importNum == 0x0F5) return "NtResumeThread";
  283. else if(importNum == 0x0F6) return "NtSetEvent";
  284. else if(importNum == 0x0F7) return "NtSetInformationFile";
  285. else if(importNum == 0x0F8) return "NtSetIoCompletion";
  286. else if(importNum == 0x0F9) return "NtSetSystemTime";
  287. else if(importNum == 0x0FA) return "NtSetTimerEx";
  288. else if(importNum == 0x0FB) return "NtSignalAndWaitForSingleObjectEx";
  289. else if(importNum == 0x0FC) return "NtSuspendThread";
  290. else if(importNum == 0x0FD) return "NtWaitForSingleObjectEx";
  291. else if(importNum == 0x0FE) return "NtWaitForMultipleObjectsEx";
  292. else if(importNum == 0x0FF) return "NtWriteFile";
  293. else return form("Kernel_%03X", importNum);
  294. }
  295.  
  296.  
  297.  
  298. Kernel Import 1:
  299.  
  300.  
  301. static GetKernelImportName_1(importNum)
  302. {
  303. if( importNum == 0x100) return "NtWriteFileGather";
  304. else if(importNum == 0x101) return "NtYieldExecution";
  305. else if(importNum == 0x102) return "ObCreateObject";
  306. else if(importNum == 0x103) return "ObCreateSymbolicLink";
  307. else if(importNum == 0x104) return "ObDeleteSymbolicLink";
  308. else if(importNum == 0x105) return "ObDereferenceObject";
  309. else if(importNum == 0x106) return "ObDirectoryObjectType";
  310. else if(importNum == 0x107) return "ObGetWaitableObject";
  311. else if(importNum == 0x108) return "ObInsertObject";
  312. else if(importNum == 0x109) return "ObIsTitleObject";
  313. else if(importNum == 0x10A) return "ObLookupAnyThreadByThreadId";
  314. else if(importNum == 0x10B) return "ObLookupThreadByThreadId";
  315. else if(importNum == 0x10C) return "ObMakeTemporaryObject";
  316. else if(importNum == 0x10D) return "ObOpenObjectByName";
  317. else if(importNum == 0x10E) return "ObOpenObjectByPointer";
  318. else if(importNum == 0x10F) return "ObReferenceObject";
  319. else if(importNum == 0x110) return "ObReferenceObjectByHandle";
  320. else if(importNum == 0x111) return "ObReferenceObjectByName";
  321. else if(importNum == 0x112) return "ObSymbolicLinkObjectType";
  322. else if(importNum == 0x113) return "ObTranslateSymbolicLink";
  323. else if(importNum == 0x114) return "RtlAnsiStringToUnicodeString";
  324. else if(importNum == 0x115) return "RtlAppendStringToString";
  325. else if(importNum == 0x116) return "RtlAppendUnicodeStringToString";
  326. else if(importNum == 0x117) return "RtlAppendUnicodeToString";
  327. else if(importNum == 0x118) return "RtlAssert";
  328. else if(importNum == 0x119) return "RtlCaptureContext";
  329. else if(importNum == 0x11A) return "RtlCompareMemory";
  330. else if(importNum == 0x11B) return "RtlCompareMemoryUlong";
  331. else if(importNum == 0x11C) return "RtlCompareString";
  332. else if(importNum == 0x11D) return "RtlCompareStringN";
  333. else if(importNum == 0x11E) return "RtlCompareUnicodeString";
  334. else if(importNum == 0x11F) return "RtlCompareUnicodeStringN";
  335. else if(importNum == 0x120) return "RtlCompareUtf8ToUnicode";
  336. else if(importNum == 0x121) return "RtlCopyString";
  337. else if(importNum == 0x122) return "RtlCopyUnicodeString";
  338. else if(importNum == 0x123) return "RtlCreateUnicodeString";
  339. else if(importNum == 0x124) return "RtlDowncaseUnicodeChar";
  340. else if(importNum == 0x125) return "RtlEnterCriticalSection";
  341. else if(importNum == 0x126) return "RtlFillMemoryUlong";
  342. else if(importNum == 0x127) return "RtlFreeAnsiString";
  343. else if(importNum == 0x128) return "RtlFreeAnsiString";
  344. else if(importNum == 0x129) return "RtlGetCallersAddress";
  345. else if(importNum == 0x12A) return "RtlGetStackLimits";
  346. else if(importNum == 0x12B) return "RtlImageXexHeaderField";
  347. else if(importNum == 0x12C) return "RtlInitAnsiString";
  348. else if(importNum == 0x12D) return "RtlInitUnicodeString";
  349. else if(importNum == 0x12E) return "RtlInitializeCriticalSection";
  350. else if(importNum == 0x12F) return "RtlInitializeCriticalSectionAndSpinCount";
  351. else if(importNum == 0x130) return "RtlLeaveCriticalSection";
  352. else if(importNum == 0x131) return "RtlLookupFunctionEntry";
  353. else if(importNum == 0x132) return "RtlLowerChar";
  354. else if(importNum == 0x133) return "RtlMultiByteToUnicodeN";
  355. else if(importNum == 0x134) return "RtlMultiByteToUnicodeSize";
  356. else if(importNum == 0x135) return "RtlNtStatusToDosError";
  357. else if(importNum == 0x136) return "RtlRaiseException";
  358. else if(importNum == 0x137) return "RtlRaiseStatus";
  359. else if(importNum == 0x138) return "RtlRip";
  360. else if(importNum == 0x139) return "_scprintf";
  361. else if(importNum == 0x13A) return "_snprintf";
  362. else if(importNum == 0x13B) return "sprintf";
  363. else if(importNum == 0x13C) return "_scwprintf";
  364. else if(importNum == 0x13D) return "_snwprintf";
  365. else if(importNum == 0x13E) return "_swprintf";
  366. else if(importNum == 0x13F) return "RtlTimeFieldsToTime";
  367. else if(importNum == 0x140) return "RtlTimeToTimeFields";
  368. else if(importNum == 0x141) return "RtlTryEnterCriticalSection";
  369. else if(importNum == 0x142) return "RtlUnicodeStringToAnsiString";
  370. else if(importNum == 0x143) return "RtlUnicodeToMultiByteN";
  371. else if(importNum == 0x144) return "RtlUnicodeToMultiByteSize";
  372. else if(importNum == 0x145) return "RtlUnicodeToUtf8";
  373. else if(importNum == 0x146) return "RtlUnicodeToUtf8Size";
  374. else if(importNum == 0x147) return "RtlUnwind";
  375. else if(importNum == 0x148) return "RtlUnwind2";
  376. else if(importNum == 0x149) return "RtlUpcaseUnicodeChar";
  377. else if(importNum == 0x14A) return "RtlUpperChar";
  378. else if(importNum == 0x14B) return "RtlVirtualUnwind";
  379. else if(importNum == 0x14C) return "_vscprintf";
  380. else if(importNum == 0x14D) return "_vsnprintf";
  381. else if(importNum == 0x14E) return "vsprintf";
  382. else if(importNum == 0x14F) return "_vscwprintf";
  383. else if(importNum == 0x150) return "_vsnwprintf";
  384. else if(importNum == 0x151) return "_vswprintf";
  385. else if(importNum == 0x152) return "KeTlsAlloc";
  386. else if(importNum == 0x153) return "KeTlsFree";
  387. else if(importNum == 0x154) return "KeTlsGetValue";
  388. else if(importNum == 0x155) return "KeTlsSetValue";
  389. else if(importNum == 0x156) return "XboxHardwareInfo";
  390. else if(importNum == 0x157) return "XboxKrnlBaseVersion";
  391. else if(importNum == 0x158) return "XboxKrnlVersion";
  392. else if(importNum == 0x159) return "XeCryptAesKey";
  393. else if(importNum == 0x15A) return "XeCryptAesEcb";
  394. else if(importNum == 0x15B) return "XeCryptAesCbc";
  395. else if(importNum == 0x15C) return "XeCryptBnDwLeDhEqualBase";
  396. else if(importNum == 0x15D) return "XeCryptBnDwLeDhInvalBase";
  397. else if(importNum == 0x15E) return "XeCryptBnDwLeDhModExp";
  398. else if(importNum == 0x15F) return "XeCryptBnDw_Copy";
  399. else if(importNum == 0x160) return "XeCryptBnDw_SwapLeBe";
  400. else if(importNum == 0x161) return "XeCryptBnDw_Zero";
  401. else if(importNum == 0x162) return "XeCryptBnDwLePkcs1Format";
  402. else if(importNum == 0x163) return "XeCryptBnDwLePkcs1Verify";
  403. else if(importNum == 0x164) return "XeCryptBnQwBeSigCreate";
  404. else if(importNum == 0x165) return "XeCryptBnQwBeSigFormat";
  405. else if(importNum == 0x166) return "XeCryptBnQwBeSigVerify";
  406. else if(importNum == 0x167) return "XeCryptBnQwNeModExp";
  407. else if(importNum == 0x168) return "XeCryptBnQwNeModExpRoot";
  408. else if(importNum == 0x169) return "XeCryptBnQwNeModInv";
  409. else if(importNum == 0x16A) return "XeCryptBnQwNeModMul";
  410. else if(importNum == 0x16B) return "XeCryptBnQwNeRsaKeyGen";
  411. else if(importNum == 0x16C) return "XeCryptBnQwNeRsaPrvCrypt";
  412. else if(importNum == 0x16D) return "XeCryptBnQwNeRsaPubCrypt";
  413. else if(importNum == 0x16E) return "XeCryptBnQw_Copy";
  414. else if(importNum == 0x16F) return "XeCryptBnQw_SwapDwQw";
  415. else if(importNum == 0x170) return "XeCryptBnQw_SwapDwQwLeBe";
  416. else if(importNum == 0x171) return "XeCryptBnQw_SwapLeBe";
  417. else if(importNum == 0x172) return "XeCryptBnQw_Zero";
  418. else if(importNum == 0x173) return "XeCryptChainAndSumMac";
  419. else if(importNum == 0x174) return "XeCryptDesParity";
  420. else if(importNum == 0x175) return "XeCryptDesKey";
  421. else if(importNum == 0x176) return "XeCryptDesEcb";
  422. else if(importNum == 0x177) return "XeCryptDesCbc";
  423. else if(importNum == 0x178) return "XeCryptDes3Key";
  424. else if(importNum == 0x179) return "XeCryptDes3Ecb";
  425. else if(importNum == 0x17A) return "XeCryptDes3Cbc";
  426. else if(importNum == 0x17B) return "XeCryptHmacMd5Init";
  427. else if(importNum == 0x17C) return "XeCryptHmacMd5Update";
  428. else if(importNum == 0x17D) return "XeCryptHmacMd5Final";
  429. else if(importNum == 0x17E) return "XeCryptHmacMd5";
  430. else if(importNum == 0x17F) return "XeCryptHmacShaInit";
  431. else if(importNum == 0x180) return "XeCryptHmacShaUpdate";
  432. else if(importNum == 0x181) return "XeCryptHmacShaFinal";
  433. else if(importNum == 0x182) return "XeCryptHmacSha";
  434. else if(importNum == 0x183) return "XeCryptHmacShaVerify";
  435. else if(importNum == 0x184) return "XeCryptMd5Init";
  436. else if(importNum == 0x185) return "XeCryptMd5Update";
  437. else if(importNum == 0x186) return "XeCryptMd5Final";
  438. else if(importNum == 0x187) return "XeCryptMd5";
  439. else if(importNum == 0x188) return "XeCryptParveEcb";
  440. else if(importNum == 0x189) return "XeCryptParveCbcMac";
  441. else if(importNum == 0x18A) return "XeCryptRandom";
  442. else if(importNum == 0x18B) return "XeCryptRc4Key";
  443. else if(importNum == 0x18C) return "XeCryptRc4Ecb";
  444. else if(importNum == 0x18D) return "XeCryptRc4";
  445. else if(importNum == 0x18E) return "XeCryptRotSumSha";
  446. else if(importNum == 0x18F) return "XeCryptShaInit";
  447. else if(importNum == 0x190) return "XeCryptShaUpdate";
  448. else if(importNum == 0x191) return "XeCryptShaFinal";
  449. else if(importNum == 0x192) return "XeCryptSha";
  450. else if(importNum == 0x193) return "XexExecutableModuleHandle";
  451. else if(importNum == 0x194) return "XexCheckExecutablePrivilege";
  452. else if(importNum == 0x195) return "XexGetModuleHandle";
  453. else if(importNum == 0x196) return "XexGetModuleSection";
  454. else if(importNum == 0x197) return "XexGetProcedureAddress";
  455. else if(importNum == 0x198) return "XexLoadExecutable";
  456. else if(importNum == 0x199) return "XexLoadImage";
  457. else if(importNum == 0x19A) return "XexLoadImageFromMemory";
  458. else if(importNum == 0x19B) return "XexLoadImageHeaders";
  459. else if(importNum == 0x19C) return "XexPcToFileHeader";
  460. else if(importNum == 0x19D) return "KiApcNormalRoutineNop";
  461. else if(importNum == 0x19E) return "XexRegisterPatchDescriptor";
  462. else if(importNum == 0x19F) return "XexSendDeferredNotifications";
  463. else if(importNum == 0x1A0) return "XexStartExecutable";
  464. else if(importNum == 0x1A1) return "XexUnloadImage";
  465. else if(importNum == 0x1A2) return "XexUnloadImageAndExitThread";
  466. else if(importNum == 0x1A3) return "XexUnloadTitleModules";
  467. else if(importNum == 0x1A4) return "XexVerifyImageHeaders";
  468. else if(importNum == 0x1A5) return "__C_specific_handler";
  469. else if(importNum == 0x1A6) return "DbgLoadImageSymbols";
  470. else if(importNum == 0x1A7) return "DbgUnLoadImageSymbols";
  471. else if(importNum == 0x1A8) return "RtlImageDirectoryEntryToData";
  472. else if(importNum == 0x1A9) return "RtlImageNtHeader";
  473. else if(importNum == 0x1AA) return "ExDebugMonitorService";
  474. else if(importNum == 0x1AB) return "MmDbgReadCheck";
  475. else if(importNum == 0x1AC) return "MmDbgReleaseAddress";
  476. else if(importNum == 0x1AD) return "MmDbgWriteCheck";
  477. else if(importNum == 0x1AE) return "ExLoadedCommandLine";
  478. else if(importNum == 0x1AF) return "ExLoadedImageName";
  479. else if(importNum == 0x1B0) return "VdBlockUntilGUIIdle";
  480. else if(importNum == 0x1B1) return "VdCallGraphicsNotificationRoutines";
  481. else if(importNum == 0x1B2) return "VdDisplayFatalError";
  482. else if(importNum == 0x1B3) return "VdEnableClosedCaption";
  483. else if(importNum == 0x1B4) return "VdEnableDisableClockGating";
  484. else if(importNum == 0x1B5) return "VdEnableDisablePowerSavingMode";
  485. else if(importNum == 0x1B6) return "VdEnableRingBufferRPtrWriteBack";
  486. else if(importNum == 0x1B7) return "VdGenerateGPUCSCCoefficients";
  487. else if(importNum == 0x1B8) return "VdGetClosedCaptionReadyStatus";
  488. else if(importNum == 0x1B9) return "VdGetCurrentDisplayGamma";
  489. else if(importNum == 0x1BA) return "VdGetCurrentDisplayInformation";
  490. else if(importNum == 0x1BB) return "_VdGetDisplayModeOverride__YAKPAK0PAM0PAU_VD_DISPLAY_MODE_OVERRIDE_INFO___Z";
  491. else if(importNum == 0x1BC) return "VdGetGraphicsAsicID";
  492. else if(importNum == 0x1BD) return "VdGetSystemCommandBuffer";
  493. else if(importNum == 0x1BE) return "VdGlobalDevice";
  494. else if(importNum == 0x1BF) return "VdGlobalXamDevice";
  495. else if(importNum == 0x1C0) return "VdGpuClockInMHz";
  496. else if(importNum == 0x1C1) return "VdHSIOCalibrationLock";
  497. else if(importNum == 0x1C2) return "VdInitializeEngines";
  498. else if(importNum == 0x1C3) return "VdInitializeRingBuffer";
  499. else if(importNum == 0x1C4) return "VdInitializeScaler";
  500. else if(importNum == 0x1C5) return "VdInitializeScalerCommandBuffer";
  501. else if(importNum == 0x1C6) return "VdIsHSIOTrainingSucceeded";
  502. else if(importNum == 0x1C7) return "VdPersistDisplay";
  503. else if(importNum == 0x1C8) return "VdQuerySystemCommandBuffer";
  504. else if(importNum == 0x1C9) return "VdQueryVideoFlags";
  505. else if(importNum == 0x1CA) return "VdQueryVideoMode";
  506. else if(importNum == 0x1CB) return "VdReadDVERegisterUlong";
  507. else if(importNum == 0x1CC) return "VdReadWriteHSIOCalibrationFlag";
  508. else if(importNum == 0x1CD) return "VdRegisterGraphicsNotification";
  509. else if(importNum == 0x1CE) return "VdRegisterXamGraphicsNotification";
  510. else if(importNum == 0x1CF) return "VdSendClosedCaptionData";
  511. else if(importNum == 0x1D0) return "VdSetCGMSOption";
  512. else if(importNum == 0x1D1) return "VdSetColorProfileAdjustment";
  513. else if(importNum == 0x1D2) return "VdSetCscMatricesOverride";
  514. else if(importNum == 0x1D3) return "VdSetDisplayMode";
  515. else if(importNum == 0x1D4) return "VdSetDisplayModeOverride";
  516. else if(importNum == 0x1D5) return "VdSetGraphicsInterruptCallback";
  517. else if(importNum == 0x1D6) return "_VdSetHDCPOption__YAKK_Z";
  518. else if(importNum == 0x1D7) return "VdSetMacrovisionOption";
  519. else if(importNum == 0x1D8) return "VdSetSystemCommandBuffer";
  520. else if(importNum == 0x1D9) return "VdSetSystemCommandBufferGpuIdentifierAddress";
  521. else if(importNum == 0x1DA) return "VdSetWSSData";
  522. else if(importNum == 0x1DB) return "VdSetWSSOption";
  523. else if(importNum == 0x1DC) return "VdShutdownEngines";
  524. else if(importNum == 0x1DD) return "VdTurnDisplayOff";
  525. else if(importNum == 0x1DE) return "VdTurnDisplayOn";
  526. else if(importNum == 0x1DF) return "KeSetProfilerISR";
  527. else if(importNum == 0x1E0) return "VdWriteDVERegisterUlong";
  528. else if(importNum == 0x1E1) return "XVoicedHeadsetPresent";
  529. else if(importNum == 0x1E2) return "XVoicedSubmitPacket";
  530. else if(importNum == 0x1E3) return "XVoicedClose";
  531. else if(importNum == 0x1E4) return "XVoicedActivate";
  532. else if(importNum == 0x1E5) return "XInputdGetCapabilities";
  533. else if(importNum == 0x1E6) return "XInputdReadState";
  534. else if(importNum == 0x1E7) return "XInputdWriteState";
  535. else if(importNum == 0x1E8) return "XInputdNotify";
  536. else if(importNum == 0x1E9) return "XInputdRawState";
  537. else if(importNum == 0x1EA) return "HidGetCapabilities";
  538. else if(importNum == 0x1EB) return "HidReadKeys";
  539. else if(importNum == 0x1EC) return "XInputdGetDeviceStats";
  540. else if(importNum == 0x1ED) return "XInputdResetDevice";
  541. else if(importNum == 0x1EE) return "XInputdSetRingOfLight";
  542. else if(importNum == 0x1EF) return "XInputdSetRFPowerMode";
  543. else if(importNum == 0x1F0) return "XInputdSetRadioFrequency";
  544. else if(importNum == 0x1F1) return "HidGetLastInputTime";
  545. else if(importNum == 0x1F2) return "XAudioRenderDriverInitialize";
  546. else if(importNum == 0x1F3) return "XAudioRegisterRenderDriverClient";
  547. else if(importNum == 0x1F4) return "XAudioUnregisterRenderDriverClient";
  548. else if(importNum == 0x1F5) return "XAudioSubmitRenderDriverFrame";
  549. else if(importNum == 0x1F6) return "XAudioRenderDriverLock";
  550. else if(importNum == 0x1F7) return "XAudioGetVoiceCategoryVolumeChangeMask";
  551. else if(importNum == 0x1F8) return "XAudioGetVoiceCategoryVolume";
  552. else if(importNum == 0x1F9) return "XAudioSetVoiceCategoryVolume";
  553. else if(importNum == 0x1FA) return "XAudioBeginDigitalBypassMode";
  554. else if(importNum == 0x1FB) return "XAudioEndDigitalBypassMode";
  555. else if(importNum == 0x1FC) return "XAudioSubmitDigitalPacket";
  556. else if(importNum == 0x1FD) return "XAudioQueryDriverPerformance";
  557. else if(importNum == 0x1FE) return "XAudioGetRenderDriverThread";
  558. else if(importNum == 0x1FF) return "XAudioGetSpeakerConfig";
  559. else return form("Kernel_%03X", importNum);
  560. }
  561.  
  562.  
  563.  
  564. Kernel Import 2:
  565.  
  566.  
  567.  
  568. static GetKernelImportName_2(importNum)
  569. {
  570. if( importNum == 0x200) return "XAudioSetSpeakerConfig";
  571. else if(importNum == 0x201) return "NicSetUnicastAddress";
  572. else if(importNum == 0x202) return "NicAttach";
  573. else if(importNum == 0x203) return "NicDetach";
  574. else if(importNum == 0x204) return "NicXmit";
  575. else if(importNum == 0x205) return "NicUpdateMcastMembership";
  576. else if(importNum == 0x206) return "NicFlushXmitQueue";
  577. else if(importNum == 0x207) return "NicShutdown";
  578. else if(importNum == 0x208) return "NicGetLinkState";
  579. else if(importNum == 0x209) return "NicGetStats";
  580. else if(importNum == 0x20A) return "NicGetOpt";
  581. else if(importNum == 0x20B) return "NicSetOpt";
  582. else if(importNum == 0x20C) return "DrvSetSysReqCallback";
  583. else if(importNum == 0x20D) return "DrvSetUserBindingCallback";
  584. else if(importNum == 0x20E) return "DrvSetContentStorageCallback";
  585. else if(importNum == 0x20F) return "DrvSetAutobind";
  586. else if(importNum == 0x210) return "DrvGetContentStorageNotification";
  587. else if(importNum == 0x211) return "MtpdBeginTransaction";
  588. else if(importNum == 0x212) return "MtpdCancelTransaction";
  589. else if(importNum == 0x213) return "MtpdEndTransaction";
  590. else if(importNum == 0x214) return "MtpdGetCurrentDevices";
  591. else if(importNum == 0x215) return "MtpdReadData";
  592. else if(importNum == 0x216) return "MtpdReadEvent";
  593. else if(importNum == 0x217) return "MtpdResetDevice";
  594. else if(importNum == 0x218) return "MtpdSendData";
  595. else if(importNum == 0x219) return "MtpdVerifyProximity";
  596. else if(importNum == 0x21A) return "XUsbcamSetCaptureMode";
  597. else if(importNum == 0x21B) return "XUsbcamGetConfig";
  598. else if(importNum == 0x21C) return "XUsbcamSetConfig";
  599. else if(importNum == 0x21D) return "XUsbcamGetState";
  600. else if(importNum == 0x21E) return "XUsbcamReadFrame";
  601. else if(importNum == 0x21F) return "XUsbcamSnapshot";
  602. else if(importNum == 0x220) return "XUsbcamSetView";
  603. else if(importNum == 0x221) return "XUsbcamGetView";
  604. else if(importNum == 0x222) return "XUsbcamCreate";
  605. else if(importNum == 0x223) return "XUsbcamDestroy";
  606. else if(importNum == 0x224) return "XMACreateContext";
  607. else if(importNum == 0x225) return "XMAInitializeContext";
  608. else if(importNum == 0x226) return "XMAReleaseContext";
  609. else if(importNum == 0x227) return "XMAEnableContext";
  610. else if(importNum == 0x228) return "XMADisableContext";
  611. else if(importNum == 0x229) return "XMAGetOutputBufferWriteOffset";
  612. else if(importNum == 0x22A) return "XMASetOutputBufferReadOffset";
  613. else if(importNum == 0x22B) return "XMAGetOutputBufferReadOffset";
  614. else if(importNum == 0x22C) return "XMASetOutputBufferValid";
  615. else if(importNum == 0x22D) return "XMAIsOutputBufferValid";
  616. else if(importNum == 0x22E) return "XMASetInputBuffer0Valid";
  617. else if(importNum == 0x22F) return "XMAIsInputBuffer0Valid";
  618. else if(importNum == 0x230) return "XMASetInputBuffer1Valid";
  619. else if(importNum == 0x231) return "XMAIsInputBuffer1Valid";
  620. else if(importNum == 0x232) return "XMASetInputBuffer0";
  621. else if(importNum == 0x233) return "XMASetInputBuffer1";
  622. else if(importNum == 0x234) return "XMAGetPacketMetadata";
  623. else if(importNum == 0x235) return "XMABlockWhileInUse";
  624. else if(importNum == 0x236) return "XMASetLoopData";
  625. else if(importNum == 0x237) return "XMASetInputBufferReadOffset";
  626. else if(importNum == 0x238) return "XMAGetInputBufferReadOffset";
  627. else if(importNum == 0x239) return "ExIsBetaFeatureEnabled";
  628. else if(importNum == 0x23A) return "XeKeysGetFactoryChallenge";
  629. else if(importNum == 0x23B) return "XeKeysSetFactoryResponse";
  630. else if(importNum == 0x23C) return "XeKeysInitializeFuses";
  631. else if(importNum == 0x23D) return "XeKeysSaveBootLoader";
  632. else if(importNum == 0x23E) return "XeKeysSaveKeyVault";
  633. else if(importNum == 0x23F) return "XeKeysGetStatus";
  634. else if(importNum == 0x240) return "XeKeysGeneratePrivateKey";
  635. else if(importNum == 0x241) return "XeKeysGetKeyProperties";
  636. else if(importNum == 0x242) return "XeKeysSetKey";
  637. else if(importNum == 0x243) return "XeKeysGenerateRandomKey";
  638. else if(importNum == 0x244) return "XeKeysGetKey";
  639. else if(importNum == 0x245) return "XeKeysGetDigest";
  640. else if(importNum == 0x246) return "XeKeysGetConsoleID";
  641. else if(importNum == 0x247) return "XeKeysGetConsoleType";
  642. else if(importNum == 0x248) return "XeKeysQwNeRsaPrvCrypt";
  643. else if(importNum == 0x249) return "XeKeysHmacSha";
  644. else if(importNum == 0x24B) return "XeKeysAesCbc";
  645. else if(importNum == 0x24C) return "XeKeysDes2Cbc";
  646. else if(importNum == 0x24D) return "XeKeysDesCbc";
  647. else if(importNum == 0x24E) return "XeKeysObscureKey";
  648. else if(importNum == 0x24F) return "XeKeysHmacShaUsingKey";
  649. else if(importNum == 0x251) return "XeKeysAesCbcUsingKey";
  650. else if(importNum == 0x252) return "XeKeysDes2CbcUsingKey";
  651. else if(importNum == 0x253) return "XeKeysDesCbcUsingKey";
  652. else if(importNum == 0x254) return "XeKeysObfuscate";
  653. else if(importNum == 0x255) return "XeKeysUnObfuscate";
  654. else if(importNum == 0x256) return "XeKeysConsolePrivateKeySign";
  655. else if(importNum == 0x257) return "XeKeysConsoleSignatureVerification";
  656. else if(importNum == 0x258) return "XeKeysVerifyRSASignature";
  657. else if(importNum == 0x259) return "StfsCreateDevice";
  658. else if(importNum == 0x25A) return "StfsControlDevice";
  659. else if(importNum == 0x25B) return "VdSwap";
  660. else if(importNum == 0x25C) return "HalFsbInterruptCount";
  661. else if(importNum == 0x25D) return "XeKeysSaveSystemUpdate";
  662. else if(importNum == 0x25E) return "XeKeysLockSystemUpdate";
  663. else if(importNum == 0x25F) return "XeKeysExecute";
  664. else if(importNum == 0x260) return "XeKeysGetVersions";
  665. else if(importNum == 0x261) return "XInputdPowerDownDevice";
  666. else if(importNum == 0x262) return "AniBlockOnAnimation";
  667. else if(importNum == 0x263) return "AniTerminateAnimation";
  668. else if(importNum == 0x264) return "XUsbcamReset";
  669. else if(importNum == 0x265) return "AniSetLogo";
  670. else if(importNum == 0x266) return "KeCertMonitorData";
  671. else if(importNum == 0x267) return "HalIsExecutingPowerDownDpc";
  672. else if(importNum == 0x268) return "VdInitializeEDRAM";
  673. else if(importNum == 0x269) return "VdRetrainEDRAM";
  674. else if(importNum == 0x26A) return "VdRetrainEDRAMWorker";
  675. else if(importNum == 0x26B) return "VdHSIOTrainCount";
  676. else if(importNum == 0x26C) return "HalGetPowerUpCause";
  677. else if(importNum == 0x26D) return "VdHSIOTrainingStatus";
  678. else if(importNum == 0x26E) return "RgcMonitorReportBuffersEnd";
  679. else if(importNum == 0x26F) return "VdReadEEDIDBlock";
  680. else if(importNum == 0x270) return "VdEnumerateVideoModes";
  681. else if(importNum == 0x271) return "VdEnableHDCP";
  682. else if(importNum == 0x272) return "VdRegisterHDCPNotification";
  683. else if(importNum == 0x273) return "HidReadMouseChanges";
  684. else if(importNum == 0x274) return "DumpSetCollectionFacility";
  685. else if(importNum == 0x275) return "XexTransformImageKey";
  686. else if(importNum == 0x276) return "XAudioOverrideSpeakerConfig";
  687. else if(importNum == 0x277) return "XInputdReadTextKeystroke";
  688. else if(importNum == 0x278) return "DrvXenonButtonPressed";
  689. else if(importNum == 0x279) return "DrvBindToUser";
  690. else if(importNum == 0x27A) return "XexGetModuleImportVersions";
  691. else if(importNum == 0x27B) return "RtlComputeCrc32";
  692. else if(importNum == 0x27C) return "XeKeysSetRevocationList";
  693. else if(importNum == 0x27D) return "HalRegisterPowerDownCallback";
  694. else if(importNum == 0x27E) return "VdGetDisplayDiscoveryData";
  695. else if(importNum == 0x27F) return "XInputdSendStayAliveRequest";
  696. else if(importNum == 0x280) return "XVoicedSendVPort";
  697. else if(importNum == 0x281) return "XVoicedGetBatteryStatus";
  698. else if(importNum == 0x282) return "XInputdFFGetDeviceInfo";
  699. else if(importNum == 0x283) return "XInputdFFSetEffect";
  700. else if(importNum == 0x284) return "XInputdFFUpdateEffect";
  701. else if(importNum == 0x285) return "XInputdFFEffectOperation";
  702. else if(importNum == 0x286) return "XInputdFFDeviceControl";
  703. else if(importNum == 0x287) return "XInputdFFSetDeviceGain";
  704. else if(importNum == 0x288) return "XInputdFFCancelIo";
  705. else if(importNum == 0x289) return "XInputdFFSetRumble";
  706. else if(importNum == 0x28A) return "NtAllocateEncryptedMemory";
  707. else if(importNum == 0x28B) return "NtFreeEncryptedMemory";
  708. else if(importNum == 0x28C) return "XeKeysExSaveKeyVault";
  709. else if(importNum == 0x28D) return "XeKeysExSetKey";
  710. else if(importNum == 0x28E) return "XeKeysExGetKey";
  711. else if(importNum == 0x28F) return "DrvSetDeviceConfigChangeCallback";
  712. else if(importNum == 0x290) return "DrvDeviceConfigChange";
  713. else if(importNum == 0x291) return "HalRegisterHdDvdRomNotification";
  714. else if(importNum == 0x292) return "XeKeysSecurityInitialize";
  715. else if(importNum == 0x293) return "XeKeysSecurityLoadSettings";
  716. else if(importNum == 0x294) return "XeKeysSecuritySaveSettings";
  717. else if(importNum == 0x295) return "XeKeysSecuritySetDetected";
  718. else if(importNum == 0x296) return "XeKeysSecurityGetDetected";
  719. else if(importNum == 0x297) return "XeKeysSecuritySetActivated";
  720. else if(importNum == 0x298) return "XeKeysSecurityGetActivated";
  721. else if(importNum == 0x299) return "XeKeysDvdAuthAP25InstallTable";
  722. else if(importNum == 0x29A) return "XeKeysDvdAuthAP25GetTableVersion";
  723. else if(importNum == 0x29B) return "XeKeysGetProtectedFlag";
  724. else if(importNum == 0x29C) return "XeKeysSetProtectedFlag";
  725. else if(importNum == 0x29D) return "KeEnablePFMInterrupt";
  726. else if(importNum == 0x29E) return "KeDisablePFMInterrupt";
  727. else if(importNum == 0x29F) return "KeSetProfilerISR";
  728. else if(importNum == 0x2A0) return "VdStartDisplayDiscovery";
  729. else if(importNum == 0x2A1) return "VdSetHDCPRevocationList";
  730. else if(importNum == 0x2A2) return "XeKeysGetUpdateSequence";
  731. else if(importNum == 0x2A3) return "XeKeysDvdAuthAP25GetChallengeHistory";
  732. else if(importNum == 0x2A4) return "KeGetImagePageTableEntry";
  733. else if(importNum == 0x2A5) return "HalRegisterBackgroundModeTransitionCallback";
  734. else if(importNum == 0x2A6) return "AniStartBootAnimation";
  735. else if(importNum == 0x2A7) return "HalClampUnclampOutputDACs";
  736. else if(importNum == 0x2A8) return "HalPowerDownToBackgroundMode";
  737. else if(importNum == 0x2A9) return "HalNotifyAddRemoveBackgroundTask";
  738. else if(importNum == 0x2AA) return "HalCallBackgroundModeNotificationRoutines";
  739. else if(importNum == 0x2AB) return "HalFsbResetCount";
  740. else if(importNum == 0x2AD) return "XInputdGetLastTextInputTime";
  741. else if(importNum == 0x2AE) return "VdEnableWMAProOverHDMI";
  742. else if(importNum == 0x2AF) return "XeKeysRevokeSaveSettings";
  743. else if(importNum == 0x2B0) return "XInputdSetTextMessengerIndicator";
  744. else if(importNum == 0x2B1) return "MicDeviceRequest";
  745. else if(importNum == 0x2B2) return "XeKeysGetMediaID";
  746. else if(importNum == 0x2B3) return "XeKeysLoadKeyVault";
  747. else if(importNum == 0x2B4) return "KeGetVidInfo";
  748. else if(importNum == 0x2B5) return "HalNotifyBackgroundModeTransitionComplete";
  749. else if(importNum == 0x2B6) return "IoAcquireCancelSpinLock";
  750. else if(importNum == 0x2B7) return "IoReleaseCancelSpinLock";
  751. else if(importNum == 0x2B8) return "NtCancelIoFile";
  752. else if(importNum == 0x2B9) return "NtCancelIoFileEx";
  753. else if(importNum == 0x2BA) return "HalFinalizePowerLossRecovery";
  754. else if(importNum == 0x2BB) return "HalSetPowerLossRecovery";
  755. else if(importNum == 0x2BC) return "ExReadModifyWriteXConfigSettingUlong";
  756. else if(importNum == 0x2BD) return "HalRegisterXamPowerDownCallback";
  757. else if(importNum == 0x2BE) return "ExCancelAlarm";
  758. else if(importNum == 0x2BF) return "ExInitializeAlarm";
  759. else if(importNum == 0x2C0) return "ExSetAlarm";
  760. else if(importNum == 0x2C1) return "XexActivationGetNonce";
  761. else if(importNum == 0x2C2) return "XexActivationSetLicense";
  762. else if(importNum == 0x2C3) return "IptvSetBoundaryKey";
  763. else if(importNum == 0x2C4) return "IptvSetSessionKey";
  764. else if(importNum == 0x2C5) return "IptvVerifyOmac1Signature";
  765. else if(importNum == 0x2C6) return "IptvGetAesCtrTransform";
  766. else if(importNum == 0x2C7) return "SataCdRomRecordReset";
  767. else if(importNum == 0x2C8) return "XInputdSetTextDeviceKeyLocks";
  768. else if(importNum == 0x2C9) return "XInputdGetTextDeviceKeyLocks";
  769. else if(importNum == 0x2CA) return "XexActivationVerifyOwnership";
  770. else if(importNum == 0x2CB) return "XexDisableVerboseDbgPrint";
  771. else if(importNum == 0x2CC) return "SvodCreateDevice";
  772. else if(importNum == 0x2CD) return "RtlCaptureStackBackTrace";
  773. else if(importNum == 0x2CE) return "XeKeysRevokeUpdateDynamic";
  774. else if(importNum == 0x2CF) return "XexImportTraceEnable";
  775.  
  776. else if(importNum == 0x2D1) return "XeKeysSecuritySetStat";
  777. else if(importNum == 0x2D2) return "VdQueryRealVideoMode";
  778. else if(importNum == 0x2D3) return "XexSetExecutablePrivilege";
  779. else if(importNum == 0x2D4) return "XAudioSuspendRenderDriverClients";
  780. else if(importNum == 0x2D5) return "IptvGetSessionKeyHash";
  781. else if(importNum == 0x2D6) return "VdSetCGMSState";
  782. else if(importNum == 0x2D7) return "VdSetSCMSState";
  783. else if(importNum == 0x2D8) return "KeFlushMultipleTb";
  784. else if(importNum == 0x2D9) return "VdGetOption";
  785. else if(importNum == 0x2DA) return "VdSetOption";
  786. else if(importNum == 0x2DB) return "UsbdBootEnumerationDoneEvent";
  787. else if(importNum == 0x2DC) return "StfsDeviceErrorEvent";
  788. else if(importNum == 0x2DD) return "ExTryToAcquireReadWriteLockExclusive";
  789. else if(importNum == 0x2DE) return "ExTryToAcquireReadWriteLockShared";
  790. else if(importNum == 0x2DF) return "XexSetLastKdcTime";
  791. else if(importNum == 0x2E0) return "XInputdControl";
  792. else if(importNum == 0x2E1) return "RmcDeviceRequest";
  793. else if(importNum == 0x2E2) return "LDIResetDecompression";
  794. else return form("Kernel_%03X", importNum);
  795. }
  796.  
  797.  
  798.  
  799. Connect X Import:
  800.  
  801.  
  802.  
  803. static GetConnectXImportName_0(importNum)
  804. {
  805. if( importNum == 0x001) return "CxGetVersion";
  806. else if(importNum == 0x002) return "NbtNetbios";
  807. else if(importNum == 0x003) return "SmbCloseHandle";
  808. else if(importNum == 0x004) return "SmbCreateDirectoryW";
  809. else if(importNum == 0x005) return "SmbCreateFileW";
  810. else if(importNum == 0x006) return "SmbDeleteFileW";
  811. else if(importNum == 0x007) return "SmbFindClose";
  812. else if(importNum == 0x008) return "SmbFindFirstFileW";
  813. else if(importNum == 0x009) return "SmbFindNextFile";
  814. else if(importNum == 0x00A) return "SmbFlushFileBuffers";
  815. else if(importNum == 0x00B) return "SmbGetDiskFreeSpaceW";
  816. else if(importNum == 0x00C) return "SmbGetFileAttributesW";
  817. else if(importNum == 0x00D) return "SmbGetFileInformationByHandle";
  818. else if(importNum == 0x00E) return "SmbGetFileSize";
  819. else if(importNum == 0x00F) return "SmbGetFileTime";
  820. else if(importNum == 0x010) return "SmbMoveFileW";
  821. else if(importNum == 0x011) return "SmbReadFile";
  822. else if(importNum == 0x012) return "SmbRemoveDirectoryW";
  823. else if(importNum == 0x013) return "SmbSetEndOfFile";
  824. else if(importNum == 0x014) return "SmbSetFileAttributesW";
  825. else if(importNum == 0x015) return "SmbSetFilePointer";
  826. else if(importNum == 0x016) return "SmbSetFileTime";
  827. else if(importNum == 0x017) return "SmbStartup";
  828. else if(importNum == 0x018) return "SmbWriteFile";
  829. else return form("ConnectX_%03X", importNum);
  830. }
  831.  
  832.  
  833.  
  834. Create Profile Import:
  835.  
  836.  
  837.  
  838. static GetCreateProfileImportName_0(importNum)
  839. {
  840. if( importNum == 0x001) return "CreateProfile_Register";
  841. else if(importNum == 0x002) return "CreateProfile_Unregister";
  842. else return form("CreateProfile_%03X", importNum);
  843. }
  844.  
  845.  
  846.  
  847. HUD Import:
  848.  
  849.  
  850.  
  851. static GetHudImportName_0(importNum)
  852. {
  853. return form("Hud_%03X", importNum);
  854. }
  855.  
  856.  
  857.  
  858. Signin Import:
  859.  
  860.  
  861.  
  862. static GetSigninImportName_0(importNum)
  863. {
  864. return form("Signin_%03X", importNum);
  865. }
  866.  
  867.  
  868.  
  869. VK Import:
  870.  
  871.  
  872.  
  873. static GetVKImportName_0(importNum)
  874. {
  875. if( importNum == 0x001) return "_RegisterXuiClasses_CVKApp__EAAJXZ";
  876. else if(importNum == 0x002) return "_VK_UnInit__YAXXZ";
  877. else if(importNum == 0x003) return "_VK_CreateScene__YAJPAU_XVIRTUALKBDUI_PARAMS__PAPAU_XUIOBJ___Z";
  878. else if(importNum == 0x004) return "_VK_GetUserCancelled__YAHPAU_XUIOBJ___Z";
  879. else return form("VK_%03X", importNum);
  880. }
  881.  
  882.  
  883.  
  884. Voicemail Import:
  885.  
  886.  
  887.  
  888. static GetVoicemailImportName_0(importNum)
  889. {
  890. return form("Voicemail_%03X", importNum);
  891. }
  892.  
  893.  
  894.  
  895. XAM Import 0:
  896.  
  897.  
  898.  
  899. static GetXamdImportName_0(importNum)
  900. {
  901. if( importNum == 0x001) return "NetDll_WSAStartup";
  902. else if(importNum == 0x002) return "NetDll_WSACleanup";
  903. else if(importNum == 0x003) return "NetDll_socket";
  904. else if(importNum == 0x004) return "NetDll_closesocket";
  905. else if(importNum == 0x005) return "NetDll_shutdown";
  906. else if(importNum == 0x006) return "NetDll_ioctlsocket";
  907. else if(importNum == 0x007) return "NetDll_setsockopt";
  908. else if(importNum == 0x008) return "NetDll_getsockopt";
  909. else if(importNum == 0x009) return "NetDll_getsockname";
  910. else if(importNum == 0x00A) return "NetDll_getpeername";
  911. else if(importNum == 0x00B) return "NetDll_bind";
  912. else if(importNum == 0x00C) return "NetDll_connect";
  913. else if(importNum == 0x00D) return "NetDll_listen";
  914. else if(importNum == 0x00E) return "NetDll_accept";
  915. else if(importNum == 0x00F) return "NetDll_select";
  916. else if(importNum == 0x010) return "NetDll_WSAGetOverlappedResult";
  917. else if(importNum == 0x011) return "NetDll_WSACancelOverlappedIO";
  918. else if(importNum == 0x012) return "NetDll_recv";
  919. else if(importNum == 0x013) return "NetDll_WSARecv";
  920. else if(importNum == 0x014) return "NetDll_recvfrom";
  921. else if(importNum == 0x015) return "NetDll_WSARecvFrom";
  922. else if(importNum == 0x016) return "NetDll_send";
  923. else if(importNum == 0x017) return "NetDll_WSASend";
  924. else if(importNum == 0x018) return "NetDll_sendto";
  925. else if(importNum == 0x019) return "NetDll_WSASendTo";
  926. else if(importNum == 0x01A) return "NetDll_inet_addr";
  927. else if(importNum == 0x01B) return "NetDll_WSAGetLastError";
  928. else if(importNum == 0x01C) return "NetDll_WSASetLastError";
  929. else if(importNum == 0x01D) return "NetDll_WSACreateEvent";
  930. else if(importNum == 0x01E) return "NetDll_WSACloseEvent";
  931. else if(importNum == 0x01F) return "NetDll_WSASetEvent";
  932. else if(importNum == 0x020) return "NetDll_WSAResetEvent";
  933. else if(importNum == 0x021) return "NetDll_WSAWaitForMultipleEvents";
  934. else if(importNum == 0x022) return "NetDll___WSAFDIsSet";
  935. else if(importNum == 0x023) return "NetDll_WSAEventSelect";
  936. else if(importNum == 0x024) return "NetDll_WSAStartupEx";
  937. else if(importNum == 0x033) return "NetDll_XNetStartup";
  938. else if(importNum == 0x034) return "NetDll_XNetCleanup";
  939. else if(importNum == 0x035) return "NetDll_XNetRandom";
  940. else if(importNum == 0x036) return "NetDll_XNetCreateKey";
  941. else if(importNum == 0x037) return "NetDll_XNetRegisterKey";
  942. else if(importNum == 0x038) return "NetDll_XNetUnregisterKey";
  943. else if(importNum == 0x039) return "NetDll_XNetXnAddrToInAddr";
  944. else if(importNum == 0x03A) return "NetDll_XNetServerToInAddr";
  945. else if(importNum == 0x03B) return "NetDll_XNetTsAddrToInAddr";
  946. else if(importNum == 0x03C) return "NetDll_XNetInAddrToXnAddr";
  947. else if(importNum == 0x03D) return "NetDll_XNetInAddrToServer";
  948. else if(importNum == 0x03E) return "NetDll_XNetInAddrToString";
  949. else if(importNum == 0x03F) return "NetDll_XNetUnregisterInAddr";
  950. else if(importNum == 0x040) return "NetDll_XNetXnAddrToMachineId";
  951. else if(importNum == 0x041) return "NetDll_XNetConnect";
  952. else if(importNum == 0x042) return "NetDll_XNetGetConnectStatus";
  953. else if(importNum == 0x043) return "NetDll_XNetDnsLookup";
  954. else if(importNum == 0x044) return "NetDll_XNetDnsRelease";
  955. else if(importNum == 0x045) return "NetDll_XNetQosListen";
  956. else if(importNum == 0x046) return "NetDll_XNetQosLookup";
  957. else if(importNum == 0x047) return "NetDll_XNetQosServiceLookup";
  958. else if(importNum == 0x048) return "NetDll_XNetQosRelease";
  959. else if(importNum == 0x049) return "NetDll_XNetGetTitleXnAddr";
  960. else if(importNum == 0x04A) return "NetDll_XNetGetDebugXnAddr";
  961. else if(importNum == 0x04B) return "NetDll_XNetGetEthernetLinkStatus";
  962. else if(importNum == 0x04C) return "NetDll_XNetGetBroadcastVersionStatus";
  963. else if(importNum == 0x04D) return "NetDll_XNetQosGetListenStats";
  964. else if(importNum == 0x04E) return "NetDll_XNetGetOpt";
  965. else if(importNum == 0x04F) return "NetDll_XNetSetOpt";
  966. else if(importNum == 0x050) return "NetDll_XNetStartupEx";
  967. else if(importNum == 0x051) return "NetDll_XNetReplaceKey";
  968. else if(importNum == 0x052) return "NetDll_XNetGetXnAddrPlatform";
  969. else if(importNum == 0x053) return "NetDll_XNetGetSystemLinkPort";
  970. else if(importNum == 0x054) return "NetDll_XNetSetSystemLinkPort";
  971. else if(importNum == 0x065) return "NetDll_XnpLoadConfigParams";
  972. else if(importNum == 0x066) return "NetDll_XnpSaveConfigParams";
  973. else if(importNum == 0x067) return "NetDll_XnpConfigUPnP";
  974. else if(importNum == 0x068) return "NetDll_XnpConfig";
  975. else if(importNum == 0x069) return "NetDll_XnpGetConfigStatus";
  976. else if(importNum == 0x06A) return "NetDll_XnpLoadMachineAccount";
  977. else if(importNum == 0x06B) return "NetDll_XnpSaveMachineAccount";
  978. else if(importNum == 0x06C) return "NetDll_XnpCapture";
  979. else if(importNum == 0x06D) return "NetDll_XnpEthernetInterceptSetCallbacks";
  980. else if(importNum == 0x06E) return "NetDll_XnpEthernetInterceptXmit";
  981. else if(importNum == 0x06F) return "NetDll_XnpEthernetInterceptRecv";
  982. else if(importNum == 0x070) return "NetDll_XnpLogonGetStatus";
  983. else if(importNum == 0x071) return "NetDll_XnpLogonGetQFlags";
  984. else if(importNum == 0x072) return "NetDll_XnpLogonSetQFlags";
  985. else if(importNum == 0x073) return "NetDll_XnpLogonSetQEvent";
  986. else if(importNum == 0x074) return "NetDll_XnpLogonClearQEvent";
  987. else if(importNum == 0x075) return "NetDll_XnpLogonGetQVals";
  988. else if(importNum == 0x076) return "NetDll_XnpLogonSetQVals";
  989. else if(importNum == 0x077) return "NetDll_XnpLogonSetPState";
  990. else if(importNum == 0x078) return "NetDll_XnpGetVlanXboxName";
  991. else if(importNum == 0x079) return "NetDll_XnpSetVlanXboxName";
  992. else if(importNum == 0x07A) return "NetDll_XnpGetActiveSocketList";
  993. else if(importNum == 0x07B) return "NetDll_XnpNoteSystemTime";
  994. else if(importNum == 0x07C) return "NetDll_XnpRegisterKeyForCallerType";
  995. else if(importNum == 0x07D) return "NetDll_XnpUnregisterKeyForCallerType";
  996. else if(importNum == 0x07E) return "NetDll_XnpLogonGetChallenge";
  997. else if(importNum == 0x07F) return "NetDll_XnpLogonClearChallenge";
  998. else if(importNum == 0x080) return "NetDll_XnpLogonSetChallengeResponse";
  999. else if(importNum == 0x081) return "NetDll_XnpGetSecAssocList";
  1000. else if(importNum == 0x082) return "NetDll_XnpGetKeyList";
  1001. else if(importNum == 0x083) return "NetDll_XnpGetQosLookupList";
  1002. else if(importNum == 0x084) return "NetDll_XnpPersistTitleState";
  1003. else if(importNum == 0x085) return "NetDll_XnpReplaceKeyForCallerType";
  1004. else if(importNum == 0x086) return "NetDll_XnpEthernetInterceptSetExtendedReceiveCallback";
  1005. else if(importNum == 0x087) return "NetDll_XnpQosHistoryLoad";
  1006. else if(importNum == 0x088) return "NetDll_XnpQosHistorySaveMeasurements";
  1007. else if(importNum == 0x089) return "NetDll_XnpQosHistoryGetEntries";
  1008. else if(importNum == 0x08A) return "NetDll_XnpQosHistoryGetAggregateMeasurement";
  1009. else if(importNum == 0x097) return "NetDll_XmlDownloadStart";
  1010. else if(importNum == 0x098) return "NetDll_XmlDownloadContinue";
  1011. else if(importNum == 0x099) return "NetDll_XmlDownloadStop";
  1012. else if(importNum == 0x0C6) return "XnpGetXwppMemoryLogSnapshot";
  1013. else if(importNum == 0x0C7) return "XnpGetXwppRuntimeFilter";
  1014. else if(importNum == 0x0C9) return "NetDll_XHttpStartup";
  1015. else if(importNum == 0x0CA) return "NetDll_XHttpShutdown";
  1016. else if(importNum == 0x0CB) return "NetDll_XHttpOpen";
  1017. else if(importNum == 0x0CC) return "NetDll_XHttpCloseHandle";
  1018. else if(importNum == 0x0CD) return "NetDll_XHttpConnect";
  1019. else if(importNum == 0x0CE) return "NetDll_XHttpSetStatusCallback";
  1020. else if(importNum == 0x0CF) return "NetDll_XHttpOpenRequest";
  1021. else if(importNum == 0x0D0) return "NetDll_XHttpOpenRequestUsingMemory";
  1022. else if(importNum == 0x0D1) return "NetDll_XHttpSendRequest";
  1023. else if(importNum == 0x0D2) return "NetDll_XHttpReceiveResponse";
  1024. else if(importNum == 0x0D3) return "NetDll_XHttpQueryHeaders";
  1025. else if(importNum == 0x0D4) return "NetDll_XHttpReadData";
  1026. else if(importNum == 0x0D5) return "NetDll_XHttpWriteData";
  1027. else if(importNum == 0x0D6) return "NetDll_XHttpQueryOption";
  1028. else if(importNum == 0x0D7) return "NetDll_XHttpSetOption";
  1029. else if(importNum == 0x0D8) return "NetDll_XHttpDoWork";
  1030. else if(importNum == 0x0D9) return "NetDll_XHttpSetCredentials";
  1031. else if(importNum == 0x0DA) return "NetDll_XHttpQueryAuthSchemes";
  1032. else if(importNum == 0x0FB) return "NetDll_UpnpStartup";
  1033. else if(importNum == 0x0FC) return "NetDll_UpnpCleanup";
  1034. else if(importNum == 0x0FD) return "NetDll_UpnpSearchCreate";
  1035. else if(importNum == 0x0FE) return "NetDll_UpnpSearchGetDevices";
  1036. else if(importNum == 0x0FF) return "NetDll_UpnpDescribeCreate";
  1037. else return form("Xamd_%03X", importNum);
  1038. }
  1039.  
  1040.  
  1041.  
  1042. XAM Import 1:
  1043.  
  1044.  
  1045.  
  1046. static GetXamdImportName_1(importNum)
  1047. {
  1048. if( importNum == 0x100) return "NetDll_UpnpDescribeGetResults";
  1049. else if(importNum == 0x101) return "NetDll_UpnpActionCalculateWorkBufferSize";
  1050. else if(importNum == 0x102) return "NetDll_UpnpActionCreate";
  1051. else if(importNum == 0x103) return "NetDll_UpnpActionGetResults";
  1052. else if(importNum == 0x104) return "NetDll_UpnpEventCreate";
  1053. else if(importNum == 0x105) return "NetDll_UpnpEventGetCurrentState";
  1054. else if(importNum == 0x106) return "NetDll_UpnpEventUnsubscribe";
  1055. else if(importNum == 0x107) return "NetDll_UpnpDoWork";
  1056. else if(importNum == 0x108) return "NetDll_UpnpCloseHandle";
  1057. else if(importNum == 0x12D) return "XNetLogonGetLoggedOnUsers";
  1058. else if(importNum == 0x12E) return "XNetLogonGetNatType";
  1059. else if(importNum == 0x12F) return "XNetLogonTaskStart";
  1060. else if(importNum == 0x130) return "XNetLogonTaskClose";
  1061. else if(importNum == 0x131) return "XNetLogonTaskContinue";
  1062. else if(importNum == 0x132) return "XNetLogonGetServiceInfo";
  1063. else if(importNum == 0x133) return "XNetLogonGetUserPrivileges";
  1064. else if(importNum == 0x134) return "XNetLogonSetConsoleCertificate";
  1065. else if(importNum == 0x135) return "XNetLogonGetMachineID";
  1066. else if(importNum == 0x136) return "XNetLogonGetTitleID";
  1067. else if(importNum == 0x137) return "XNetLogonGetTitleVersion";
  1068. else if(importNum == 0x138) return "XNetLogonGetServiceNetworkID";
  1069. else if(importNum == 0x139) return "XNetLogonGetDnsString";
  1070. else if(importNum == 0x13A) return "XNetLogonSetTitleID";
  1071. else if(importNum == 0x13B) return "XNetLogonGetExtendedStatus";
  1072. else if(importNum == 0x13C) return "XNetLogonClearTicketCaches";
  1073. else if(importNum == 0x13D) return "XNetLogonInitOverrideInfo";
  1074. else if(importNum == 0x190) return "XamInputGetCapabilities";
  1075. else if(importNum == 0x191) return "XamInputGetState";
  1076. else if(importNum == 0x192) return "XamInputSetState";
  1077. else if(importNum == 0x193) return "XamInputGetKeystroke";
  1078. else if(importNum == 0x194) return "XamInputEnableAutobind";
  1079. else if(importNum == 0x195) return "_XamInputRawState__YAKKKHPAU_XINPUT_RAW___Z";
  1080. else if(importNum == 0x196) return "XamEnableSystemAppInput";
  1081. else if(importNum == 0x197) return "XamInputGetDeviceStats";
  1082. else if(importNum == 0x198) return "XamInputGetKeystrokeEx";
  1083. else if(importNum == 0x199) return "XamInputGetKeystrokeHud";
  1084. else if(importNum == 0x19A) return "XamInputSetLayoutKeyboard";
  1085. else if(importNum == 0x19B) return "XamInputToggleKeyLocks";
  1086. else if(importNum == 0x19C) return "XamInputResetLayoutKeyboard";
  1087. else if(importNum == 0x19D) return "XamInputGetKeystrokeHudEx";
  1088. else if(importNum == 0x19E) return "XamInputSetKeyboardTranslationHud";
  1089. else if(importNum == 0x19F) return "XamSetInactivityTime";
  1090. else if(importNum == 0x1A0) return "XamEnableInactivityProcessing";
  1091. else if(importNum == 0x1A1) return "XamResetInactivity";
  1092. else if(importNum == 0x1A2) return "XamSetInactivityTimeFromConfig";
  1093. else if(importNum == 0x1A3) return "_XamLoaderGetMediaInfo__YAXPAK0_Z"; // "XamGetMediaInfo"
  1094. else if(importNum == 0x1A4) return "_XamLoaderLaunchTitle__YAXPBDK_Z"; // "XamLaunchNewImage"
  1095. else if(importNum == 0x1A5) return "_XamLoaderLaunchTitleEx__YAXPBD00K_Z"; // "XLaunchNewImageEx"
  1096. else if(importNum == 0x1A6) return "_XamLoaderSetLaunchData__YAKPAXK_Z"; // "XSetLaunchData"
  1097. else if(importNum == 0x1A7) return "_XamLoaderGetLaunchDataSize__YAKPAK_Z"; // "XGetLaunchDataSize"
  1098. else if(importNum == 0x1A8) return "_XamLoaderGetLaunchData__YAKPAXK_Z"; // "XGetLaunchData"
  1099. else if(importNum == 0x1A9) return "_XamLoaderTerminateTitle__YAXXZ"; // "XamTerminateTitle"
  1100. else if(importNum == 0x1AA) return "_XamLoaderGetDvdTrayState__YAKXZ"; // "XGetTrayState"
  1101. else if(importNum == 0x1AB) return "_ProcessRemoteInput_XAMAuditionHost__UAAJPBU_XINPUT_KEYSTROKE___Z";
  1102. else if(importNum == 0x1AC) return "_XamLoaderLaunchTitleOnDvd__YAJXZ"; // "XLaunchMedia"
  1103. else if(importNum == 0x1AD) return "_XamLoaderSetSpindleSpeed__YAJKH_Z"; // "_XamSetDvdSpindleSpeed__YAJKK_Z"
  1104. else if(importNum == 0x1AE) return "XamTaskCreateQueue";
  1105. else if(importNum == 0x1AF) return "XamTaskSchedule";
  1106. else if(importNum == 0x1B0) return "XamTaskReschedule";
  1107. else if(importNum == 0x1B1) return "XamTaskCloseHandle";
  1108. else if(importNum == 0x1B2) return "XamTaskCancel";
  1109. else if(importNum == 0x1B3) return "XamTaskShouldExit";
  1110. else if(importNum == 0x1B4) return "XamTaskWaitOnCompletion";
  1111. else if(importNum == 0x1B5) return "XamTaskModify";
  1112. else if(importNum == 0x1B6) return "XamTaskGetCurrentTask";
  1113. else if(importNum == 0x1B7) return "XamTaskGetAttributes";
  1114. else if(importNum == 0x1B8) return "XamExecutingOnBehalfOfTitle";
  1115. else if(importNum == 0x1B9) return "XamInputSendStayAliveRequest";
  1116. else if(importNum == 0x1BA) return "_XamInputGetUserVibrationLevel__YAKKPAK_Z";
  1117. else if(importNum == 0x1BB) return "XamIsSystemTitleId";
  1118. else if(importNum == 0x1BC) return "_XamLoaderIsTitleTerminatePending__YAKXZ";
  1119. else if(importNum == 0x1BD) return "XamInputSetTextMessengerIndicator";
  1120. else if(importNum == 0x1BE) return "_XamLoaderGetPriorTitleId__YAKXZ";
  1121. else if(importNum == 0x1BF) return "XamIsXbox1TitleId";
  1122. else if(importNum == 0x1C0) return "XamInputSetKeyLocks";
  1123. else if(importNum == 0x1C1) return "XamInputGetKeyLocks";
  1124. else if(importNum == 0x1C2) return "XamApplySkin";
  1125. else if(importNum == 0x1C3) return "XamGetRootObj";
  1126. else if(importNum == 0x1C4) return "XamGetBkgndDefault";
  1127. else if(importNum == 0x1C5) return "XamGetDefaultSystemImage";
  1128. else if(importNum == 0x1C6) return "XamGetWCNConfigFile";
  1129. else if(importNum == 0x1C7) return "XamSetPowerMode";
  1130. else if(importNum == 0x1C8) return "XamExecuteChallenge"; //XOSC
  1131. else if(importNum == 0x1C9) return "XamGetDefaultImage";
  1132. else if(importNum == 0x1CA) return "XamMuteSound";
  1133. else if(importNum == 0x1CB) return "XamGetOnlineSchema";
  1134. else if(importNum == 0x1CC) return "XamSetDashContext";
  1135. else if(importNum == 0x1CD) return "XamGetDashContext";
  1136. else if(importNum == 0x1CE) return "XamIsCurrentTitleDash";
  1137. else if(importNum == 0x1CF) return "XamGetCurrentTitleId";
  1138. else if(importNum == 0x1D0) return "XamSetCurrentTitleDash";
  1139. else if(importNum == 0x1D1) return "XamGetHeapLow";
  1140. else if(importNum == 0x1D2) return "XamSetDashContextEx";
  1141. else if(importNum == 0x1D3) return "XamGetDashContextEx";
  1142. else if(importNum == 0x1D4) return "XamSetHudContext";
  1143. else if(importNum == 0x1D5) return "XamGetHudContext";
  1144. else if(importNum == 0x1D6) return "XCustomGetBannerImage";
  1145. else if(importNum == 0x1D7) return "XamCustomSetBannerImage";
  1146. else if(importNum == 0x1D8) return "XCustomSetAction";
  1147. else if(importNum == 0x1D9) return "XCustomGetLastActionPress";
  1148. else if(importNum == 0x1DA) return "XCustomSetDynamicActions";
  1149. else if(importNum == 0x1DB) return "XCustomBroadcastActionEvent";
  1150. else if(importNum == 0x1DC) return "XCustomGetLastActionPressEx";
  1151. else if(importNum == 0x1DD) return "XCustomRegisterDynamicActions";
  1152. else if(importNum == 0x1DE) return "XCustomUnregisterDynamicActions";
  1153. else if(importNum == 0x1DF) return "XCustomGetCurrentGamercard";
  1154. else if(importNum == 0x1E0) return "XamDbgPrint";
  1155. else if(importNum == 0x1E1) return "XamDbgSetOutputLevel";
  1156. else if(importNum == 0x1E2) return "XamDbgSetBreakLevel";
  1157. else if(importNum == 0x1E5) return "XamFormatMessage";
  1158. else if(importNum == 0x1E6) return "XamUniSortCmpString";
  1159. else if(importNum == 0x1E7) return "XamFormatTimeString";
  1160. else if(importNum == 0x1E8) return "XamFormatDateString";
  1161. else if(importNum == 0x1E9) return "XamGetLocaleDateFormat";
  1162. else if(importNum == 0x1EA) return "XamAlloc";
  1163. else if(importNum == 0x1EB) return "XamAllocEx";
  1164. else if(importNum == 0x1EC) return "XamFree";
  1165. else if(importNum == 0x1ED) return "XamAllocSize";
  1166. else if(importNum == 0x1EE) return "XamAllocMountIPTVHeap";
  1167. else if(importNum == 0x1EF) return "XamAllocUnmountIPTVHeap";
  1168. else if(importNum == 0x1F4) return "XMsgInProcessCall";
  1169. else if(importNum == 0x1F5) return "XMsgCompleteIORequest";
  1170. else if(importNum == 0x1F6) return "XMsgSystemProcessCall";
  1171. else if(importNum == 0x1F7) return "XMsgStartIORequest";
  1172. else if(importNum == 0x1F8) return "XMsgCancelIORequest";
  1173. else if(importNum == 0x1F9) return "XMsgAcquireAsyncMessageFromOverlapped";
  1174. else if(importNum == 0x1FA) return "XMsgReleaseAsyncMessageToOverlapped";
  1175. else if(importNum == 0x1FB) return "XamGetOverlappedResult";
  1176. else if(importNum == 0x1FC) return "XMsgStartIORequestEx";
  1177. else return form("Xamd_%03X", importNum);
  1178. }
  1179.  
  1180.  
  1181.  
  1182. XAM Import 2:
  1183.  
  1184.  
  1185.  
  1186. static GetXamdImportName_2(importNum)
  1187. {
  1188. if( importNum == 0x208) return "XamUserGetDeviceContext";
  1189. else if(importNum == 0x209) return "XamUserLookupDevice";
  1190. else if(importNum == 0x20A) return "XamUserGetXUID";
  1191. else if(importNum == 0x20B) return "XamUserLogon";
  1192. else if(importNum == 0x20C) return "XamUserGetGamerTag";
  1193. else if(importNum == 0x20D) return "XamUserGetUserIndexMask";
  1194. else if(importNum == 0x20E) return "XamUserGetName";
  1195. else if(importNum == 0x210) return "XamUserGetSigninState";
  1196. else if(importNum == 0x211) return "XamUserGetIndexFromXUID";
  1197. else if(importNum == 0x212) return "XamUserCheckPrivilege";
  1198. else if(importNum == 0x213) return "XamUserAreUsersFriends";
  1199. else if(importNum == 0x214) return "XamSetUserPresetPresenceState";
  1200. else if(importNum == 0x215) return "XamGetUserPresetPresenceState";
  1201. else if(importNum == 0x216) return "XamUserGetUserFlagsFromXUID";
  1202. else if(importNum == 0x217) return "XamUserGetMembershipTierFromXUID";
  1203. else if(importNum == 0x218) return "XamUserGetOnlineCountryFromXUID";
  1204. else if(importNum == 0x219) return "XamUserReadProfileSettings";
  1205. else if(importNum == 0x21A) return "XamUserWriteProfileSettings";
  1206. else if(importNum == 0x21B) return "XamUserGetMembershipTier";
  1207. else if(importNum == 0x21C) return "XamUserGetUserFlags";
  1208. else if(importNum == 0x21D) return "XamUserGetRequestedUserIndexMask";
  1209. else if(importNum == 0x21E) return "XamUserIsGuest";
  1210. else if(importNum == 0x21F) return "XamUserProfileSync";
  1211. else if(importNum == 0x220) return "XamUserFlushLogonQueue";
  1212. else if(importNum == 0x221) return "XamUserIsOnlineEnabled";
  1213. else if(importNum == 0x222) return "XamUserGetCachedUserFlags";
  1214. else if(importNum == 0x223) return "XamAreMixedAccountsSignedIn";
  1215. else if(importNum == 0x224) return "XamUserLogonEx";
  1216. else if(importNum == 0x225) return "XamSetUserShowMessengerFriends";
  1217. else if(importNum == 0x226) return "XamGetUserShowMessengerFriends";
  1218. else if(importNum == 0x227) return "XamUserGetSigninInfo";
  1219. else if(importNum == 0x228) return "XamUserIsPartial";
  1220. else if(importNum == 0x229) return "XamUserGetOnlineLanguageFromXUID";
  1221. else if(importNum == 0x22A) return "XamUserReadProfileSettingsEx";
  1222. else if(importNum == 0x230) return "XamProfileCreate";
  1223. else if(importNum == 0x231) return "XamProfileCreateEnumerator";
  1224. else if(importNum == 0x232) return "XamProfileEnumerate";
  1225. else if(importNum == 0x233) return "XamProfileDelete";
  1226. else if(importNum == 0x234) return "XamProfileGetCreationStatus";
  1227. else if(importNum == 0x235) return "XamProfileFindAccount";
  1228. else if(importNum == 0x236) return "XamProfileRenameAccount";
  1229. else if(importNum == 0x237) return "XamProfileOpen";
  1230. else if(importNum == 0x238) return "XamProfileClose";
  1231. else if(importNum == 0x239) return "XamProfileSaveAccountInfo";
  1232. else if(importNum == 0x23A) return "XamProfileLoadAccountInfo";
  1233. else if(importNum == 0x23B) return "XamProfileRecoverTitle";
  1234. else if(importNum == 0x23C) return "XamProfileSaveWindowsLiveCredentials";
  1235. else if(importNum == 0x23D) return "XamProfileLoadWindowsLiveCredentials";
  1236. else if(importNum == 0x23E) return "XamProfileIsSaveWindowsLiveCredsEnabled";
  1237. else if(importNum == 0x23F) return "XamProfileSetSaveWindowsLiveCredsEnabled";
  1238. else if(importNum == 0x244) return "XamAppLoad";
  1239. else if(importNum == 0x245) return "XamAppUnloadSelf";
  1240. else if(importNum == 0x246) return "XamAppUnloadStack";
  1241. else if(importNum == 0x247) return "XamSendMessageToLoadedApps";
  1242. else if(importNum == 0x248) return "XamAppRequestLoad";
  1243. else if(importNum == 0x249) return "XamAppUnrequestLoad";
  1244. else if(importNum == 0x24A) return "XamNavigate";
  1245. else if(importNum == 0x24B) return "XamRegisterSysApp";
  1246. else if(importNum == 0x24C) return "XamUnregisterSysApp";
  1247. else if(importNum == 0x24D) return "XamAppReinitialize"; // "__1CLld2SeesList__QAA_XZ"
  1248. else if(importNum == 0x24E) return "XamCreateEnumeratorHandle";
  1249. else if(importNum == 0x24F) return "XamGetPrivateEnumStructureFromHandle";
  1250. else if(importNum == 0x250) return "XamEnumerate";
  1251. else if(importNum == 0x251) return "XamLoadSysApp";
  1252. else if(importNum == 0x252) return "XamUnloadSysApp";
  1253. else if(importNum == 0x253) return "XamReloadSysApp";
  1254. else if(importNum == 0x258) return "XamContentCreate";
  1255. else if(importNum == 0x259) return "XamContentCreateEx";
  1256. else if(importNum == 0x25A) return "XamContentClose";
  1257. else if(importNum == 0x25B) return "XamContentDelete";
  1258. else if(importNum == 0x25C) return "XamContentCreateEnumerator";
  1259. else if(importNum == 0x25D) return "XamContentCreateDeviceEnumerator";
  1260. else if(importNum == 0x25E) return "XamContentGetDeviceData";
  1261. else if(importNum == 0x25F) return "XamContentGetDeviceName";
  1262. else if(importNum == 0x260) return "XamContentSetThumbnail";
  1263. else if(importNum == 0x261) return "XamContentGetThumbnail";
  1264. else if(importNum == 0x262) return "XamContentGetCreator";
  1265. else if(importNum == 0x263) return "XamContentLaunchImage";
  1266. else if(importNum == 0x264) return "XamContentGetAttributes";
  1267. else if(importNum == 0x265) return "XamContentGetDeviceState";
  1268. else if(importNum == 0x266) return "XamContentGetLicenseMask";
  1269. else if(importNum == 0x267) return "XamContentFlush";
  1270. else if(importNum == 0x268) return "XamContentResolve";
  1271. else if(importNum == 0x269) return "XamContentOpenFile";
  1272. else if(importNum == 0x26A) return "XamContentInstall";
  1273. else if(importNum == 0x26B) return "XamContentLockUnlockPackageHeaders";
  1274. else if(importNum == 0x26C) return "XamContentCopyInternal";
  1275. else if(importNum == 0x26D) return "XamContentMoveInternal";
  1276. else if(importNum == 0x26E) return "XamContentGetMetaDataInternal";
  1277. else if(importNum == 0x26F) return "XamContentCreateEnumeratorInternal";
  1278. else if(importNum == 0x270) return "XamContentDeleteInternal";
  1279. else if(importNum == 0x271) return "XamContentCreateInternal";
  1280. else if(importNum == 0x272) return "XamContentSetThumbnailInternal";
  1281. else if(importNum == 0x273) return "XamContentLaunchImageInternal";
  1282. else if(importNum == 0x274) return "XamContentWritePackageHeader";
  1283. else if(importNum == 0x275) return "XamContentDismountAndClosePackage";
  1284. else if(importNum == 0x276) return "XamContentResolveInternal";
  1285. else if(importNum == 0x277) return "XamContentGetAttributesInternal";
  1286. else if(importNum == 0x278) return "XamContentOpenFileInternal";
  1287. else if(importNum == 0x279) return "XamContentAggregateCreateEnumerator";
  1288. else if(importNum == 0x27A) return "XamContentCreateAndMountPackage";
  1289. else if(importNum == 0x27B) return "XamContentOpenPackageFile";
  1290. else if(importNum == 0x27C) return "XamContentMountPackage";
  1291. else if(importNum == 0x27D) return "XamContentFlushPackage";
  1292. else if(importNum == 0x27E) return "XamContentClosePackageFile";
  1293. else if(importNum == 0x27F) return "XamContentDuplicateFileHandle";
  1294. else if(importNum == 0x280) return "XamGetExecutionId";
  1295. else if(importNum == 0x281) return "XamGetGameRatings";
  1296. else if(importNum == 0x282) return "XamGetSystemVersion";
  1297. else if(importNum == 0x283) return "XamContentGetLocalizedString";
  1298. else if(importNum == 0x284) return "XamContentGetDefaultDevice";
  1299. else if(importNum == 0x285) return "XamContentInstallInternal";
  1300. else if(importNum == 0x28A) return "XamNotifyCreateListener";
  1301. else if(importNum == 0x28B) return "XNotifyGetNext";
  1302. else if(importNum == 0x28C) return "XNotifyPositionUI";
  1303. else if(importNum == 0x28D) return "XNotifyDelayUI";
  1304. else if(importNum == 0x28E) return "XNotifyBroadcast";
  1305. else if(importNum == 0x28F) return "XNotifyRegisterArea";
  1306. else if(importNum == 0x290) return "XNotifyQueueUI";
  1307. else if(importNum == 0x291) return "XamNotifyCreateListenerInternal";
  1308. else if(importNum == 0x292) return "XNotifyUISetOptions";
  1309. else if(importNum == 0x293) return "XNotifyUIGetOptions";
  1310. else if(importNum == 0x29E) return "XamUpdateStart";
  1311. else if(importNum == 0x29F) return "XamUpdateGetProgress";
  1312. else if(importNum == 0x2A0) return "XamUpdateGetExtenderInstance";
  1313. else if(importNum == 0x2A1) return "XamUpdateFinish";
  1314. else if(importNum == 0x2A2) return "XamUpdateAttachExtenderInstance";
  1315. else if(importNum == 0x2A3) return "XamUpdateAllocateExtenderBuffer";
  1316. else if(importNum == 0x2A4) return "XamRestartTitleLoadAfterUpdate";
  1317. else if(importNum == 0x2A5) return "XamUIThreadDisableFontPatching";
  1318. else if(importNum == 0x2A6) return "XamUpdateGetBaseSystemVersion";
  1319. else if(importNum == 0x2A7) return "XamUpdateGetCurrentSystemVersion";
  1320. else if(importNum == 0x2A8) return "XamUIThreadEnableFontPatching";
  1321. else if(importNum == 0x2A9) return "XamTerminateTitleForUpdate";
  1322. else if(importNum == 0x2B1) return "_XamCacheIntegrityCheck__YAXXZ";
  1323. else if(importNum == 0x2B2) return "XamCacheStoreFile";
  1324. else if(importNum == 0x2B3) return "XamCacheFetchFile";
  1325. else if(importNum == 0x2B4) return "XamCacheOpenFile";
  1326. else if(importNum == 0x2B5) return "XamCacheCloseFile";
  1327. else if(importNum == 0x2B6) return "XamGetCachedTitleName";
  1328. else if(importNum == 0x2B7) return "XamCacheReset";
  1329. else if(importNum == 0x2B8) return "XamGetCachedGamerTag";
  1330. else if(importNum == 0x2B9) return "XamGetCachedGamerTagW";
  1331. else if(importNum == 0x2BA) return "XamCacheDeleteFile";
  1332. else if(importNum == 0x2BB) return "XamCacheRenameFile";
  1333. else if(importNum == 0x2BC) return "XamShowSigninUI";
  1334. else if(importNum == 0x2BD) return "XamShowSigninUIEx";
  1335. else if(importNum == 0x2BE) return "XamShowSigninUIp";
  1336. else if(importNum == 0x2BF) return "XamShowFriendsUI";
  1337. else if(importNum == 0x2C0) return "XamShowMessagesUI";
  1338. else if(importNum == 0x2C1) return "XamShowKeyboardUI";
  1339. else if(importNum == 0x2C2) return "XamShowQuickChatUI";
  1340. else if(importNum == 0x2C3) return "XamShowVoiceMailUI";
  1341. else if(importNum == 0x2C4) return "XamShowGamerCardUI";
  1342. else if(importNum == 0x2C5) return "XamShowAchievementsUI";
  1343. else if(importNum == 0x2C6) return "XamShowPlayerReviewUI";
  1344. else if(importNum == 0x2C7) return "XamShowMarketplaceUI";
  1345. else if(importNum == 0x2C8) return "XamShowPlayersUI";
  1346. else if(importNum == 0x2C9) return "XamShowUpdaterUI";
  1347. else if(importNum == 0x2CA) return "XamShowMessageBoxUI";
  1348. else if(importNum == 0x2CB) return "XamShowDeviceSelectorUI";
  1349. else if(importNum == 0x2CC) return "XamShowMessageComposeUI";
  1350. else if(importNum == 0x2CD) return "XamShowGameInviteUI";
  1351. else if(importNum == 0x2CE) return "XamShowFriendRequestUI";
  1352. else if(importNum == 0x2CF) return "XamShowCreateProfileUI";
  1353. else if(importNum == 0x2D0) return "XamShowGamesUI";
  1354. else if(importNum == 0x2D1) return "XamShowLiveSignupUI";
  1355. else if(importNum == 0x2D2) return "XamShowFriendsUIp";
  1356. else if(importNum == 0x2D3) return "XamShowComplaintUI";
  1357. else if(importNum == 0x2D4) return "XamShowReputationUI";
  1358. else if(importNum == 0x2D5) return "XamShowGamerCardUIForXUID";
  1359. else if(importNum == 0x2D6) return "XamShowForcedNameChangeUI";
  1360. else if(importNum == 0x2D7) return "XamShowLiveUpsellUI";
  1361. else if(importNum == 0x2D8) return "XamShowPasscodeVerifyUI";
  1362. else if(importNum == 0x2D9) return "XamShowDirtyDiscErrorUI";
  1363. else if(importNum == 0x2DA) return "XamShowSignupCreditCardUI";
  1364. else if(importNum == 0x2DB) return "XamShowPrivateChatInviteUI";
  1365. else if(importNum == 0x2DC) return "XamShowMessageBoxUIEx";
  1366. else if(importNum == 0x2DD) return "XamShowRecentMessageUI";
  1367. else if(importNum == 0x2DE) return "XamShowRecentMessageUIEx";
  1368. else if(importNum == 0x2DF) return "XamShowMessagesUIEx";
  1369. else if(importNum == 0x2E0) return "XamShowAchievementDetailsUI";
  1370. else if(importNum == 0x2E1) return "XamShowPersonalizationUI";
  1371. else if(importNum == 0x2E2) return "XamShowChangeGamerTileUI";
  1372. else if(importNum == 0x2E3) return "XamShowVoiceSettingsUI";
  1373. else if(importNum == 0x2E4) return "XamShowVideoChatInviteUI";
  1374. else if(importNum == 0x2E5) return "XamShowCustomMessageComposeUI";
  1375. else if(importNum == 0x2E6) return "_XamShowCustomPlayerListUI__YAKKKPB_W0PBEKPBUXPLAYERLIST_USER__GPBUXPLAYERLIST_BUTTON__3PAUXPLA
  1376. YERLIST_RESULT__PAU_XOVERLAPPED___Z";
  1377. else if(importNum == 0x2E7) return "XamShowMarketplaceDownloadItemsUI";
  1378. else if(importNum == 0x2E8) return "XamShowMarketplaceUIEx";
  1379. else if(importNum == 0x2E9) return "XamShowMessageBox";
  1380. else if(importNum == 0x2EA) return "XamIsSysUiInvokedByXenonButton";
  1381. else if(importNum == 0x2EB) return "XamIsSysUiInvokedByTitle";
  1382. else if(importNum == 0x2EC) return "XamIsUIActive";
  1383. else if(importNum == 0x2ED) return "XamSysUiDisableAutoClose";
  1384. else if(importNum == 0x2EE) return "XamUserCreateAchievementEnumerator";
  1385. else if(importNum == 0x2EF) return "XamReadTile";
  1386. else if(importNum == 0x2F0) return "XamWriteGamerTile";
  1387. else if(importNum == 0x2F1) return "XamWriteTile";
  1388. else if(importNum == 0x2F2) return "_XamReadImage__YAJW4XTILETYPE__KK_KPAPAU_XUIBRUSH___Z";
  1389. else if(importNum == 0x2F3) return "XamUserCreateTitlesPlayedEnumerator";
  1390. else if(importNum == 0x2F4) return "XamDecompressPNGToTexture";
  1391. else if(importNum == 0x2F5) return "XamReadTileToTexture";
  1392. else if(importNum == 0x2F6) return "XamReadString";
  1393. else if(importNum == 0x2F7) return "XamUserCreateStatsEnumerator";
  1394. else if(importNum == 0x2F8) return "XamPrepareGamerTiles";
  1395. else if(importNum == 0x2F9) return "XamClearTitle";
  1396. else if(importNum == 0x2FA) return "XamReadStrings";
  1397. else if(importNum == 0x2FB) return "XamWriteGamerTileEx";
  1398. else if(importNum == 0x2FC) return "XamReadTileEx";
  1399. else if(importNum == 0x2FD) return "XamReadTileToTextureEx";
  1400. else if(importNum == 0x2FE) return "XamShowMessengerUI";
  1401. else if(importNum == 0x2FF) return "XamShowKeyboardUIMessenger";
  1402. else return form("Xamd_%03X", importNum);
  1403. }
  1404.  
  1405.  
  1406.  
  1407. XAM Import 3:
  1408.  
  1409.  
  1410. static GetXamdImportName_3(importNum)
  1411. {
  1412. if( importNum == 0x300) return "XamShowLiveUpsellUIEx";
  1413. else if(importNum == 0x301) return "XamShowJoinSessionInProgressUI";
  1414. else if(importNum == 0x302) return "XamShowGraduateUserUI";
  1415. else if(importNum == 0x303) return "XamShowGamerCardUIForXUIDp";
  1416. else if(importNum == 0x304) return "XamShowBlogUI";
  1417. else if(importNum == 0x307) return "XamUserAddRecentPlayer";
  1418. else if(importNum == 0x308) return "XamUserUpdateRecentPlayer";
  1419. else if(importNum == 0x309) return "XamUserCreatePlayerEnumerator";
  1420. else if(importNum == 0x30A) return "XamParseGamerTileKey";
  1421. else if(importNum == 0x30C) return "XamVoiceCreate";
  1422. else if(importNum == 0x30D) return "XamVoiceHeadsetPresent";
  1423. else if(importNum == 0x30E) return "XamVoiceSubmitPacket";
  1424. else if(importNum == 0x30F) return "XamVoiceClose";
  1425. else if(importNum == 0x310) return "XamVoiceGetBatteryStatus";
  1426. else if(importNum == 0x316) return "XamSessionCreateHandle";
  1427. else if(importNum == 0x317) return "XamSessionRefObjByHandle";
  1428. else if(importNum == 0x31B) return "XamBuildResourceLocator";
  1429. else if(importNum == 0x31C) return "XamBuildSharedSystemResourceLocator";
  1430. else if(importNum == 0x31D) return "XamBuildGamercardResourceLocator";
  1431. else if(importNum == 0x31E) return "XamBuildDynamicResourceLocator";
  1432. else if(importNum == 0x320) return "XuiAnimRun";
  1433. else if(importNum == 0x321) return "XuiApplyLocale";
  1434. else if(importNum == 0x322) return "XuiBubbleMessage";
  1435. else if(importNum == 0x323) return "XuiControlIsBackButton";
  1436. else if(importNum == 0x324) return "XuiControlIsNavButton";
  1437. else if(importNum == 0x325) return "XuiCreateObject";
  1438. else if(importNum == 0x326) return "XuiDestroyObject";
  1439. else if(importNum == 0x327) return "XuiDynamicCast";
  1440. else if(importNum == 0x328) return "XuiElementAddChild";
  1441. else if(importNum == 0x329) return "XuiElementFindNamedFrame";
  1442. else if(importNum == 0x32A) return "XuiElementGetChildById";
  1443. else if(importNum == 0x32B) return "XuiElementGetFirstChild";
  1444. else if(importNum == 0x32C) return "XuiElementGetFocus";
  1445. else if(importNum == 0x32D) return "XuiElementGetFocusUser";
  1446. else if(importNum == 0x32E) return "XuiElementGetId";
  1447. else if(importNum == 0x32F) return "XuiElementGetLastChild";
  1448. else if(importNum == 0x330) return "XuiElementGetNext";
  1449. else if(importNum == 0x331) return "XuiElementGetParent";
  1450. else if(importNum == 0x332) return "XuiElementGetUserFocus";
  1451. else if(importNum == 0x333) return "XuiElementInitFocus";
  1452. else if(importNum == 0x334) return "XuiElementInitUserFocus";
  1453. else if(importNum == 0x335) return "XuiElementPlayTimeline";
  1454. else if(importNum == 0x336) return "XuiElementSetBounds";
  1455. else if(importNum == 0x337) return "XuiElementSetFocus";
  1456. else if(importNum == 0x338) return "XuiElementSetUserFocus";
  1457. else if(importNum == 0x339) return "XuiElementTreeGetFocus";
  1458. else if(importNum == 0x33A) return "XuiFindClass";
  1459. else if(importNum == 0x33B) return "XuiFreeStringTable";
  1460. else if(importNum == 0x33C) return "XuiGetBaseObject";
  1461. else if(importNum == 0x33D) return "XuiGetClass";
  1462. else if(importNum == 0x33E) return "XuiGetObjectClass";
  1463. else if(importNum == 0x33F) return "XuiGetOuter";
  1464. else if(importNum == 0x340) return "XuiInit";
  1465. else if(importNum == 0x341) return "XuiLoadFromBinary";
  1466. else if(importNum == 0x342) return "XuiLoadStringTableFromFile";
  1467. else if(importNum == 0x343) return "XuiVisualGetBasePath";
  1468. else if(importNum == 0x344) return "XuiLookupStringTable";
  1469. else if(importNum == 0x345) return "XuiNavButtonGetPressPath";
  1470. else if(importNum == 0x346) return "XuiObjectFromHandle";
  1471. else if(importNum == 0x347) return "XuiObjectGetProperty";
  1472. else if(importNum == 0x348) return "XuiObjectGetPropertyId";
  1473. else if(importNum == 0x349) return "XuiProcessInput";
  1474. else if(importNum == 0x34A) return "XuiRegisterClass";
  1475. else if(importNum == 0x34B) return "XuiRenderBegin";
  1476. else if(importNum == 0x34C) return "XuiRenderCreateDC";
  1477. else if(importNum == 0x34D) return "XuiRenderDCDeviceChanged";
  1478. else if(importNum == 0x34E) return "XuiRenderDestroyDC";
  1479. else if(importNum == 0x34F) return "XuiRenderEnd";
  1480. else if(importNum == 0x350) return "XuiRenderGetBackBufferSize";
  1481. else if(importNum == 0x351) return "XuiRenderInit";
  1482. else if(importNum == 0x352) return "XuiRenderInitShared";
  1483. else if(importNum == 0x353) return "XuiRenderPresent";
  1484. else if(importNum == 0x354) return "XuiRenderSetViewTransform";
  1485. else if(importNum == 0x355) return "XuiRenderUninit";
  1486. else if(importNum == 0x357) return "XuiSceneCreate";
  1487. else if(importNum == 0x358) return "XuiSceneNavigateBack";
  1488. else if(importNum == 0x359) return "XuiSceneNavigateFirst";
  1489. else if(importNum == 0x35A) return "XuiSceneNavigateForward";
  1490. else if(importNum == 0x35B) return "XuiScenePlayBackFromTransition";
  1491. else if(importNum == 0x35C) return "XuiScenePlayBackToTransition";
  1492. else if(importNum == 0x35D) return "XuiScenePlayFromTransition";
  1493. else if(importNum == 0x35E) return "XuiScenePlayToTransition";
  1494. else if(importNum == 0x35F) return "XuiSendMessage";
  1495. else if(importNum == 0x360) return "XuiSetLocale";
  1496. else if(importNum == 0x361) return "XuiUninit";
  1497. else if(importNum == 0x362) return "XuiUnregisterClass";
  1498. else if(importNum == 0x363) return "XuiTextElementSetText";
  1499. else if(importNum == 0x364) return "XuiSetTimer";
  1500. else if(importNum == 0x365) return "XuiTimersRun";
  1501. else if(importNum == 0x366) return "XuiTextElementGetText";
  1502. else if(importNum == 0x367) return "XuiVisualSetBasePath";
  1503. else if(importNum == 0x368) return "XuiHandleIsValid";
  1504. else if(importNum == 0x369) return "XuiAlloc";
  1505. else if(importNum == 0x36A) return "XuiFree";
  1506. else if(importNum == 0x36B) return "XuiDefault_True";
  1507. else if(importNum == 0x36C) return "XuiDefault_EmptyString";
  1508. else if(importNum == 0x36D) return "XuiDefault_IntegerZero";
  1509. else if(importNum == 0x36E) return "XuiCopyString";
  1510. else if(importNum == 0x36F) return "XuiRealloc";
  1511. else if(importNum == 0x370) return "XuiControlPlayOptionalVisual";
  1512. else if(importNum == 0x371) return "XuiKillTimer";
  1513. else if(importNum == 0x372) return "XuiElementEnableInput";
  1514. else if(importNum == 0x373) return "XuiElementInputEnabled";
  1515. else if(importNum == 0x374) return "XuiIsInstanceOf";
  1516. else if(importNum == 0x375) return "XuiResourceComposeLocator";
  1517. else if(importNum == 0x376) return "XuiResourceLocatorIsAbsolute";
  1518. else if(importNum == 0x377) return "XuiBroadcastMessage";
  1519. else if(importNum == 0x378) return "XuiElementDisallowRecursiveTimelineControl";
  1520. else if(importNum == 0x379) return "XUIElementPropVal_Construct";
  1521. else if(importNum == 0x37A) return "XUIElementPropVal_Destruct";
  1522. else if(importNum == 0x37B) return "XUIElementPropVal_SetString";
  1523. else if(importNum == 0x37C) return "XuiObjectSetProperty";
  1524. else if(importNum == 0x37D) return "XuiElementGetOpacity";
  1525. else if(importNum == 0x37E) return "XuiElementSetOpacity";
  1526. else if(importNum == 0x37F) return "XuiEditSetTextLimit";
  1527. else if(importNum == 0x380) return "XuiEditGetTextLimit";
  1528. else if(importNum == 0x381) return "XuiSliderSetValue";
  1529. else if(importNum == 0x382) return "XuiSliderGetValue";
  1530. else if(importNum == 0x383) return "XuiSliderSetRange";
  1531. else if(importNum == 0x384) return "XuiElementUnlink";
  1532. else if(importNum == 0x385) return "XuiElementInsertChild";
  1533. else if(importNum == 0x386) return "XuiSceneNavigateBackToFirst";
  1534. else if(importNum == 0x387) return "XuiProgressBarSetRange";
  1535. else if(importNum == 0x388) return "XuiProgressBarSetValue";
  1536. else if(importNum == 0x389) return "XuiProgressBarGetValue";
  1537. else if(importNum == 0x38A) return "XuiControlAttachVisual";
  1538. else if(importNum == 0x38B) return "XuiCreateTextureBrush";
  1539. else if(importNum == 0x38C) return "XuiDestroyBrush";
  1540. else if(importNum == 0x38D) return "XUIElementPropVal_SetColorFromUint";
  1541. else if(importNum == 0x38E) return "XuiFigureSetFill";
  1542. else if(importNum == 0x38F) return "XuiSliderGetRange";
  1543. else if(importNum == 0x390) return "XuiFigureSetTexture";
  1544. else if(importNum == 0x391) return "XuiControlGetItemAssociation";
  1545. else if(importNum == 0x392) return "XuiResourceLoadAll";
  1546. else if(importNum == 0x393) return "XuiImageElementSetImagePath";
  1547. else if(importNum == 0x394) return "XuiImageElementGetImagePath";
  1548. else if(importNum == 0x395) return "XuiControlGetVisual";
  1549. else if(importNum == 0x396) return "XuiControlGetNavigation";
  1550. else if(importNum == 0x397) return "XuiLookupStringTableByIndex";
  1551. else if(importNum == 0x398) return "XUIElementPropVal_SetBool";
  1552. else if(importNum == 0x399) return "XuiElementHasFocus";
  1553. else if(importNum == 0x39A) return "XUIElementPropVal_SetUint";
  1554. else if(importNum == 0x39B) return "XUIElementPropVal_Clear";
  1555. else if(importNum == 0x39C) return "XuiEditSetTextFormatInfo";
  1556. else if(importNum == 0x39D) return "XuiCreateSolidBrush";
  1557. else if(importNum == 0x39E) return "XuiSceneInterruptTransitions";
  1558. else if(importNum == 0x39F) return "XuiResourceOpen";
  1559. else if(importNum == 0x3A0) return "XuiResourceRead";
  1560. else if(importNum == 0x3A1) return "XuiResourceClose";
  1561. else if(importNum == 0x3A2) return "XuiVisualCreateInstance";
  1562. else if(importNum == 0x3A3) return "XuiElementGetTimeline";
  1563. else if(importNum == 0x3A4) return "_GetCodecVersion_CCalMediaInfo__UBAKXZ"; // "XUITimeline_GetAnimLength"
  1564. else if(importNum == 0x3A5) return "XuiElementIsDescendant";
  1565. else if(importNum == 0x3A6) return "XuiSetMessageFilter";
  1566. else if(importNum == 0x3A7) return "XuiAttachTextureBrush";
  1567. else if(importNum == 0x3A8) return "XuiElementBeginRender";
  1568. else if(importNum == 0x3A9) return "XuiElementEndRender";
  1569. else if(importNum == 0x3AA) return "XuiDrawShape";
  1570. else if(importNum == 0x3AB) return "XuiSelectBrushEx";
  1571. else if(importNum == 0x3AC) return "XuiFigureGetShape";
  1572. else if(importNum == 0x3AD) return "XuiFillRect";
  1573. else if(importNum == 0x3AE) return "_XuiVec2TransformCoord__YAPAUD3DXVECTOR2__PAU1_PBU1_PBUD3DXMATRIX___Z";
  1574. else if(importNum == 0x3AF) return "_XuiMatrixMultiply__YAPAUD3DXMATRIX__PAU1_PBU1_1_Z";
  1575. else if(importNum == 0x3B0) return "XuiElementGetXForm";
  1576. else if(importNum == 0x3B1) return "XuiElementSetPosition";
  1577. else if(importNum == 0x3B2) return "XuiSelectBrush";
  1578. else if(importNum == 0x3B3) return "XuiElementRenderChildren";
  1579. else if(importNum == 0x3B4) return "XuiFreeUnusedTextures";
  1580. else if(importNum == 0x3B5) return "XuiListEnableItemOverride";
  1581. else if(importNum == 0x3B6) return "XuiListGetDefaultItemSize";
  1582. else if(importNum == 0x3B7) return "XuiResourceSeek";
  1583. else if(importNum == 0x3CA) return "XGetAudioFlags";
  1584. else if(importNum == 0x3CB) return "XGetAVPack";
  1585. else if(importNum == 0x3CC) return "XGetGameRegion";
  1586. else if(importNum == 0x3CD) return "XGetLanguage";
  1587. else if(importNum == 0x3CE) return "XapipGetLocale";
  1588. else if(importNum == 0x3CF) return "_XGetVideoFlags__YAKXZ";
  1589. else if(importNum == 0x3D0) return "XGetVideoStandard";
  1590. else if(importNum == 0x3D1) return "XGetVideoMode";
  1591. else if(importNum == 0x3D2) return "XamGetLanguage";
  1592. else if(importNum == 0x3D4) return "XamSetAutomation";
  1593. else if(importNum == 0x3D5) return "XAutomationpBindController";
  1594. else if(importNum == 0x3D6) return "XAutomationpUnbindController";
  1595. else if(importNum == 0x3D7) return "XAutomationpInputXenonButton";
  1596. else if(importNum == 0x3D8) return "XAutomationpInputPress";
  1597. else if(importNum == 0x3D9) return "XAutomationpInputSetState";
  1598. else if(importNum == 0x3DA) return "XamEnableOverdraw";
  1599. else if(importNum == 0x3DB) return "g_XuiAutomation";
  1600. else if(importNum == 0x3DD) return "XampSystemInput";
  1601. else if(importNum == 0x3E4) return "GamerCardStartup";
  1602. else if(importNum == 0x3E5) return "GamerCardCleanup";
  1603. else if(importNum == 0x3E6) return "GamerCardRegisterControls";
  1604. else if(importNum == 0x3E7) return "GamerCardUnregisterControls";
  1605. else if(importNum == 0x3E8) return "RtlFindFirstFile";
  1606. else if(importNum == 0x3E9) return "RtlFindNextFile";
  1607. else if(importNum == 0x3EA) return "RtlGetModuleFileName";
  1608. else if(importNum == 0x3EB) return "RtlOutputDebugString";
  1609. else if(importNum == 0x3EC) return "RtlRemoveDirectory";
  1610. else if(importNum == 0x3ED) return "RtlSleep";
  1611. else if(importNum == 0x3EE) return "RtlGetLastError";
  1612. else if(importNum == 0x3EF) return "RtlSetLastError";
  1613. else if(importNum == 0x3F0) return "RtlSetLastNTError";
  1614. else if(importNum == 0x3F1) return "RtlDebugPrint";
  1615. else if(importNum == 0x3F2) return "RtlDebugError";
  1616. else if(importNum == 0x3F3) return "XDebugWarning";
  1617. else if(importNum == 0x3F4) return "RtlDebugTrace";
  1618. else if(importNum == 0x3F5) return "RtlDebugEntry";
  1619. else if(importNum == 0x3F6) return "RtlDebugExit";
  1620. else if(importNum == 0x3F7) return "RtlGetAttributesOnHeapAlloc";
  1621. else if(importNum == 0x3F8) return "RtlSetAttributesOnHeapAlloc";
  1622. else if(importNum == 0x3FA) return "RtlCreateHeap";
  1623. else if(importNum == 0x3FB) return "RtlDestroyHeap";
  1624. else if(importNum == 0x3FC) return "RtlAllocateHeap";
  1625. else if(importNum == 0x3FD) return "RtlAllocateHeapSlowly";
  1626. else if(importNum == 0x3FE) return "RtlReAllocateHeap";
  1627. else if(importNum == 0x3FF) return "RtlFreeHeap";
  1628. else return form("Xamd_%03X", importNum);
  1629. }
  1630.  
  1631.  
  1632. XAM Import 4:
  1633.  
  1634.  
  1635. static GetXamdImportName_4(importNum)
  1636. {
  1637. if( importNum == 0x400) return "RtlFreeHeapSlowly";
  1638. else if(importNum == 0x401) return "RtlSizeHeap";
  1639. else if(importNum == 0x402) return "RtlZeroHeap";
  1640. else if(importNum == 0x403) return "RtlDebugWalkHeap";
  1641. else if(importNum == 0x404) return "RtlWalkHeap";
  1642. else if(importNum == 0x405) return "RtlLockHeap";
  1643. else if(importNum == 0x406) return "RtlUnlockHeap";
  1644. else if(importNum == 0x407) return "RtlValidateHeap";
  1645. else if(importNum == 0x408) return "RtlDebugCompactHeap";
  1646. else if(importNum == 0x409) return "RtlCompactHeap";
  1647. else if(importNum == 0x40E) return "OutputDebugStringA";
  1648. else if(importNum == 0x40F) return "DebugBreak";
  1649. else if(importNum == 0x410) return "GetCurrentThreadId";
  1650. else if(importNum == 0x411) return "XDebugError";
  1651. else if(importNum == 0x412) return "XDebugWarning";
  1652. else if(importNum == 0x413) return "RtlDebugSetLevel";
  1653. else if(importNum == 0x414) return "CloseHandle";
  1654. else if(importNum == 0x415) return "GetTickCount";
  1655. else if(importNum == 0x416) return "GetLastError";
  1656. else if(importNum == 0x417) return "SetFilePointer";
  1657. else if(importNum == 0x418) return "SetFilePointerEx";
  1658. else if(importNum == 0x419) return "SetLastError";
  1659. else if(importNum == 0x41A) return "MultiByteToWideChar";
  1660. else if(importNum == 0x41B) return "WideCharToMultiByte";
  1661. else if(importNum == 0x41C) return "ReadFile";
  1662. else if(importNum == 0x41D) return "FlushFileBuffers";
  1663. else if(importNum == 0x41E) return "WriteFile";
  1664. else if(importNum == 0x41F) return "OutputDebugStringW";
  1665. else if(importNum == 0x420) return "SetEvent";
  1666. else if(importNum == 0x421) return "XapiFormatTimeOut";
  1667. else if(importNum == 0x422) return "CreateMutexA";
  1668. else if(importNum == 0x423) return "OpenMutexA";
  1669. else if(importNum == 0x424) return "ReleaseMutex";
  1670. else if(importNum == 0x425) return "WaitForSingleObject";
  1671. else if(importNum == 0x426) return "WaitForSingleObjectEx";
  1672. else if(importNum == 0x427) return "GetFileSize";
  1673. else if(importNum == 0x428) return "GetFileSizeEx";
  1674. else if(importNum == 0x429) return "XapiDirectoryInformationToFindData";
  1675. else if(importNum == 0x42A) return "XapiFormatObjectAttributes";
  1676. else if(importNum == 0x42B) return "ResetEvent";
  1677. else if(importNum == 0x42C) return "wsprintfA";
  1678. else if(importNum == 0x42D) return "wsprintfW";
  1679. else if(importNum == 0x42E) return "GetOverlappedResult";
  1680. else if(importNum == 0x42F) return "QueryPerformanceCounter";
  1681. else if(importNum == 0x430) return "QueryPerformanceFrequency";
  1682. else if(importNum == 0x431) return "LocalAlloc";
  1683. else if(importNum == 0x432) return "LocalFree";
  1684. else if(importNum == 0x433) return "RaiseException";
  1685. else if(importNum == 0x434) return "RtlUniform";
  1686. else if(importNum == 0x435) return "RtlRandom";
  1687. else if(importNum == 0x436) return "Sleep";
  1688. else if(importNum == 0x437) return "SleepEx";
  1689. else if(importNum == 0x438) return "XMemSet";
  1690. else if(importNum == 0x439) return "XRegisterThreadNotifyRoutine";
  1691. else if(importNum == 0x43A) return "XGetOverlappedExtendedError";
  1692. else if(importNum == 0x43B) return "XGetOverlappedResult";
  1693. else if(importNum == 0x43C) return "CreateThread";
  1694. else if(importNum == 0x43D) return "ResumeThread";
  1695. else if(importNum == 0x43E) return "ExitThread";
  1696. else if(importNum == 0x43F) return "GetTimeZoneInformation";
  1697. else if(importNum == 0x440) return "GetSystemTimeAsFileTime";
  1698. else if(importNum == 0x441) return "SystemTimeToFileTime";
  1699. else if(importNum == 0x442) return "FileTimeToSystemTime";
  1700. else if(importNum == 0x443) return "GetSystemTime";
  1701. else if(importNum == 0x444) return "GetLocalTime";
  1702. else if(importNum == 0x445) return "CreateDirectoryA";
  1703. else if(importNum == 0x446) return "CreateEventA";
  1704. else if(importNum == 0x447) return "CreateFileA";
  1705. else if(importNum == 0x448) return "DeleteFileA";
  1706. else if(importNum == 0x449) return "FindFirstFileA";
  1707. else if(importNum == 0x44A) return "FindNextFileA";
  1708. else if(importNum == 0x44B) return "GetFileAttributesA";
  1709. else if(importNum == 0x44D) return "GetFileAttributesExA";
  1710. else if(importNum == 0x44E) return "GetModuleHandleA";
  1711. else if(importNum == 0x44F) return "GetDiskFreeSpaceExA";
  1712. else if(importNum == 0x450) return "CopyFileA";
  1713. else if(importNum == 0x454) return "PIXBeginCapture"; // new = "Refresh_CGamerCardWorker__MAAJXZ";
  1714. else if(importNum == 0x455) return "PIXEndCapture"; // new = "_Refresh_CGamerCardWorker__MAAJXZ";
  1715. else if(importNum == 0x456) return "PIXAddCounter";
  1716. else if(importNum == 0x457) return "PIXGetGPUSlot"; // new = "_Refresh_CGamerCardWorker__MAAJXZ";
  1717. else if(importNum == 0x458) return "SetWaitableTimer";
  1718. else if(importNum == 0x459) return "CancelWaitableTimer";
  1719. else if(importNum == 0x45A) return "CreateWaitableTimerA";
  1720. else if(importNum == 0x45B) return "DuplicateHandle";
  1721. else if(importNum == 0x45C) return "XapipCreateThread";
  1722. else if(importNum == 0x45D) return "lstrcpyA";
  1723. else if(importNum == 0x45E) return "lstrcpyW";
  1724. else if(importNum == 0x45F) return "lstrcpynA";
  1725. else if(importNum == 0x460) return "lstrcpynW";
  1726. else if(importNum == 0x461) return "lstrcatA";
  1727. else if(importNum == 0x462) return "lstrcatW";
  1728. else if(importNum == 0x463) return "lstrlenA";
  1729. else if(importNum == 0x464) return "lstrlenW";
  1730. else if(importNum == 0x465) return "IsBadReadPtr";
  1731. else if(importNum == 0x466) return "IsBadWritePtr";
  1732. else if(importNum == 0x467) return "FileTimeToLocalFileTime";
  1733. else if(importNum == 0x4B0) return "XMPRegisterCodec";
  1734. else if(importNum == 0x514) return "XamIsCurrentTitleIptv";
  1735. else if(importNum == 0x515) return "XamIsIptvEnabled";
  1736. else if(importNum == 0x516) return "XamIsDvrRecording";
  1737. else if(importNum == 0x517) return "XamIptvUninstall";
  1738. else if(importNum == 0x518) return "XamGetDvrStorage";
  1739. else if(importNum == 0x519) return "XamSetDvrStorage";
  1740. else if(importNum == 0x51A) return "XamIptvGetServiceName";
  1741. else if(importNum == 0x7D2) return "GetProcessHeap";
  1742. else if(importNum == 0x7D3) return "UnhandledExceptionFilter";
  1743. else if(importNum == 0x7D4) return "SetUnhandledExceptionFilter";
  1744. else if(importNum == 0x834) return "XamPngEncode";
  1745. else if(importNum == 0x835) return "XamPngDecode";
  1746. else if(importNum == 0x83E) return "XamSetupTexture";
  1747. else if(importNum == 0x841) return "XamSetupCameraPreviewStuff";
  1748. else if(importNum == 0x842) return "XamReleaseCameraPreviewStuff";
  1749. else if(importNum == 0x843) return "XamRenderCameraPreviewStuff";
  1750. else if(importNum == 0x9C4) return "XamBackgroundDownloadEnable";
  1751. else if(importNum == 0x9C5) return "XamBackgroundDownloadIsEnabled";
  1752. else if(importNum == 0x9C6) return "XamBackgroundDownloadGetActiveItem";
  1753. else if(importNum == 0x9C7) return "XamBackgroundDownloadGetItems";
  1754. else if(importNum == 0x9C8) return "XamBackgroundDownloadClearItems";
  1755. else if(importNum == 0x9C9) return "XamBackgroundDownloadItemAdd";
  1756. else if(importNum == 0x9CA) return "XamBackgroundDownloadItemRemove";
  1757. else if(importNum == 0x9CB) return "XamBackgroundDownloadItemMakeFirst";
  1758. else if(importNum == 0x9CC) return "XamBackgroundDownloadSetForegroundPriority";
  1759. else if(importNum == 0x9CD) return "XamBackgroundDownloadGetForegroundPriority";
  1760. else if(importNum == 0x9CE) return "XamBackgroundDownloadItemToContentData";
  1761. else if(importNum == 0x9CF) return "XamBackgroundDownloadItemGetStatus";
  1762. else if(importNum == 0x9D0) return "XamBackgroundDownloadHistoryGetItem";
  1763. else if(importNum == 0x9D1) return "XamBackgroundDownloadItemGetHistoryStatus";
  1764. else if(importNum == 0x9D2) return "XamBackgroundDownloadItemSetHistoryStatus";
  1765. else if(importNum == 0xA28) return "XamSwapDisc";
  1766. else if(importNum == 0xA29) return "XamSwapDiscPatchAddress";
  1767. else if(importNum == 0xA2A) return "XamSwapCancel";
  1768. else if(importNum == 0xA5A) return "XamPlayTimerGetData";
  1769. else if(importNum == 0xA5B) return "XamPlayTimerSetData";
  1770. else if(importNum == 0xA5C) return "XamPlayTimerResume";
  1771. else if(importNum == 0xA5D) return "XamPlayTimerSuspend";
  1772. else if(importNum == 0xA5E) return "XamPlayTimerIsRunning";
  1773. else if(importNum == 0xA5F) return "XamPlayTimerIsEnabled";
  1774. else if(importNum == 0xA60) return "XamPlayTimerGetNextResetDate";
  1775. else if(importNum == 0xA61) return "XamPlayTimerFormatDurationString";
  1776. else if(importNum == 0xA62) return "XamPlayTimerGetTimeRemaining";
  1777. else if(importNum == 0xA63) return "XamPlayTimerUpdateTimeRemaining";
  1778. else if(importNum == 0xA64) return "XamPlayTimerForceNotification";
  1779. else if(importNum == 0xA65) return "XamPlayTimerRefreshResetDate";
  1780. else if(importNum == 0xA6E) return "XamUpnpServerSearchInitialize";
  1781. else if(importNum == 0xA6F) return "XamUpnpServerSearchDestroy";
  1782. else if(importNum == 0xA70) return "XamUpnpServerSearchStart";
  1783. else if(importNum == 0xA71) return "XamUpnpServerSearchStop";
  1784. else if(importNum == 0xA72) return "XamUpnpServerSearchDoWork";
  1785. else if(importNum == 0xA73) return "XamUpnpServerSearchGetNextServer";
  1786. else if(importNum == 0xA8C) return "XCustomBroadcastGamercardEvent";
  1787. else if(importNum == 0xA8D) return "XamCustomGetCurrentActions";
  1788. else if(importNum == 0xAA0) return "XamInstrumentationLogEvent";
  1789. else if(importNum == 0xAA1) return "XamRegisterSMCNotification";
  1790. else if(importNum == 0xAAA) return "XamInstrumentationLogEventEx";
  1791. else if(importNum == 0xAAB) return "XamInstrumentationGetSourceConfig";
  1792. else if(importNum == 0xAAC) return "XamInstrumentationDebugConfig";
  1793. else if(importNum == 0xAE6) return "CurlBindFunctionTable";
  1794. else if(importNum == 0xAE7) return "CurlOpenTitleBackingFile";
  1795. else if(importNum == 0xAF0) return "XamSetSecurityViolationDetected";
  1796. else if(importNum == 0xAF1) return "XamIsSecurityViolationDetected";
  1797. else if(importNum == 0xAF2) return "XamIsAnySecurityViolationDetected";
  1798. else if(importNum == 0xAF3) return "XamGetSecurityViolationsDetected";
  1799. else if(importNum == 0xAF4) return "XamActivateCounterMeasure";
  1800. else if(importNum == 0xAF5) return "XamDeactivateCounterMeasure";
  1801. else if(importNum == 0xAF6) return "XamIsCounterMeasureActivated";
  1802. else if(importNum == 0xAF7) return "XamGetActiveCounterMeasures";
  1803. else if(importNum == 0xAFA) return "_XamCreatePersistableRamDrive__YAPAXPAU_STRING__PAXK_Z";
  1804. else if(importNum == 0xB04) return "XamConvertEmoticons";
  1805. else if(importNum == 0xB05) return "XamGetLocaleTimeFormat";
  1806. else return form("Xamd_%03X", importNum);
  1807. }
  1808.  
  1809.  
  1810. Xapi Import:
  1811.  
  1812.  
  1813. static GetXapiImportName_0(importNum)
  1814. {
  1815. if( importNum == 0x001) return "XapiProcessHeap";
  1816. else if(importNum == 0x002) return "_locktable";
  1817. else if(importNum == 0x003) return "__tlsindexXapi";
  1818. else if(importNum == 0x004) return "XapiTermHeapNoop";
  1819. else return form("Xapi_%03X", importNum);
  1820. }
  1821.  
  1822.  
  1823. Xbdm Import:
  1824.  
  1825.  
  1826. static GetXbdmImportName_0(importNum)
  1827. {
  1828. if( importNum == 0x001) return "DmAllocatePool";
  1829. else if(importNum == 0x002) return "DmAllocatePoolWithTag";
  1830. else if(importNum == 0x003) return "DmCloseCounters";
  1831. else if(importNum == 0x004) return "DmCloseModuleSections";
  1832. else if(importNum == 0x005) return "DmCloseModuleSections";
  1833. else if(importNum == 0x006) return "DmCloseNotificationSession";
  1834. else if(importNum == 0x007) return "DmClosePerformanceCounter";
  1835. else if(importNum == 0x008) return "DmContinueThread";
  1836. else if(importNum == 0x009) return "DmFreePool";
  1837. else if(importNum == 0x00A) return "DmGetMemory";
  1838. else if(importNum == 0x00B) return "DmGetModuleLongName";
  1839. else if(importNum == 0x00C) return "DmGetProcAddress";
  1840. else if(importNum == 0x00D) return "DmGetThreadContext";
  1841. else if(importNum == 0x00F) return "DmGetThreadList";
  1842. else if(importNum == 0x010) return "DmGetXbeInfo";
  1843. else if(importNum == 0x011) return "DmGetXboxName";
  1844. else if(importNum == 0x013) return "DmGo";
  1845. else if(importNum == 0x014) return "DmHaltThread";
  1846. else if(importNum == 0x015) return "DmIsDebuggerPresent";
  1847. else if(importNum == 0x016) return "DmIsThreadStopped";
  1848. else if(importNum == 0x017) return "DmLoadExtension";
  1849. else if(importNum == 0x018) return "DmNotify";
  1850. else if(importNum == 0x019) return "DmOpenNotificationSession";
  1851. else if(importNum == 0x01A) return "DmOpenPerformanceCounter";
  1852. else if(importNum == 0x01B) return "DmQueryPerformanceCounterHandle";
  1853. else if(importNum == 0x01C) return "DmReboot";
  1854. else if(importNum == 0x01E) return "DmRegisterCommandProcessor";
  1855. else if(importNum == 0x020) return "DmRegisterNotificationProcessor";
  1856. else if(importNum == 0x021) return "DmRegisterPerformanceCounter";
  1857. else if(importNum == 0x022) return "DmRemoveBreakpoint";
  1858. else if(importNum == 0x023) return "DmResumeThread";
  1859. else if(importNum == 0x024) return "DmSendNotificationString";
  1860. else if(importNum == 0x025) return "DmSetBreakpoint";
  1861. else if(importNum == 0x026) return "DmSetDataBreakpoint";
  1862. else if(importNum == 0x027) return "DmSetInitialBreakpoint";
  1863. else if(importNum == 0x028) return "DmSetMemory";
  1864. else if(importNum == 0x029) return "DmSetThreadContext";
  1865. else if(importNum == 0x02A) return "DmSetTitle";
  1866. else if(importNum == 0x02B) return "DmSetXboxName";
  1867. else if(importNum == 0x02D) return "DmStop";
  1868. else if(importNum == 0x02E) return "DmStopOn";
  1869. else if(importNum == 0x030) return "DmSuspendThread";
  1870. else if(importNum == 0x031) return "DmThreadUserData";
  1871. else if(importNum == 0x032) return "DmUnloadExtension";
  1872. else if(importNum == 0x033) return "DmWalkLoadedModules";
  1873. else if(importNum == 0x034) return "DmWalkModuleSections";
  1874. else if(importNum == 0x035) return "DmWalkPerformanceCounters";
  1875. else if(importNum == 0x037) return "DmCloseCounters";
  1876. else if(importNum == 0x038) return "DmIsBreakpoint";
  1877. else if(importNum == 0x039) return "DmCloseCounters";
  1878. else if(importNum == 0x03A) return "DmSetUserAccess";
  1879. else if(importNum == 0x03B) return "DmGetUserAccess";
  1880. else if(importNum == 0x03C) return "DmWalkUserList";
  1881. else if(importNum == 0x03D) return "DmAddUser";
  1882. else if(importNum == 0x03E) return "DmEnableSecurity";
  1883. else if(importNum == 0x03F) return "DmIsSecurityEnabled";
  1884. else if(importNum == 0x040) return "DmRemoveUser";
  1885. else if(importNum == 0x041) return "__CAP_Start_Profiling";
  1886. else if(importNum == 0x042) return "__CAP_End_Profiling";
  1887. else if(importNum == 0x046) return "__CAP_Enter_Function";
  1888. else if(importNum == 0x047) return "__CAP_Exit_Function";
  1889. else if(importNum == 0x048) return "DmRegisterCommandProcessorEx";
  1890. else if(importNum == 0x049) return "DmStartProfiling";
  1891. else if(importNum == 0x04A) return "DmStopProfiling";
  1892. else if(importNum == 0x04B) return "DmQueryMemoryStatistics";
  1893. else if(importNum == 0x04C) return "DmEnableStackTrace";
  1894. else if(importNum == 0x04D) return "DmQueryAllocationTypeName";
  1895. else if(importNum == 0x04E) return "DmRegisterAllocationType";
  1896. else if(importNum == 0x04F) return "DmInsertAllocationEntry";
  1897. else if(importNum == 0x050) return "DmRemoveAllocationEntry";
  1898. else if(importNum == 0x051) return "DmSetTitleEx";
  1899. else if(importNum == 0x052) return "DmCaptureStackBackTrace";
  1900. else if(importNum == 0x053) return "DmCrashDump";
  1901. else if(importNum == 0x054) return "DmIsFastCAPEnabled";
  1902. else if(importNum == 0x055) return "DmGetFileAccessCount";
  1903. else if(importNum == 0x058) return "DmGetUtilityDriveInfo";
  1904. else if(importNum == 0x059) return "DmGetThreadInfoEx";
  1905. else if(importNum == 0x05A) return "DmSetProfilingOptions";
  1906. else if(importNum == 0x05B) return "DmQuerySystemSettings";
  1907. else if(importNum == 0x05C) return "DmSaveSystemSettings";
  1908. else if(importNum == 0x06A) return "DmpGetPgoModuleHandleForBaseAddress";
  1909. else if(importNum == 0x06B) return "DmpOnPgoModuleLoad";
  1910. else if(importNum == 0x06C) return "DmPgoStartDataCollection";
  1911. else if(importNum == 0x06D) return "DmPgoStopDataCollection";
  1912. else if(importNum == 0x06E) return "DmPgoSaveSnapshot";
  1913. else if(importNum == 0x06F) return "IrtClientAbort";
  1914. else if(importNum == 0x070) return "IrtPogoInit";
  1915. else if(importNum == 0x071) return "IrtSetStaticInfo";
  1916. else if(importNum == 0x072) return "IrtAutoSweepW";
  1917. else if(importNum == 0x073) return "IrtAutoSweepA";
  1918. else if(importNum == 0x075) return "DmGetDumpMode";
  1919. else if(importNum == 0x076) return "DmSetDumpMode";
  1920. else if(importNum == 0x077) return "DmGetDumpSettings";
  1921. else if(importNum == 0x078) return "DmSetDumpSettings";
  1922. else if(importNum == 0x079) return "DmGetEventDeferFlags";
  1923. else if(importNum == 0x07A) return "DmSetEventDeferFlags";
  1924. else if(importNum == 0x07B) return "DmWalkCommittedMemory";
  1925. else if(importNum == 0x07C) return "DmCloseCounters";
  1926. else if(importNum == 0x07D) return "DmRebootEx";
  1927. else if(importNum == 0x07E) return "_PEPLELookup__YIPAUEPLE__PAUPGCHDR__PAUEPLH__K_Z";
  1928. else if(importNum == 0x07F) return "_PVPLELookup__YIPA_KPAUPGCHDR__PAUVPLH___K_Z";
  1929. else if(importNum == 0x080) return "_PVPLETemplatedLookup__YIPA_KPAUPGCHDR__PAUVPLH___KPAUtagPOGOVALUETEMPLATE___Z";
  1930. else if(importNum == 0x081) return "_PVPLEFilteredLookup__YIPA_KPAUPGCHDR__PAUVPLH___K_Z";
  1931. else if(importNum == 0x082) return "DmMountFdfxVolume";
  1932. else if(importNum == 0x083) return "DmCapGetFileHeader";
  1933. else if(importNum == 0x084) return "DmCapFreeFileHeader";
  1934. else if(importNum == 0x085) return "DmTraceStartRecording";
  1935. else if(importNum == 0x086) return "DmTraceStartRecordingFunction";
  1936. else if(importNum == 0x087) return "DmTraceSetBufferSize";
  1937. else if(importNum == 0x088) return "DmTraceStopRecording";
  1938. else if(importNum == 0x089) return "DmTraceSaveBuffer";
  1939. else if(importNum == 0x08C) return "DmGetConsoleType";
  1940. else if(importNum == 0x08D) return "DmMapDevkitDrive";
  1941. else if(importNum == 0x08E) return "DmWalkLoadedModulesEx";
  1942. else if(importNum == 0x08F) return "DmGetXexHeaderField";
  1943. else if(importNum == 0x090) return "DmGetMouseChanges";
  1944. else if(importNum == 0x091) return "DmFindPdbSignature";
  1945. else if(importNum == 0x092) return "DmGetProfilingStatus";
  1946. else if(importNum == 0x093) return "DmOpticalDiscLogStart";
  1947. else if(importNum == 0x094) return "DmOpticalDiscLogStop";
  1948. else if(importNum == 0x095) return "DmStartSamplingProfiler";
  1949. else if(importNum == 0x096) return "DmStopSamplingProfiler";
  1950. else if(importNum == 0x097) return "DmGetSamplingProfilerInfo";
  1951. else if(importNum == 0x098) return "DmStartFileEventCapture";
  1952. else if(importNum == 0x099) return "DmStopFileEventCapture";
  1953. else if(importNum == 0x09A) return "DmSetFileEventMarker";
  1954. else if(importNum == 0x09B) return "DmMarkPseudoCreateBegin";
  1955. else if(importNum == 0x09C) return "DmMarkPseudoCreateEnd";
  1956. else if(importNum == 0x09D) return "DmMarkPseudoEventBegin";
  1957. else if(importNum == 0x09E) return "DmMarkPseudoEventEnd";
  1958. else if(importNum == 0x09F) return "DmMarkFileEventWorkerThreadBegin";
  1959. else if(importNum == 0x0A0) return "DmMarkFileEventWorkerThreadEnd";
  1960. else if(importNum == 0x0A1) return "DmGetSystemInfo";
  1961. else if(importNum == 0x0A2) return "DmAbortProfiling";
  1962. else if(importNum == 0x0A3) return "DmNetCaptureStart";
  1963. else if(importNum == 0x0A4) return "DmNetCaptureStop";
  1964. else if(importNum == 0x0A5) return "DmQueryTitleMemoryStatistics";
  1965. else if(importNum == 0x0A6) return "DmAutomationGetInputProcess";
  1966. else if(importNum == 0x0A7) return "DmAutomationBindController";
  1967. else if(importNum == 0x0A8) return "DmAutomationUnbindController";
  1968. else if(importNum == 0x0A9) return "DmAutomationConnectController";
  1969. else if(importNum == 0x0AA) return "DmAutomationDisconnectController";
  1970. else if(importNum == 0x0AB) return "DmAutomationSetGamepadState";
  1971. else if(importNum == 0x0AC) return "DmAutomationQueueGamepadState";
  1972. else if(importNum == 0x0AD) return "DmAutomationClearGamepadQueue";
  1973. else if(importNum == 0x0AE) return "DmAutomationQueryGamepadQueue";
  1974. else if(importNum == 0x0AF) return "DmAutomationGetUserDefaultProfile";
  1975. else if(importNum == 0x0B0) return "DmAutomationSetUserDefaultProfile";
  1976. else if(importNum == 0x0B1) return "DmTraceIsRecording";
  1977. else if(importNum == 0x0B2) return "DmLoadDebuggerExtension";
  1978. else if(importNum == 0x0B3) return "DmUnloadDebuggerExtension";
  1979. else if(importNum == 0x0B4) return "DmCreateSystemThread";
  1980. else if(importNum == 0x0B5) return "_PEPLELookup__YIPAUEPLE__PAUPGCHDR__PAUEPLH__K_Z";
  1981. else if(importNum == 0x0B6) return "_PEPLELookupCompact__YIXPAUPGCHDR__PAUEPLH__KPAUMDSProbeState___Z";
  1982. else if(importNum == 0x0B7) return "_PVPLELookup__YIXPAUPGCHDR__PAUVPLHStandard___K_Z";
  1983. else if(importNum == 0x0B8) return "_PVPLELookupCompact__YIXPAUPGCHDR__PAUVPLHCompact___K_Z";
  1984. else if(importNum == 0x0B9) return "_PVPLELookupCompactMDS__YIXPAUPGCHDR__PAUVPLHCompact___KPAUMDSProbeState___Z";
  1985. else if(importNum == 0x0BA) return "_PVPLEFilteredLookup__YIXPAUPGCHDR__PAUVPLHStandard___K_Z";
  1986. else if(importNum == 0x0BB) return "_PVPLEFilteredLookupCompact__YIXPAUPGCHDR__PAUVPLHCompact___K_Z";
  1987. else if(importNum == 0x0BC) return "_PVPLEFilteredLookupCompactMDS__YIXPAUPGCHDR__PAUVPLHCompact___KPAUMDSProbeState___Z";
  1988. else if(importNum == 0x0BD) return "_PVPLETemplatedLookup__YIXPAUPGCHDR__PAUVPLHStandard___KPAUtagPOGOVALUETEMPLATE___Z";
  1989. else if(importNum == 0x0BE) return "_PVPLETemplatedLookupCompact__YIXPAUPGCHDR__PAUVPLHCompact___KPAUtagPOGOVALUETEMPLATE___Z"
  1990. ;
  1991. else if(importNum == 0x0BF) return "_PVPLETemplatedLookupCompactMDS__YIXPAUPGCHDR__PAUVPLHCompact___KPAUtagPOGOVALUETEMPLATE__PAUMD
  1992. SProbeState___Z";
  1993. else if(importNum == 0x0C0) return "DmpPgoCounterOverflow";
  1994. else if(importNum == 0x0C1) return "_UpdateMDSProbeState__YA_NPAUMDSProbeState___Z";
  1995. else if(importNum == 0x0C2) return "DmGetHttpRegistration";
  1996. else return form("Xbdm_%03X", importNum);
  1997. }
  1998.  
  1999. and / or
  2000.  
  2001. static GetImportName(libName, importNum /*, ver_major, ver_build*/)
  2002. {
  2003. if(strstr(libName, "xboxkrnl") != -1)
  2004. {
  2005. if( importNum >= 0x000 && importNum < 0x100) return GetKernelImportName_0(importNum);
  2006. else if(importNum >= 0x100 && importNum < 0x200) return GetKernelImportName_1(importNum);
  2007. else if(importNum >= 0x200 && importNum < 0x300) return GetKernelImportName_2(importNum);
  2008. }
  2009. else if(strstr(libName, "connectx") != -1)
  2010. {
  2011. if( importNum >= 0x000 && importNum < 0x100) return GetConnectXImportName_0(importNum);
  2012. }
  2013. else if(strstr(libName, "createprofile") != -1)
  2014. {
  2015. if( importNum >= 0x000 && importNum < 0x100) return GetCreateProfileImportName_0(importNum);
  2016. }
  2017. else if(strstr(libName, "hud") != -1)
  2018. {
  2019. if( importNum >= 0x000 && importNum < 0x100) return GetHudImportName_0(importNum);
  2020. }
  2021. else if(strstr(libName, "signin") != -1)
  2022. {
  2023. if( importNum >= 0x000 && importNum < 0x100) return GetSigninImportName_0(importNum);
  2024. }
  2025. else if(strstr(libName, "vk") != -1)
  2026. {
  2027. if( importNum >= 0x000 && importNum < 0x100) return GetVKImportName_0(importNum);
  2028. }
  2029. else if(strstr(libName, "voicemail") != -1)
  2030. {
  2031. if( importNum >= 0x000 && importNum < 0x100) return GetVoicemailImportName_0(importNum);
  2032. }
  2033. else if(strstr(libName, "xam") != -1)
  2034. {
  2035. if( importNum >= 0x000 && importNum < 0x100) return GetXamdImportName_0(importNum);
  2036. else if(importNum >= 0x100 && importNum < 0x200) return GetXamdImportName_1(importNum);
  2037. else if(importNum >= 0x200 && importNum < 0x300) return GetXamdImportName_2(importNum);
  2038. else if(importNum >= 0x300 && importNum < 0x400) return GetXamdImportName_3(importNum);
  2039. else if(importNum >= 0x400 && importNum < 0xF00) return GetXamdImportName_4(importNum);
  2040. }
  2041. else if(strstr(libName, "xapi") != -1)
  2042. {
  2043. if( importNum >= 0x000 && importNum < 0x100) return GetXapiImportName_0(importNum);
  2044. }
  2045. else if(strstr(libName, "xbdm") != -1)
  2046. {
  2047. if( importNum >= 0x000 && importNum < 0x100) return GetXbdmImportName_0(importNum);
  2048. }
  2049. else
  2050. {
  2051. return form("%s_%03X", libName, importNum);
  2052. }
  2053. }
  2054.  
  2055. static GetExportName(libName, exportNum)
  2056. {
  2057. if(strstr(libName, "xboxkrnl") != -1)
  2058. {
  2059. if( exportNum < 0x100) return GetKernelImportName_0(exportNum);
  2060. else if(exportNum < 0x200) return GetKernelImportName_1(exportNum);
  2061. else if(exportNum < 0x300) return GetKernelImportName_2(exportNum);
  2062. }
  2063. else if(strstr(libName, "connectx") != -1)
  2064. {
  2065. if( exportNum >= 0x000 && exportNum < 0x100) return GetConnectXImportName_0(exportNum);
  2066. }
  2067. else if(strstr(libName, "createprofile") != -1)
  2068. {
  2069. if( exportNum >= 0x000 && exportNum < 0x100) return GetCreateProfileImportName_0(exportNum);
  2070. }
  2071. else if(strstr(libName, "hud") != -1)
  2072. {
  2073. if( exportNum >= 0x000 && exportNum < 0x100) return GetHudImportName_0(exportNum);
  2074. }
  2075. else if(strstr(libName, "signin") != -1)
  2076. {
  2077. if( exportNum >= 0x000 && exportNum < 0x100) return GetSigninImportName_0(exportNum);
  2078. }
  2079. else if(strstr(libName, "vk") != -1)
  2080. {
  2081. if( exportNum >= 0x000 && exportNum < 0x100) return GetVKImportName_0(exportNum);
  2082. }
  2083. else if(strstr(libName, "voicemail") != -1)
  2084. {
  2085. if( exportNum >= 0x000 && exportNum < 0x100) return GetVoicemailImportName_0(exportNum);
  2086. }
  2087. else if(strstr(libName, "xam") != -1)
  2088. {
  2089. if( exportNum >= 0x000 && exportNum < 0x100) return GetXamdImportName_0(exportNum);
  2090. else if(exportNum >= 0x100 && exportNum < 0x200) return GetXamdImportName_1(exportNum);
  2091. else if(exportNum >= 0x200 && exportNum < 0x300) return GetXamdImportName_2(exportNum);
  2092. else if(exportNum >= 0x300 && exportNum < 0x400) return GetXamdImportName_3(exportNum);
  2093. else if(exportNum >= 0x400 && exportNum < 0xF00) return GetXamdImportName_4(exportNum);
  2094. }
  2095. else if(strstr(libName, "xapi") != -1)
  2096. {
  2097. if( exportNum >= 0x000 && exportNum < 0x100) return GetXapiImportName_0(exportNum);
  2098. }
  2099. else if(strstr(libName, "xbdm") != -1)
  2100. {
  2101. if( exportNum >= 0x000 && exportNum < 0x100) return GetXbdmImportName_0(exportNum);
  2102. }
  2103. else
  2104. {
  2105. return form("%s_%03X", libName, exportNum);
  2106. }
  2107. }
  2108.  
  2109.  
  2110. System Call Names:
  2111.  
  2112.  
  2113. // syscall names
  2114. static GetSyscallName( funcNum )
  2115. {
  2116. if( funcNum == 0x00 ) return "HvxGetVersions";
  2117. else if( funcNum == 0x01 ) return "HvxStartupProcessors";
  2118. else if( funcNum == 0x02 ) return "HvxQuiesceProcessor";
  2119. else if( funcNum == 0x03 ) return "HvxFlushEntireTb";
  2120. else if( funcNum == 0x04 ) return "HvxFlushSingleTb";
  2121. else if( funcNum == 0x05 ) return "HvxRelocateAndFlush";
  2122. else if( funcNum == 0x06 ) return "HvxGetSpecialPurposeRegister";
  2123. else if( funcNum == 0x07 ) return "HvxSetSpecialPurposeRegister";
  2124. else if( funcNum == 0x08 ) return "HvxGetSocRegister";
  2125. else if( funcNum == 0x09 ) return "HvxSetSocRegister";
  2126. else if( funcNum == 0x0A ) return "HvxSetTimeBaseToZero";
  2127. else if( funcNum == 0x0B ) return "HvxZeroPage";
  2128. else if( funcNum == 0x0C ) return "HvxFlushDcacheRange";
  2129. else if( funcNum == 0x0D ) return "HvxPostOutput";
  2130. else if( funcNum == 0x0E ) return "HvxEnablePPUPerformanceMonitor";
  2131. else if( funcNum == 0x0F ) return "HvxGetImagePageTableEntry";
  2132. else if( funcNum == 0x10 ) return "HvxSetImagePageTableEntry";
  2133. else if( funcNum == 0x11 ) return "HvxCreateImageMapping";
  2134. else if( funcNum == 0x12 ) return "HvxMapImagePage";
  2135. else if( funcNum == 0x13 ) return "HvxCompleteImageMapping";
  2136. else if( funcNum == 0x14 ) return "HvxLoadImageData";
  2137. else if( funcNum == 0x15 ) return "HvxFinishImageDataLoad";
  2138. else if( funcNum == 0x16 ) return "HvxStartResolveImports";
  2139. else if( funcNum == 0x17 ) return "HvxResolveImports";
  2140. else if( funcNum == 0x18 ) return "HvxFinishImageLoad";
  2141. else if( funcNum == 0x19 ) return "HvxAbandonImageLoad";
  2142. else if( funcNum == 0x1A ) return "HvxUnmapImagePages";
  2143. else if( funcNum == 0x1B ) return "HvxUnmapImage";
  2144. else if( funcNum == 0x1C ) return "HvxUnmapImageRange";
  2145. else if( funcNum == 0x1D ) return "HvxCreateUserMode";
  2146. else if( funcNum == 0x1E ) return "HvxDeleteUserMode";
  2147. else if( funcNum == 0x1F ) return "HvxFlushUserModeTb";
  2148. else if( funcNum == 0x20 ) return "HvxSetPowerMode";
  2149. else if( funcNum == 0x21 ) return "HvxShadowBoot";
  2150. else if( funcNum == 0x22 ) return "HvxBlowFuses";
  2151. else if( funcNum == 0x23 ) return "HvxFsbInterrupt";
  2152. else if( funcNum == 0x24 ) return "HvxLockL2";
  2153. else if( funcNum == 0x25 ) return "HvxDvdAuthBuildNVPage";
  2154. else if( funcNum == 0x26 ) return "HvxDvdAuthVerifyNVPage";
  2155. else if( funcNum == 0x27 ) return "HvxDvdAuthRecordAuthenticationPage";
  2156. else if( funcNum == 0x28 ) return "HvxDvdAuthRecordXControl";
  2157. else if( funcNum == 0x29 ) return "HvxDvdAuthGetAuthPage";
  2158. else if( funcNum == 0x2A ) return "HvxDvdAuthVerifyAuthPage";
  2159. else if( funcNum == 0x2B ) return "HvxDvdAuthGetNextLBAIndex";
  2160. else if( funcNum == 0x2C ) return "HvxDvdAuthVerifyLBA";
  2161. else if( funcNum == 0x2D ) return "HvxDvdAuthClearDiscAuthInfo";
  2162. else if( funcNum == 0x2E ) return "HvxKeysInitialize";
  2163. else if( funcNum == 0x2F ) return "HvxKeysGetKeyProperties";
  2164. else if( funcNum == 0x30 ) return "HvxKeysGetStatus";
  2165. else if( funcNum == 0x31 ) return "HvxKeysGenerateRandomKey";
  2166. else if( funcNum == 0x32 ) return "HvxKeysGetFactoryChallenge";
  2167. else if( funcNum == 0x33 ) return "HvxKeysSetFactoryResponse";
  2168. else if( funcNum == 0x34 ) return "HvxKeysSaveBootLoader";
  2169. else if( funcNum == 0x35 ) return "HvxKeysSaveKeyVault";
  2170. else if( funcNum == 0x36 ) return "HvxKeysSetKey";
  2171. else if( funcNum == 0x37 ) return "HvxKeysGetKey";
  2172. else if( funcNum == 0x38 ) return "HvxKeysGetDigest";
  2173. else if( funcNum == 0x39 ) return "HvxKeysRsaPrvCrypt";
  2174. else if( funcNum == 0x3A ) return "HvxKeysHmacSha";
  2175. else if( funcNum == 0x3B ) return "HvxKeysAesCbc";
  2176. else if( funcNum == 0x3C ) return "HvxKeysDes2Cbc";
  2177. else if( funcNum == 0x3D ) return "HvxKeysDesCbc";
  2178. else if( funcNum == 0x3E ) return "HvxKeysObscureKey";
  2179. else if( funcNum == 0x3F ) return "HvxKeysSaveSystemUpdate";
  2180. else if( funcNum == 0x40 ) return "HvxKeysExecute";
  2181. else if( funcNum == 0x41 ) return "HvxDvdAuthTestMode";
  2182. else if( funcNum == 0x42 ) return "HvxEnableTimebase";
  2183. else if( funcNum == 0x43 ) return "HvxHdcpCalculateMi";
  2184. else if( funcNum == 0x44 ) return "HvxHdcpCalculateAKsvSignature";
  2185. else if( funcNum == 0x45 ) return "HvxHdcpCalculateBKsvSignature";
  2186. else if( funcNum == 0x46 ) return "HvxSetRevocationList";
  2187. else if( funcNum == 0x47 ) return "HvxEncryptedReserveAllocation";
  2188. else if( funcNum == 0x48 ) return "HvxEncryptedReleaseAllocation";
  2189. else if( funcNum == 0x49 ) return "HvxEncryptedEncryptAllocation";
  2190. else if( funcNum == 0x4A ) return "HvxEncryptedSweepAddressRange";
  2191. else if( funcNum == 0x4B ) return "HvxKeysExCreateKeyVault";
  2192. else if( funcNum == 0x4C ) return "HvxKeysExLoadKeyVault";
  2193. else if( funcNum == 0x4D ) return "HvxKeysExSaveKeyVault";
  2194. else if( funcNum == 0x4E ) return "HvxKeysExSetKey";
  2195. else if( funcNum == 0x4F ) return "HvxKeysExGetKey";
  2196. else if( funcNum == 0x50 ) return "HvxGetUpdateSequence";
  2197. else if( funcNum == 0x51 ) return "HvxSecurityInitialize";
  2198. else if( funcNum == 0x52 ) return "HvxSecurityLoadSettings";
  2199. else if( funcNum == 0x53 ) return "HvxSecuritySaveSettings";
  2200. else if( funcNum == 0x54 ) return "HvxSecuritySetDetected";
  2201. else if( funcNum == 0x55 ) return "HvxSecurityGetDetected";
  2202. else if( funcNum == 0x56 ) return "HvxSecuritySetActivated";
  2203. else if( funcNum == 0x57 ) return "HvxSecurityGetActivated";
  2204. else if( funcNum == 0x58 ) return "HvxGetProtectedFlags";
  2205. else if( funcNum == 0x59 ) return "HvxSetProtectedFlag";
  2206. else if( funcNum == 0x5A ) return "HvxDvdAuthAP25InstallTable";
  2207. else if( funcNum == 0x5B ) return "HvxDvdAuthAP25RefreshTable";
  2208. else if( funcNum == 0x5C ) return "HvxDvdAuthAP25GetTableVersion";
  2209. else if( funcNum == 0x5D ) return "HvxDvdAuthAP25GetNextChallenge"; // pre-5632
  2210. else if( funcNum == 0x5D ) return "HvxDvdAuthAP25LoadChallengeSet"; // 5632
  2211. else if( funcNum == 0x5E ) return "HvxDvdAuthAP25VerifyAnswer"; // pre-5632
  2212. else if( funcNum == 0x5E ) return "HvxDvdAuthAP25GetNextChallenge"; // 5632
  2213. else if( funcNum == 0x5F ) return "HvxDvdAuthAP25VerifyAnswer";
  2214. else if( funcNum == 0x60 ) return "HvxDvdAuthAP25GetChallengeHistory";
  2215. else if( funcNum == 0x61 ) return "HvxDvdAuthGetAuthResults";
  2216. else if( funcNum == 0x62 ) return "HvxDvdAuthSetDriveAuthResult";
  2217. else if( funcNum == 0x63 ) return "HvxDvdAuthSetDiscAuthResult";
  2218. else if( funcNum == 0x64 ) return "HvxImageTransformImageKey";
  2219. else if( funcNum == 0x65 ) return "HvxImageXexHeader";
  2220. else if( funcNum == 0x66 ) return "HvxRevokeLoad";
  2221. else if( funcNum == 0x67 ) return "HvxRevokeSave";
  2222. else if( funcNum == 0x68 ) return "HvxRevokeUpdate";
  2223. else if( funcNum == 0x69 ) return "HvxDvdAuthGetMediaId";
  2224. else if( funcNum == 0x6A ) return "HvxKeysLoadKeyVault";
  2225. else if( funcNum == 0x6B ) return "HvxXexActivationGetNonce";
  2226. else if( funcNum == 0x6C ) return "HvxXexActivationSetLicense";
  2227. else if( funcNum == 0x6D ) return "HvxXexActivationVerifyOwnership";
  2228. else if( funcNum == 0x6E ) return "HvxIptvSetBoundaryKey";
  2229. else if( funcNum == 0x6F ) return "HvxIptvSetSessionKey";
  2230. else if( funcNum == 0x70 ) return "HvxIptvVerifyOmac1Signature";
  2231. else if( funcNum == 0x71 ) return "HvxIptvGetAesCtrTransform";
  2232. else return form("HvxSyscall_%02X", funcNum);
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239. For all of you that are smart, you know what to do. Once you have done what these can help you do please give me and ldw some credit and keep it in premium. Also please do not spread the word you got online to anyone if you do. I was just so sick and tired of this bullshit of everyone saying they have the method and releasing fake files that bricked everyone's jtag. Please use these wisely guys.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement