Function at 0x1001a310
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027d77
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1002f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x10c
call fcn.1001af31
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [esi], vtable.LNvGpuTemp.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.10001030
test eax, eax
jne 0x1001a38b
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.100027f0
add esp, 8
test eax, eax
jne 0x1001a38b
cmp dword [ebp - 0x54], eax
je 0x1001a38b
mov dword [esi + 4], eax
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebx], esi
push 0
push eax
mov dword [ebp - 0x58], 0
call fcn.1001c4f0
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
add esp, 0xc
mov eax, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
call eax
test al, al
jne 0x1001a509
mov ecx, dword [ebx]
test ecx, ecx
je 0x1001a3cf
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx], 0
push 0x28
call fcn.1001af31
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.atiadlxx.dll
mov dword [edi], vtable.LAMDGpuTemp.0
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0xffffffff
call esi
mov dword [edi + 0x24], eax
test eax, eax
jne 0x1001a43a
push str.atiadlxy.dll
call esi
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1001a4d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ADL2_Main_Control_Create
push eax
call esi
push str.ADL2_Main_Control_Destroy
push dword [edi + 0x24]
mov dword [edi + 4], eax
call esi
push str.ADL2_Adapter_NumberOfAdapters_Get
push dword [edi + 0x24]
mov dword [edi + 8], eax
call esi
push str.ADL2_Adapter_AdapterInfo_Get
push dword [edi + 0x24]
mov dword [edi + 0xc], eax
call esi
push str.ADL2_Overdrive5_Temperature_Get
push dword [edi + 0x24]
mov dword [edi + 0x10], eax
call esi
mov ecx, dword [edi + 4]
mov dword [edi + 0x14], eax
test ecx, ecx
je 0x1001a4d9
cmp dword [edi + 8], 0
je 0x1001a4d9
cmp dword [edi + 0xc], 0
je 0x1001a4d9
cmp dword [edi + 0x10], 0
je 0x1001a4d9
test eax, eax
je 0x1001a4d9
lea esi, [edi + 0x18]
push esi
push 1
push 0x1001a210
call ecx
add esp, 0xc
test eax, eax
jne 0x1001a4d9
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push dword [esi]
mov eax, dword [edi + 0xc]
call eax
add esp, 8
test eax, eax
jne 0x1001a4d9
cmp dword [ebp - 0x54], 1
jl 0x1001a4d9
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
mov dword [ebx], edi
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov eax, dword [eax + 4]
mov ecx, edi
call eax
test al, al
jne 0x1001a509
mov ecx, dword [ebx]
test ecx, ecx
je 0x1001a509
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebx], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001af20
mov esp, ebp
pop ebp
ret