Function at 0x64f100
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x64f136
mov eax, dword [ebx]
test eax, eax
je 0x64f126
mov eax, dword [eax + 0x104]
test eax, eax
je 0x64f126
push eax
call edi
push dword [ebx]
call fcn.0066d775
add esp, 4
mov dword [ebx], 0
push 0x108
push 1
call fcn.006745a6
mov esi, eax
add esp, 8
mov dword [ebx], esi
test esi, esi
je 0x64f84a
push str.nvcuda.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x104], eax
test eax, eax
jne 0x64f183
push str.nvcuda.dll
push str.Cannot_load__s_n
call fcn.00671171
add eax, 0x40
push eax
call fcn.00676ef5
jmp 0x64f824
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.cuInit
push eax
call edi
mov dword [esi], eax
test eax, eax
jne 0x64f1a1
push str.cuInit
jmp 0x64f80b
push str.cuDeviceGetCount
push dword [esi + 0x104]
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x64f1bf
push str.cuDeviceGetCount
jmp 0x64f80b
push str.cuDeviceGet
push dword [esi + 0x104]
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x64f1dd
push str.cuDeviceGet
jmp 0x64f80b
push str.cuDeviceGetAttribute
push dword [esi + 0x104]
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x64f1fb
push str.cuDeviceGetAttribute
jmp 0x64f80b
push str.cuDeviceGetName
push dword [esi + 0x104]
call edi
mov dword [esi + 0x10], eax
test eax, eax
jne 0x64f219
push str.cuDeviceGetName
jmp 0x64f80b
push str.cuDeviceComputeCapability
push dword [esi + 0x104]
call edi
mov dword [esi + 0x18], eax
test eax, eax
jne 0x64f237
push str.cuDeviceComputeCapability
jmp 0x64f80b
push str.cuCtxCreate_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x64f255
push str.cuCtxCreate_v2
jmp 0x64f80b
push str.cuCtxSetLimit
push dword [esi + 0x104]
call edi
mov dword [esi + 0x20], eax
test eax, eax
jne 0x64f273
push str.cuCtxSetLimit
jmp 0x64f80b
push str.cuCtxPushCurrent_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x24], eax
test eax, eax
jne 0x64f291
push str.cuCtxPushCurrent_v2
jmp 0x64f80b
push str.cuCtxPopCurrent_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x28], eax
test eax, eax
jne 0x64f2af
push str.cuCtxPopCurrent_v2
jmp 0x64f80b
push str.cuCtxDestroy_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x64f2cd
push str.cuCtxDestroy_v2
jmp 0x64f80b
push str.cuMemAlloc_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x30], eax
test eax, eax
jne 0x64f2eb
push str.cuMemAlloc_v2
jmp 0x64f80b
push str.cuMemAllocPitch_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x34], eax
test eax, eax
jne 0x64f309
push str.cuMemAllocPitch_v2
jmp 0x64f80b
push str.cuMemsetD8Async
push dword [esi + 0x104]
call edi
mov dword [esi + 0x38], eax
test eax, eax
jne 0x64f327
push str.cuMemsetD8Async
jmp 0x64f80b
push str.cuMemFree_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x64f345
push str.cuMemFree_v2
jmp 0x64f80b
push str.cuMemcpy
push dword [esi + 0x104]
call edi
mov dword [esi + 0x40], eax
test eax, eax
jne 0x64f363
push str.cuMemcpy
jmp 0x64f80b
push str.cuMemcpyAsync
push dword [esi + 0x104]
call edi
mov dword [esi + 0x44], eax
test eax, eax
jne 0x64f381
push str.cuMemcpyAsync
jmp 0x64f80b
push str.cuMemcpy2D_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x48], eax
test eax, eax
jne 0x64f39f
push str.cuMemcpy2D_v2
jmp 0x64f80b
push str.cuMemcpy2DAsync_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x64f3bd
push str.cuMemcpy2DAsync_v2
jmp 0x64f80b
push str.cuGetErrorName
push dword [esi + 0x104]
call edi
mov dword [esi + 0x50], eax
test eax, eax
jne 0x64f3db
push str.cuGetErrorName
jmp 0x64f80b
push str.cuGetErrorString
push dword [esi + 0x104]
call edi
mov dword [esi + 0x54], eax
test eax, eax
jne 0x64f3f9
push str.cuGetErrorString
jmp 0x64f80b
push str.cuCtxGetDevice
push dword [esi + 0x104]
call edi
mov dword [esi + 0x58], eax
test eax, eax
jne 0x64f417
push str.cuCtxGetDevice
jmp 0x64f80b
push str.cuDevicePrimaryCtxRetain
push dword [esi + 0x104]
call edi
mov dword [esi + 0x5c], eax
test eax, eax
jne 0x64f435
push str.cuDevicePrimaryCtxRetain
jmp 0x64f80b
push str.cuDevicePrimaryCtxRelease
push dword [esi + 0x104]
call edi
mov dword [esi + 0x60], eax
test eax, eax
jne 0x64f453
push str.cuDevicePrimaryCtxRelease
jmp 0x64f80b
push str.cuDevicePrimaryCtxSetFlags
push dword [esi + 0x104]
call edi
mov dword [esi + 0x64], eax
test eax, eax
jne 0x64f471
push str.cuDevicePrimaryCtxSetFlags
jmp 0x64f80b
push str.cuDevicePrimaryCtxGetState
push dword [esi + 0x104]
call edi
mov dword [esi + 0x68], eax
test eax, eax
jne 0x64f48f
push str.cuDevicePrimaryCtxGetState
jmp 0x64f80b
push str.cuDevicePrimaryCtxReset
push dword [esi + 0x104]
call edi
mov dword [esi + 0x6c], eax
test eax, eax
jne 0x64f4ad
push str.cuDevicePrimaryCtxReset
jmp 0x64f80b
push str.cuStreamCreate
push dword [esi + 0x104]
call edi
mov dword [esi + 0x70], eax
test eax, eax
jne 0x64f4cb
push str.cuStreamCreate
jmp 0x64f80b
push str.cuStreamQuery
push dword [esi + 0x104]
call edi
mov dword [esi + 0x74], eax
test eax, eax
jne 0x64f4e9
push str.cuStreamQuery
jmp 0x64f80b
push str.cuStreamSynchronize
push dword [esi + 0x104]
call edi
mov dword [esi + 0x78], eax
test eax, eax
jne 0x64f507
push str.cuStreamSynchronize
jmp 0x64f80b
push str.cuStreamDestroy_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x7c], eax
test eax, eax
jne 0x64f525
push str.cuStreamDestroy_v2
jmp 0x64f80b
push str.cuStreamAddCallback
push dword [esi + 0x104]
call edi
mov dword [esi + 0x80], eax
test eax, eax
jne 0x64f546
push str.cuStreamAddCallback
jmp 0x64f80b
push str.cuEventCreate
push dword [esi + 0x104]
call edi
mov dword [esi + 0x84], eax
test eax, eax
jne 0x64f567
push str.cuEventCreate
jmp 0x64f80b
push str.cuEventDestroy_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0x88], eax
test eax, eax
jne 0x64f588
push str.cuEventDestroy_v2
jmp 0x64f80b
push str.cuEventSynchronize
push dword [esi + 0x104]
call edi
mov dword [esi + 0x8c], eax
test eax, eax
jne 0x64f5a9
push str.cuEventSynchronize
jmp 0x64f80b
push str.cuEventQuery
push dword [esi + 0x104]
call edi
mov dword [esi + 0x90], eax
test eax, eax
jne 0x64f5ca
push str.cuEventQuery
jmp 0x64f80b
push str.cuEventRecord
push dword [esi + 0x104]
call edi
mov dword [esi + 0x94], eax
test eax, eax
jne 0x64f5eb
push str.cuEventRecord
jmp 0x64f80b
push str.cuLaunchKernel
push dword [esi + 0x104]
call edi
mov dword [esi + 0x98], eax
test eax, eax
jne 0x64f60c
push str.cuLaunchKernel
jmp 0x64f80b
push str.cuLinkCreate
push dword [esi + 0x104]
call edi
mov dword [esi + 0x9c], eax
test eax, eax
jne 0x64f62d
push str.cuLinkCreate
jmp 0x64f80b
push str.cuLinkAddData
push dword [esi + 0x104]
call edi
mov dword [esi + 0xa0], eax
test eax, eax
jne 0x64f64e
push str.cuLinkAddData
jmp 0x64f80b
push str.cuLinkComplete
push dword [esi + 0x104]
call edi
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x64f66f
push str.cuLinkComplete
jmp 0x64f80b
push str.cuLinkDestroy
push dword [esi + 0x104]
call edi
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x64f690
push str.cuLinkDestroy
jmp 0x64f80b
push str.cuModuleLoadData
push dword [esi + 0x104]
call edi
mov dword [esi + 0xac], eax
test eax, eax
jne 0x64f6b1
push str.cuModuleLoadData
jmp 0x64f80b
push str.cuModuleUnload
push dword [esi + 0x104]
call edi
mov dword [esi + 0xb0], eax
test eax, eax
jne 0x64f6d2
push str.cuModuleUnload
jmp 0x64f80b
push str.cuModuleGetFunction
push dword [esi + 0x104]
call edi
mov dword [esi + 0xb4], eax
test eax, eax
jne 0x64f6f3
push str.cuModuleGetFunction
jmp 0x64f80b
push str.cuModuleGetGlobal
push dword [esi + 0x104]
call edi
mov dword [esi + 0xb8], eax
test eax, eax
jne 0x64f714
push str.cuModuleGetGlobal
jmp 0x64f80b
push str.cuTexObjectCreate
push dword [esi + 0x104]
call edi
mov dword [esi + 0xbc], eax
test eax, eax
jne 0x64f735
push str.cuTexObjectCreate
jmp 0x64f80b
push str.cuTexObjectDestroy
push dword [esi + 0x104]
call edi
mov dword [esi + 0xc0], eax
test eax, eax
jne 0x64f756
push str.cuTexObjectDestroy
jmp 0x64f80b
push str.cuGLGetDevices_v2
push dword [esi + 0x104]
call edi
mov dword [esi + 0xc4], eax
test eax, eax
jne 0x64f777
push str.cuGLGetDevices_v2
jmp 0x64f80b
push str.cuGraphicsGLRegisterImage
push dword [esi + 0x104]
call edi
mov dword [esi + 0xc8], eax
test eax, eax
jne 0x64f795
push str.cuGraphicsGLRegisterImage
jmp 0x64f80b
push str.cuGraphicsUnregisterResource
push dword [esi + 0x104]
call edi
mov dword [esi + 0xcc], eax
test eax, eax
jne 0x64f7b3
push str.cuGraphicsUnregisterResource
jmp 0x64f80b
push str.cuGraphicsMapResources
push dword [esi + 0x104]
call edi
mov dword [esi + 0xd0], eax
test eax, eax
jne 0x64f7d1
push str.cuGraphicsMapResources
jmp 0x64f80b
push str.cuGraphicsUnmapResources
push dword [esi + 0x104]
call edi
mov dword [esi + 0xd4], eax
test eax, eax
jne 0x64f7ef
push str.cuGraphicsUnmapResources
jmp 0x64f80b
push str.cuGraphicsSubResourceGetMappedArray
push dword [esi + 0x104]
call edi
mov dword [esi + 0xd8], eax
test eax, eax
jne 0x64f852
push str.cuGraphicsSubResourceGetMappedArray
push str.Cannot_load__s_n
call fcn.00671171
add eax, 0x40
push eax
call fcn.00676ef5
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x64f83a
mov eax, dword [eax + 0x104]
test eax, eax
je 0x64f83a
push eax
call edi
push dword [ebx]
call fcn.0066d775
add esp, 4
mov dword [ebx], 0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
push str.cuDeviceGetUuid
push dword [esi + 0x104]
call edi
push str.cuImportExternalMemory
push dword [esi + 0x104]
mov dword [esi + 0x14], eax
call edi
push str.cuDestroyExternalMemory
push dword [esi + 0x104]
mov dword [esi + 0xdc], eax
call edi
push str.cuExternalMemoryGetMappedBuffer
push dword [esi + 0x104]
mov dword [esi + 0xe0], eax
call edi
push str.cuExternalMemoryGetMappedMipmappedArray
push dword [esi + 0x104]
mov dword [esi + 0xe4], eax
call edi
push str.cuMipmappedArrayGetLevel
push dword [esi + 0x104]
mov dword [esi + 0xe8], eax
call edi
push str.cuMipmappedArrayDestroy
push dword [esi + 0x104]
mov dword [esi + 0xf0], eax
call edi
push str.cuImportExternalSemaphore
push dword [esi + 0x104]
mov dword [esi + 0xec], eax
call edi
push str.cuDestroyExternalSemaphore
push dword [esi + 0x104]
mov dword [esi + 0xf4], eax
call edi
push str.cuSignalExternalSemaphoresAsync
push dword [esi + 0x104]
mov dword [esi + 0xf8], eax
call edi
push str.cuWaitExternalSemaphoresAsync
push dword [esi + 0x104]
mov dword [esi + 0xfc], eax
call edi
pop edi
mov dword [esi + 0x100], eax
xor eax, eax
pop esi
pop ebx
pop ebp
ret