Function at 0x1400910e0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x210
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdi, rcx
lea r12, vtable.CTList_class_CDevice_.0
mov qword [rsp + 0x28], r12
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
mov r14, qword [rcx + 0x110]
cmp r14, rbx
jne 0x140091151
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x28]
call fcn.140002b70
xor eax, eax
jmp 0x1400917b5
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x38]
cmp rcx, rbx
jne 0x140091163
jmp 0x1400917a4
mov rax, qword [rcx + 0x48]
cmp rax, rbx
je 0x14009119f
xor edx, edx
mov r8d, 0x800
lea rcx, str.ControlLib.dll
call rax
mov qword [rdi + 0x118], rax
cmp rax, rbx
jne 0x1400911b3
lea rcx, str.ControlLib.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x118], rax
jmp 0x1400911b3
lea rcx, str.ControlLib.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x118], rax
mov rcx, qword [rdi + 0x118]
cmp rcx, rbx
je 0x1400917a4
lea rdx, str.ctlInit
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x130], rax
lea rdx, str.ctlClose
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x138], rax
lea rdx, str.ctlEnumerateDevices
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x140], rax
lea rdx, str.ctlGetDeviceProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x148], rax
lea rdx, str.ctlPciGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x150], rax
lea rdx, str.ctlEnumTemperatureSensors
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x158], rax
lea rdx, str.ctlTemperatureGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x160], rax
lea rdx, str.ctlTemperatureGetState
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x168], rax
lea rdx, str.ctlEnumPowerDomains
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x170], rax
lea rdx, str.ctlPowerGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x178], rax
lea rdx, str.ctlPowerGetEnergyCounter
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x180], rax
lea rdx, str.ctlPowerGetLimits
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x188], rax
lea rdx, str.ctlPowerTelemetryGet
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x190], rax
lea rdx, str.ctlOverclockGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x198], rax
lea rdx, str.ctlOverclockPowerLimitGet
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1a0], rax
lea rdx, str.ctlOverclockTemperatureLimitGet
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1a8], rax
lea rdx, str.ctlEnumEngineGroups
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1b0], rax
lea rdx, str.ctlEngineGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1b8], rax
lea rdx, str.ctlEngineGetActivity
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1c0], rax
lea rdx, str.ctlEnumMemoryModules
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1c8], rax
lea rdx, str.ctlMemoryGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1d0], rax
lea rdx, str.ctlMemoryGetState
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1d8], rax
lea rdx, str.ctlMemoryGetBandwidth
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1e0], rax
lea rdx, str.ctlEnumFrequencyDomains
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1e8], rax
lea rdx, str.ctlFrequencyGetProperties
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1f0], rax
lea rdx, str.ctlFrequencyGetAvailableClocks
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1f8], rax
lea rdx, str.ctlFrequencyGetRange
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x200], rax
lea rdx, str.ctlFrequencyGetState
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x208], rax
lea rdx, str.ctlFrequencyGetThrottleTime
mov rcx, qword [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x210], rax
cmp qword [rdi + 0x130], rbx
je 0x1400917a4
cmp qword [rdi + 0x138], rbx
je 0x1400917a4
cmp qword [rdi + 0x140], rbx
je 0x1400917a4
cmp qword [rdi + 0x148], rbx
je 0x1400917a4
cmp qword [rdi + 0x150], rbx
je 0x1400917a4
mov esi, 0x24
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140158a90
mov dword [rsp + 0x98], 0x10001
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0x90], esi
mov byte [rsp + 0x94], bl
lea ebp, [rsi - 0x14]
mov r8, rbp
xor edx, edx
lea rcx, [rsp + 0xa4]
call fcn.140158a90
lea rdx, [rdi + 0x120]
lea rcx, [rsp + 0x90]
call qword [rdi + 0x130]
cmp eax, ebx
jne 0x1400917a4
mov dword [rsp + 0x20], ebx
mov qword [rdi + 0x128], rbx
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi + 0x120]
call qword [rdi + 0x140]
cmp eax, ebx
jne 0x14009179d
mov ecx, dword [rsp + 0x20]
shl rcx, 3
call fcn.140158508
mov qword [rdi + 0x128], rax
cmp rax, rbx
je 0x14009179d
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi + 0x120]
call qword [rdi + 0x140]
cmp eax, ebx
jne 0x14009179d
mov esi, dword [rsp + 0x20]
shl esi, 2
mov rax, rbp
mul rsi
lea rcx, [rbp - 0x11]
cmovo rax, rcx
mov rcx, rax
call fcn.14013f170
cmp rax, rbx
je 0x140091618
mov rcx, rax
lea edx, [rsi - 1]
cmp edx, ebx
jl 0x14009161b
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
add rcx, rbp
sub edx, 1
jns 0x140091607
jmp 0x14009161b
mov rax, rbx
mov qword [rdi + 0x218], rax
mov r13d, ebx
mov ecx, dword [rsp + 0x20]
cmp ecx, ebx
jle 0x14009179d
mov r12, rbx
mov rax, qword [rdi + 0x128]
cmp qword [r12 + rax], rbx
je 0x140091786
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0xc0]
call fcn.140158a90
mov dword [rsp + 0xc0], 0x140
mov ecx, 8
call fcn.140158508
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 8
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140158a90
mov dword [rsp + 0x50], 0x40
mov rcx, qword [rdi + 0x128]
lea rdx, [rsp + 0xc0]
mov rcx, qword [r12 + rcx]
call qword [rdi + 0x148]
cmp eax, ebx
jne 0x140091775
mov rcx, qword [rdi + 0x128]
lea rdx, [rsp + 0x50]
mov rcx, qword [r12 + rcx]
call qword [rdi + 0x150]
cmp eax, ebx
jne 0x140091775
cmp dword [rsp + 0xd4], 1
jne 0x140091775
lea r9, [rsp + 0x28]
movzx r8d, word [rsp + 0x104]
movzx edx, word [rsp + 0x100]
mov rcx, r14
call fcn.140056418
cmp eax, ebx
jle 0x140091775
mov rbp, qword [rsp + 0x30]
cmp rbp, rbx
je 0x140091719
mov rsi, qword [rbp + 8]
jmp 0x14009171c
mov rsi, rbx
cmp rsi, rbx
je 0x140091775
mov rcx, rsi
call fcn.140061ff4
cmp eax, dword [rsp + 0x64]
jne 0x140091759
mov rcx, rsi
call fcn.14006201c
cmp eax, dword [rsp + 0x68]
jne 0x140091759
mov rcx, rsi
call fcn.140062044
cmp eax, dword [rsp + 0x6c]
jne 0x140091759
mov r8d, r13d
mov rdx, rdi
mov rcx, rsi
call fcn.14005fbb0
cmp rbp, rbx
je 0x14009176d
mov rbp, qword [rbp + 0x10]
cmp rbp, rbx
je 0x140091775
mov rsi, qword [rbp + 8]
jmp 0x140091770
mov rsi, rbx
cmp rsi, rbx
jne 0x140091721
mov rcx, qword [rsp + 0xc8]
call fcn.140158604
mov ecx, dword [rsp + 0x20]
inc r13d
add r12, 8
cmp r13d, ecx
jl 0x140091634
lea r12, vtable.CTList_class_CDevice_.0
mov ebx, 1
jmp 0x1400917a4
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x28]
call fcn.140002b70
mov eax, ebx
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret