You are viewing our Forum Archives. To view or take place in current topics click here.
#101. Posted:
FuzBie
  • V5 Launch
Status: Offline
Joined: Oct 20, 201014Year Member
Posts: 2,225
Reputation Power: 108
Status: Offline
Joined: Oct 20, 201014Year Member
Posts: 2,225
Reputation Power: 108
Good post man this will be helpful for some people.
#102. Posted:
pvtpunchu
  • Spooky Poster
Status: Offline
Joined: Apr 07, 201014Year Member
Posts: 2,529
Reputation Power: 113
Status: Offline
Joined: Apr 07, 201014Year Member
Posts: 2,529
Reputation Power: 113
people asking for a tutorial how to make a rebooter....Just because he extracted the dash does not make him able to make a rebooter. What is needed for a rebooter is the boot to disc option and some APX things that do not need to be explained. but most people dont know how to do that, thus, why they are private.
#103. Posted:
shaunscarey
  • Prospect
Status: Offline
Joined: May 24, 201014Year Member
Posts: 696
Reputation Power: 44
Status: Offline
Joined: May 24, 201014Year Member
Posts: 696
Reputation Power: 44
i really want to learn more information about things like this, but dont know where to start :S
#104. Posted:
iTz_H4CKED
  • Ladder Climber
Status: Offline
Joined: Jul 16, 201014Year Member
Posts: 371
Reputation Power: 47
Status: Offline
Joined: Jul 16, 201014Year Member
Posts: 371
Reputation Power: 47
shaunscarey wrote i really want to learn more information about things like this, but dont know where to start :S


u wanna learn where to start how bout going to free60.org youll find alot of helpful info there
#105. Posted:
Jamy
  • Fairy Master
Status: Offline
Joined: Jul 29, 201014Year Member
Posts: 1,512
Reputation Power: 2819
Status: Offline
Joined: Jul 29, 201014Year Member
Posts: 1,512
Reputation Power: 2819
xiJamyy wrote
ThePrivateLdw wrote
xiJamyy wrote
XxAiDaNzZ wrote
xiJamyy wrote
XxAiDaNzZ wrote
xiJamyy wrote
XxAiDaNzZ wrote
xiJamyy wrote Is there a tut on google how to create a rebooter


Hahahahaha.... Oh... You're not joking.


No im not


No, you can not find a tutorial on google.

Try doing some research on Google for creating one but there is no tutorial.


Ok then so should i research on google about the the kernal and hypervisor?


About everything about the JTAG hack and how it was used to make a rebooter.


Thank you


To be perfectly honest with you, if you are asking for a tutorial on how to build a rebooter on google, I wouldn't bother attempting anything. If i was you I would go to free60.org

- Louis


Thank you


I give up
#106. Posted:
Soccer_Teams
  • TTG Senior
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,754
Reputation Power: 83
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,754
Reputation Power: 83
Keep This Topic Alive ! someone will find new stuff and everyone can go back online . 8)
#107. Posted:
DM-BoNez
  • TTG Senior
Status: Offline
Joined: Jan 20, 201113Year Member
Posts: 1,401
Reputation Power: 92
Status: Offline
Joined: Jan 20, 201113Year Member
Posts: 1,401
Reputation Power: 92
hey great post keep up the good work
#108. Posted:
-C4RB0N-
  • TTG Master
Status: Offline
Joined: Nov 30, 201013Year Member
Posts: 845
Reputation Power: 42
Status: Offline
Joined: Nov 30, 201013Year Member
Posts: 845
Reputation Power: 42
I'm sorry but I just HAD to post this


xbkrnl.12625.exe is not a valid win32 program

XD I know what to do with it but it's always fun to joke
#109. Posted:
XBL_HAWK
  • Powerhouse
Status: Offline
Joined: Sep 16, 201014Year Member
Posts: 419
Reputation Power: 18
Status: Offline
Joined: Sep 16, 201014Year Member
Posts: 419
Reputation Power: 18
Nice bro rlly going to help ppl
#110. Posted:
_Raw_
  • TTG Addict
Status: Offline
Joined: Aug 18, 201014Year Member
Posts: 2,249
Reputation Power: 43
Status: Offline
Joined: Aug 18, 201014Year Member
Posts: 2,249
Reputation Power: 43
ThePrivateLdw wrote EDIT: I have added the 12611 Kernel & Hypervisor for download
Here is the 12625 & 12611 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.

Instructions for IDA script;


- Open xboxkrnl.exe as a binary
- Set processor to PPC, base 0
- Load script

Also, here is the link for the 12625 update from microsoft;

- [ Register or Signin to view external links. ]

Download;

- [ Register or Signin to view external links. ]
- [ Register or Signin to view external links. ]
- [ Register or Signin to view external links. ]
- [ Register or Signin to view external links. ]
- [ Register or Signin to view external links. ]

Here are the xex names and processes extracted from the 12625 kernel;

Kernel Import 0;
static GetKernelImportName_0(importNum)
{
    if(     importNum == 0x001) return "DbgBreakPoint";
    else if(importNum == 0x002) return "DbgBreakPointWithStatus";
    else if(importNum == 0x003) return "DbgPrint";
    else if(importNum == 0x004) return "DbgPrompt";
    else if(importNum == 0x005) return "DumpGetRawDumpInfo";
    else if(importNum == 0x006) return "DumpWriteDump";
    else if(importNum == 0x007) return "ExAcquireReadWriteLockExclusive";
    else if(importNum == 0x008) return "ExAcquireReadWriteLockShared";
    else if(importNum == 0x009) return "ExAllocatePool";
    else if(importNum == 0x00A) return "ExAllocatePoolWithTag";
    else if(importNum == 0x00B) return "ExAllocatePoolTypeWithTag";
    else if(importNum == 0x00C) return "ExConsoleGameRegion";
    else if(importNum == 0x00D) return "ExCreateThread";
    else if(importNum == 0x00E) return "ExEventObjectType";
    else if(importNum == 0x00F) return "ExFreePool";
    else if(importNum == 0x010) return "ExGetXConfigSetting";
    else if(importNum == 0x011) return "ExInitializeReadWriteLock";
    else if(importNum == 0x012) return "ExMutantObjectType";
    else if(importNum == 0x013) return "ExQueryPoolBlockSize";
    else if(importNum == 0x014) return "ExRegisterThreadNotification";
    else if(importNum == 0x015) return "ExRegisterTitleTerminateNotification";
    else if(importNum == 0x016) return "ExReleaseReadWriteLock";
    else if(importNum == 0x017) return "ExSemaphoreObjectType";
    else if(importNum == 0x018) return "ExSetXConfigSetting";
    else if(importNum == 0x019) return "ExTerminateThread";
    else if(importNum == 0x01A) return "ExTerminateTitleProcess";
    else if(importNum == 0x01B) return "ExThreadObjectType";
    else if(importNum == 0x01C) return "ExTimerObjectType";
   else if(importNum == 0x01D) return "MmDoubleMapMemory";
   else if(importNum == 0x01E) return "MmUnmapMemory";
   else if(importNum == 0x01F) return "XeKeysGetConsoleCertificate";
    else if(importNum == 0x020) return "FscGetCacheElementCount";
    else if(importNum == 0x021) return "FscSetCacheElementCount";
    else if(importNum == 0x022) return "HalGetCurrentAVPack";
    else if(importNum == 0x023) return "HalGpioControl";
    else if(importNum == 0x024) return "HalOpenCloseODDTray";
    else if(importNum == 0x025) return "HalReadWritePCISpace";
    else if(importNum == 0x026) return "HalRegisterPowerDownNotification";
    else if(importNum == 0x027) return "HalRegisterSMCNotification";
    else if(importNum == 0x028) return "HalReturnToFirmware";
    else if(importNum == 0x029) return "HalSendSMCMessage";
    else if(importNum == 0x02A) return "HalSetAudioEnable";
    else if(importNum == 0x02B) return "InterlockedFlushSList";
    else if(importNum == 0x02C) return "InterlockedPopEntrySList";
    else if(importNum == 0x02D) return "InterlockedPushEntrySList";
    else if(importNum == 0x02E) return "IoAcquireDeviceObjectLock";
    else if(importNum == 0x02F) return "IoAllocateIrp";
    else if(importNum == 0x030) return "IoBuildAsynchronousFsdRequest";
    else if(importNum == 0x031) return "IoBuildDeviceIoControlRequest";
    else if(importNum == 0x032) return "IoBuildSynchronousFsdRequest";
    else if(importNum == 0x033) return "IoCallDriver";
    else if(importNum == 0x034) return "IoCheckShareAccess";
    else if(importNum == 0x035) return "IoCompleteRequest";
    else if(importNum == 0x036) return "IoCompletionObjectType";
    else if(importNum == 0x037) return "IoCreateDevice";
    else if(importNum == 0x038) return "IoCreateFile";
    else if(importNum == 0x039) return "IoDeleteDevice";
    else if(importNum == 0x03A) return "IoDeviceObjectType";
    else if(importNum == 0x03B) return "IoDismountVolume";
    else if(importNum == 0x03C) return "IoDismountVolumeByFileHandle";
    else if(importNum == 0x03D) return "IoDismountVolumeByName";
    else if(importNum == 0x03E) return "IoFileObjectType";
    else if(importNum == 0x03F) return "IoFreeIrp";
    else if(importNum == 0x040) return "IoInitializeIrp";
    else if(importNum == 0x041) return "IoInvalidDeviceRequest";
   else if(importNum == 0x042) return "ExSetBetaFeaturesEnabled";
    else if(importNum == 0x043) return "IoQueueThreadIrp";
    else if(importNum == 0x044) return "IoReleaseDeviceObjectLock";
    else if(importNum == 0x045) return "IoRemoveShareAccess";
    else if(importNum == 0x046) return "IoSetIoCompletion";
    else if(importNum == 0x047) return "IoSetShareAccess";
    else if(importNum == 0x048) return "IoStartNextPacket";
    else if(importNum == 0x049) return "IoStartNextPacketByKey";
    else if(importNum == 0x04A) return "IoStartPacket";
    else if(importNum == 0x04B) return "IoSynchronousDeviceIoControlRequest";
    else if(importNum == 0x04C) return "IoSynchronousFsdRequest";
    else if(importNum == 0x04D) return "KeAcquireSpinLockAtRaisedIrql";
    else if(importNum == 0x04E) return "KeAlertResumeThread";
    else if(importNum == 0x04F) return "KeAlertThread";
    else if(importNum == 0x050) return "KeBlowFuses";
    else if(importNum == 0x051) return "KeBoostPriorityThread";
    else if(importNum == 0x052) return "KeBugCheck";
    else if(importNum == 0x053) return "KeBugCheckEx";
    else if(importNum == 0x054) return "KeCancelTimer";
    else if(importNum == 0x055) return "KeConnectInterrupt";
    else if(importNum == 0x056) return "KeContextFromKframes";
    else if(importNum == 0x057) return "KeContextToKframes";
    else if(importNum == 0x058) return "KeCreateUserMode";
    else if(importNum == 0x059) return "KeDebugMonitorData";
    else if(importNum == 0x05A) return "KeDelayExecutionThread";
    else if(importNum == 0x05B) return "KeDeleteUserMode";
    else if(importNum == 0x05C) return "KeDisconnectInterrupt";
    else if(importNum == 0x05D) return "KeEnableFpuExceptions";
    else if(importNum == 0x05E) return "KeEnablePPUPerformanceMonitor";
    else if(importNum == 0x05F) return "KeEnterCriticalRegion";
    else if(importNum == 0x060) return "KeEnterUserMode";
    else if(importNum == 0x061) return "KeFlushCacheRange";
    else if(importNum == 0x062) return "KeFlushCurrentEntireTb";
    else if(importNum == 0x063) return "KeFlushEntireTb";
    else if(importNum == 0x064) return "KeFlushUserModeCurrentTb";
    else if(importNum == 0x065) return "KeFlushUserModeTb";
    else if(importNum == 0x066) return "KeGetCurrentProcessType";
    else if(importNum == 0x067) return "KeGetPMWRegister";
    else if(importNum == 0x068) return "KeGetPRVRegister";
    else if(importNum == 0x069) return "KeGetSocRegister";
    else if(importNum == 0x06A) return "KeGetSpecialPurposeRegister";
    else if(importNum == 0x06B) return "KeLockL2";
    else if(importNum == 0x06C) return "KeUnlockL2";
    else if(importNum == 0x06D) return "KeInitializeApc";
    else if(importNum == 0x06E) return "KeInitializeDeviceQueue";
    else if(importNum == 0x06F) return "KeInitializeDpc";
    else if(importNum == 0x070) return "KeInitializeEvent";
    else if(importNum == 0x071) return "KeInitializeInterrupt";
    else if(importNum == 0x072) return "KeInitializeMutant";
    else if(importNum == 0x073) return "KeInitializeQueue";
    else if(importNum == 0x074) return "KeInitializeSemaphore";
    else if(importNum == 0x075) return "KeInitializeTimerEx";
    else if(importNum == 0x076) return "KeInsertByKeyDeviceQueue";
    else if(importNum == 0x077) return "KeInsertDeviceQueue";
    else if(importNum == 0x078) return "KeInsertHeadQueue";
    else if(importNum == 0x079) return "KeInsertQueue";
    else if(importNum == 0x07A) return "KeInsertQueueApc";
    else if(importNum == 0x07B) return "KeInsertQueueDpc";
    else if(importNum == 0x07C) return "KeIpiGenericCall";
    else if(importNum == 0x07D) return "KeLeaveCriticalRegion";
    else if(importNum == 0x07E) return "KeLeaveUserMode";
    else if(importNum == 0x07F) return "KePulseEvent";
    else if(importNum == 0x080) return "KeQueryBackgroundProcessors";
    else if(importNum == 0x081) return "KeQueryBasePriorityThread";
    else if(importNum == 0x082) return "KeQueryInterruptTime";
    else if(importNum == 0x083) return "KeQueryPerformanceFrequency";
    else if(importNum == 0x084) return "KeQuerySystemTime";
    else if(importNum == 0x085) return "KeRaiseIrqlToDpcLevel";
    else if(importNum == 0x086) return "KeRegisterDriverNotification";
    else if(importNum == 0x087) return "KeReleaseMutant";
    else if(importNum == 0x088) return "KeReleaseSemaphore";
    else if(importNum == 0x089) return "KeReleaseSpinLockFromRaisedIrql";
    else if(importNum == 0x08A) return "KeRemoveByKeyDeviceQueue";
    else if(importNum == 0x08B) return "KeRemoveDeviceQueue";
    else if(importNum == 0x08C) return "KeRemoveEntryDeviceQueue";
    else if(importNum == 0x08D) return "KeRemoveQueue";
    else if(importNum == 0x08E) return "KeRemoveQueueDpc";
    else if(importNum == 0x08F) return "KeResetEvent";
    else if(importNum == 0x090) return "KeRestoreFloatingPointState";
    else if(importNum == 0x091) return "KeRestoreVectorUnitState";
    else if(importNum == 0x092) return "KeResumeThread";
    else if(importNum == 0x093) return "KeRetireDpcList";
    else if(importNum == 0x094) return "KeRundownQueue";
    else if(importNum == 0x095) return "KeSaveFloatingPointState";
    else if(importNum == 0x096) return "KeSaveVectorUnitState";
    else if(importNum == 0x097) return "KeSetAffinityThread";
    else if(importNum == 0x098) return "KeSetBackgroundProcessors";
    else if(importNum == 0x099) return "KeSetBasePriorityThread";
    else if(importNum == 0x09A) return "KeSetCurrentProcessType";
    else if(importNum == 0x09B) return "KeSetCurrentStackPointers";
    else if(importNum == 0x09C) return "KeSetDisableBoostThread";
    else if(importNum == 0x09D) return "KeSetEvent";
    else if(importNum == 0x09E) return "KeSetEventBoostPriority";
    else if(importNum == 0x09F) return "KeSetPMWRegister";
    else if(importNum == 0x0A0) return "KeSetPowerMode";
    else if(importNum == 0x0A1) return "KeSetPRVRegister";
    else if(importNum == 0x0A2) return "KeSetPriorityClassThread";
    else if(importNum == 0x0A3) return "KeSetPriorityThread";
    else if(importNum == 0x0A4) return "KeSetSocRegister";
    else if(importNum == 0x0A5) return "KeSetSpecialPurposeRegister";
    else if(importNum == 0x0A6) return "KeSetTimer";
    else if(importNum == 0x0A7) return "KeSetTimerEx";
    else if(importNum == 0x0A8) return "KeStallExecutionProcessor";
    else if(importNum == 0x0A9) return "KeSuspendThread";
    else if(importNum == 0x0AA) return "KeSweepDcacheRange";
    else if(importNum == 0x0AB) return "KeSweepIcacheRange";
    else if(importNum == 0x0AC) return "KeTestAlertThread";
    else if(importNum == 0x0AD) return "KeTimeStampBundle";
    else if(importNum == 0x0AE) return "KeTryToAcquireSpinLockAtRaisedIrql";
    else if(importNum == 0x0AF) return "KeWaitForMultipleObjects";
    else if(importNum == 0x0B0) return "KeWaitForSingleObject";
    else if(importNum == 0x0B1) return "KfAcquireSpinLock";
    else if(importNum == 0x0B2) return "KfRaiseIrql";
    else if(importNum == 0x0B3) return "KfLowerIrql";
    else if(importNum == 0x0B4) return "KfReleaseSpinLock";
    else if(importNum == 0x0B5) return "KiBugCheckData";
    else if(importNum == 0x0B6) return "LDICreateDecompression";
    else if(importNum == 0x0B7) return "LDIDecompress";
    else if(importNum == 0x0B8) return "LDIDestroyDecompression";
    else if(importNum == 0x0B9) return "MmAllocatePhysicalMemory";
    else if(importNum == 0x0BA) return "MmAllocatePhysicalMemoryEx";
    else if(importNum == 0x0BB) return "MmCreateKernelStack";
    else if(importNum == 0x0BC) return "MmDeleteKernelStack";
    else if(importNum == 0x0BD) return "MmFreePhysicalMemory";
    else if(importNum == 0x0BE) return "MmGetPhysicalAddress";
    else if(importNum == 0x0BF) return "MmIsAddressValid";
    else if(importNum == 0x0C0) return "MmLockAndMapSegmentArray";
    else if(importNum == 0x0C1) return "MmLockUnlockBufferPages";
    else if(importNum == 0x0C2) return "MmMapIoSpace";
    else if(importNum == 0x0C3) return "MmPersistPhysicalMemoryAllocation";
    else if(importNum == 0x0C4) return "MmQueryAddressProtect";
    else if(importNum == 0x0C5) return "MmQueryAllocationSize";
    else if(importNum == 0x0C6) return "MmQueryStatistics";
    else if(importNum == 0x0C7) return "MmSetAddressProtect";
    else if(importNum == 0x0C8) return "MmSplitPhysicalMemoryAllocation";
    else if(importNum == 0x0C9) return "MmUnlockAndUnmapSegmentArray";
    else if(importNum == 0x0CA) return "MmUnmapIoSpace";
    else if(importNum == 0x0CB) return "Nls844UnicodeCaseTable";
    else if(importNum == 0x0CC) return "NtAllocateVirtualMemory";
    else if(importNum == 0x0CD) return "NtCancelTimer";
    else if(importNum == 0x0CE) return "NtClearEvent";
    else if(importNum == 0x0CF) return "NtClose";
    else if(importNum == 0x0D0) return "NtCreateDirectoryObject";
    else if(importNum == 0x0D1) return "NtCreateEvent";
    else if(importNum == 0x0D2) return "NtCreateFile";
    else if(importNum == 0x0D3) return "NtCreateIoCompletion";
    else if(importNum == 0x0D4) return "NtCreateMutant";
    else if(importNum == 0x0D5) return "NtCreateSemaphore";
    else if(importNum == 0x0D6) return "NtCreateSymbolicLinkObject";
    else if(importNum == 0x0D7) return "NtCreateTimer";
    else if(importNum == 0x0D8) return "NtDeleteFile";
    else if(importNum == 0x0D9) return "NtDeviceIoControlFile";
    else if(importNum == 0x0DA) return "NtDuplicateObject";
    else if(importNum == 0x0DB) return "NtFlushBuffersFile";
    else if(importNum == 0x0DC) return "NtFreeVirtualMemory";
    else if(importNum == 0x0DD) return "NtMakeTemporaryObject";
    else if(importNum == 0x0DE) return "NtOpenDirectoryObject";
    else if(importNum == 0x0DF) return "NtOpenFile";
    else if(importNum == 0x0E0) return "NtOpenSymbolicLinkObject";
    else if(importNum == 0x0E1) return "NtProtectVirtualMemory";
    else if(importNum == 0x0E2) return "NtPulseEvent";
    else if(importNum == 0x0E3) return "NtQueueApcThread";
    else if(importNum == 0x0E4) return "NtQueryDirectoryFile";
    else if(importNum == 0x0E5) return "NtQueryDirectoryObject";
    else if(importNum == 0x0E6) return "NtQueryEvent";
    else if(importNum == 0x0E7) return "NtQueryFullAttributesFile";
    else if(importNum == 0x0E8) return "NtQueryInformationFile";
    else if(importNum == 0x0E9) return "NtQueryIoCompletion";
    else if(importNum == 0x0EA) return "NtQueryMutant";
    else if(importNum == 0x0EB) return "NtQuerySemaphore";
    else if(importNum == 0x0EC) return "NtQuerySymbolicLinkObject";
    else if(importNum == 0x0ED) return "NtQueryTimer";
    else if(importNum == 0x0EE) return "NtQueryVirtualMemory";
    else if(importNum == 0x0EF) return "NtQueryVolumeInformationFile";
    else if(importNum == 0x0F0) return "NtReadFile";
    else if(importNum == 0x0F1) return "NtReadFileScatter";
    else if(importNum == 0x0F2) return "NtReleaseMutant";
    else if(importNum == 0x0F3) return "NtReleaseSemaphore";
    else if(importNum == 0x0F4) return "NtRemoveIoCompletion";
    else if(importNum == 0x0F5) return "NtResumeThread";
    else if(importNum == 0x0F6) return "NtSetEvent";
    else if(importNum == 0x0F7) return "NtSetInformationFile";
    else if(importNum == 0x0F8) return "NtSetIoCompletion";
    else if(importNum == 0x0F9) return "NtSetSystemTime";
    else if(importNum == 0x0FA) return "NtSetTimerEx";
    else if(importNum == 0x0FB) return "NtSignalAndWaitForSingleObjectEx";
    else if(importNum == 0x0FC) return "NtSuspendThread";
    else if(importNum == 0x0FD) return "NtWaitForSingleObjectEx";
    else if(importNum == 0x0FE) return "NtWaitForMultipleObjectsEx";
    else if(importNum == 0x0FF) return "NtWriteFile";
    else return form("Kernel_%03X", importNum);
}

