Function at 0x45bcf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55d4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5c8810]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8810]
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 0x5665c4
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 0x45bd83
push str.LoadLibraryExA
push eax
call edi
cmp eax, ebx
je 0x45bd83
push 0x800
push ebx
push str.nvml.dll
call eax
mov dword [esi + 0x108], eax
cmp eax, ebx
jne 0x45bd94
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 0x45c013
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 0x45c013
cmp dword [esi + 0x210], ebx
je 0x45c013
cmp dword [esi + 0x214], ebx
je 0x45c013
cmp dword [esi + 0x23c], ebx
je 0x45c013
cmp eax, ebx
je 0x45c013
call ecx
test eax, eax
jne 0x45c013
mov edx, dword [esi + 0x210]
lea ecx, [esp + 0x10]
push ecx
call edx
add esp, 4
test eax, eax
jne 0x45bff8
cmp dword [esp + 0x10], eax
jle 0x45bff8
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 0x45bfe2
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 0x45bfe2
call fcn.00416b80
mov ecx, eax
call fcn.00413330
test eax, eax
je 0x45bfe2
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x18]
mov edx, eax
push ecx
shr edx, 0x10
push edx
push eax
call fcn.00416b80
mov ecx, eax
call fcn.00413330
mov ecx, eax
call fcn.004253f0
test eax, eax
jle 0x45bfe2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call fcn.00401440
mov edi, eax
test edi, edi
je 0x45bfe2
lea ebx, [ebx]
mov ecx, edi
call fcn.00444130
cmp eax, dword [esp + 0x40]
jne 0x45bfd3
mov ecx, edi
call fcn.00444150
cmp eax, dword [esp + 0x44]
jne 0x45bfd3
push ebx
push esi
mov ecx, edi
call fcn.00441e60
lea ecx, [esp + 0x24]
call fcn.00403130
mov edi, eax
test edi, edi
jne 0x45bfb0
mov edi, dword [esp + 0x14]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
jl 0x45bf24
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.004014c0
mov eax, 1
jmp 0x45c029
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.004014c0
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.0053081c
mov esp, ebp
pop ebp
ret