Function at 0x483500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59bc29
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x108]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x483af7
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x483af7
mov eax, dword [eax + 0x24]
cmp eax, ebx
je 0x483599
push 0x800
push ebx
push str.ControlLib32.dll
call eax
mov dword [esi + 0x10c], eax
cmp eax, ebx
jne 0x4835aa
push str.ControlLib32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x10c]
cmp eax, ebx
je 0x483af7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ctlInit
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlClose
push ecx
mov dword [esi + 0x118], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlEnumerateDevices
push edx
mov dword [esi + 0x11c], eax
call edi
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x10c]
push str.ctlGetDeviceProperties
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlPciGetProperties
push ecx
mov dword [esi + 0x124], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlEnumTemperatureSensors
push edx
mov dword [esi + 0x128], eax
call edi
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x10c]
push str.ctlTemperatureGetProperties
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlTemperatureGetState
push ecx
mov dword [esi + 0x130], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlEnumPowerDomains
push edx
mov dword [esi + 0x134], eax
call edi
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x10c]
push str.ctlPowerGetProperties
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlPowerGetEnergyCounter
push ecx
mov dword [esi + 0x13c], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlPowerGetLimits
push edx
mov dword [esi + 0x140], eax
call edi
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x10c]
push str.ctlPowerTelemetryGet
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlOverclockGetProperties
push ecx
mov dword [esi + 0x148], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlOverclockPowerLimitGet
push edx
mov dword [esi + 0x14c], eax
call edi
mov dword [esi + 0x150], eax
mov eax, dword [esi + 0x10c]
push str.ctlOverclockTemperatureLimitGet
push eax
call edi
mov dword [esi + 0x154], eax
push str.ctlEnumEngineGroups
mov ecx, dword [esi + 0x10c]
push ecx
call edi
mov edx, dword [esi + 0x10c]
push str.ctlEngineGetProperties
push edx
mov dword [esi + 0x158], eax
call edi
mov dword [esi + 0x15c], eax
mov eax, dword [esi + 0x10c]
push str.ctlEngineGetActivity
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlEnumMemoryModules
push ecx
mov dword [esi + 0x160], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlMemoryGetProperties
push edx
mov dword [esi + 0x164], eax
call edi
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x10c]
push str.ctlMemoryGetState
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlMemoryGetBandwidth
push ecx
mov dword [esi + 0x16c], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlEnumFrequencyDomains
push edx
mov dword [esi + 0x170], eax
call edi
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x10c]
push str.ctlFrequencyGetProperties
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlFrequencyGetAvailableClocks
push ecx
mov dword [esi + 0x178], eax
call edi
mov edx, dword [esi + 0x10c]
push str.ctlFrequencyGetRange
push edx
mov dword [esi + 0x17c], eax
call edi
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x10c]
push str.ctlFrequencyGetState
push eax
call edi
mov ecx, dword [esi + 0x10c]
push str.ctlFrequencyGetThrottleTime
push ecx
mov dword [esi + 0x184], eax
call edi
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x188], eax
cmp ecx, ebx
je 0x483af7
cmp dword [esi + 0x11c], ebx
je 0x483af7
cmp dword [esi + 0x120], ebx
je 0x483af7
cmp dword [esi + 0x124], ebx
je 0x483af7
cmp dword [esi + 0x128], ebx
je 0x483af7
xor eax, eax
lea edi, [esi + 0x110]
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 0x483af7
mov ecx, dword [edi]
mov edx, dword [esi + 0x120]
push ebx
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x114], ebx
call edx
add esp, 0xc
cmp eax, ebx
jne 0x483adc
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call fcn.0057ed3b
add esp, 4
mov dword [esi + 0x114], eax
cmp eax, ebx
je 0x483adc
mov ecx, dword [esi + 0x120]
push eax
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
push eax
call ecx
add esp, 0xc
cmp eax, ebx
jne 0x483adc
mov ebx, dword [esp + 0x10]
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.0056cbbf
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
mov byte [esp + 0x1e0], 1
test edi, edi
je 0x483972
push 0x482500
push ebx
push 0x10
push edi
call fcn.0046b790
jmp 0x483974
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov byte [esp + 0x1e0], 0
mov dword [esi + 0x18c], edi
jle 0x483adc
mov eax, dword [esi + 0x114]
cmp dword [eax + ebx*4], 0
je 0x483ad1
push 0x138
lea ecx, [esp + 0x98]
push 0
push ecx
call fcn.0057f470
push 8
mov dword [esp + 0xa4], 0x138
call fcn.0057ed3b
push 0x40
lea edx, [esp + 0x40]
push 0
push edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 8
call fcn.0057f470
mov ecx, dword [esi + 0x114]
lea eax, [esp + 0xb0]
mov dword [esp + 0x48], 0x40
mov edx, dword [ecx + ebx*4]
push eax
mov eax, dword [esi + 0x124]
push edx
call eax
add esp, 0x24
test eax, eax
jne 0x483ac1
mov edx, dword [esi + 0x114]
mov eax, dword [edx + ebx*4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x128]
push eax
call ecx
add esp, 8
test eax, eax
jne 0x483ac1
cmp dword [esp + 0xa4], 1
jne 0x483ac1
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0044c8e0
test eax, eax
jle 0x483ac1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
call fcn.0041c700
mov edi, eax
test edi, edi
je 0x483ac1
mov ecx, edi
call fcn.00458690
cmp eax, dword [esp + 0x40]
jne 0x483ab2
mov ecx, edi
call fcn.004586b0
cmp eax, dword [esp + 0x44]
jne 0x483ab2
mov ecx, edi
call fcn.004586d0
cmp eax, dword [esp + 0x48]
jne 0x483ab2
push ebx
push esi
mov ecx, edi
call fcn.004562e0
lea ecx, [esp + 0x20]
call fcn.0041c720
mov edi, eax
test edi, edi
jne 0x483a82
mov eax, dword [esp + 0x9c]
push eax
call fcn.0057ee45
add esp, 4
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x48398e
lea ecx, [esp + 0x14]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.0041c7a0
mov eax, 1
jmp 0x483b0d
lea ecx, [esp + 0x14]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.0041c7a0
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.0057db4c
mov esp, ebp
pop ebp
ret