Kernel Import 1;
static GetKernelImportName_1(importNum)
{
    if(     importNum == 0x100) return "NtWriteFileGather";
    else if(importNum == 0x101) return "NtYieldExecution";
    else if(importNum == 0x102) return "ObCreateObject";
    else if(importNum == 0x103) return "ObCreateSymbolicLink";
    else if(importNum == 0x104) return "ObDeleteSymbolicLink";
    else if(importNum == 0x105) return "ObDereferenceObject";
    else if(importNum == 0x106) return "ObDirectoryObjectType";
    else if(importNum == 0x107) return "ObGetWaitableObject";
    else if(importNum == 0x108) return "ObInsertObject";
    else if(importNum == 0x109) return "ObIsTitleObject";
    else if(importNum == 0x10A) return "ObLookupAnyThreadByThreadId";
    else if(importNum == 0x10B) return "ObLookupThreadByThreadId";
    else if(importNum == 0x10C) return "ObMakeTemporaryObject";
    else if(importNum == 0x10D) return "ObOpenObjectByName";
    else if(importNum == 0x10E) return "ObOpenObjectByPointer";
    else if(importNum == 0x10F) return "ObReferenceObject";
    else if(importNum == 0x110) return "ObReferenceObjectByHandle";
    else if(importNum == 0x111) return "ObReferenceObjectByName";
    else if(importNum == 0x112) return "ObSymbolicLinkObjectType";
    else if(importNum == 0x113) return "ObTranslateSymbolicLink";
    else if(importNum == 0x114) return "RtlAnsiStringToUnicodeString";
    else if(importNum == 0x115) return "RtlAppendStringToString";
    else if(importNum == 0x116) return "RtlAppendUnicodeStringToString";
    else if(importNum == 0x117) return "RtlAppendUnicodeToString";
    else if(importNum == 0x118) return "RtlAssert";
    else if(importNum == 0x119) return "RtlCaptureContext";
    else if(importNum == 0x11A) return "RtlCompareMemory";
    else if(importNum == 0x11B) return "RtlCompareMemoryUlong";
    else if(importNum == 0x11C) return "RtlCompareString";
    else if(importNum == 0x11D) return "RtlCompareStringN";
    else if(importNum == 0x11E) return "RtlCompareUnicodeString";
    else if(importNum == 0x11F) return "RtlCompareUnicodeStringN";
    else if(importNum == 0x120) return "RtlCompareUtf8ToUnicode";
    else if(importNum == 0x121) return "RtlCopyString";
    else if(importNum == 0x122) return "RtlCopyUnicodeString";
    else if(importNum == 0x123) return "RtlCreateUnicodeString";
    else if(importNum == 0x124) return "RtlDowncaseUnicodeChar";
    else if(importNum == 0x125) return "RtlEnterCriticalSection";
    else if(importNum == 0x126) return "RtlFillMemoryUlong";
    else if(importNum == 0x127) return "RtlFreeAnsiString";
    else if(importNum == 0x128) return "RtlFreeAnsiString";
    else if(importNum == 0x129) return "RtlGetCallersAddress";
    else if(importNum == 0x12A) return "RtlGetStackLimits";
    else if(importNum == 0x12B) return "RtlImageXexHeaderField";
    else if(importNum == 0x12C) return "RtlInitAnsiString";
    else if(importNum == 0x12D) return "RtlInitUnicodeString";
    else if(importNum == 0x12E) return "RtlInitializeCriticalSection";
    else if(importNum == 0x12F) return "RtlInitializeCriticalSectionAndSpinCount";
    else if(importNum == 0x130) return "RtlLeaveCriticalSection";
    else if(importNum == 0x131) return "RtlLookupFunctionEntry";
    else if(importNum == 0x132) return "RtlLowerChar";
    else if(importNum == 0x133) return "RtlMultiByteToUnicodeN";
    else if(importNum == 0x134) return "RtlMultiByteToUnicodeSize";
    else if(importNum == 0x135) return "RtlNtStatusToDosError";
    else if(importNum == 0x136) return "RtlRaiseException";
    else if(importNum == 0x137) return "RtlRaiseStatus";
    else if(importNum == 0x138) return "RtlRip";
    else if(importNum == 0x139) return "_scprintf";
    else if(importNum == 0x13A) return "_snprintf";
    else if(importNum == 0x13B) return "sprintf";
    else if(importNum == 0x13C) return "_scwprintf";
    else if(importNum == 0x13D) return "_snwprintf";
    else if(importNum == 0x13E) return "_swprintf";
    else if(importNum == 0x13F) return "RtlTimeFieldsToTime";
    else if(importNum == 0x140) return "RtlTimeToTimeFields";
    else if(importNum == 0x141) return "RtlTryEnterCriticalSection";
    else if(importNum == 0x142) return "RtlUnicodeStringToAnsiString";
    else if(importNum == 0x143) return "RtlUnicodeToMultiByteN";
    else if(importNum == 0x144) return "RtlUnicodeToMultiByteSize";
    else if(importNum == 0x145) return "RtlUnicodeToUtf8";
    else if(importNum == 0x146) return "RtlUnicodeToUtf8Size";
    else if(importNum == 0x147) return "RtlUnwind";
    else if(importNum == 0x148) return "RtlUnwind2";
    else if(importNum == 0x149) return "RtlUpcaseUnicodeChar";
    else if(importNum == 0x14A) return "RtlUpperChar";
    else if(importNum == 0x14B) return "RtlVirtualUnwind";
    else if(importNum == 0x14C) return "_vscprintf";
    else if(importNum == 0x14D) return "_vsnprintf";
    else if(importNum == 0x14E) return "vsprintf";
    else if(importNum == 0x14F) return "_vscwprintf";
    else if(importNum == 0x150) return "_vsnwprintf";
    else if(importNum == 0x151) return "_vswprintf";
    else if(importNum == 0x152) return "KeTlsAlloc";
    else if(importNum == 0x153) return "KeTlsFree";
    else if(importNum == 0x154) return "KeTlsGetValue";
    else if(importNum == 0x155) return "KeTlsSetValue";
    else if(importNum == 0x156) return "XboxHardwareInfo";
    else if(importNum == 0x157) return "XboxKrnlBaseVersion";
    else if(importNum == 0x158) return "XboxKrnlVersion";
    else if(importNum == 0x159) return "XeCryptAesKey";
    else if(importNum == 0x15A) return "XeCryptAesEcb";
    else if(importNum == 0x15B) return "XeCryptAesCbc";
    else if(importNum == 0x15C) return "XeCryptBnDwLeDhEqualBase";
    else if(importNum == 0x15D) return "XeCryptBnDwLeDhInvalBase";
    else if(importNum == 0x15E) return "XeCryptBnDwLeDhModExp";
    else if(importNum == 0x15F) return "XeCryptBnDw_Copy";
    else if(importNum == 0x160) return "XeCryptBnDw_SwapLeBe";
    else if(importNum == 0x161) return "XeCryptBnDw_Zero";
    else if(importNum == 0x162) return "XeCryptBnDwLePkcs1Format";
    else if(importNum == 0x163) return "XeCryptBnDwLePkcs1Verify";
    else if(importNum == 0x164) return "XeCryptBnQwBeSigCreate";
    else if(importNum == 0x165) return "XeCryptBnQwBeSigFormat";
    else if(importNum == 0x166) return "XeCryptBnQwBeSigVerify";
    else if(importNum == 0x167) return "XeCryptBnQwNeModExp";
    else if(importNum == 0x168) return "XeCryptBnQwNeModExpRoot";
    else if(importNum == 0x169) return "XeCryptBnQwNeModInv";
    else if(importNum == 0x16A) return "XeCryptBnQwNeModMul";
    else if(importNum == 0x16B) return "XeCryptBnQwNeRsaKeyGen";
    else if(importNum == 0x16C) return "XeCryptBnQwNeRsaPrvCrypt";
    else if(importNum == 0x16D) return "XeCryptBnQwNeRsaPubCrypt";
    else if(importNum == 0x16E) return "XeCryptBnQw_Copy";
    else if(importNum == 0x16F) return "XeCryptBnQw_SwapDwQw";
    else if(importNum == 0x170) return "XeCryptBnQw_SwapDwQwLeBe";
    else if(importNum == 0x171) return "XeCryptBnQw_SwapLeBe";
    else if(importNum == 0x172) return "XeCryptBnQw_Zero";
    else if(importNum == 0x173) return "XeCryptChainAndSumMac";
    else if(importNum == 0x174) return "XeCryptDesParity";
    else if(importNum == 0x175) return "XeCryptDesKey";
    else if(importNum == 0x176) return "XeCryptDesEcb";
    else if(importNum == 0x177) return "XeCryptDesCbc";
    else if(importNum == 0x178) return "XeCryptDes3Key";
    else if(importNum == 0x179) return "XeCryptDes3Ecb";
    else if(importNum == 0x17A) return "XeCryptDes3Cbc";
    else if(importNum == 0x17B) return "XeCryptHmacMd5Init";
    else if(importNum == 0x17C) return "XeCryptHmacMd5Update";
    else if(importNum == 0x17D) return "XeCryptHmacMd5Final";
    else if(importNum == 0x17E) return "XeCryptHmacMd5";
    else if(importNum == 0x17F) return "XeCryptHmacShaInit";
    else if(importNum == 0x180) return "XeCryptHmacShaUpdate";
    else if(importNum == 0x181) return "XeCryptHmacShaFinal";
    else if(importNum == 0x182) return "XeCryptHmacSha";
    else if(importNum == 0x183) return "XeCryptHmacShaVerify";
    else if(importNum == 0x184) return "XeCryptMd5Init";
    else if(importNum == 0x185) return "XeCryptMd5Update";
    else if(importNum == 0x186) return "XeCryptMd5Final";
    else if(importNum == 0x187) return "XeCryptMd5";
    else if(importNum == 0x188) return "XeCryptParveEcb";
    else if(importNum == 0x189) return "XeCryptParveCbcMac";
    else if(importNum == 0x18A) return "XeCryptRandom";
    else if(importNum == 0x18B) return "XeCryptRc4Key";
    else if(importNum == 0x18C) return "XeCryptRc4Ecb";
    else if(importNum == 0x18D) return "XeCryptRc4";
    else if(importNum == 0x18E) return "XeCryptRotSumSha";
    else if(importNum == 0x18F) return "XeCryptShaInit";
    else if(importNum == 0x190) return "XeCryptShaUpdate";
    else if(importNum == 0x191) return "XeCryptShaFinal";
    else if(importNum == 0x192) return "XeCryptSha";
    else if(importNum == 0x193) return "XexExecutableModuleHandle";
    else if(importNum == 0x194) return "XexCheckExecutablePrivilege";
    else if(importNum == 0x195) return "XexGetModuleHandle";
    else if(importNum == 0x196) return "XexGetModuleSection";
    else if(importNum == 0x197) return "XexGetProcedureAddress";
    else if(importNum == 0x198) return "XexLoadExecutable";
    else if(importNum == 0x199) return "XexLoadImage";
    else if(importNum == 0x19A) return "XexLoadImageFromMemory";
    else if(importNum == 0x19B) return "XexLoadImageHeaders";
    else if(importNum == 0x19C) return "XexPcToFileHeader";
    else if(importNum == 0x19D) return "KiApcNormalRoutineNop";
    else if(importNum == 0x19E) return "XexRegisterPatchDescriptor";
    else if(importNum == 0x19F) return "XexSendDeferredNotifications";
    else if(importNum == 0x1A0) return "XexStartExecutable";
    else if(importNum == 0x1A1) return "XexUnloadImage";
    else if(importNum == 0x1A2) return "XexUnloadImageAndExitThread";
    else if(importNum == 0x1A3) return "XexUnloadTitleModules";
    else if(importNum == 0x1A4) return "XexVerifyImageHeaders";
    else if(importNum == 0x1A5) return "__C_specific_handler";
    else if(importNum == 0x1A6) return "DbgLoadImageSymbols";
    else if(importNum == 0x1A7) return "DbgUnLoadImageSymbols";
    else if(importNum == 0x1A8) return "RtlImageDirectoryEntryToData";
    else if(importNum == 0x1A9) return "RtlImageNtHeader";
    else if(importNum == 0x1AA) return "ExDebugMonitorService";
    else if(importNum == 0x1AB) return "MmDbgReadCheck";
    else if(importNum == 0x1AC) return "MmDbgReleaseAddress";
    else if(importNum == 0x1AD) return "MmDbgWriteCheck";
    else if(importNum == 0x1AE) return "ExLoadedCommandLine";
    else if(importNum == 0x1AF) return "ExLoadedImageName";
    else if(importNum == 0x1B0) return "VdBlockUntilGUIIdle";
    else if(importNum == 0x1B1) return "VdCallGraphicsNotificationRoutines";
    else if(importNum == 0x1B2) return "VdDisplayFatalError";
    else if(importNum == 0x1B3) return "VdEnableClosedCaption";
    else if(importNum == 0x1B4) return "VdEnableDisableClockGating";
    else if(importNum == 0x1B5) return "VdEnableDisablePowerSavingMode";
    else if(importNum == 0x1B6) return "VdEnableRingBufferRPtrWriteBack";
    else if(importNum == 0x1B7) return "VdGenerateGPUCSCCoefficients";
    else if(importNum == 0x1B8) return "VdGetClosedCaptionReadyStatus";
    else if(importNum == 0x1B9) return "VdGetCurrentDisplayGamma";
    else if(importNum == 0x1BA) return "VdGetCurrentDisplayInformation";
    else if(importNum == 0x1BB) return "_VdGetDisplayModeOverride__YAKPAK0PAM0PAU_VD_DISPLAY_MODE_OVERRIDE_INFO___Z";
    else if(importNum == 0x1BC) return "VdGetGraphicsAsicID";
    else if(importNum == 0x1BD) return "VdGetSystemCommandBuffer";
    else if(importNum == 0x1BE) return "VdGlobalDevice";
    else if(importNum == 0x1BF) return "VdGlobalXamDevice";
    else if(importNum == 0x1C0) return "VdGpuClockInMHz";
    else if(importNum == 0x1C1) return "VdHSIOCalibrationLock";
    else if(importNum == 0x1C2) return "VdInitializeEngines";
    else if(importNum == 0x1C3) return "VdInitializeRingBuffer";
    else if(importNum == 0x1C4) return "VdInitializeScaler";
    else if(importNum == 0x1C5) return "VdInitializeScalerCommandBuffer";
    else if(importNum == 0x1C6) return "VdIsHSIOTrainingSucceeded";
    else if(importNum == 0x1C7) return "VdPersistDisplay";
    else if(importNum == 0x1C8) return "VdQuerySystemCommandBuffer";
    else if(importNum == 0x1C9) return "VdQueryVideoFlags";
    else if(importNum == 0x1CA) return "VdQueryVideoMode";
    else if(importNum == 0x1CB) return "VdReadDVERegisterUlong";
    else if(importNum == 0x1CC) return "VdReadWriteHSIOCalibrationFlag";
    else if(importNum == 0x1CD) return "VdRegisterGraphicsNotification";
    else if(importNum == 0x1CE) return "VdRegisterXamGraphicsNotification";
    else if(importNum == 0x1CF) return "VdSendClosedCaptionData";
    else if(importNum == 0x1D0) return "VdSetCGMSOption";
    else if(importNum == 0x1D1) return "VdSetColorProfileAdjustment";
    else if(importNum == 0x1D2) return "VdSetCscMatricesOverride";
    else if(importNum == 0x1D3) return "VdSetDisplayMode";
    else if(importNum == 0x1D4) return "VdSetDisplayModeOverride";
    else if(importNum == 0x1D5) return "VdSetGraphicsInterruptCallback";
    else if(importNum == 0x1D6) return "_VdSetHDCPOption__YAKK_Z";
    else if(importNum == 0x1D7) return "VdSetMacrovisionOption";
    else if(importNum == 0x1D8) return "VdSetSystemCommandBuffer";
    else if(importNum == 0x1D9) return "VdSetSystemCommandBufferGpuIdentifierAddress";
    else if(importNum == 0x1DA) return "VdSetWSSData";
    else if(importNum == 0x1DB) return "VdSetWSSOption";
    else if(importNum == 0x1DC) return "VdShutdownEngines";
    else if(importNum == 0x1DD) return "VdTurnDisplayOff";
    else if(importNum == 0x1DE) return "VdTurnDisplayOn";
    else if(importNum == 0x1DF) return "KeSetProfilerISR";
    else if(importNum == 0x1E0) return "VdWriteDVERegisterUlong";
    else if(importNum == 0x1E1) return "XVoicedHeadsetPresent";
    else if(importNum == 0x1E2) return "XVoicedSubmitPacket";
    else if(importNum == 0x1E3) return "XVoicedClose";
    else if(importNum == 0x1E4) return "XVoicedActivate";
    else if(importNum == 0x1E5) return "XInputdGetCapabilities";
    else if(importNum == 0x1E6) return "XInputdReadState";
    else if(importNum == 0x1E7) return "XInputdWriteState";
    else if(importNum == 0x1E8) return "XInputdNotify";
    else if(importNum == 0x1E9) return "XInputdRawState";
    else if(importNum == 0x1EA) return "HidGetCapabilities";
    else if(importNum == 0x1EB) return "HidReadKeys";
    else if(importNum == 0x1EC) return "XInputdGetDeviceStats";
    else if(importNum == 0x1ED) return "XInputdResetDevice";
    else if(importNum == 0x1EE) return "XInputdSetRingOfLight";
    else if(importNum == 0x1EF) return "XInputdSetRFPowerMode";
    else if(importNum == 0x1F0) return "XInputdSetRadioFrequency";
    else if(importNum == 0x1F1) return "HidGetLastInputTime";
    else if(importNum == 0x1F2) return "XAudioRenderDriverInitialize";
    else if(importNum == 0x1F3) return "XAudioRegisterRenderDriverClient";
    else if(importNum == 0x1F4) return "XAudioUnregisterRenderDriverClient";
    else if(importNum == 0x1F5) return "XAudioSubmitRenderDriverFrame";
    else if(importNum == 0x1F6) return "XAudioRenderDriverLock";
    else if(importNum == 0x1F7) return "XAudioGetVoiceCategoryVolumeChangeMask";
    else if(importNum == 0x1F8) return "XAudioGetVoiceCategoryVolume";
    else if(importNum == 0x1F9) return "XAudioSetVoiceCategoryVolume";
    else if(importNum == 0x1FA) return "XAudioBeginDigitalBypassMode";
    else if(importNum == 0x1FB) return "XAudioEndDigitalBypassMode";
    else if(importNum == 0x1FC) return "XAudioSubmitDigitalPacket";
    else if(importNum == 0x1FD) return "XAudioQueryDriverPerformance";
    else if(importNum == 0x1FE) return "XAudioGetRenderDriverThread";
    else if(importNum == 0x1FF) return "XAudioGetSpeakerConfig";
    else return form("Kernel_%03X", importNum);
}

