Function at 0x4aad70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57dec8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5f72d8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x5f72d8]
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 str.kernel32.dll
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 0x4aae03
push str.LoadLibraryExA
push eax
call edi
cmp eax, ebx
je 0x4aae03
push 0x800
push ebx
push str.nvml.dll
call eax
mov dword [esi + 0x108], eax
cmp eax, ebx
jne 0x4aae14
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 0x4ab093
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 0x4ab093
cmp dword [esi + 0x210], ebx
je 0x4ab093
cmp dword [esi + 0x214], ebx
je 0x4ab093
cmp dword [esi + 0x23c], ebx
je 0x4ab093
cmp eax, ebx
je 0x4ab093
call ecx
test eax, eax
jne 0x4ab093
mov edx, dword [esi + 0x210]
lea ecx, [esp + 0x10]
push ecx
call edx
add esp, 4
test eax, eax
jne 0x4ab078
cmp dword [esp + 0x10], eax
jle 0x4ab078
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 0x4ab062
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 0x4ab062
call fcn.004605a0
mov ecx, eax
call fcn.0045c860
test eax, eax
je 0x4ab062
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x18]
mov edx, eax
push ecx
shr edx, 0x10
push edx
push eax
call fcn.004605a0
mov ecx, eax
call fcn.0045c860
mov ecx, eax
call fcn.00470750
test eax, eax
jle 0x4ab062
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call fcn.004168ee
mov edi, eax
test edi, edi
je 0x4ab062
lea ebx, [ebx]
mov ecx, edi
call fcn.0047b660
cmp eax, dword [esp + 0x40]
jne 0x4ab053
mov ecx, edi
call fcn.0047b680
cmp eax, dword [esp + 0x44]
jne 0x4ab053
push ebx
push esi
mov ecx, edi
call fcn.004793a0
lea ecx, [esp + 0x24]
call fcn.00416905
mov edi, eax
test edi, edi
jne 0x4ab030
mov edi, dword [esp + 0x14]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
jl 0x4aafa4
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.00416939
mov eax, 1
jmp 0x4ab0a9
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.00416939
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.0055a90d
mov esp, ebp
pop ebp
ret