Function at 0x10003ae9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x10031024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10003eb2
push str.gdi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10003eb2
push str.D3DKMTCreateAllocation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTDestroyAllocation
push esi
mov dword [ebp - 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetAllocationPriority
push esi
mov dword [ebp - 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTQueryAllocationResidency
push esi
mov dword [ebp - 0xd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTQueryResourceInfo
push esi
mov dword [ebp - 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTOpenResource
push esi
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCreateDevice
push esi
mov dword [ebp - 0xc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTDestroyDevice
push esi
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTQueryAdapterInfo
push esi
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTLock
push esi
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTUnlock
push esi
mov dword [ebp - 0xb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetDisplayModeList
push esi
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetDisplayMode
push esi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetMultisampleMethodList
push esi
mov dword [ebp - 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTPresent
push esi
mov dword [ebp - 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTRender
push esi
mov dword [ebp - 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTOpenAdapterFromHdc
push esi
mov dword [ebp - 0xa0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTOpenAdapterFromDeviceName
push esi
mov dword [ebp - 0x9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCloseAdapter
push esi
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetSharedPrimaryHandle
push esi
mov dword [ebp - 0x94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
push str.D3DKMTEscape
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetVidPnSourceOwner
push esi
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCreateOverlay
push esi
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTUpdateOverlay
push esi
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTFlipOverlay
push esi
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTDestroyOverlay
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTWaitForVerticalBlankEvent
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetGammaRamp
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetDeviceState
push esi
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCreateDCFromMemory
push esi
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTDestroyDCFromMemory
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetContextSchedulingPriority
push esi
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetContextSchedulingPriority
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetProcessSchedulingPriorityClass
push esi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetProcessSchedulingPriorityClass
push esi
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTReleaseProcessVidPnSourceOwners
push esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTGetScanLine
push esi
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTPollDisplayChildren
push esi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetQueuedLimit
push esi
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTInvalidateActiveVidPn
push esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCheckOcclusion
mov dword [ebp - 0x40], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCreateContext
push esi
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTDestroyContext
push esi
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCreateSynchronizationObject
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTDestroySynchronizationObject
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTWaitForSynchronizationObject
push esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSignalSynchronizationObject
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCheckMonitorPowerState
push esi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTOpenAdapterFromGdiDisplayName
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTCheckExclusiveOwnership
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSetDisplayPrivateDriverFormat
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSharedPrimaryLockNotification
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTSharedPrimaryUnLockNotification
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTQueryStatistics
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x36
mov dword [ebp - 8], eax
xor eax, eax
pop ecx
cmp dword [ebp + eax*4 - 0xdc], 0
je 0x10003eb2
inc eax
cmp eax, ecx
jb 0x10003e92
mov dword [edi], esi
mov al, 1
add edi, 4
lea esi, [ebp - 0xdc]
rep movsd dword es:[edi], dword [esi]
jmp 0x10003eb4
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000939f
leave
ret 4