Kernel Import 2;
static GetKernelImportName_2(importNum)
{
    if(     importNum == 0x200) return "XAudioSetSpeakerConfig";
    else if(importNum == 0x201) return "NicSetUnicastAddress";
    else if(importNum == 0x202) return "NicAttach";
    else if(importNum == 0x203) return "NicDetach";
    else if(importNum == 0x204) return "NicXmit";
    else if(importNum == 0x205) return "NicUpdateMcastMembership";
    else if(importNum == 0x206) return "NicFlushXmitQueue";
    else if(importNum == 0x207) return "NicShutdown";
    else if(importNum == 0x208) return "NicGetLinkState";
    else if(importNum == 0x209) return "NicGetStats";
    else if(importNum == 0x20A) return "NicGetOpt";
    else if(importNum == 0x20B) return "NicSetOpt";
    else if(importNum == 0x20C) return "DrvSetSysReqCallback";
    else if(importNum == 0x20D) return "DrvSetUserBindingCallback";
    else if(importNum == 0x20E) return "DrvSetContentStorageCallback";
    else if(importNum == 0x20F) return "DrvSetAutobind";
    else if(importNum == 0x210) return "DrvGetContentStorageNotification";
    else if(importNum == 0x211) return "MtpdBeginTransaction";
    else if(importNum == 0x212) return "MtpdCancelTransaction";
    else if(importNum == 0x213) return "MtpdEndTransaction";
    else if(importNum == 0x214) return "MtpdGetCurrentDevices";
    else if(importNum == 0x215) return "MtpdReadData";
    else if(importNum == 0x216) return "MtpdReadEvent";
    else if(importNum == 0x217) return "MtpdResetDevice";
    else if(importNum == 0x218) return "MtpdSendData";
    else if(importNum == 0x219) return "MtpdVerifyProximity";
    else if(importNum == 0x21A) return "XUsbcamSetCaptureMode";
    else if(importNum == 0x21B) return "XUsbcamGetConfig";
    else if(importNum == 0x21C) return "XUsbcamSetConfig";
    else if(importNum == 0x21D) return "XUsbcamGetState";
    else if(importNum == 0x21E) return "XUsbcamReadFrame";
    else if(importNum == 0x21F) return "XUsbcamSnapshot";
    else if(importNum == 0x220) return "XUsbcamSetView";
    else if(importNum == 0x221) return "XUsbcamGetView";
    else if(importNum == 0x222) return "XUsbcamCreate";
    else if(importNum == 0x223) return "XUsbcamDestroy";
    else if(importNum == 0x224) return "XMACreateContext";
    else if(importNum == 0x225) return "XMAInitializeContext";
    else if(importNum == 0x226) return "XMAReleaseContext";
    else if(importNum == 0x227) return "XMAEnableContext";
    else if(importNum == 0x228) return "XMADisableContext";
    else if(importNum == 0x229) return "XMAGetOutputBufferWriteOffset";
    else if(importNum == 0x22A) return "XMASetOutputBufferReadOffset";
    else if(importNum == 0x22B) return "XMAGetOutputBufferReadOffset";
    else if(importNum == 0x22C) return "XMASetOutputBufferValid";
    else if(importNum == 0x22D) return "XMAIsOutputBufferValid";
    else if(importNum == 0x22E) return "XMASetInputBuffer0Valid";
    else if(importNum == 0x22F) return "XMAIsInputBuffer0Valid";
    else if(importNum == 0x230) return "XMASetInputBuffer1Valid";
    else if(importNum == 0x231) return "XMAIsInputBuffer1Valid";
    else if(importNum == 0x232) return "XMASetInputBuffer0";
    else if(importNum == 0x233) return "XMASetInputBuffer1";
    else if(importNum == 0x234) return "XMAGetPacketMetadata";
    else if(importNum == 0x235) return "XMABlockWhileInUse";
    else if(importNum == 0x236) return "XMASetLoopData";
    else if(importNum == 0x237) return "XMASetInputBufferReadOffset";
    else if(importNum == 0x238) return "XMAGetInputBufferReadOffset";
   else if(importNum == 0x239) return "ExIsBetaFeatureEnabled";
    else if(importNum == 0x23A) return "XeKeysGetFactoryChallenge";
    else if(importNum == 0x23B) return "XeKeysSetFactoryResponse";
    else if(importNum == 0x23C) return "XeKeysInitializeFuses";
    else if(importNum == 0x23D) return "XeKeysSaveBootLoader";
    else if(importNum == 0x23E) return "XeKeysSaveKeyVault";
    else if(importNum == 0x23F) return "XeKeysGetStatus";
    else if(importNum == 0x240) return "XeKeysGeneratePrivateKey";
    else if(importNum == 0x241) return "XeKeysGetKeyProperties";
    else if(importNum == 0x242) return "XeKeysSetKey";
    else if(importNum == 0x243) return "XeKeysGenerateRandomKey";
    else if(importNum == 0x244) return "XeKeysGetKey";
    else if(importNum == 0x245) return "XeKeysGetDigest";
    else if(importNum == 0x246) return "XeKeysGetConsoleID";
    else if(importNum == 0x247) return "XeKeysGetConsoleType";
    else if(importNum == 0x248) return "XeKeysQwNeRsaPrvCrypt";
    else if(importNum == 0x249) return "XeKeysHmacSha";
    else if(importNum == 0x24B) return "XeKeysAesCbc";
    else if(importNum == 0x24C) return "XeKeysDes2Cbc";
    else if(importNum == 0x24D) return "XeKeysDesCbc";
    else if(importNum == 0x24E) return "XeKeysObscureKey";
    else if(importNum == 0x24F) return "XeKeysHmacShaUsingKey";
    else if(importNum == 0x251) return "XeKeysAesCbcUsingKey";
    else if(importNum == 0x252) return "XeKeysDes2CbcUsingKey";
    else if(importNum == 0x253) return "XeKeysDesCbcUsingKey";
    else if(importNum == 0x254) return "XeKeysObfuscate";
    else if(importNum == 0x255) return "XeKeysUnObfuscate";
    else if(importNum == 0x256) return "XeKeysConsolePrivateKeySign";
    else if(importNum == 0x257) return "XeKeysConsoleSignatureVerification";
    else if(importNum == 0x258) return "XeKeysVerifyRSASignature";
    else if(importNum == 0x259) return "StfsCreateDevice";
    else if(importNum == 0x25A) return "StfsControlDevice";
    else if(importNum == 0x25B) return "VdSwap";
    else if(importNum == 0x25C) return "HalFsbInterruptCount";
    else if(importNum == 0x25D) return "XeKeysSaveSystemUpdate";
    else if(importNum == 0x25E) return "XeKeysLockSystemUpdate";
    else if(importNum == 0x25F) return "XeKeysExecute";
    else if(importNum == 0x260) return "XeKeysGetVersions";
    else if(importNum == 0x261) return "XInputdPowerDownDevice";
    else if(importNum == 0x262) return "AniBlockOnAnimation";
    else if(importNum == 0x263) return "AniTerminateAnimation";
    else if(importNum == 0x264) return "XUsbcamReset";
    else if(importNum == 0x265) return "AniSetLogo";
    else if(importNum == 0x266) return "KeCertMonitorData";
    else if(importNum == 0x267) return "HalIsExecutingPowerDownDpc";
    else if(importNum == 0x268) return "VdInitializeEDRAM";
    else if(importNum == 0x269) return "VdRetrainEDRAM";
    else if(importNum == 0x26A) return "VdRetrainEDRAMWorker";
    else if(importNum == 0x26B) return "VdHSIOTrainCount";
    else if(importNum == 0x26C) return "HalGetPowerUpCause";
    else if(importNum == 0x26D) return "VdHSIOTrainingStatus";
    else if(importNum == 0x26E) return "RgcMonitorReportBuffersEnd";
    else if(importNum == 0x26F) return "VdReadEEDIDBlock";
    else if(importNum == 0x270) return "VdEnumerateVideoModes";
    else if(importNum == 0x271) return "VdEnableHDCP";
    else if(importNum == 0x272) return "VdRegisterHDCPNotification";
    else if(importNum == 0x273) return "HidReadMouseChanges";
    else if(importNum == 0x274) return "DumpSetCollectionFacility";
    else if(importNum == 0x275) return "XexTransformImageKey";
    else if(importNum == 0x276) return "XAudioOverrideSpeakerConfig";
    else if(importNum == 0x277) return "XInputdReadTextKeystroke";
    else if(importNum == 0x278) return "DrvXenonButtonPressed";
    else if(importNum == 0x279) return "DrvBindToUser";
    else if(importNum == 0x27A) return "XexGetModuleImportVersions";
    else if(importNum == 0x27B) return "RtlComputeCrc32";
    else if(importNum == 0x27C) return "XeKeysSetRevocationList";
    else if(importNum == 0x27D) return "HalRegisterPowerDownCallback";
    else if(importNum == 0x27E) return "VdGetDisplayDiscoveryData";
    else if(importNum == 0x27F) return "XInputdSendStayAliveRequest";
    else if(importNum == 0x280) return "XVoicedSendVPort";
    else if(importNum == 0x281) return "XVoicedGetBatteryStatus";
    else if(importNum == 0x282) return "XInputdFFGetDeviceInfo";
    else if(importNum == 0x283) return "XInputdFFSetEffect";
    else if(importNum == 0x284) return "XInputdFFUpdateEffect";
    else if(importNum == 0x285) return "XInputdFFEffectOperation";
    else if(importNum == 0x286) return "XInputdFFDeviceControl";
    else if(importNum == 0x287) return "XInputdFFSetDeviceGain";
    else if(importNum == 0x288) return "XInputdFFCancelIo";
    else if(importNum == 0x289) return "XInputdFFSetRumble";
    else if(importNum == 0x28A) return "NtAllocateEncryptedMemory";
    else if(importNum == 0x28B) return "NtFreeEncryptedMemory";
    else if(importNum == 0x28C) return "XeKeysExSaveKeyVault";
    else if(importNum == 0x28D) return "XeKeysExSetKey";
    else if(importNum == 0x28E) return "XeKeysExGetKey";
    else if(importNum == 0x28F) return "DrvSetDeviceConfigChangeCallback";
    else if(importNum == 0x290) return "DrvDeviceConfigChange";
    else if(importNum == 0x291) return "HalRegisterHdDvdRomNotification";
    else if(importNum == 0x292) return "XeKeysSecurityInitialize";
    else if(importNum == 0x293) return "XeKeysSecurityLoadSettings";
    else if(importNum == 0x294) return "XeKeysSecuritySaveSettings";
    else if(importNum == 0x295) return "XeKeysSecuritySetDetected";
    else if(importNum == 0x296) return "XeKeysSecurityGetDetected";
    else if(importNum == 0x297) return "XeKeysSecuritySetActivated";
    else if(importNum == 0x298) return "XeKeysSecurityGetActivated";
    else if(importNum == 0x299) return "XeKeysDvdAuthAP25InstallTable";
    else if(importNum == 0x29A) return "XeKeysDvdAuthAP25GetTableVersion";
    else if(importNum == 0x29B) return "XeKeysGetProtectedFlag";
    else if(importNum == 0x29C) return "XeKeysSetProtectedFlag";
    else if(importNum == 0x29D) return "KeEnablePFMInterrupt";
    else if(importNum == 0x29E) return "KeDisablePFMInterrupt";
    else if(importNum == 0x29F) return "KeSetProfilerISR";
    else if(importNum == 0x2A0) return "VdStartDisplayDiscovery";
    else if(importNum == 0x2A1) return "VdSetHDCPRevocationList";
    else if(importNum == 0x2A2) return "XeKeysGetUpdateSequence";
    else if(importNum == 0x2A3) return "XeKeysDvdAuthAP25GetChallengeHistory";
    else if(importNum == 0x2A4) return "KeGetImagePageTableEntry";
    else if(importNum == 0x2A5) return "HalRegisterBackgroundModeTransitionCallback";
    else if(importNum == 0x2A6) return "AniStartBootAnimation";
    else if(importNum == 0x2A7) return "HalClampUnclampOutputDACs";
    else if(importNum == 0x2A8) return "HalPowerDownToBackgroundMode";
    else if(importNum == 0x2A9) return "HalNotifyAddRemoveBackgroundTask";
    else if(importNum == 0x2AA) return "HalCallBackgroundModeNotificationRoutines";
    else if(importNum == 0x2AB) return "HalFsbResetCount";
    else if(importNum == 0x2AD) return "XInputdGetLastTextInputTime";
    else if(importNum == 0x2AE) return "VdEnableWMAProOverHDMI";
    else if(importNum == 0x2AF) return "XeKeysRevokeSaveSettings";
    else if(importNum == 0x2B0) return "XInputdSetTextMessengerIndicator";
    else if(importNum == 0x2B1) return "MicDeviceRequest";
    else if(importNum == 0x2B2) return "XeKeysGetMediaID";
    else if(importNum == 0x2B3) return "XeKeysLoadKeyVault";
    else if(importNum == 0x2B4) return "KeGetVidInfo";
    else if(importNum == 0x2B5) return "HalNotifyBackgroundModeTransitionComplete";
    else if(importNum == 0x2B6) return "IoAcquireCancelSpinLock";
    else if(importNum == 0x2B7) return "IoReleaseCancelSpinLock";
    else if(importNum == 0x2B8) return "NtCancelIoFile";
    else if(importNum == 0x2B9) return "NtCancelIoFileEx";
    else if(importNum == 0x2BA) return "HalFinalizePowerLossRecovery";
    else if(importNum == 0x2BB) return "HalSetPowerLossRecovery";
    else if(importNum == 0x2BC) return "ExReadModifyWriteXConfigSettingUlong";
    else if(importNum == 0x2BD) return "HalRegisterXamPowerDownCallback";
    else if(importNum == 0x2BE) return "ExCancelAlarm";
    else if(importNum == 0x2BF) return "ExInitializeAlarm";
    else if(importNum == 0x2C0) return "ExSetAlarm";
    else if(importNum == 0x2C1) return "XexActivationGetNonce";
    else if(importNum == 0x2C2) return "XexActivationSetLicense";
    else if(importNum == 0x2C3) return "IptvSetBoundaryKey";
    else if(importNum == 0x2C4) return "IptvSetSessionKey";
    else if(importNum == 0x2C5) return "IptvVerifyOmac1Signature";
    else if(importNum == 0x2C6) return "IptvGetAesCtrTransform";
    else if(importNum == 0x2C7) return "SataCdRomRecordReset";
    else if(importNum == 0x2C8) return "XInputdSetTextDeviceKeyLocks";
    else if(importNum == 0x2C9) return "XInputdGetTextDeviceKeyLocks";
    else if(importNum == 0x2CA) return "XexActivationVerifyOwnership";
    else if(importNum == 0x2CB) return "XexDisableVerboseDbgPrint";
    else if(importNum == 0x2CC) return "SvodCreateDevice";
    else if(importNum == 0x2CD) return "RtlCaptureStackBackTrace";
    else if(importNum == 0x2CE) return "XeKeysRevokeUpdateDynamic";
   else if(importNum == 0x2CF) return "XexImportTraceEnable";
   
   else if(importNum == 0x2D1) return "XeKeysSecuritySetStat";
   else if(importNum == 0x2D2) return "VdQueryRealVideoMode";
   else if(importNum == 0x2D3) return "XexSetExecutablePrivilege";
   else if(importNum == 0x2D4) return "XAudioSuspendRenderDriverClients";
   else if(importNum == 0x2D5) return "IptvGetSessionKeyHash";
   else if(importNum == 0x2D6) return "VdSetCGMSState";
   else if(importNum == 0x2D7) return "VdSetSCMSState";
   else if(importNum == 0x2D8) return "KeFlushMultipleTb";
   else if(importNum == 0x2D9) return "VdGetOption";
   else if(importNum == 0x2DA) return "VdSetOption";
   else if(importNum == 0x2DB) return "UsbdBootEnumerationDoneEvent";
   else if(importNum == 0x2DC) return "StfsDeviceErrorEvent";
   else if(importNum == 0x2DD) return "ExTryToAcquireReadWriteLockExclusive";
   else if(importNum == 0x2DE) return "ExTryToAcquireReadWriteLockShared";
   else if(importNum == 0x2DF) return "XexSetLastKdcTime";
   else if(importNum == 0x2E0) return "XInputdControl";
   else if(importNum == 0x2E1) return "RmcDeviceRequest";
   else if(importNum == 0x2E2) return "LDIResetDecompression";
    else return form("Kernel_%03X", importNum);
}

