Function at 0x410e6f
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x8088]
mov eax, 0x8cb4
call fcn.004680f0
mov eax, dword [0x49ce98]
xor eax, ebp
mov dword [ebp + 0x8084], eax
mov eax, dword [ebp + 0x8090]
and dword [ebp + 0x78], 0
push ebx
mov ebx, dword [ebp + 0x8098]
push esi
push edi
mov edi, dword [ebp + 0x8094]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x809c]
push 0x7fff
mov dword [ebp + 0x70], eax
lea eax, [ebp + 0x85]
push 0
push eax
mov dword [ebp + 0x7c], ebx
mov byte [ebp + 0x84], 0
call sub.MSVCR90.dll_memset
push str.MACMSharedMemory
push edi
call sub.MSVCR90.dll_strcmp
add esp, 0x14
test eax, eax
jne 0x4115f4
mov esi, 0x49d430
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetSelectedGpu_void_]
mov edi, eax
mov ecx, esi
mov dword [ebp + 0x80], edi
call fcn.0041712d
mov dword [ebp + 0x78], eax
mov esi, 0x8000
test eax, eax
je 0x411624
cmp dword [eax], 0x4d41434d
jne 0x411624
cmp edi, dword [eax + 0xc]
jae 0x411624
push str.Format
push ebx
call sub.MSVCR90.dll_strcmp
mov edi, dword [sym.imp.MSVCR90.dll_sprintf_s]
pop ecx
pop ecx
mov ebx, 0x475278
test eax, eax
jne 0x410f53
push 2
push ebx
lea eax, [ebp + 0x84]
push esi
push eax
call edi
add esp, 0x10
push str.CoreClk
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x410f8f
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 1
je 0x410f8f
push dword [eax + 4]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.ShaderClk
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x410fd1
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 2
je 0x410fd1
test byte [ecx + 0x18], 1
jne 0x410fd1
push dword [eax + 0x14]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.MemClk
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x41100d
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 4
je 0x41100d
push dword [eax + 0x24]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.CoreClkBoost
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x41104f
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x800
je 0x41104f
push dword [eax + 0xbc]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.MemClkBoost
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411091
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x1000
je 0x411091
push dword [eax + 0xcc]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.FanSpeed
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x4110cd
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 8
je 0x4110cd
push dword [eax + 0x34]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.FanMode
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x41111b
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 8
je 0x41111b
test byte [eax + 0x38], 1
lea eax, [ebp + 0x84]
je 0x41110b
push 0x47734c
jmp 0x411110
push 0x477134
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
push str.CoreVoltage
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411157
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 0x10
je 0x411157
push dword [eax + 0x4c]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.MemoryVoltage
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411193
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 0x20
je 0x411193
push dword [eax + 0x5c]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.AuxVoltage
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x4111cf
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 0x40
je 0x4111cf
push dword [eax + 0x6c]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.Aux2Voltage
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x41120d
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], esi
je 0x41120d
push dword [eax + 0xf4]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.CoreVoltageBoost
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411249
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test byte [eax], 0x80
je 0x411249
push dword [eax + 0x7c]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.MemoryVoltageBoost
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x41128b
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x100
je 0x41128b
push dword [eax + 0x8c]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.AuxVoltageBoost
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x4112cd
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x200
je 0x4112cd
push dword [eax + 0x9c]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.Aux2VoltageBoost
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x41130f
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x10000
je 0x41130f
push dword [eax + 0x104]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.PowerLimit
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411351
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x400
je 0x411351
push dword [eax + 0xac]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.ThermalLimit
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411399
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x2000
je 0x411399
test byte [ecx + 0x18], 4
jne 0x411399
push dword [eax + 0xdc]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.ThermalPrioritize
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x4113db
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea eax, [eax + ecx + 0x24]
test dword [eax], 0x4000
je 0x4113db
push dword [eax + 0xec]
lea eax, [ebp + 0x84]
push ebx
push esi
push eax
call edi
add esp, 0x10
push str.VFCurve
push dword [ebp + 0x7c]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x411624
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
imul eax, eax, 0xeb0
lea edi, [eax + ecx + 0x24]
test dword [edi], 0x20000
je 0x411624
push 0xc98
lea eax, [ebp - 0xc2c]
push 0
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [edi + 0x114]
mov ecx, dword [edi + 0x11c]
mov dword [ebp - 0xc2c], eax
mov eax, dword [edi + 0x118]
mov dword [ebp - 0xc24], eax
mov eax, dword [edi + 0xd20]
mov dword [ebp - 0x20], eax
mov eax, 0x100
add esp, 0xc
mov dword [ebp - 0xc28], ecx
cmp ecx, eax
jbe 0x411463
mov dword [ebp - 0xc28], eax
fld qword [0x4785d0]
xor edx, edx
cmp dword [ebp - 0xc28], edx
jbe 0x4114bd
lea eax, [ebp - 0xc1c]
lea ecx, [edi + 0x124]
mov ebx, dword [ecx - 4]
fild dword [ecx - 4]
test ebx, ebx
jge 0x41148f
fadd dword [0x477ab8]
fdiv st(1)
mov ebx, dword [ecx]
fstp dword [eax - 4]
fild dword [ecx]
test ebx, ebx
jge 0x4114a2
fadd dword [0x477ab8]
fdiv st(1)
inc edx
add ecx, 0xc
fstp dword [eax]
fild dword [ecx - 8]
add eax, 0xc
fdiv st(1)
fstp dword [eax - 8]
cmp edx, dword [ebp - 0xc28]
jb 0x41147f
mov eax, dword [edi + 0xd24]
push 4
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jbe 0x4114d0
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp dword [ebp - 0x1c], edx
jbe 0x41153c
lea eax, [ebp - 0x14]
lea ecx, [edi + 0xd2c]
mov ebx, dword [ecx - 4]
fild dword [ecx - 4]
test ebx, ebx
jge 0x4114f0
fadd dword [0x477ab8]
mov ebx, dword [ecx]
fstp dword [eax + 8]
fild dword [ecx]
test ebx, ebx
jge 0x411501
fadd dword [0x477ab8]
mov ebx, dword [ecx + 4]
fstp dword [eax]
fild dword [ecx + 4]
test ebx, ebx
jge 0x411513
fadd dword [0x477ab8]
fdiv st(1)
mov ebx, dword [ecx + 8]
fstp dword [eax + 4]
fild dword [ecx + 8]
test ebx, ebx
jge 0x411528
fadd dword [0x477ab8]
fdiv st(1)
inc edx
add eax, 0x10
add ecx, 0x10
fstp dword [eax - 0x14]
cmp edx, dword [ebp - 0x1c]
jb 0x4114e0
push 4
pop ecx
mov eax, dword [edi + 0xd68]
mov dword [ebp + 0x28], eax
cmp eax, ecx
jbe 0x41154c
mov dword [ebp + 0x28], ecx
xor edx, edx
cmp dword [ebp + 0x28], edx
jbe 0x4115b5
lea eax, [ebp + 0x30]
lea ecx, [edi + 0xd74]
mov edi, dword [ecx - 8]
fild dword [ecx - 8]
test edi, edi
jge 0x41156c
fadd dword [0x477ab8]
mov edi, dword [ecx - 4]
fstp dword [eax + 8]
fild dword [ecx - 4]
test edi, edi
jge 0x41157f
fadd dword [0x477ab8]
mov edi, dword [ecx]
fstp dword [eax]
fild dword [ecx]
test edi, edi
jge 0x41158f
fadd dword [0x477ab8]
fdiv st(1)
mov edi, dword [ecx + 4]
fstp dword [eax + 4]
fild dword [ecx + 4]
test edi, edi
jge 0x4115a4
fadd dword [0x477ab8]
fdiv st(1)
inc edx
add eax, 0x10
add ecx, 0x10
fstp dword [eax - 0x14]
cmp edx, dword [ebp + 0x28]
jb 0x41155c
push 0xc98
fstp st(0)
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040f8ba
add esp, 0xc
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea eax, [ebp + 0x84]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x411624
lea eax, [ebp + 0x74]
push eax
call fcn.0040e945
pop ecx
push dword [eax + 4]
mov esi, 0x8000
push esi
lea eax, [ebp + 0x84]
push eax
push 0x4749e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp + 0x74]
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea eax, [ebp + 0x84]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
test eax, eax
jne 0x41164f
cmp dword [ebp + 0x70], 0
je 0x41164f
push dword [ebp + 0x70]
lea eax, [ebp + 0x84]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp + 0x6c]
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ecx, dword [ebp + 0x8084]
mov eax, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467d0a
add ebp, 0x8088
leave
ret