Function at 0x451ff0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55d409
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x5c8810]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x20], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push 0x5665c4
mov dword [esp + 0x1e4], 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 0x452089
push str.LoadLibraryExA
push eax
call edi
cmp eax, ebx
je 0x452089
push 0x800
push ebx
push str.ControlLib32.dll
call eax
mov dword [esi + 0x108], eax
cmp eax, ebx
jne 0x45209a
push str.ControlLib32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x108]
cmp eax, ebx
je 0x452605
push str.ctlInit
push eax
call edi
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x108]
push str.ctlClose
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlEnumerateDevices
push ecx
mov dword [esi + 0x118], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlGetDeviceProperties
push edx
mov dword [esi + 0x11c], eax
call edi
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x108]
push str.ctlPciGetProperties
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlEnumTemperatureSensors
push ecx
mov dword [esi + 0x124], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlTemperatureGetProperties
push edx
mov dword [esi + 0x128], eax
call edi
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x108]
push str.ctlTemperatureGetState
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlEnumPowerDomains
push ecx
mov dword [esi + 0x130], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlPowerGetProperties
push edx
mov dword [esi + 0x134], eax
call edi
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x108]
push str.ctlPowerGetEnergyCounter
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlPowerGetLimits
push ecx
mov dword [esi + 0x13c], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlPowerTelemetryGet
push edx
mov dword [esi + 0x140], eax
call edi
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x108]
push str.ctlOverclockGetProperties
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlOverclockPowerLimitGet
push ecx
mov dword [esi + 0x148], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlOverclockTemperatureLimitGet
push edx
mov dword [esi + 0x14c], eax
call edi
mov dword [esi + 0x150], eax
mov eax, dword [esi + 0x108]
push str.ctlEnumEngineGroups
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlEngineGetProperties
push ecx
mov dword [esi + 0x154], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlEngineGetActivity
push edx
mov dword [esi + 0x158], eax
call edi
mov dword [esi + 0x15c], eax
mov eax, dword [esi + 0x108]
push str.ctlEnumMemoryModules
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlMemoryGetProperties
push ecx
mov dword [esi + 0x160], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlMemoryGetState
push edx
mov dword [esi + 0x164], eax
call edi
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x108]
push str.ctlMemoryGetBandwidth
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlEnumFrequencyDomains
push ecx
mov dword [esi + 0x16c], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlFrequencyGetProperties
push edx
mov dword [esi + 0x170], eax
call edi
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x108]
push str.ctlFrequencyGetAvailableClocks
push eax
call edi
mov ecx, dword [esi + 0x108]
push str.ctlFrequencyGetRange
push ecx
mov dword [esi + 0x178], eax
call edi
mov edx, dword [esi + 0x108]
push str.ctlFrequencyGetState
push edx
mov dword [esi + 0x17c], eax
call edi
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x108]
push str.ctlFrequencyGetThrottleTime
push eax
call edi
mov ecx, dword [esi + 0x114]
mov dword [esi + 0x184], eax
cmp ecx, ebx
je 0x452605
cmp dword [esi + 0x118], ebx
je 0x452605
cmp dword [esi + 0x11c], ebx
je 0x452605
cmp dword [esi + 0x120], ebx
je 0x452605
cmp dword [esi + 0x124], ebx
je 0x452605
xor eax, eax
lea edi, [esi + 0x10c]
lea edx, [esp + 0x70]
push edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
push edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], 0x10001
mov dword [esp + 0x84], 1
mov dword [esp + 0x78], 0x24
mov byte [esp + 0x7c], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
call ecx
add esp, 8
cmp eax, ebx
jne 0x452605
mov ecx, dword [edi]
mov edx, dword [esi + 0x11c]
push ebx
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x110], ebx
call edx
add esp, 0xc
cmp eax, ebx
jne 0x4525ea
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
push ecx
call fcn.00532967
add esp, 4
mov dword [esi + 0x110], eax
cmp eax, ebx
je 0x4525ea
mov ecx, dword [esi + 0x11c]
push eax
mov eax, dword [edi]
lea edx, [esp + 0x18]
push edx
push eax
call ecx
add esp, 0xc
cmp eax, ebx
jne 0x4525ea
mov ebx, dword [esp + 0x14]
add ebx, ebx
add ebx, ebx
xor ecx, ecx
mov eax, ebx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005120eb
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x1e0], 1
test edi, edi
je 0x45245c
push 0x450fc0
push ebx
push 0x10
push edi
call fcn.00451100
jmp 0x45245e
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], ebx
mov byte [esp + 0x1e0], 0
mov dword [esi + 0x188], edi
jle 0x4525ea
mov eax, dword [esi + 0x110]
cmp dword [eax + ebx*4], 0
je 0x4525df
push 0x138
lea ecx, [esp + 0x98]
push 0
push ecx
call fcn.00530830
push 8
mov dword [esp + 0xa4], 0x138
call fcn.00532967
push 0x40
lea edx, [esp + 0x40]
push 0
push edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 8
call fcn.00530830
mov ecx, dword [esi + 0x110]
lea eax, [esp + 0xb0]
mov dword [esp + 0x48], 0x40
mov edx, dword [ecx + ebx*4]
push eax
mov eax, dword [esi + 0x120]
push edx
call eax
add esp, 0x24
test eax, eax
jne 0x4525cf
mov edx, dword [esi + 0x110]
mov eax, dword [edx + ebx*4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x124]
push eax
call ecx
add esp, 8
test eax, eax
jne 0x4525cf
cmp dword [esp + 0xa4], 1
jne 0x4525cf
call fcn.00416b80
mov ecx, eax
call fcn.00413330
test eax, eax
je 0x4525cf
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00416b80
mov ecx, eax
call fcn.00413330
mov ecx, eax
call fcn.004253f0
test eax, eax
jle 0x4525cf
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
call fcn.00401440
mov edi, eax
test edi, edi
je 0x4525cf
lea ebx, [ebx]
mov ecx, edi
call fcn.00444130
cmp eax, dword [esp + 0x40]
jne 0x4525c0
mov ecx, edi
call fcn.00444150
cmp eax, dword [esp + 0x44]
jne 0x4525c0
mov ecx, edi
call fcn.00444170
cmp eax, dword [esp + 0x48]
jne 0x4525c0
push ebx
push esi
mov ecx, edi
call fcn.00441e60
lea ecx, [esp + 0x18]
call fcn.00403130
mov edi, eax
test edi, edi
jne 0x452590
mov eax, dword [esp + 0x9c]
push eax
call fcn.0053288a
add esp, 4
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x452478
lea ecx, [esp + 0x20]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.004014c0
mov eax, 1
jmp 0x45261b
lea ecx, [esp + 0x20]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.004014c0
xor eax, eax
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0053081c
mov esp, ebp
pop ebp
ret