Connect X Import;
static GetConnectXImportName_0(importNum)
{
    if(     importNum == 0x001) return "CxGetVersion";
    else if(importNum == 0x002) return "NbtNetbios";
    else if(importNum == 0x003) return "SmbCloseHandle";
    else if(importNum == 0x004) return "SmbCreateDirectoryW";
    else if(importNum == 0x005) return "SmbCreateFileW";
    else if(importNum == 0x006) return "SmbDeleteFileW";
    else if(importNum == 0x007) return "SmbFindClose";
    else if(importNum == 0x008) return "SmbFindFirstFileW";
    else if(importNum == 0x009) return "SmbFindNextFile";
    else if(importNum == 0x00A) return "SmbFlushFileBuffers";
    else if(importNum == 0x00B) return "SmbGetDiskFreeSpaceW";
    else if(importNum == 0x00C) return "SmbGetFileAttributesW";
    else if(importNum == 0x00D) return "SmbGetFileInformationByHandle";
    else if(importNum == 0x00E) return "SmbGetFileSize";
    else if(importNum == 0x00F) return "SmbGetFileTime";
    else if(importNum == 0x010) return "SmbMoveFileW";
    else if(importNum == 0x011) return "SmbReadFile";
    else if(importNum == 0x012) return "SmbRemoveDirectoryW";
    else if(importNum == 0x013) return "SmbSetEndOfFile";
    else if(importNum == 0x014) return "SmbSetFileAttributesW";
    else if(importNum == 0x015) return "SmbSetFilePointer";
    else if(importNum == 0x016) return "SmbSetFileTime";
    else if(importNum == 0x017) return "SmbStartup";
    else if(importNum == 0x018) return "SmbWriteFile";
    else return form("ConnectX_%03X", importNum);
}

Create Profile Import;
static GetCreateProfileImportName_0(importNum)
{
    if(     importNum == 0x001) return "CreateProfile_Register";
    else if(importNum == 0x002) return "CreateProfile_Unregister";
    else return form("CreateProfile_%03X", importNum);
}

Hud Import;
static GetHudImportName_0(importNum)
{
    return form("Hud_%03X", importNum);
}

Signin Import
static GetSigninImportName_0(importNum)
{
    return form("Signin_%03X", importNum);
}

VK Import;
static GetVKImportName_0(importNum)
{
    if(     importNum == 0x001) return "_RegisterXuiClasses_CVKApp__EAAJXZ";
    else if(importNum == 0x002) return "_VK_UnInit__YAXXZ";
    else if(importNum == 0x003) return "_VK_CreateScene__YAJPAU_XVIRTUALKBDUI_PARAMS__PAPAU_XUIOBJ___Z";
    else if(importNum == 0x004) return "_VK_GetUserCancelled__YAHPAU_XUIOBJ___Z";
    else return form("VK_%03X", importNum);
}

Voicemail Import;
static GetVoicemailImportName_0(importNum)
{
    return form("Voicemail_%03X", importNum);
}

Xam Import 0
static GetXamdImportName_0(importNum)
{
    if(     importNum == 0x001) return "NetDll_WSAStartup";
    else if(importNum == 0x002) return "NetDll_WSACleanup";
    else if(importNum == 0x003) return "NetDll_socket";
    else if(importNum == 0x004) return "NetDll_closesocket";
    else if(importNum == 0x005) return "NetDll_shutdown";
    else if(importNum == 0x006) return "NetDll_ioctlsocket";
    else if(importNum == 0x007) return "NetDll_setsockopt";
    else if(importNum == 0x008) return "NetDll_getsockopt";
    else if(importNum == 0x009) return "NetDll_getsockname";
    else if(importNum == 0x00A) return "NetDll_getpeername";
    else if(importNum == 0x00B) return "NetDll_bind";
    else if(importNum == 0x00C) return "NetDll_connect";
    else if(importNum == 0x00D) return "NetDll_listen";
    else if(importNum == 0x00E) return "NetDll_accept";
    else if(importNum == 0x00F) return "NetDll_select";
    else if(importNum == 0x010) return "NetDll_WSAGetOverlappedResult";
    else if(importNum == 0x011) return "NetDll_WSACancelOverlappedIO";
    else if(importNum == 0x012) return "NetDll_recv";
    else if(importNum == 0x013) return "NetDll_WSARecv";
    else if(importNum == 0x014) return "NetDll_recvfrom";
    else if(importNum == 0x015) return "NetDll_WSARecvFrom";
    else if(importNum == 0x016) return "NetDll_send";
    else if(importNum == 0x017) return "NetDll_WSASend";
    else if(importNum == 0x018) return "NetDll_sendto";
    else if(importNum == 0x019) return "NetDll_WSASendTo";
    else if(importNum == 0x01A) return "NetDll_inet_addr";
    else if(importNum == 0x01B) return "NetDll_WSAGetLastError";
    else if(importNum == 0x01C) return "NetDll_WSASetLastError";
    else if(importNum == 0x01D) return "NetDll_WSACreateEvent";
    else if(importNum == 0x01E) return "NetDll_WSACloseEvent";
    else if(importNum == 0x01F) return "NetDll_WSASetEvent";
    else if(importNum == 0x020) return "NetDll_WSAResetEvent";
    else if(importNum == 0x021) return "NetDll_WSAWaitForMultipleEvents";
    else if(importNum == 0x022) return "NetDll___WSAFDIsSet";
    else if(importNum == 0x023) return "NetDll_WSAEventSelect";
    else if(importNum == 0x024) return "NetDll_WSAStartupEx";
    else if(importNum == 0x033) return "NetDll_XNetStartup";
    else if(importNum == 0x034) return "NetDll_XNetCleanup";
    else if(importNum == 0x035) return "NetDll_XNetRandom";
    else if(importNum == 0x036) return "NetDll_XNetCreateKey";
    else if(importNum == 0x037) return "NetDll_XNetRegisterKey";
    else if(importNum == 0x038) return "NetDll_XNetUnregisterKey";
    else if(importNum == 0x039) return "NetDll_XNetXnAddrToInAddr";
    else if(importNum == 0x03A) return "NetDll_XNetServerToInAddr";
    else if(importNum == 0x03B) return "NetDll_XNetTsAddrToInAddr";
    else if(importNum == 0x03C) return "NetDll_XNetInAddrToXnAddr";
    else if(importNum == 0x03D) return "NetDll_XNetInAddrToServer";
    else if(importNum == 0x03E) return "NetDll_XNetInAddrToString";
    else if(importNum == 0x03F) return "NetDll_XNetUnregisterInAddr";
    else if(importNum == 0x040) return "NetDll_XNetXnAddrToMachineId";
    else if(importNum == 0x041) return "NetDll_XNetConnect";
    else if(importNum == 0x042) return "NetDll_XNetGetConnectStatus";
    else if(importNum == 0x043) return "NetDll_XNetDnsLookup";
    else if(importNum == 0x044) return "NetDll_XNetDnsRelease";
    else if(importNum == 0x045) return "NetDll_XNetQosListen";
    else if(importNum == 0x046) return "NetDll_XNetQosLookup";
    else if(importNum == 0x047) return "NetDll_XNetQosServiceLookup";
    else if(importNum == 0x048) return "NetDll_XNetQosRelease";
    else if(importNum == 0x049) return "NetDll_XNetGetTitleXnAddr";
    else if(importNum == 0x04A) return "NetDll_XNetGetDebugXnAddr";
    else if(importNum == 0x04B) return "NetDll_XNetGetEthernetLinkStatus";
    else if(importNum == 0x04C) return "NetDll_XNetGetBroadcastVersionStatus";
    else if(importNum == 0x04D) return "NetDll_XNetQosGetListenStats";
    else if(importNum == 0x04E) return "NetDll_XNetGetOpt";
    else if(importNum == 0x04F) return "NetDll_XNetSetOpt";
    else if(importNum == 0x050) return "NetDll_XNetStartupEx";
    else if(importNum == 0x051) return "NetDll_XNetReplaceKey";
    else if(importNum == 0x052) return "NetDll_XNetGetXnAddrPlatform";
    else if(importNum == 0x053) return "NetDll_XNetGetSystemLinkPort";
    else if(importNum == 0x054) return "NetDll_XNetSetSystemLinkPort";
    else if(importNum == 0x065) return "NetDll_XnpLoadConfigParams";
    else if(importNum == 0x066) return "NetDll_XnpSaveConfigParams";
    else if(importNum == 0x067) return "NetDll_XnpConfigUPnP";
    else if(importNum == 0x068) return "NetDll_XnpConfig";
    else if(importNum == 0x069) return "NetDll_XnpGetConfigStatus";
    else if(importNum == 0x06A) return "NetDll_XnpLoadMachineAccount";
    else if(importNum == 0x06B) return "NetDll_XnpSaveMachineAccount";
    else if(importNum == 0x06C) return "NetDll_XnpCapture";
    else if(importNum == 0x06D) return "NetDll_XnpEthernetInterceptSetCallbacks";
    else if(importNum == 0x06E) return "NetDll_XnpEthernetInterceptXmit";
    else if(importNum == 0x06F) return "NetDll_XnpEthernetInterceptRecv";
    else if(importNum == 0x070) return "NetDll_XnpLogonGetStatus";
    else if(importNum == 0x071) return "NetDll_XnpLogonGetQFlags";
    else if(importNum == 0x072) return "NetDll_XnpLogonSetQFlags";
    else if(importNum == 0x073) return "NetDll_XnpLogonSetQEvent";
    else if(importNum == 0x074) return "NetDll_XnpLogonClearQEvent";
    else if(importNum == 0x075) return "NetDll_XnpLogonGetQVals";
    else if(importNum == 0x076) return "NetDll_XnpLogonSetQVals";
    else if(importNum == 0x077) return "NetDll_XnpLogonSetPState";
    else if(importNum == 0x078) return "NetDll_XnpGetVlanXboxName";
    else if(importNum == 0x079) return "NetDll_XnpSetVlanXboxName";
    else if(importNum == 0x07A) return "NetDll_XnpGetActiveSocketList";
    else if(importNum == 0x07B) return "NetDll_XnpNoteSystemTime";
    else if(importNum == 0x07C) return "NetDll_XnpRegisterKeyForCallerType";
    else if(importNum == 0x07D) return "NetDll_XnpUnregisterKeyForCallerType";
    else if(importNum == 0x07E) return "NetDll_XnpLogonGetChallenge";
    else if(importNum == 0x07F) return "NetDll_XnpLogonClearChallenge";
    else if(importNum == 0x080) return "NetDll_XnpLogonSetChallengeResponse";
    else if(importNum == 0x081) return "NetDll_XnpGetSecAssocList";
    else if(importNum == 0x082) return "NetDll_XnpGetKeyList";
    else if(importNum == 0x083) return "NetDll_XnpGetQosLookupList";
    else if(importNum == 0x084) return "NetDll_XnpPersistTitleState";
    else if(importNum == 0x085) return "NetDll_XnpReplaceKeyForCallerType";
    else if(importNum == 0x086) return "NetDll_XnpEthernetInterceptSetExtendedReceiveCallback";
    else if(importNum == 0x087) return "NetDll_XnpQosHistoryLoad";
    else if(importNum == 0x088) return "NetDll_XnpQosHistorySaveMeasurements";
    else if(importNum == 0x089) return "NetDll_XnpQosHistoryGetEntries";
    else if(importNum == 0x08A) return "NetDll_XnpQosHistoryGetAggregateMeasurement";
    else if(importNum == 0x097) return "NetDll_XmlDownloadStart";
    else if(importNum == 0x098) return "NetDll_XmlDownloadContinue";
    else if(importNum == 0x099) return "NetDll_XmlDownloadStop";
    else if(importNum == 0x0C6) return "XnpGetXwppMemoryLogSnapshot";
    else if(importNum == 0x0C7) return "XnpGetXwppRuntimeFilter";
    else if(importNum == 0x0C9) return "NetDll_XHttpStartup";
    else if(importNum == 0x0CA) return "NetDll_XHttpShutdown";
    else if(importNum == 0x0CB) return "NetDll_XHttpOpen";
    else if(importNum == 0x0CC) return "NetDll_XHttpCloseHandle";
    else if(importNum == 0x0CD) return "NetDll_XHttpConnect";
    else if(importNum == 0x0CE) return "NetDll_XHttpSetStatusCallback";
    else if(importNum == 0x0CF) return "NetDll_XHttpOpenRequest";
    else if(importNum == 0x0D0) return "NetDll_XHttpOpenRequestUsingMemory";
    else if(importNum == 0x0D1) return "NetDll_XHttpSendRequest";
    else if(importNum == 0x0D2) return "NetDll_XHttpReceiveResponse";
    else if(importNum == 0x0D3) return "NetDll_XHttpQueryHeaders";
    else if(importNum == 0x0D4) return "NetDll_XHttpReadData";
    else if(importNum == 0x0D5) return "NetDll_XHttpWriteData";
    else if(importNum == 0x0D6) return "NetDll_XHttpQueryOption";
    else if(importNum == 0x0D7) return "NetDll_XHttpSetOption";
    else if(importNum == 0x0D8) return "NetDll_XHttpDoWork";
    else if(importNum == 0x0D9) return "NetDll_XHttpSetCredentials";
    else if(importNum == 0x0DA) return "NetDll_XHttpQueryAuthSchemes";
    else if(importNum == 0x0FB) return "NetDll_UpnpStartup";
    else if(importNum == 0x0FC) return "NetDll_UpnpCleanup";
    else if(importNum == 0x0FD) return "NetDll_UpnpSearchCreate";
    else if(importNum == 0x0FE) return "NetDll_UpnpSearchGetDevices";
    else if(importNum == 0x0FF) return "NetDll_UpnpDescribeCreate";
    else return form("Xamd_%03X", importNum);
}

