Function at 0x48c9e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5976b8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x614b80]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 0x5a0624
mov dword [esp + 0x8c], ebx
mov dword [esi + 0x108], ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x48ca73
push str.LoadLibraryExA
push eax
call edi
cmp eax, ebx
je 0x48ca73
push 0x800
push ebx
push str.nvml.dll
call eax
mov dword [esi + 0x108], eax
cmp eax, ebx
jne 0x48ca84
push str.nvml.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x108]
cmp eax, ebx
je 0x48cd03
push str.nvmlInit
push eax
call edi
mov dword [esi + 0x20c], eax
mov eax, dword [esi + 0x108]
push str.nvmlDeviceGetCount
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.nvmlDeviceGetHandleByIndex
push ecx
mov dword [esi + 0x210], eax
call edi
mov edx, dword [esi + 0x108]
push str.nvmlDeviceGetTemperature
push edx
mov dword [esi + 0x214], eax
call edi
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0x108]
push str.nvmlDeviceGetTemperatureThreshold
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.nvmlDeviceGetPowerUsage
push ecx
mov dword [esi + 0x21c], eax
call edi
mov edx, dword [esi + 0x108]
push str.nvmlDeviceGetPowerManagementLimit
push edx
mov dword [esi + 0x220], eax
call edi
mov dword [esi + 0x224], eax
mov eax, dword [esi + 0x108]
push str.nvmlDeviceGetPowerManagementLimitConstraints
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.nvmlDeviceGetPowerManagementDefaultLimit
push ecx
mov dword [esi + 0x228], eax
call edi
mov edx, dword [esi + 0x108]
push str.nvmlDeviceGetEnforcedPowerLimit
push edx
mov dword [esi + 0x22c], eax
call edi
mov dword [esi + 0x230], eax
mov eax, dword [esi + 0x108]
push str.nvmlDeviceGetPcieThroughput
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.nvmlDeviceGetFieldValues
push ecx
mov dword [esi + 0x234], eax
call edi
mov edx, dword [esi + 0x108]
push str.nvmlDeviceGetPciInfo
push edx
mov dword [esi + 0x238], eax
call edi
mov dword [esi + 0x23c], eax
mov eax, dword [esi + 0x108]
push str.nvmlShutdown
push eax
call edi
mov ecx, dword [esi + 0x20c]
mov dword [esi + 0x240], eax
cmp ecx, ebx
je 0x48cd03
cmp dword [esi + 0x210], ebx
je 0x48cd03
cmp dword [esi + 0x214], ebx
je 0x48cd03
cmp dword [esi + 0x23c], ebx
je 0x48cd03
cmp eax, ebx
je 0x48cd03
call ecx
test eax, eax
jne 0x48cd03
mov edx, dword [esi + 0x210]
lea ecx, [esp + 0x10]
push ecx
call edx
add esp, 4
test eax, eax
jne 0x48cce8
cmp dword [esp + 0x10], eax
jle 0x48cce8
lea edi, [esi + 0x10c]
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x214]
push edi
push ebx
call eax
add esp, 8
test eax, eax
jne 0x48ccd2
mov edx, dword [edi]
mov eax, dword [esi + 0x23c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x48ccd2
call fcn.0043b760
mov ecx, eax
call fcn.00437590
test eax, eax
je 0x48ccd2
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x18]
mov edx, eax
push ecx
shr edx, 0x10
push edx
push eax
call fcn.0043b760
mov ecx, eax
call fcn.00437590
mov ecx, eax
call fcn.0044c560
test eax, eax
jle 0x48ccd2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call fcn.0041c240
mov edi, eax
test edi, edi
je 0x48ccd2
lea ebx, [ebx]
mov ecx, edi
call fcn.004580d0
cmp eax, dword [esp + 0x40]
jne 0x48ccc3
mov ecx, edi
call fcn.004580f0
cmp eax, dword [esp + 0x44]
jne 0x48ccc3
push ebx
push esi
mov ecx, edi
call fcn.00455d70
lea ecx, [esp + 0x24]
call fcn.0041c220
mov edi, eax
test edi, edi
jne 0x48cca0
mov edi, dword [esp + 0x14]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
jl 0x48cc14
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.0041c2c0
mov eax, 1
jmp 0x48cd19
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.0041c2c0
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0057943e
mov esp, ebp
pop ebp
ret