Function at 0x100d6600
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101740f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x10206870]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1e8], edi
mov eax, dword [esi + 0x108]
mov dword [esp + 0x2c], eax
cmp eax, edi
je 0x100d6c14
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x100d6c14
mov eax, dword [eax + 0x28]
cmp eax, edi
je 0x100d66a0
push 0x800
push edi
push 0x101c54a0
call eax
mov dword [esi + 0x10c], eax
cmp eax, edi
jne 0x100d66b1
push 0x101c54b4
jmp 0x100d66a5
push str.ControlLib32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x10c]
cmp eax, edi
je 0x100d6c14
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ctlInit
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlClose
push ecx
mov dword [esi + 0x118], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlEnumerateDevices
push edx
mov dword [esi + 0x11c], eax
call ebx
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x10c]
push str.ctlGetDeviceProperties
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlPciGetProperties
push ecx
mov dword [esi + 0x124], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlEnumTemperatureSensors
push edx
mov dword [esi + 0x128], eax
call ebx
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x10c]
push str.ctlTemperatureGetProperties
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlTemperatureGetState
push ecx
mov dword [esi + 0x130], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlEnumPowerDomains
push edx
mov dword [esi + 0x134], eax
call ebx
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x10c]
push str.ctlPowerGetProperties
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlPowerGetEnergyCounter
push ecx
mov dword [esi + 0x13c], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlPowerGetLimits
push edx
mov dword [esi + 0x140], eax
call ebx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x10c]
push str.ctlPowerTelemetryGet
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlOverclockGetProperties
push ecx
mov dword [esi + 0x148], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlOverclockPowerLimitGet
push edx
mov dword [esi + 0x14c], eax
call ebx
mov dword [esi + 0x150], eax
mov eax, dword [esi + 0x10c]
push str.ctlOverclockTemperatureLimitGet
push eax
call ebx
mov dword [esi + 0x154], eax
push str.ctlEnumEngineGroups
mov ecx, dword [esi + 0x10c]
push ecx
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlEngineGetProperties
push edx
mov dword [esi + 0x158], eax
call ebx
mov dword [esi + 0x15c], eax
mov eax, dword [esi + 0x10c]
push str.ctlEngineGetActivity
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlEnumMemoryModules
push ecx
mov dword [esi + 0x160], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlMemoryGetProperties
push edx
mov dword [esi + 0x164], eax
call ebx
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x10c]
push str.ctlMemoryGetState
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlMemoryGetBandwidth
push ecx
mov dword [esi + 0x16c], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlEnumFrequencyDomains
push edx
mov dword [esi + 0x170], eax
call ebx
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x10c]
push str.ctlFrequencyGetProperties
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlFrequencyGetAvailableClocks
push ecx
mov dword [esi + 0x178], eax
call ebx
mov edx, dword [esi + 0x10c]
push str.ctlFrequencyGetRange
push edx
mov dword [esi + 0x17c], eax
call ebx
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x10c]
push str.ctlFrequencyGetState
push eax
call ebx
mov ecx, dword [esi + 0x10c]
push str.ctlFrequencyGetThrottleTime
push ecx
mov dword [esi + 0x184], eax
call ebx
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x188], eax
cmp ecx, edi
je 0x100d6c14
cmp dword [esi + 0x11c], edi
je 0x100d6c14
cmp dword [esi + 0x120], edi
je 0x100d6c14
cmp dword [esi + 0x124], edi
je 0x100d6c14
cmp dword [esi + 0x128], edi
je 0x100d6c14
xor eax, eax
lea ebx, [esi + 0x110]
lea edx, [esp + 0x78]
push ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
push edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], 0x10001
mov dword [esp + 0x8c], 1
mov dword [esp + 0x80], 0x24
mov byte [esp + 0x84], al
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
call ecx
add esp, 8
cmp eax, edi
jne 0x100d6c14
mov ecx, dword [ebx]
mov edx, dword [esi + 0x120]
push edi
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], edi
mov dword [esi + 0x114], edi
call edx
add esp, 0xc
cmp eax, edi
jne 0x100d6bf9
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
push ecx
call fcn.1003e892
add esp, 4
mov dword [esi + 0x114], eax
cmp eax, edi
je 0x100d6bf9
mov ecx, dword [esi + 0x120]
push eax
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call ecx
add esp, 0xc
cmp eax, edi
jne 0x100d6bf9
mov eax, dword [esp + 0x14]
add eax, eax
add eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003de3e
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0x1e8], 1
test edi, edi
je 0x100d6a8b
mov eax, dword [esp + 0x30]
push 0x10
mov ebx, 0x10003220
mov ecx, edi
call fcn.100031d0
jmp 0x100d6a8d
xor edi, edi
mov byte [esp + 0x1e8], 0
mov dword [esi + 0x18c], edi
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x100d6bf9
mov eax, dword [esi + 0x114]
cmp dword [eax + edi*4], 0
je 0x100d6bee
push 0x138
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.1003f7d0
add esp, 0xc
push 8
mov dword [esp + 0xa0], 0x138
call fcn.1003e892
add esp, 4
push 0x40
lea edx, [esp + 0x38]
push 0
push edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 8
call fcn.1003f7d0
mov ecx, dword [esi + 0x114]
add esp, 0xc
lea eax, [esp + 0x9c]
mov dword [esp + 0x34], 0x40
mov edx, dword [ecx + edi*4]
push eax
mov eax, dword [esi + 0x124]
push edx
call eax
add esp, 8
test eax, eax
jne 0x100d6bde
mov edx, dword [esi + 0x114]
mov eax, dword [edx + edi*4]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x128]
push eax
call ecx
add esp, 8
test eax, eax
jne 0x100d6bde
cmp dword [esp + 0xac], 1
jne 0x100d6bde
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.1007dc90
test eax, eax
jle 0x100d6bde
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
call fcn.10001180
mov ebx, eax
test ebx, ebx
je 0x100d6bde
mov ecx, ebx
call fcn.100e3790
cmp eax, dword [esp + 0x48]
jne 0x100d6bcf
mov ecx, ebx
call fcn.100e3770
cmp eax, dword [esp + 0x4c]
jne 0x100d6bcf
mov ecx, ebx
call fcn.100e3750
cmp eax, dword [esp + 0x50]
jne 0x100d6bcf
push edi
mov eax, ebx
call fcn.100e3830
lea ecx, [esp + 0x24]
call fcn.10001eb0
mov ebx, eax
test ebx, ebx
jne 0x100d6ba0
mov eax, dword [esp + 0xa4]
push eax
call fcn.1003e7b5
add esp, 4
inc edi
cmp edi, dword [esp + 0x14]
jl 0x100d6aa7
lea ecx, [esp + 0x18]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.100014a0
mov eax, 1
jmp 0x100d6c2a
lea ecx, [esp + 0x18]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.100014a0
xor eax, eax
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.1003dc89
mov esp, ebp
pop ebp
ret