Xam Import 1;
static GetXamdImportName_1(importNum)
{
    if(     importNum == 0x100) return "NetDll_UpnpDescribeGetResults";
    else if(importNum == 0x101) return "NetDll_UpnpActionCalculateWorkBufferSize";
    else if(importNum == 0x102) return "NetDll_UpnpActionCreate";
    else if(importNum == 0x103) return "NetDll_UpnpActionGetResults";
    else if(importNum == 0x104) return "NetDll_UpnpEventCreate";
    else if(importNum == 0x105) return "NetDll_UpnpEventGetCurrentState";
    else if(importNum == 0x106) return "NetDll_UpnpEventUnsubscribe";
    else if(importNum == 0x107) return "NetDll_UpnpDoWork";
    else if(importNum == 0x108) return "NetDll_UpnpCloseHandle";
    else if(importNum == 0x12D) return "XNetLogonGetLoggedOnUsers";
    else if(importNum == 0x12E) return "XNetLogonGetNatType";
    else if(importNum == 0x12F) return "XNetLogonTaskStart";
    else if(importNum == 0x130) return "XNetLogonTaskClose";
    else if(importNum == 0x131) return "XNetLogonTaskContinue";
    else if(importNum == 0x132) return "XNetLogonGetServiceInfo";
    else if(importNum == 0x133) return "XNetLogonGetUserPrivileges";
    else if(importNum == 0x134) return "XNetLogonSetConsoleCertificate";
    else if(importNum == 0x135) return "XNetLogonGetMachineID";
    else if(importNum == 0x136) return "XNetLogonGetTitleID";
    else if(importNum == 0x137) return "XNetLogonGetTitleVersion";
    else if(importNum == 0x138) return "XNetLogonGetServiceNetworkID";
    else if(importNum == 0x139) return "XNetLogonGetDnsString";
    else if(importNum == 0x13A) return "XNetLogonSetTitleID";
    else if(importNum == 0x13B) return "XNetLogonGetExtendedStatus";
    else if(importNum == 0x13C) return "XNetLogonClearTicketCaches";
    else if(importNum == 0x13D) return "XNetLogonInitOverrideInfo";
    else if(importNum == 0x190) return "XamInputGetCapabilities";
    else if(importNum == 0x191) return "XamInputGetState";
    else if(importNum == 0x192) return "XamInputSetState";
    else if(importNum == 0x193) return "XamInputGetKeystroke";
    else if(importNum == 0x194) return "XamInputEnableAutobind";
    else if(importNum == 0x195) return "_XamInputRawState__YAKKKHPAU_XINPUT_RAW___Z";
    else if(importNum == 0x196) return "XamEnableSystemAppInput";
    else if(importNum == 0x197) return "XamInputGetDeviceStats";
    else if(importNum == 0x198) return "XamInputGetKeystrokeEx";
    else if(importNum == 0x199) return "XamInputGetKeystrokeHud";
    else if(importNum == 0x19A) return "XamInputSetLayoutKeyboard";
    else if(importNum == 0x19B) return "XamInputToggleKeyLocks";
    else if(importNum == 0x19C) return "XamInputResetLayoutKeyboard";
    else if(importNum == 0x19D) return "XamInputGetKeystrokeHudEx";
    else if(importNum == 0x19E) return "XamInputSetKeyboardTranslationHud";
    else if(importNum == 0x19F) return "XamSetInactivityTime";
    else if(importNum == 0x1A0) return "XamEnableInactivityProcessing";
    else if(importNum == 0x1A1) return "XamResetInactivity";
    else if(importNum == 0x1A2) return "XamSetInactivityTimeFromConfig";
    else if(importNum == 0x1A3) return "_XamLoaderGetMediaInfo__YAXPAK0_Z";      // "XamGetMediaInfo"
    else if(importNum == 0x1A4) return "_XamLoaderLaunchTitle__YAXPBDK_Z";      // "XamLaunchNewImage"
    else if(importNum == 0x1A5) return "_XamLoaderLaunchTitleEx__YAXPBD00K_Z";   // "XLaunchNewImageEx"
    else if(importNum == 0x1A6) return "_XamLoaderSetLaunchData__YAKPAXK_Z";   // "XSetLaunchData"
    else if(importNum == 0x1A7) return "_XamLoaderGetLaunchDataSize__YAKPAK_Z";   // "XGetLaunchDataSize"
    else if(importNum == 0x1A8) return "_XamLoaderGetLaunchData__YAKPAXK_Z";   // "XGetLaunchData"
    else if(importNum == 0x1A9) return "_XamLoaderTerminateTitle__YAXXZ";      // "XamTerminateTitle"
    else if(importNum == 0x1AA) return "_XamLoaderGetDvdTrayState__YAKXZ";      // "XGetTrayState"
    else if(importNum == 0x1AB) return "_ProcessRemoteInput_XAMAuditionHost__UAAJPBU_XINPUT_KEYSTROKE___Z";
    else if(importNum == 0x1AC) return "_XamLoaderLaunchTitleOnDvd__YAJXZ";      // "XLaunchMedia"
    else if(importNum == 0x1AD) return "_XamLoaderSetSpindleSpeed__YAJKH_Z";   // "_XamSetDvdSpindleSpeed__YAJKK_Z"
    else if(importNum == 0x1AE) return "XamTaskCreateQueue";
    else if(importNum == 0x1AF) return "XamTaskSchedule";
    else if(importNum == 0x1B0) return "XamTaskReschedule";
    else if(importNum == 0x1B1) return "XamTaskCloseHandle";
    else if(importNum == 0x1B2) return "XamTaskCancel";
    else if(importNum == 0x1B3) return "XamTaskShouldExit";
    else if(importNum == 0x1B4) return "XamTaskWaitOnCompletion";
    else if(importNum == 0x1B5) return "XamTaskModify";
    else if(importNum == 0x1B6) return "XamTaskGetCurrentTask";
    else if(importNum == 0x1B7) return "XamTaskGetAttributes";
    else if(importNum == 0x1B8) return "XamExecutingOnBehalfOfTitle";
    else if(importNum == 0x1B9) return "XamInputSendStayAliveRequest";
    else if(importNum == 0x1BA) return "_XamInputGetUserVibrationLevel__YAKKPAK_Z";
    else if(importNum == 0x1BB) return "XamIsSystemTitleId";
    else if(importNum == 0x1BC) return "_XamLoaderIsTitleTerminatePending__YAKXZ";
    else if(importNum == 0x1BD) return "XamInputSetTextMessengerIndicator";
    else if(importNum == 0x1BE) return "_XamLoaderGetPriorTitleId__YAKXZ";
    else if(importNum == 0x1BF) return "XamIsXbox1TitleId";
    else if(importNum == 0x1C0) return "XamInputSetKeyLocks";
    else if(importNum == 0x1C1) return "XamInputGetKeyLocks";
    else if(importNum == 0x1C2) return "XamApplySkin";
    else if(importNum == 0x1C3) return "XamGetRootObj";
    else if(importNum == 0x1C4) return "XamGetBkgndDefault";
    else if(importNum == 0x1C5) return "XamGetDefaultSystemImage";
    else if(importNum == 0x1C6) return "XamGetWCNConfigFile";
    else if(importNum == 0x1C7) return "XamSetPowerMode";
    else if(importNum == 0x1C8) return "XamExecuteChallenge";     //XOSC
    else if(importNum == 0x1C9) return "XamGetDefaultImage";
    else if(importNum == 0x1CA) return "XamMuteSound";
    else if(importNum == 0x1CB) return "XamGetOnlineSchema";
    else if(importNum == 0x1CC) return "XamSetDashContext";
    else if(importNum == 0x1CD) return "XamGetDashContext";
    else if(importNum == 0x1CE) return "XamIsCurrentTitleDash";
    else if(importNum == 0x1CF) return "XamGetCurrentTitleId";
    else if(importNum == 0x1D0) return "XamSetCurrentTitleDash";
    else if(importNum == 0x1D1) return "XamGetHeapLow";
    else if(importNum == 0x1D2) return "XamSetDashContextEx";
    else if(importNum == 0x1D3) return "XamGetDashContextEx";
    else if(importNum == 0x1D4) return "XamSetHudContext";
    else if(importNum == 0x1D5) return "XamGetHudContext";
    else if(importNum == 0x1D6) return "XCustomGetBannerImage";
    else if(importNum == 0x1D7) return "XamCustomSetBannerImage";
    else if(importNum == 0x1D8) return "XCustomSetAction";
    else if(importNum == 0x1D9) return "XCustomGetLastActionPress";
    else if(importNum == 0x1DA) return "XCustomSetDynamicActions";
    else if(importNum == 0x1DB) return "XCustomBroadcastActionEvent";
    else if(importNum == 0x1DC) return "XCustomGetLastActionPressEx";
    else if(importNum == 0x1DD) return "XCustomRegisterDynamicActions";
    else if(importNum == 0x1DE) return "XCustomUnregisterDynamicActions";
    else if(importNum == 0x1DF) return "XCustomGetCurrentGamercard";
    else if(importNum == 0x1E0) return "XamDbgPrint";
    else if(importNum == 0x1E1) return "XamDbgSetOutputLevel";
    else if(importNum == 0x1E2) return "XamDbgSetBreakLevel";
    else if(importNum == 0x1E5) return "XamFormatMessage";
    else if(importNum == 0x1E6) return "XamUniSortCmpString";
    else if(importNum == 0x1E7) return "XamFormatTimeString";
    else if(importNum == 0x1E8) return "XamFormatDateString";
    else if(importNum == 0x1E9) return "XamGetLocaleDateFormat";
    else if(importNum == 0x1EA) return "XamAlloc";
    else if(importNum == 0x1EB) return "XamAllocEx";
    else if(importNum == 0x1EC) return "XamFree";
    else if(importNum == 0x1ED) return "XamAllocSize";
    else if(importNum == 0x1EE) return "XamAllocMountIPTVHeap";
    else if(importNum == 0x1EF) return "XamAllocUnmountIPTVHeap";
    else if(importNum == 0x1F4) return "XMsgInProcessCall";
    else if(importNum == 0x1F5) return "XMsgCompleteIORequest";
    else if(importNum == 0x1F6) return "XMsgSystemProcessCall";
    else if(importNum == 0x1F7) return "XMsgStartIORequest";
    else if(importNum == 0x1F8) return "XMsgCancelIORequest";
    else if(importNum == 0x1F9) return "XMsgAcquireAsyncMessageFromOverlapped";
    else if(importNum == 0x1FA) return "XMsgReleaseAsyncMessageToOverlapped";
    else if(importNum == 0x1FB) return "XamGetOverlappedResult";
    else if(importNum == 0x1FC) return "XMsgStartIORequestEx";
    else return form("Xamd_%03X", importNum);
}

Xam Import 2;
static GetXamdImportName_2(importNum)
{
    if(      importNum == 0x208) return "XamUserGetDeviceContext";
    else if(importNum == 0x209) return "XamUserLookupDevice";
    else if(importNum == 0x20A) return "XamUserGetXUID";
    else if(importNum == 0x20B) return "XamUserLogon";
    else if(importNum == 0x20C) return "XamUserGetGamerTag";
    else if(importNum == 0x20D) return "XamUserGetUserIndexMask";
    else if(importNum == 0x20E) return "XamUserGetName";
    else if(importNum == 0x210) return "XamUserGetSigninState";
    else if(importNum == 0x211) return "XamUserGetIndexFromXUID";
    else if(importNum == 0x212) return "XamUserCheckPrivilege";
    else if(importNum == 0x213) return "XamUserAreUsersFriends";
    else if(importNum == 0x214) return "XamSetUserPresetPresenceState";
    else if(importNum == 0x215) return "XamGetUserPresetPresenceState";
    else if(importNum == 0x216) return "XamUserGetUserFlagsFromXUID";
    else if(importNum == 0x217) return "XamUserGetMembershipTierFromXUID";
    else if(importNum == 0x218) return "XamUserGetOnlineCountryFromXUID";
    else if(importNum == 0x219) return "XamUserReadProfileSettings";
    else if(importNum == 0x21A) return "XamUserWriteProfileSettings";
    else if(importNum == 0x21B) return "XamUserGetMembershipTier";
    else if(importNum == 0x21C) return "XamUserGetUserFlags";
    else if(importNum == 0x21D) return "XamUserGetRequestedUserIndexMask";
    else if(importNum == 0x21E) return "XamUserIsGuest";
    else if(importNum == 0x21F) return "XamUserProfileSync";
    else if(importNum == 0x220) return "XamUserFlushLogonQueue";
    else if(importNum == 0x221) return "XamUserIsOnlineEnabled";
    else if(importNum == 0x222) return "XamUserGetCachedUserFlags";
    else if(importNum == 0x223) return "XamAreMixedAccountsSignedIn";
    else if(importNum == 0x224) return "XamUserLogonEx";
    else if(importNum == 0x225) return "XamSetUserShowMessengerFriends";
    else if(importNum == 0x226) return "XamGetUserShowMessengerFriends";
    else if(importNum == 0x227) return "XamUserGetSigninInfo";
    else if(importNum == 0x228) return "XamUserIsPartial";
    else if(importNum == 0x229) return "XamUserGetOnlineLanguageFromXUID";
    else if(importNum == 0x22A) return "XamUserReadProfileSettingsEx";
    else if(importNum == 0x230) return "XamProfileCreate";
    else if(importNum == 0x231) return "XamProfileCreateEnumerator";
    else if(importNum == 0x232) return "XamProfileEnumerate";
    else if(importNum == 0x233) return "XamProfileDelete";
    else if(importNum == 0x234) return "XamProfileGetCreationStatus";
    else if(importNum == 0x235) return "XamProfileFindAccount";
    else if(importNum == 0x236) return "XamProfileRenameAccount";
    else if(importNum == 0x237) return "XamProfileOpen";
    else if(importNum == 0x238) return "XamProfileClose";
    else if(importNum == 0x239) return "XamProfileSaveAccountInfo";
    else if(importNum == 0x23A) return "XamProfileLoadAccountInfo";
    else if(importNum == 0x23B) return "XamProfileRecoverTitle";
    else if(importNum == 0x23C) return "XamProfileSaveWindowsLiveCredentials";
    else if(importNum == 0x23D) return "XamProfileLoadWindowsLiveCredentials";
    else if(importNum == 0x23E) return "XamProfileIsSaveWindowsLiveCredsEnabled";
    else if(importNum == 0x23F) return "XamProfileSetSaveWindowsLiveCredsEnabled";
    else if(importNum == 0x244) return "XamAppLoad";
    else if(importNum == 0x245) return "XamAppUnloadSelf";
    else if(importNum == 0x246) return "XamAppUnloadStack";
    else if(importNum == 0x247) return "XamSendMessageToLoadedApps";
    else if(importNum == 0x248) return "XamAppRequestLoad";
    else if(importNum == 0x249) return "XamAppUnrequestLoad";
    else if(importNum == 0x24A) return "XamNavigate";
    else if(importNum == 0x24B) return "XamRegisterSysApp";
    else if(importNum == 0x24C) return "XamUnregisterSysApp";
    else if(importNum == 0x24D) return "XamAppReinitialize";      // "__1CLld2SeesList__QAA_XZ"
    else if(importNum == 0x24E) return "XamCreateEnumeratorHandle";
    else if(importNum == 0x24F) return "XamGetPrivateEnumStructureFromHandle";
    else if(importNum == 0x250) return "XamEnumerate";
    else if(importNum == 0x251) return "XamLoadSysApp";
    else if(importNum == 0x252) return "XamUnloadSysApp";
    else if(importNum == 0x253) return "XamReloadSysApp";
    else if(importNum == 0x258) return "XamContentCreate";
    else if(importNum == 0x259) return "XamContentCreateEx";
    else if(importNum == 0x25A) return "XamContentClose";
    else if(importNum == 0x25B) return "XamContentDelete";
    else if(importNum == 0x25C) return "XamContentCreateEnumerator";
    else if(importNum == 0x25D) return "XamContentCreateDeviceEnumerator";
    else if(importNum == 0x25E) return "XamContentGetDeviceData";
    else if(importNum == 0x25F) return "XamContentGetDeviceName";
    else if(importNum == 0x260) return "XamContentSetThumbnail";
    else if(importNum == 0x261) return "XamContentGetThumbnail";
    else if(importNum == 0x262) return "XamContentGetCreator";
    else if(importNum == 0x263) return "XamContentLaunchImage";
    else if(importNum == 0x264) return "XamContentGetAttributes";
    else if(importNum == 0x265) return "XamContentGetDeviceState";
    else if(importNum == 0x266) return "XamContentGetLicenseMask";
    else if(importNum == 0x267) return "XamContentFlush";
    else if(importNum == 0x268) return "XamContentResolve";
    else if(importNum == 0x269) return "XamContentOpenFile";
    else if(importNum == 0x26A) return "XamContentInstall";
    else if(importNum == 0x26B) return "XamContentLockUnlockPackageHeaders";
    else if(importNum == 0x26C) return "XamContentCopyInternal";
    else if(importNum == 0x26D) return "XamContentMoveInternal";
    else if(importNum == 0x26E) return "XamContentGetMetaDataInternal";
    else if(importNum == 0x26F) return "XamContentCreateEnumeratorInternal";
    else if(importNum == 0x270) return "XamContentDeleteInternal";
    else if(importNum == 0x271) return "XamContentCreateInternal";
    else if(importNum == 0x272) return "XamContentSetThumbnailInternal";
    else if(importNum == 0x273) return "XamContentLaunchImageInternal";
    else if(importNum == 0x274) return "XamContentWritePackageHeader";
    else if(importNum == 0x275) return "XamContentDismountAndClosePackage";
    else if(importNum == 0x276) return "XamContentResolveInternal";
    else if(importNum == 0x277) return "XamContentGetAttributesInternal";
    else if(importNum == 0x278) return "XamContentOpenFileInternal";
    else if(importNum == 0x279) return "XamContentAggregateCreateEnumerator";
    else if(importNum == 0x27A) return "XamContentCreateAndMountPackage";
    else if(importNum == 0x27B) return "XamContentOpenPackageFile";
    else if(importNum == 0x27C) return "XamContentMountPackage";
    else if(importNum == 0x27D) return "XamContentFlushPackage";
    else if(importNum == 0x27E) return "XamContentClosePackageFile";
    else if(importNum == 0x27F) return "XamContentDuplicateFileHandle";
    else if(importNum == 0x280) return "XamGetExecutionId";
    else if(importNum == 0x281) return "XamGetGameRatings";
    else if(importNum == 0x282) return "XamGetSystemVersion";
    else if(importNum == 0x283) return "XamContentGetLocalizedString";
    else if(importNum == 0x284) return "XamContentGetDefaultDevice";
    else if(importNum == 0x285) return "XamContentInstallInternal";
    else if(importNum == 0x28A) return "XamNotifyCreateListener";
    else if(importNum == 0x28B) return "XNotifyGetNext";
    else if(importNum == 0x28C) return "XNotifyPositionUI";
    else if(importNum == 0x28D) return "XNotifyDelayUI";
    else if(importNum == 0x28E) return "XNotifyBroadcast";
    else if(importNum == 0x28F) return "XNotifyRegisterArea";
    else if(importNum == 0x290) return "XNotifyQueueUI";
    else if(importNum == 0x291) return "XamNotifyCreateListenerInternal";
    else if(importNum == 0x292) return "XNotifyUISetOptions";
    else if(importNum == 0x293) return "XNotifyUIGetOptions";
    else if(importNum == 0x29E) return "XamUpdateStart";
    else if(importNum == 0x29F) return "XamUpdateGetProgress";
    else if(importNum == 0x2A0) return "XamUpdateGetExtenderInstance";
    else if(importNum == 0x2A1) return "XamUpdateFinish";
    else if(importNum == 0x2A2) return "XamUpdateAttachExtenderInstance";
    else if(importNum == 0x2A3) return "XamUpdateAllocateExtenderBuffer";
    else if(importNum == 0x2A4) return "XamRestartTitleLoadAfterUpdate";
    else if(importNum == 0x2A5) return "XamUIThreadDisableFontPatching";
    else if(importNum == 0x2A6) return "XamUpdateGetBaseSystemVersion";
    else if(importNum == 0x2A7) return "XamUpdateGetCurrentSystemVersion";
    else if(importNum == 0x2A8) return "XamUIThreadEnableFontPatching";
    else if(importNum == 0x2A9) return "XamTerminateTitleForUpdate";
    else if(importNum == 0x2B1) return "_XamCacheIntegrityCheck__YAXXZ";
    else if(importNum == 0x2B2) return "XamCacheStoreFile";
    else if(importNum == 0x2B3) return "XamCacheFetchFile";
    else if(importNum == 0x2B4) return "XamCacheOpenFile";
    else if(importNum == 0x2B5) return "XamCacheCloseFile";
    else if(importNum == 0x2B6) return "XamGetCachedTitleName";
    else if(importNum == 0x2B7) return "XamCacheReset";
    else if(importNum == 0x2B8) return "XamGetCachedGamerTag";
    else if(importNum == 0x2B9) return "XamGetCachedGamerTagW";
    else if(importNum == 0x2BA) return "XamCacheDeleteFile";
    else if(importNum == 0x2BB) return "XamCacheRenameFile";
    else if(importNum == 0x2BC) return "XamShowSigninUI";
    else if(importNum == 0x2BD) return "XamShowSigninUIEx";
    else if(importNum == 0x2BE) return "XamShowSigninUIp";
    else if(importNum == 0x2BF) return "XamShowFriendsUI";
    else if(importNum == 0x2C0) return "XamShowMessagesUI";
    else if(importNum == 0x2C1) return "XamShowKeyboardUI";
    else if(importNum == 0x2C2) return "XamShowQuickChatUI";
    else if(importNum == 0x2C3) return "XamShowVoiceMailUI";
    else if(importNum == 0x2C4) return "XamShowGamerCardUI";
    else if(importNum == 0x2C5) return "XamShowAchievementsUI";
    else if(importNum == 0x2C6) return "XamShowPlayerReviewUI";
    else if(importNum == 0x2C7) return "XamShowMarketplaceUI";
    else if(importNum == 0x2C8) return "XamShowPlayersUI";
    else if(importNum == 0x2C9) return "XamShowUpdaterUI";
    else if(importNum == 0x2CA) return "XamShowMessageBoxUI";
    else if(importNum == 0x2CB) return "XamShowDeviceSelectorUI";
    else if(importNum == 0x2CC) return "XamShowMessageComposeUI";
    else if(importNum == 0x2CD) return "XamShowGameInviteUI";
    else if(importNum == 0x2CE) return "XamShowFriendRequestUI";
    else if(importNum == 0x2CF) return "XamShowCreateProfileUI";
    else if(importNum == 0x2D0) return "XamShowGamesUI";
    else if(importNum == 0x2D1) return "XamShowLiveSignupUI";
    else if(importNum == 0x2D2) return "XamShowFriendsUIp";
    else if(importNum == 0x2D3) return "XamShowComplaintUI";
    else if(importNum == 0x2D4) return "XamShowReputationUI";
    else if(importNum == 0x2D5) return "XamShowGamerCardUIForXUID";
    else if(importNum == 0x2D6) return "XamShowForcedNameChangeUI";
    else if(importNum == 0x2D7) return "XamShowLiveUpsellUI";
    else if(importNum == 0x2D8) return "XamShowPasscodeVerifyUI";
    else if(importNum == 0x2D9) return "XamShowDirtyDiscErrorUI";
    else if(importNum == 0x2DA) return "XamShowSignupCreditCardUI";
    else if(importNum == 0x2DB) return "XamShowPrivateChatInviteUI";
    else if(importNum == 0x2DC) return "XamShowMessageBoxUIEx";
    else if(importNum == 0x2DD) return "XamShowRecentMessageUI";
    else if(importNum == 0x2DE) return "XamShowRecentMessageUIEx";
    else if(importNum == 0x2DF) return "XamShowMessagesUIEx";
    else if(importNum == 0x2E0) return "XamShowAchievementDetailsUI";
    else if(importNum == 0x2E1) return "XamShowPersonalizationUI";
    else if(importNum == 0x2E2) return "XamShowChangeGamerTileUI";
    else if(importNum == 0x2E3) return "XamShowVoiceSettingsUI";
    else if(importNum == 0x2E4) return "XamShowVideoChatInviteUI";
    else if(importNum == 0x2E5) return "XamShowCustomMessageComposeUI";
    else if(importNum == 0x2E6) return "_XamShowCustomPlayerListUI__YAKKKPB_W0PBEKPBUXPLAYERLIST_USER__GPBUXPLAYERLIST_BUTTON__3PAUXPLAYERLIST_RESULT__PAU_XOVERLAPPED___Z";
    else if(importNum == 0x2E7) return "XamShowMarketplaceDownloadItemsUI";
    else if(importNum == 0x2E8) return "XamShowMarketplaceUIEx";
    else if(importNum == 0x2E9) return "XamShowMessageBox";
    else if(importNum == 0x2EA) return "XamIsSysUiInvokedByXenonButton";
    else if(importNum == 0x2EB) return "XamIsSysUiInvokedByTitle";
    else if(importNum == 0x2EC) return "XamIsUIActive";
    else if(importNum == 0x2ED) return "XamSysUiDisableAutoClose";
    else if(importNum == 0x2EE) return "XamUserCreateAchievementEnumerator";
    else if(importNum == 0x2EF) return "XamReadTile";
    else if(importNum == 0x2F0) return "XamWriteGamerTile";
    else if(importNum == 0x2F1) return "XamWriteTile";
    else if(importNum == 0x2F2) return "_XamReadImage__YAJW4XTILETYPE__KK_KPAPAU_XUIBRUSH___Z";
    else if(importNum == 0x2F3) return "XamUserCreateTitlesPlayedEnumerator";
    else if(importNum == 0x2F4) return "XamDecompressPNGToTexture";
    else if(importNum == 0x2F5) return "XamReadTileToTexture";
    else if(importNum == 0x2F6) return "XamReadString";
    else if(importNum == 0x2F7) return "XamUserCreateStatsEnumerator";
    else if(importNum == 0x2F8) return "XamPrepareGamerTiles";
    else if(importNum == 0x2F9) return "XamClearTitle";
    else if(importNum == 0x2FA) return "XamReadStrings";
    else if(importNum == 0x2FB) return "XamWriteGamerTileEx";
    else if(importNum == 0x2FC) return "XamReadTileEx";
    else if(importNum == 0x2FD) return "XamReadTileToTextureEx";
    else if(importNum == 0x2FE) return "XamShowMessengerUI";
    else if(importNum == 0x2FF) return "XamShowKeyboardUIMessenger";
    else return form("Xamd_%03X", importNum);
}

Xam Import 3;
static GetXamdImportName_3(importNum)
{
    if(     importNum == 0x300) return "XamShowLiveUpsellUIEx";
    else if(importNum == 0x301) return "XamShowJoinSessionInProgressUI";
    else if(importNum == 0x302) return "XamShowGraduateUserUI";
    else if(importNum == 0x303) return "XamShowGamerCardUIForXUIDp";
    else if(importNum == 0x304) return "XamShowBlogUI";
    else if(importNum == 0x307) return "XamUserAddRecentPlayer";
    else if(importNum == 0x308) return "XamUserUpdateRecentPlayer";
    else if(importNum == 0x309) return "XamUserCreatePlayerEnumerator";
    else if(importNum == 0x30A) return "XamParseGamerTileKey";
    else if(importNum == 0x30C) return "XamVoiceCreate";
    else if(importNum == 0x30D) return "XamVoiceHeadsetPresent";
    else if(importNum == 0x30E) return "XamVoiceSubmitPacket";
    else if(importNum == 0x30F) return "XamVoiceClose";
    else if(importNum == 0x310) return "XamVoiceGetBatteryStatus";
    else if(importNum == 0x316) return "XamSessionCreateHandle";
    else if(importNum == 0x317) return "XamSessionRefObjByHandle";
    else if(importNum == 0x31B) return "XamBuildResourceLocator";
    else if(importNum == 0x31C) return "XamBuildSharedSystemResourceLocator";
    else if(importNum == 0x31D) return "XamBuildGamercardResourceLocator";
    else if(importNum == 0x31E) return "XamBuildDynamicResourceLocator";
    else if(importNum == 0x320) return "XuiAnimRun";
    else if(importNum == 0x321) return "XuiApplyLocale";
    else if(importNum == 0x322) return "XuiBubbleMessage";
    else if(importNum == 0x323) return "XuiControlIsBackButton";
    else if(importNum == 0x324) return "XuiControlIsNavButton";
    else if(importNum == 0x325) return "XuiCreateObject";
    else if(importNum == 0x326) return "XuiDestroyObject";
    else if(importNum == 0x327) return "XuiDynamicCast";
    else if(importNum == 0x328) return "XuiElementAddChild";
    else if(importNum == 0x329) return "XuiElementFindNamedFrame";
    else if(importNum == 0x32A) return "XuiElementGetChildById";
    else if(importNum == 0x32B) return "XuiElementGetFirstChild";
    else if(importNum == 0x32C) return "XuiElementGetFocus";
    else if(importNum == 0x32D) return "XuiElementGetFocusUser";
    else if(importNum == 0x32E) return "XuiElementGetId";
    else if(importNum == 0x32F) return "XuiElementGetLastChild";
    else if(importNum == 0x330) return "XuiElementGetNext";
    else if(importNum == 0x331) return "XuiElementGetParent";
    else if(importNum == 0x332) return "XuiElementGetUserFocus";
    else if(importNum == 0x333) return "XuiElementInitFocus";
    else if(importNum == 0x334) return "XuiElementInitUserFocus";
    else if(importNum == 0x335) return "XuiElementPlayTimeline";
    else if(importNum == 0x336) return "XuiElementSetBounds";
    else if(importNum == 0x337) return "XuiElementSetFocus";
    else if(importNum == 0x338) return "XuiElementSetUserFocus";
    else if(importNum == 0x339) return "XuiElementTreeGetFocus";
    else if(importNum == 0x33A) return "XuiFindClass";
    else if(importNum == 0x33B) return "XuiFreeStringTable";
    else if(importNum == 0x33C) return "XuiGetBaseObject";
    else if(importNum == 0x33D) return "XuiGetClass";
    else if(importNum == 0x33E) return "XuiGetObjectClass";
    else if(importNum == 0x33F) return "XuiGetOuter";
    else if(importNum == 0x340) return "XuiInit";
    else if(importNum == 0x341) return "XuiLoadFromBinary";
    else if(importNum == 0x342) return "XuiLoadStringTableFromFile";
    else if(importNum == 0x343) return "XuiVisualGetBasePath";
    else if(importNum == 0x344) return "XuiLookupStringTable";
    else if(importNum == 0x345) return "XuiNavButtonGetPressPath";
    else if(importNum == 0x346) return "XuiObjectFromHandle";
    else if(importNum == 0x347) return "XuiObjectGetProperty";
    else if(importNum == 0x348) return "XuiObjectGetPropertyId";
    else if(importNum == 0x349) return "XuiProcessInput";
    else if(importNum == 0x34A) return "XuiRegisterClass";
    else if(importNum == 0x34B) return "XuiRenderBegin";
    else if(importNum == 0x34C) return "XuiRenderCreateDC";
    else if(importNum == 0x34D) return "XuiRenderDCDeviceChanged";
    else if(importNum == 0x34E) return "XuiRenderDestroyDC";
    else if(importNum == 0x34F) return "XuiRenderEnd";
    else if(importNum == 0x350) return "XuiRenderGetBackBufferSize";
    else if(importNum == 0x351) return "XuiRenderInit";
    else if(importNum == 0x352) return "XuiRenderInitShared";
    else if(importNum == 0x353) return "XuiRenderPresent";
    else if(importNum == 0x354) return "XuiRenderSetViewTransform";
    else if(importNum == 0x355) return "XuiRenderUninit";
    else if(importNum == 0x357) return "XuiSceneCreate";
    else if(importNum == 0x358) return "XuiSceneNavigateBack";
    else if(importNum == 0x359) return "XuiSceneNavigateFirst";
    else if(importNum == 0x35A) return "XuiSceneNavigateForward";
    else if(importNum == 0x35B) return "XuiScenePlayBackFromTransition";
    else if(importNum == 0x35C) return "XuiScenePlayBackToTransition";
    else if(importNum == 0x35D) return "XuiScenePlayFromTransition";
    else if(importNum == 0x35E) return "XuiScenePlayToTransition";
    else if(importNum == 0x35F) return "XuiSendMessage";
    else if(importNum == 0x360) return "XuiSetLocale";
    else if(importNum == 0x361) return "XuiUninit";
    else if(importNum == 0x362) return "XuiUnregisterClass";
    else if(importNum == 0x363) return "XuiTextElementSetText";
    else if(importNum == 0x364) return "XuiSetTimer";
    else if(importNum == 0x365) return "XuiTimersRun";
    else if(importNum == 0x366) return "XuiTextElementGetText";
    else if(importNum == 0x367) return "XuiVisualSetBasePath";
    else if(importNum == 0x368) return "XuiHandleIsValid";
    else if(importNum == 0x369) return "XuiAlloc";
    else if(importNum == 0x36A) return "XuiFree";
    else if(importNum == 0x36B) return "XuiDefault_True";
    else if(importNum == 0x36C) return "XuiDefault_EmptyString";
    else if(importNum == 0x36D) return "XuiDefault_IntegerZero";
    else if(importNum == 0x36E) return "XuiCopyString";
    else if(importNum == 0x36F) return "XuiRealloc";
    else if(importNum == 0x370) return "XuiControlPlayOptionalVisual";
    else if(importNum == 0x371) return "XuiKillTimer";
    else if(importNum == 0x372) return "XuiElementEnableInput";
    else if(importNum == 0x373) return "XuiElementInputEnabled";
    else if(importNum == 0x374) return "XuiIsInstanceOf";
    else if(importNum == 0x375) return "XuiResourceComposeLocator";
    else if(importNum == 0x376) return "XuiResourceLocatorIsAbsolute";
    else if(importNum == 0x377) return "XuiBroadcastMessage";
    else if(importNum == 0x378) return "XuiElementDisallowRecursiveTimelineControl";
    else if(importNum == 0x379) return "XUIElementPropVal_Construct";
    else if(importNum == 0x37A) return "XUIElementPropVal_Destruct";
    else if(importNum == 0x37B) return "XUIElementPropVal_SetString";
    else if(importNum == 0x37C) return "XuiObjectSetProperty";
    else if(importNum == 0x37D) return "XuiElementGetOpacity";
    else if(importNum == 0x37E) return "XuiElementSetOpacity";
    else if(importNum == 0x37F) return "XuiEditSetTextLimit";
    else if(importNum == 0x380) return "XuiEditGetTextLimit";
    else if(importNum == 0x381) return "XuiSliderSetValue";
    else if(importNum == 0x382) return "XuiSliderGetValue";
    else if(importNum == 0x383) return "XuiSliderSetRange";
    else if(importNum == 0x384) return "XuiElementUnlink";
    else if(importNum == 0x385) return "XuiElementInsertChild";
    else if(importNum == 0x386) return "XuiSceneNavigateBackToFirst";
    else if(importNum == 0x387) return "XuiProgressBarSetRange";
    else if(importNum == 0x388) return "XuiProgressBarSetValue";
    else if(importNum == 0x389) return "XuiProgressBarGetValue";
    else if(importNum == 0x38A) return "XuiControlAttachVisual";
    else if(importNum == 0x38B) return "XuiCreateTextureBrush";
    else if(importNum == 0x38C) return "XuiDestroyBrush";
    else if(importNum == 0x38D) return "XUIElementPropVal_SetColorFromUint";
    else if(importNum == 0x38E) return "XuiFigureSetFill";
    else if(importNum == 0x38F) return "XuiSliderGetRange";
    else if(importNum == 0x390) return "XuiFigureSetTexture";
    else if(importNum == 0x391) return "XuiControlGetItemAssociation";
    else if(importNum == 0x392) return "XuiResourceLoadAll";
    else if(importNum == 0x393) return "XuiImageElementSetImagePath";
    else if(importNum == 0x394) return "XuiImageElementGetImagePath";
    else if(importNum == 0x395) return "XuiControlGetVisual";
    else if(importNum == 0x396) return "XuiControlGetNavigation";
    else if(importNum == 0x397) return "XuiLookupStringTableByIndex";
    else if(importNum == 0x398) return "XUIElementPropVal_SetBool";
    else if(importNum == 0x399) return "XuiElementHasFocus";
    else if(importNum == 0x39A) return "XUIElementPropVal_SetUint";
    else if(importNum == 0x39B) return "XUIElementPropVal_Clear";
    else if(importNum == 0x39C) return "XuiEditSetTextFormatInfo";
    else if(importNum == 0x39D) return "XuiCreateSolidBrush";
    else if(importNum == 0x39E) return "XuiSceneInterruptTransitions";
    else if(importNum == 0x39F) return "XuiResourceOpen";
    else if(importNum == 0x3A0) return "XuiResourceRead";
    else if(importNum == 0x3A1) return "XuiResourceClose";
    else if(importNum == 0x3A2) return "XuiVisualCreateInstance";
    else if(importNum == 0x3A3) return "XuiElementGetTimeline";
    else if(importNum == 0x3A4) return "_GetCodecVersion_CCalMediaInfo__UBAKXZ";   // "XUITimeline_GetAnimLength"
    else if(importNum == 0x3A5) return "XuiElementIsDescendant";
    else if(importNum == 0x3A6) return "XuiSetMessageFilter";
    else if(importNum == 0x3A7) return "XuiAttachTextureBrush";
    else if(importNum == 0x3A8) return "XuiElementBeginRender";
    else if(importNum == 0x3A9) return "XuiElementEndRender";
    else if(importNum == 0x3AA) return "XuiDrawShape";
    else if(importNum == 0x3AB) return "XuiSelectBrushEx";
    else if(importNum == 0x3AC) return "XuiFigureGetShape";
    else if(importNum == 0x3AD) return "XuiFillRect";
    else if(importNum == 0x3AE) return "_XuiVec2TransformCoord__YAPAUD3DXVECTOR2__PAU1_PBU1_PBUD3DXMATRIX___Z";
    else if(importNum == 0x3AF) return "_XuiMatrixMultiply__YAPAUD3DXMATRIX__PAU1_PBU1_1_Z";
    else if(importNum == 0x3B0) return "XuiElementGetXForm";
    else if(importNum == 0x3B1) return "XuiElementSetPosition";
    else if(importNum == 0x3B2) return "XuiSelectBrush";
    else if(importNum == 0x3B3) return "XuiElementRenderChildren";
    else if(importNum == 0x3B4) return "XuiFreeUnusedTextures";
    else if(importNum == 0x3B5) return "XuiListEnableItemOverride";
    else if(importNum == 0x3B6) return "XuiListGetDefaultItemSize";
    else if(importNum == 0x3B7) return "XuiResourceSeek";
    else if(importNum == 0x3CA) return "XGetAudioFlags";
    else if(importNum == 0x3CB) return "XGetAVPack";
    else if(importNum == 0x3CC) return "XGetGameRegion";
    else if(importNum == 0x3CD) return "XGetLanguage";
    else if(importNum == 0x3CE) return "XapipGetLocale";
    else if(importNum == 0x3CF) return "_XGetVideoFlags__YAKXZ";
    else if(importNum == 0x3D0) return "XGetVideoStandard";
    else if(importNum == 0x3D1) return "XGetVideoMode";
    else if(importNum == 0x3D2) return "XamGetLanguage";
    else if(importNum == 0x3D4) return "XamSetAutomation";
    else if(importNum == 0x3D5) return "XAutomationpBindController";
    else if(importNum == 0x3D6) return "XAutomationpUnbindController";
    else if(importNum == 0x3D7) return "XAutomationpInputXenonButton";
    else if(importNum == 0x3D8) return "XAutomationpInputPress";
    else if(importNum == 0x3D9) return "XAutomationpInputSetState";
    else if(importNum == 0x3DA) return "XamEnableOverdraw";
    else if(importNum == 0x3DB) return "g_XuiAutomation";
    else if(importNum == 0x3DD) return "XampSystemInput";
    else if(importNum == 0x3E4) return "GamerCardStartup";
    else if(importNum == 0x3E5) return "GamerCardCleanup";
    else if(importNum == 0x3E6) return "GamerCardRegisterControls";
    else if(importNum == 0x3E7) return "GamerCardUnregisterControls";
    else if(importNum == 0x3E8) return "RtlFindFirstFile";
    else if(importNum == 0x3E9) return "RtlFindNextFile";
    else if(importNum == 0x3EA) return "RtlGetModuleFileName";
    else if(importNum == 0x3EB) return "RtlOutputDebugString";
    else if(importNum == 0x3EC) return "RtlRemoveDirectory";
    else if(importNum == 0x3ED) return "RtlSleep";
    else if(importNum == 0x3EE) return "RtlGetLastError";
    else if(importNum == 0x3EF) return "RtlSetLastError";
    else if(importNum == 0x3F0) return "RtlSetLastNTError";
    else if(importNum == 0x3F1) return "RtlDebugPrint";
    else if(importNum == 0x3F2) return "RtlDebugError";
    else if(importNum == 0x3F3) return "XDebugWarning";
    else if(importNum == 0x3F4) return "RtlDebugTrace";
    else if(importNum == 0x3F5) return "RtlDebugEntry";
    else if(importNum == 0x3F6) return "RtlDebugExit";
    else if(importNum == 0x3F7) return "RtlGetAttributesOnHeapAlloc";
    else if(importNum == 0x3F8) return "RtlSetAttributesOnHeapAlloc";
    else if(importNum == 0x3FA) return "RtlCreateHeap";
    else if(importNum == 0x3FB) return "RtlDestroyHeap";
    else if(importNum == 0x3FC) return "RtlAllocateHeap";
    else if(importNum == 0x3FD) return "RtlAllocateHeapSlowly";
    else if(importNum == 0x3FE) return "RtlReAllocateHeap";
    else if(importNum == 0x3FF) return "RtlFreeHeap";
    else return form("Xamd_%03X", importNum);
}

Xam Import 4;
static GetXamdImportName_4(importNum)
{
    if(     importNum == 0x400) return "RtlFreeHeapSlowly";
    else if(importNum == 0x401) return "RtlSizeHeap";
    else if(importNum == 0x402) return "RtlZeroHeap";
    else if(importNum == 0x403) return "RtlDebugWalkHeap";
    else if(importNum == 0x404) return "RtlWalkHeap";
    else if(importNum == 0x405) return "RtlLockHeap";
    else if(importNum == 0x406) return "RtlUnlockHeap";
    else if(importNum == 0x407) return "RtlValidateHeap";
    else if(importNum == 0x408) return "RtlDebugCompactHeap";
    else if(importNum == 0x409) return "RtlCompactHeap";
    else if(importNum == 0x40E) return "OutputDebugStringA";
    else if(importNum == 0x40F) return "DebugBreak";
    else if(importNum == 0x410) return "GetCurrentThreadId";
    else if(importNum == 0x411) return "XDebugError";
    else if(importNum == 0x412) return "XDebugWarning";
    else if(importNum == 0x413) return "RtlDebugSetLevel";
    else if(importNum == 0x414) return "CloseHandle";
    else if(importNum == 0x415) return "GetTickCount";
    else if(importNum == 0x416) return "GetLastError";
    else if(importNum == 0x417) return "SetFilePointer";
    else if(importNum == 0x418) return "SetFilePointerEx";
    else if(importNum == 0x419) return "SetLastError";
    else if(importNum == 0x41A) return "MultiByteToWideChar";
    else if(importNum == 0x41B) return "WideCharToMultiByte";
    else if(importNum == 0x41C) return "ReadFile";
    else if(importNum == 0x41D) return "FlushFileBuffers";
    else if(importNum == 0x41E) return "WriteFile";
    else if(importNum == 0x41F) return "OutputDebugStringW";
    else if(importNum == 0x420) return "SetEvent";
    else if(importNum == 0x421) return "XapiFormatTimeOut";
    else if(importNum == 0x422) return "CreateMutexA";
    else if(importNum == 0x423) return "OpenMutexA";
    else if(importNum == 0x424) return "ReleaseMutex";
    else if(importNum == 0x425) return "WaitForSingleObject";
    else if(importNum == 0x426) return "WaitForSingleObjectEx";
    else if(importNum == 0x427) return "GetFileSize";
    else if(importNum == 0x428) return "GetFileSizeEx";
    else if(importNum == 0x429) return "XapiDirectoryInformationToFindData";
    else if(importNum == 0x42A) return "XapiFormatObjectAttributes";
    else if(importNum == 0x42B) return "ResetEvent";
    else if(importNum == 0x42C) return "wsprintfA";
    else if(importNum == 0x42D) return "wsprintfW";
    else if(importNum == 0x42E) return "GetOverlappedResult";
    else if(importNum == 0x42F) return "QueryPerformanceCounter";
    else if(importNum == 0x430) return "QueryPerformanceFrequency";
    else if(importNum == 0x431) return "LocalAlloc";
    else if(importNum == 0x432) return "LocalFree";
    else if(importNum == 0x433) return "RaiseException";
    else if(importNum == 0x434) return "RtlUniform";
    else if(importNum == 0x435) return "RtlRandom";
    else if(importNum == 0x436) return "Sleep";
    else if(importNum == 0x437) return "SleepEx";
    else if(importNum == 0x438) return "XMemSet";
    else if(importNum == 0x439) return "XRegisterThreadNotifyRoutine";
    else if(importNum == 0x43A) return "XGetOverlappedExtendedError";
    else if(importNum == 0x43B) return "XGetOverlappedResult";
    else if(importNum == 0x43C) return "CreateThread";
    else if(importNum == 0x43D) return "ResumeThread";
    else if(importNum == 0x43E) return "ExitThread";
    else if(importNum == 0x43F) return "GetTimeZoneInformation";
    else if(importNum == 0x440) return "GetSystemTimeAsFileTime";
    else if(importNum == 0x441) return "SystemTimeToFileTime";
    else if(importNum == 0x442) return "FileTimeToSystemTime";
    else if(importNum == 0x443) return "GetSystemTime";
    else if(importNum == 0x444) return "GetLocalTime";
    else if(importNum == 0x445) return "CreateDirectoryA";
    else if(importNum == 0x446) return "CreateEventA";
    else if(importNum == 0x447) return "CreateFileA";
    else if(importNum == 0x448) return "DeleteFileA";
    else if(importNum == 0x449) return "FindFirstFileA";
    else if(importNum == 0x44A) return "FindNextFileA";
    else if(importNum == 0x44B) return "GetFileAttributesA";
    else if(importNum == 0x44D) return "GetFileAttributesExA";
    else if(importNum == 0x44E) return "GetModuleHandleA";
    else if(importNum == 0x44F) return "GetDiskFreeSpaceExA";
    else if(importNum == 0x450) return "CopyFileA";
    else if(importNum == 0x454) return "PIXBeginCapture";      // new = "Refresh_CGamerCardWorker__MAAJXZ";
    else if(importNum == 0x455) return "PIXEndCapture";         // new = "_Refresh_CGamerCardWorker__MAAJXZ";
    else if(importNum == 0x456) return "PIXAddCounter";
    else if(importNum == 0x457) return "PIXGetGPUSlot";         // new = "_Refresh_CGamerCardWorker__MAAJXZ";
    else if(importNum == 0x458) return "SetWaitableTimer";
    else if(importNum == 0x459) return "CancelWaitableTimer";
    else if(importNum == 0x45A) return "CreateWaitableTimerA";
    else if(importNum == 0x45B) return "DuplicateHandle";
    else if(importNum == 0x45C) return "XapipCreateThread";
    else if(importNum == 0x45D) return "lstrcpyA";
    else if(importNum == 0x45E) return "lstrcpyW";
    else if(importNum == 0x45F) return "lstrcpynA";
    else if(importNum == 0x460) return "lstrcpynW";
    else if(importNum == 0x461) return "lstrcatA";
    else if(importNum == 0x462) return "lstrcatW";
    else if(importNum == 0x463) return "lstrlenA";
    else if(importNum == 0x464) return "lstrlenW";
    else if(importNum == 0x465) return "IsBadReadPtr";
    else if(importNum == 0x466) return "IsBadWritePtr";
    else if(importNum == 0x467) return "FileTimeToLocalFileTime";
    else if(importNum == 0x4B0) return "XMPRegisterCodec";
    else if(importNum == 0x514) return "XamIsCurrentTitleIptv";
    else if(importNum == 0x515) return "XamIsIptvEnabled";
    else if(importNum == 0x516) return "XamIsDvrRecording";
    else if(importNum == 0x517) return "XamIptvUninstall";
    else if(importNum == 0x518) return "XamGetDvrStorage";
    else if(importNum == 0x519) return "XamSetDvrStorage";
    else if(importNum == 0x51A) return "XamIptvGetServiceName";
    else if(importNum == 0x7D2) return "GetProcessHeap";
    else if(importNum == 0x7D3) return "UnhandledExceptionFilter";
    else if(importNum == 0x7D4) return "SetUnhandledExceptionFilter";
    else if(importNum == 0x834) return "XamPngEncode";
    else if(importNum == 0x835) return "XamPngDecode";
    else if(importNum == 0x83E) return "XamSetupTexture";
    else if(importNum == 0x841) return "XamSetupCameraPreviewStuff";
    else if(importNum == 0x842) return "XamReleaseCameraPreviewStuff";
    else if(importNum == 0x843) return "XamRenderCameraPreviewStuff";
    else if(importNum == 0x9C4) return "XamBackgroundDownloadEnable";
    else if(importNum == 0x9C5) return "XamBackgroundDownloadIsEnabled";
    else if(importNum == 0x9C6) return "XamBackgroundDownloadGetActiveItem";
    else if(importNum == 0x9C7) return "XamBackgroundDownloadGetItems";
    else if(importNum == 0x9C8) return "XamBackgroundDownloadClearItems";
    else if(importNum == 0x9C9) return "XamBackgroundDownloadItemAdd";
    else if(importNum == 0x9CA) return "XamBackgroundDownloadItemRemove";
    else if(importNum == 0x9CB) return "XamBackgroundDownloadItemMakeFirst";
    else if(importNum == 0x9CC) return "XamBackgroundDownloadSetForegroundPriority";
    else if(importNum == 0x9CD) return "XamBackgroundDownloadGetForegroundPriority";
    else if(importNum == 0x9CE) return "XamBackgroundDownloadItemToContentData";
    else if(importNum == 0x9CF) return "XamBackgroundDownloadItemGetStatus";
    else if(importNum == 0x9D0) return "XamBackgroundDownloadHistoryGetItem";
    else if(importNum == 0x9D1) return "XamBackgroundDownloadItemGetHistoryStatus";
    else if(importNum == 0x9D2) return "XamBackgroundDownloadItemSetHistoryStatus";
    else if(importNum == 0xA28) return "XamSwapDisc";
    else if(importNum == 0xA29) return "XamSwapDiscPatchAddress";
    else if(importNum == 0xA2A) return "XamSwapCancel";
    else if(importNum == 0xA5A) return "XamPlayTimerGetData";
    else if(importNum == 0xA5B) return "XamPlayTimerSetData";
    else if(importNum == 0xA5C) return "XamPlayTimerResume";
    else if(importNum == 0xA5D) return "XamPlayTimerSuspend";
    else if(importNum == 0xA5E) return "XamPlayTimerIsRunning";
    else if(importNum == 0xA5F) return "XamPlayTimerIsEnabled";
    else if(importNum == 0xA60) return "XamPlayTimerGetNextResetDate";
    else if(importNum == 0xA61) return "XamPlayTimerFormatDurationString";
    else if(importNum == 0xA62) return "XamPlayTimerGetTimeRemaining";
    else if(importNum == 0xA63) return "XamPlayTimerUpdateTimeRemaining";
    else if(importNum == 0xA64) return "XamPlayTimerForceNotification";
    else if(importNum == 0xA65) return "XamPlayTimerRefreshResetDate";
    else if(importNum == 0xA6E) return "XamUpnpServerSearchInitialize";
    else if(importNum == 0xA6F) return "XamUpnpServerSearchDestroy";
    else if(importNum == 0xA70) return "XamUpnpServerSearchStart";
    else if(importNum == 0xA71) return "XamUpnpServerSearchStop";
    else if(importNum == 0xA72) return "XamUpnpServerSearchDoWork";
    else if(importNum == 0xA73) return "XamUpnpServerSearchGetNextServer";
    else if(importNum == 0xA8C) return "XCustomBroadcastGamercardEvent";
    else if(importNum == 0xA8D) return "XamCustomGetCurrentActions";
    else if(importNum == 0xAA0) return "XamInstrumentationLogEvent";
    else if(importNum == 0xAA1) return "XamRegisterSMCNotification";
    else if(importNum == 0xAAA) return "XamInstrumentationLogEventEx";
    else if(importNum == 0xAAB) return "XamInstrumentationGetSourceConfig";
    else if(importNum == 0xAAC) return "XamInstrumentationDebugConfig";
    else if(importNum == 0xAE6) return "CurlBindFunctionTable";
    else if(importNum == 0xAE7) return "CurlOpenTitleBackingFile";
    else if(importNum == 0xAF0) return "XamSetSecurityViolationDetected";
    else if(importNum == 0xAF1) return "XamIsSecurityViolationDetected";
    else if(importNum == 0xAF2) return "XamIsAnySecurityViolationDetected";
    else if(importNum == 0xAF3) return "XamGetSecurityViolationsDetected";
    else if(importNum == 0xAF4) return "XamActivateCounterMeasure";
    else if(importNum == 0xAF5) return "XamDeactivateCounterMeasure";
    else if(importNum == 0xAF6) return "XamIsCounterMeasureActivated";
    else if(importNum == 0xAF7) return "XamGetActiveCounterMeasures";
    else if(importNum == 0xAFA) return "_XamCreatePersistableRamDrive__YAPAXPAU_STRING__PAXK_Z";
    else if(importNum == 0xB04) return "XamConvertEmoticons";
    else if(importNum == 0xB05) return "XamGetLocaleTimeFormat";
    else return form("Xamd_%03X", importNum);
}

Xapi Import;
static GetXapiImportName_0(importNum)
{
    if(     importNum == 0x001) return "XapiProcessHeap";
    else if(importNum == 0x002) return "_locktable";
    else if(importNum == 0x003) return "__tlsindexXapi";
    else if(importNum == 0x004) return "XapiTermHeapNoop";
    else return form("Xapi_%03X", importNum);
}

Xbdm Import;
static GetXbdmImportName_0(importNum)
{
    if(     importNum == 0x001) return "DmAllocatePool";
    else if(importNum == 0x002) return "DmAllocatePoolWithTag";
    else if(importNum == 0x003) return "DmCloseCounters";
    else if(importNum == 0x004) return "DmCloseModuleSections";
    else if(importNum == 0x005) return "DmCloseModuleSections";
    else if(importNum == 0x006) return "DmCloseNotificationSession";
    else if(importNum == 0x007) return "DmClosePerformanceCounter";
    else if(importNum == 0x008) return "DmContinueThread";
    else if(importNum == 0x009) return "DmFreePool";
    else if(importNum == 0x00A) return "DmGetMemory";
    else if(importNum == 0x00B) return "DmGetModuleLongName";
    else if(importNum == 0x00C) return "DmGetProcAddress";
    else if(importNum == 0x00D) return "DmGetThreadContext";
    else if(importNum == 0x00F) return "DmGetThreadList";
    else if(importNum == 0x010) return "DmGetXbeInfo";
    else if(importNum == 0x011) return "DmGetXboxName";
    else if(importNum == 0x013) return "DmGo";
    else if(importNum == 0x014) return "DmHaltThread";
    else if(importNum == 0x015) return "DmIsDebuggerPresent";
    else if(importNum == 0x016) return "DmIsThreadStopped";
    else if(importNum == 0x017) return "DmLoadExtension";
    else if(importNum == 0x018) return "DmNotify";
    else if(importNum == 0x019) return "DmOpenNotificationSession";
    else if(importNum == 0x01A) return "DmOpenPerformanceCounter";
    else if(importNum == 0x01B) return "DmQueryPerformanceCounterHandle";
    else if(importNum == 0x01C) return "DmReboot";
    else if(importNum == 0x01E) return "DmRegisterCommandProcessor";
    else if(importNum == 0x020) return "DmRegisterNotificationProcessor";
    else if(importNum == 0x021) return "DmRegisterPerformanceCounter";
    else if(importNum == 0x022) return "DmRemoveBreakpoint";
    else if(importNum == 0x023) return "DmResumeThread";
    else if(importNum == 0x024) return "DmSendNotificationString";
    else if(importNum == 0x025) return "DmSetBreakpoint";
    else if(importNum == 0x026) return "DmSetDataBreakpoint";
    else if(importNum == 0x027) return "DmSetInitialBreakpoint";
    else if(importNum == 0x028) return "DmSetMemory";
    else if(importNum == 0x029) return "DmSetThreadContext";
    else if(importNum == 0x02A) return "DmSetTitle";
    else if(importNum == 0x02B) return "DmSetXboxName";
    else if(importNum == 0x02D) return "DmStop";
    else if(importNum == 0x02E) return "DmStopOn";
    else if(importNum == 0x030) return "DmSuspendThread";
    else if(importNum == 0x031) return "DmThreadUserData";
    else if(importNum == 0x032) return "DmUnloadExtension";
    else if(importNum == 0x033) return "DmWalkLoadedModules";
    else if(importNum == 0x034) return "DmWalkModuleSections";
    else if(importNum == 0x035) return "DmWalkPerformanceCounters";
    else if(importNum == 0x037) return "DmCloseCounters";
    else if(importNum == 0x038) return "DmIsBreakpoint";
    else if(importNum == 0x039) return "DmCloseCounters";
    else if(importNum == 0x03A) return "DmSetUserAccess";
    else if(importNum == 0x03B) return "DmGetUserAccess";
    else if(importNum == 0x03C) return "DmWalkUserList";
    else if(importNum == 0x03D) return "DmAddUser";
    else if(importNum == 0x03E) return "DmEnableSecurity";
    else if(importNum == 0x03F) return "DmIsSecurityEnabled";
    else if(importNum == 0x040) return "DmRemoveUser";
    else if(importNum == 0x041) return "__CAP_Start_Profiling";
    else if(importNum == 0x042) return "__CAP_End_Profiling";
    else if(importNum == 0x046) return "__CAP_Enter_Function";
    else if(importNum == 0x047) return "__CAP_Exit_Function";
    else if(importNum == 0x048) return "DmRegisterCommandProcessorEx";
    else if(importNum == 0x049) return "DmStartProfiling";
    else if(importNum == 0x04A) return "DmStopProfiling";
    else if(importNum == 0x04B) return "DmQueryMemoryStatistics";
    else if(importNum == 0x04C) return "DmEnableStackTrace";
    else if(importNum == 0x04D) return "DmQueryAllocationTypeName";
    else if(importNum == 0x04E) return "DmRegisterAllocationType";
    else if(importNum == 0x04F) return "DmInsertAllocationEntry";
    else if(importNum == 0x050) return "DmRemoveAllocationEntry";
    else if(importNum == 0x051) return "DmSetTitleEx";
    else if(importNum == 0x052) return "DmCaptureStackBackTrace";
    else if(importNum == 0x053) return "DmCrashDump";
    else if(importNum == 0x054) return "DmIsFastCAPEnabled";
    else if(importNum == 0x055) return "DmGetFileAccessCount";
    else if(importNum == 0x058) return "DmGetUtilityDriveInfo";
    else if(importNum == 0x059) return "DmGetThreadInfoEx";
    else if(importNum == 0x05A) return "DmSetProfilingOptions";
    else if(importNum == 0x05B) return "DmQuerySystemSettings";
    else if(importNum == 0x05C) return "DmSaveSystemSettings";
    else if(importNum == 0x06A) return "DmpGetPgoModuleHandleForBaseAddress";
    else if(importNum == 0x06B) return "DmpOnPgoModuleLoad";
    else if(importNum == 0x06C) return "DmPgoStartDataCollection";
    else if(importNum == 0x06D) return "DmPgoStopDataCollection";
    else if(importNum == 0x06E) return "DmPgoSaveSnapshot";
    else if(importNum == 0x06F) return "IrtClientAbort";
    else if(importNum == 0x070) return "IrtPogoInit";
    else if(importNum == 0x071) return "IrtSetStaticInfo";
    else if(importNum == 0x072) return "IrtAutoSweepW";
    else if(importNum == 0x073) return "IrtAutoSweepA";
    else if(importNum == 0x075) return "DmGetDumpMode";
    else if(importNum == 0x076) return "DmSetDumpMode";
    else if(importNum == 0x077) return "DmGetDumpSettings";
    else if(importNum == 0x078) return "DmSetDumpSettings";
    else if(importNum == 0x079) return "DmGetEventDeferFlags";
    else if(importNum == 0x07A) return "DmSetEventDeferFlags";
    else if(importNum == 0x07B) return "DmWalkCommittedMemory";
    else if(importNum == 0x07C) return "DmCloseCounters";
    else if(importNum == 0x07D) return "DmRebootEx";
    else if(importNum == 0x07E) return "_PEPLELookup__YIPAUEPLE__PAUPGCHDR__PAUEPLH__K_Z";
    else if(importNum == 0x07F) return "_PVPLELookup__YIPA_KPAUPGCHDR__PAUVPLH___K_Z";
    else if(importNum == 0x080) return "_PVPLETemplatedLookup__YIPA_KPAUPGCHDR__PAUVPLH___KPAUtagPOGOVALUETEMPLATE___Z";
    else if(importNum == 0x081) return "_PVPLEFilteredLookup__YIPA_KPAUPGCHDR__PAUVPLH___K_Z";
    else if(importNum == 0x082) return "DmMountFdfxVolume";
    else if(importNum == 0x083) return "DmCapGetFileHeader";
    else if(importNum == 0x084) return "DmCapFreeFileHeader";
    else if(importNum == 0x085) return "DmTraceStartRecording";
    else if(importNum == 0x086) return "DmTraceStartRecordingFunction";
    else if(importNum == 0x087) return "DmTraceSetBufferSize";
    else if(importNum == 0x088) return "DmTraceStopRecording";
    else if(importNum == 0x089) return "DmTraceSaveBuffer";
    else if(importNum == 0x08C) return "DmGetConsoleType";
    else if(importNum == 0x08D) return "DmMapDevkitDrive";
    else if(importNum == 0x08E) return "DmWalkLoadedModulesEx";
    else if(importNum == 0x08F) return "DmGetXexHeaderField";
    else if(importNum == 0x090) return "DmGetMouseChanges";
    else if(importNum == 0x091) return "DmFindPdbSignature";
    else if(importNum == 0x092) return "DmGetProfilingStatus";
    else if(importNum == 0x093) return "DmOpticalDiscLogStart";
    else if(importNum == 0x094) return "DmOpticalDiscLogStop";
    else if(importNum == 0x095) return "DmStartSamplingProfiler";
    else if(importNum == 0x096) return "DmStopSamplingProfiler";
    else if(importNum == 0x097) return "DmGetSamplingProfilerInfo";
    else if(importNum == 0x098) return "DmStartFileEventCapture";
    else if(importNum == 0x099) return "DmStopFileEventCapture";
    else if(importNum == 0x09A) return "DmSetFileEventMarker";
    else if(importNum == 0x09B) return "DmMarkPseudoCreateBegin";
    else if(importNum == 0x09C) return "DmMarkPseudoCreateEnd";
    else if(importNum == 0x09D) return "DmMarkPseudoEventBegin";
    else if(importNum == 0x09E) return "DmMarkPseudoEventEnd";
    else if(importNum == 0x09F) return "DmMarkFileEventWorkerThreadBegin";
    else if(importNum == 0x0A0) return "DmMarkFileEventWorkerThreadEnd";
    else if(importNum == 0x0A1) return "DmGetSystemInfo";
    else if(importNum == 0x0A2) return "DmAbortProfiling";
    else if(importNum == 0x0A3) return "DmNetCaptureStart";
    else if(importNum == 0x0A4) return "DmNetCaptureStop";
    else if(importNum == 0x0A5) return "DmQueryTitleMemoryStatistics";
    else if(importNum == 0x0A6) return "DmAutomationGetInputProcess";
    else if(importNum == 0x0A7) return "DmAutomationBindController";
    else if(importNum == 0x0A8) return "DmAutomationUnbindController";
    else if(importNum == 0x0A9) return "DmAutomationConnectController";
    else if(importNum == 0x0AA) return "DmAutomationDisconnectController";
    else if(importNum == 0x0AB) return "DmAutomationSetGamepadState";
    else if(importNum == 0x0AC) return "DmAutomationQueueGamepadState";
    else if(importNum == 0x0AD) return "DmAutomationClearGamepadQueue";
    else if(importNum == 0x0AE) return "DmAutomationQueryGamepadQueue";
    else if(importNum == 0x0AF) return "DmAutomationGetUserDefaultProfile";
    else if(importNum == 0x0B0) return "DmAutomationSetUserDefaultProfile";
    else if(importNum == 0x0B1) return "DmTraceIsRecording";
    else if(importNum == 0x0B2) return "DmLoadDebuggerExtension";
    else if(importNum == 0x0B3) return "DmUnloadDebuggerExtension";
    else if(importNum == 0x0B4) return "DmCreateSystemThread";
    else if(importNum == 0x0B5) return "_PEPLELookup__YIPAUEPLE__PAUPGCHDR__PAUEPLH__K_Z";
    else if(importNum == 0x0B6) return "_PEPLELookupCompact__YIXPAUPGCHDR__PAUEPLH__KPAUMDSProbeState___Z";
    else if(importNum == 0x0B7) return "_PVPLELookup__YIXPAUPGCHDR__PAUVPLHStandard___K_Z";
    else if(importNum == 0x0B8) return "_PVPLELookupCompact__YIXPAUPGCHDR__PAUVPLHCompact___K_Z";
    else if(importNum == 0x0B9) return "_PVPLELookupCompactMDS__YIXPAUPGCHDR__PAUVPLHCompact___KPAUMDSProbeState___Z";
    else if(importNum == 0x0BA) return "_PVPLEFilteredLookup__YIXPAUPGCHDR__PAUVPLHStandard___K_Z";
    else if(importNum == 0x0BB) return "_PVPLEFilteredLookupCompact__YIXPAUPGCHDR__PAUVPLHCompact___K_Z";
    else if(importNum == 0x0BC) return "_PVPLEFilteredLookupCompactMDS__YIXPAUPGCHDR__PAUVPLHCompact___KPAUMDSProbeState___Z";
    else if(importNum == 0x0BD) return "_PVPLETemplatedLookup__YIXPAUPGCHDR__PAUVPLHStandard___KPAUtagPOGOVALUETEMPLATE___Z";
    else if(importNum == 0x0BE) return "_PVPLETemplatedLookupCompact__YIXPAUPGCHDR__PAUVPLHCompact___KPAUtagPOGOVALUETEMPLATE___Z";
    else if(importNum == 0x0BF) return "_PVPLETemplatedLookupCompactMDS__YIXPAUPGCHDR__PAUVPLHCompact___KPAUtagPOGOVALUETEMPLATE__PAUMDSProbeState___Z";
    else if(importNum == 0x0C0) return "DmpPgoCounterOverflow";
    else if(importNum == 0x0C1) return "_UpdateMDSProbeState__YA_NPAUMDSProbeState___Z";
    else if(importNum == 0x0C2) return "DmGetHttpRegistration";
    else return form("Xbdm_%03X", importNum);
}

static GetImportName(libName, importNum /*, ver_major, ver_build*/)
{
   if(strstr(libName, "xboxkrnl") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetKernelImportName_0(importNum);
      else if(importNum >= 0x100 && importNum < 0x200)   return GetKernelImportName_1(importNum);
      else if(importNum >= 0x200 && importNum < 0x300)   return GetKernelImportName_2(importNum);
   }
   else if(strstr(libName, "connectx") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetConnectXImportName_0(importNum);
   }
   else if(strstr(libName, "createprofile") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetCreateProfileImportName_0(importNum);
   }
   else if(strstr(libName, "hud") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetHudImportName_0(importNum);
   }
   else if(strstr(libName, "signin") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetSigninImportName_0(importNum);
   }
   else if(strstr(libName, "vk") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetVKImportName_0(importNum);
   }
   else if(strstr(libName, "voicemail") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetVoicemailImportName_0(importNum);
   }
   else if(strstr(libName, "xam") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetXamdImportName_0(importNum);
      else if(importNum >= 0x100 && importNum < 0x200)   return GetXamdImportName_1(importNum);
      else if(importNum >= 0x200 && importNum < 0x300)   return GetXamdImportName_2(importNum);
      else if(importNum >= 0x300 && importNum < 0x400)   return GetXamdImportName_3(importNum);
      else if(importNum >= 0x400 && importNum < 0xF00)   return GetXamdImportName_4(importNum);
   }
   else if(strstr(libName, "xapi") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetXapiImportName_0(importNum);
   }
   else if(strstr(libName, "xbdm") != -1)
   {
      if(      importNum >= 0x000 && importNum < 0x100)   return GetXbdmImportName_0(importNum);
   }
   else
   {
      return form("%s_%03X", libName, importNum);
   }
}

static GetExportName(libName, exportNum)
{
   if(strstr(libName, "xboxkrnl") != -1)
   {
      if(      exportNum < 0x100)   return GetKernelImportName_0(exportNum);
      else if(exportNum < 0x200)   return GetKernelImportName_1(exportNum);
      else if(exportNum < 0x300)   return GetKernelImportName_2(exportNum);
   }
   else if(strstr(libName, "connectx") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetConnectXImportName_0(exportNum);
   }
   else if(strstr(libName, "createprofile") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetCreateProfileImportName_0(exportNum);
   }
   else if(strstr(libName, "hud") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetHudImportName_0(exportNum);
   }
   else if(strstr(libName, "signin") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetSigninImportName_0(exportNum);
   }
   else if(strstr(libName, "vk") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetVKImportName_0(exportNum);
   }
   else if(strstr(libName, "voicemail") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetVoicemailImportName_0(exportNum);
   }
   else if(strstr(libName, "xam") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetXamdImportName_0(exportNum);
      else if(exportNum >= 0x100 && exportNum < 0x200)   return GetXamdImportName_1(exportNum);
      else if(exportNum >= 0x200 && exportNum < 0x300)   return GetXamdImportName_2(exportNum);
      else if(exportNum >= 0x300 && exportNum < 0x400)   return GetXamdImportName_3(exportNum);
      else if(exportNum >= 0x400 && exportNum < 0xF00)   return GetXamdImportName_4(exportNum);
   }
   else if(strstr(libName, "xapi") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetXapiImportName_0(exportNum);
   }
   else if(strstr(libName, "xbdm") != -1)
   {
      if(      exportNum >= 0x000 && exportNum < 0x100)   return GetXbdmImportName_0(exportNum);
   }
   else
   {
      return form("%s_%03X", libName, exportNum);
   }
}

System Call Names/Hypervisor Processes;
// syscall names
static GetSyscallName( funcNum )
{
   if(      funcNum == 0x00 )   return "HvxGetVersions";
   else if( funcNum == 0x01 )   return "HvxStartupProcessors";
   else if( funcNum == 0x02 )   return "HvxQuiesceProcessor";
   else if( funcNum == 0x03 )   return "HvxFlushEntireTb";
   else if( funcNum == 0x04 )   return "HvxFlushSingleTb";
   else if( funcNum == 0x05 )   return "HvxRelocateAndFlush";
   else if( funcNum == 0x06 )   return "HvxGetSpecialPurposeRegister";
   else if( funcNum == 0x07 )   return "HvxSetSpecialPurposeRegister";
   else if( funcNum == 0x08 )   return "HvxGetSocRegister";
   else if( funcNum == 0x09 )   return "HvxSetSocRegister";
   else if( funcNum == 0x0A )   return "HvxSetTimeBaseToZero";
   else if( funcNum == 0x0B )   return "HvxZeroPage";
   else if( funcNum == 0x0C )   return "HvxFlushDcacheRange";
   else if( funcNum == 0x0D )   return "HvxPostOutput";
   else if( funcNum == 0x0E )   return "HvxEnablePPUPerformanceMonitor";
   else if( funcNum == 0x0F )   return "HvxGetImagePageTableEntry";
   else if( funcNum == 0x10 )   return "HvxSetImagePageTableEntry";
   else if( funcNum == 0x11 )   return "HvxCreateImageMapping";
   else if( funcNum == 0x12 )   return "HvxMapImagePage";
   else if( funcNum == 0x13 )   return "HvxCompleteImageMapping";
   else if( funcNum == 0x14 )   return "HvxLoadImageData";
   else if( funcNum == 0x15 )   return "HvxFinishImageDataLoad";
   else if( funcNum == 0x16 )   return "HvxStartResolveImports";
   else if( funcNum == 0x17 )   return "HvxResolveImports";
   else if( funcNum == 0x18 )   return "HvxFinishImageLoad";
   else if( funcNum == 0x19 )   return "HvxAbandonImageLoad";
   else if( funcNum == 0x1A )   return "HvxUnmapImagePages";
   else if( funcNum == 0x1B )   return "HvxUnmapImage";
   else if( funcNum == 0x1C )   return "HvxUnmapImageRange";
   else if( funcNum == 0x1D )   return "HvxCreateUserMode";
   else if( funcNum == 0x1E )   return "HvxDeleteUserMode";
   else if( funcNum == 0x1F )   return "HvxFlushUserModeTb";
   else if( funcNum == 0x20 )   return "HvxSetPowerMode";
   else if( funcNum == 0x21 )   return "HvxShadowBoot";
   else if( funcNum == 0x22 )   return "HvxBlowFuses";
   else if( funcNum == 0x23 )   return "HvxFsbInterrupt";
   else if( funcNum == 0x24 )   return "HvxLockL2";
   else if( funcNum == 0x25 )   return "HvxDvdAuthBuildNVPage";
   else if( funcNum == 0x26 )   return "HvxDvdAuthVerifyNVPage";
   else if( funcNum == 0x27 )   return "HvxDvdAuthRecordAuthenticationPage";
   else if( funcNum == 0x28 )   return "HvxDvdAuthRecordXControl";
   else if( funcNum == 0x29 )   return "HvxDvdAuthGetAuthPage";
   else if( funcNum == 0x2A )   return "HvxDvdAuthVerifyAuthPage";
   else if( funcNum == 0x2B )   return "HvxDvdAuthGetNextLBAIndex";
   else if( funcNum == 0x2C )   return "HvxDvdAuthVerifyLBA";
   else if( funcNum == 0x2D )   return "HvxDvdAuthClearDiscAuthInfo";
   else if( funcNum == 0x2E )   return "HvxKeysInitialize";
   else if( funcNum == 0x2F )   return "HvxKeysGetKeyProperties";
   else if( funcNum == 0x30 )   return "HvxKeysGetStatus";
   else if( funcNum == 0x31 )   return "HvxKeysGenerateRandomKey";
   else if( funcNum == 0x32 )   return "HvxKeysGetFactoryChallenge";
   else if( funcNum == 0x33 )   return "HvxKeysSetFactoryResponse";
   else if( funcNum == 0x34 )   return "HvxKeysSaveBootLoader";
   else if( funcNum == 0x35 )   return "HvxKeysSaveKeyVault";
   else if( funcNum == 0x36 )   return "HvxKeysSetKey";
   else if( funcNum == 0x37 )   return "HvxKeysGetKey";
   else if( funcNum == 0x38 )   return "HvxKeysGetDigest";
   else if( funcNum == 0x39 )   return "HvxKeysRsaPrvCrypt";
   else if( funcNum == 0x3A )   return "HvxKeysHmacSha";
   else if( funcNum == 0x3B )   return "HvxKeysAesCbc";
   else if( funcNum == 0x3C )   return "HvxKeysDes2Cbc";
   else if( funcNum == 0x3D )   return "HvxKeysDesCbc";
   else if( funcNum == 0x3E )   return "HvxKeysObscureKey";
   else if( funcNum == 0x3F )   return "HvxKeysSaveSystemUpdate";
   else if( funcNum == 0x40 )   return "HvxKeysExecute";
   else if( funcNum == 0x41 )   return "HvxDvdAuthTestMode";
   else if( funcNum == 0x42 )   return "HvxEnableTimebase";
   else if( funcNum == 0x43 )   return "HvxHdcpCalculateMi";
   else if( funcNum == 0x44 )   return "HvxHdcpCalculateAKsvSignature";
   else if( funcNum == 0x45 )   return "HvxHdcpCalculateBKsvSignature";
   else if( funcNum == 0x46 )   return "HvxSetRevocationList";
   else if( funcNum == 0x47 )   return "HvxEncryptedReserveAllocation";
   else if( funcNum == 0x48 )   return "HvxEncryptedReleaseAllocation";
   else if( funcNum == 0x49 )   return "HvxEncryptedEncryptAllocation";
   else if( funcNum == 0x4A )   return "HvxEncryptedSweepAddressRange";
   else if( funcNum == 0x4B )   return "HvxKeysExCreateKeyVault";
   else if( funcNum == 0x4C )   return "HvxKeysExLoadKeyVault";
   else if( funcNum == 0x4D )   return "HvxKeysExSaveKeyVault";
   else if( funcNum == 0x4E )   return "HvxKeysExSetKey";
   else if( funcNum == 0x4F )   return "HvxKeysExGetKey";
   else if( funcNum == 0x50 )   return "HvxGetUpdateSequence";
   else if( funcNum == 0x51 )   return "HvxSecurityInitialize";
   else if( funcNum == 0x52 )   return "HvxSecurityLoadSettings";
   else if( funcNum == 0x53 )   return "HvxSecuritySaveSettings";
   else if( funcNum == 0x54 )   return "HvxSecuritySetDetected";
   else if( funcNum == 0x55 )   return "HvxSecurityGetDetected";
   else if( funcNum == 0x56 )   return "HvxSecuritySetActivated";
   else if( funcNum == 0x57 )   return "HvxSecurityGetActivated";
   else if( funcNum == 0x58 )   return "HvxGetProtectedFlags";
   else if( funcNum == 0x59 )   return "HvxSetProtectedFlag";
   else if( funcNum == 0x5A )   return "HvxDvdAuthAP25InstallTable";
   else if( funcNum == 0x5B )   return "HvxDvdAuthAP25RefreshTable";
   else if( funcNum == 0x5C )   return "HvxDvdAuthAP25GetTableVersion";
   else if( funcNum == 0x5D )   return "HvxDvdAuthAP25GetNextChallenge";   // pre-5632
   else if( funcNum == 0x5D )   return "HvxDvdAuthAP25LoadChallengeSet";   // 5632
   else if( funcNum == 0x5E )   return "HvxDvdAuthAP25VerifyAnswer";      // pre-5632
   else if( funcNum == 0x5E )   return "HvxDvdAuthAP25GetNextChallenge";   // 5632
   else if( funcNum == 0x5F )   return "HvxDvdAuthAP25VerifyAnswer";
   else if( funcNum == 0x60 )   return "HvxDvdAuthAP25GetChallengeHistory";
   else if( funcNum == 0x61 )   return "HvxDvdAuthGetAuthResults";
   else if( funcNum == 0x62 )   return "HvxDvdAuthSetDriveAuthResult";
   else if( funcNum == 0x63 )   return "HvxDvdAuthSetDiscAuthResult";
   else if( funcNum == 0x64 )   return "HvxImageTransformImageKey";
   else if( funcNum == 0x65 )   return "HvxImageXexHeader";
   else if( funcNum == 0x66 )   return "HvxRevokeLoad";
   else if( funcNum == 0x67 )   return "HvxRevokeSave";
   else if( funcNum == 0x68 )   return "HvxRevokeUpdate";
   else if( funcNum == 0x69 )   return "HvxDvdAuthGetMediaId";
   else if( funcNum == 0x6A )   return "HvxKeysLoadKeyVault";
   else if( funcNum == 0x6B )   return "HvxXexActivationGetNonce";
   else if( funcNum == 0x6C )   return "HvxXexActivationSetLicense";
   else if( funcNum == 0x6D )   return "HvxXexActivationVerifyOwnership";
   else if( funcNum == 0x6E )   return "HvxIptvSetBoundaryKey";
   else if( funcNum == 0x6F )   return "HvxIptvSetSessionKey";
   else if( funcNum == 0x70 )   return "HvxIptvVerifyOmac1Signature";
   else if( funcNum == 0x71 )   return "HvxIptvGetAesCtrTransform";
   else return form("HvxSyscall_%02X", funcNum);




If you don't understand what any of this post means, please don't bother asking.

- Louis



dont you have your jtag online ?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.