Function at 0x10001990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b325
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10026010]
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 edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.HardwareLib.dll_DebugStringA]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
push str.CCPUIDInterface::GetTestTemperature_enter
mov dword [ebp - 0x4c], eax
call ebx
add esp, 4
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push 3
push 0x1002230c
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10002200
mov dword [ebp - 4], 0
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x10001a2e
mov ecx, dword [edi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002170
cmp esi, 1
je 0x10001c8a
push str.CCPUIDInterface::GetTestTemperature_ohm0
call ebx
add esp, 4
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push 3
push 0x10022340
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10002200
mov dword [ebp - 4], 1
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x10001ab5
mov ecx, dword [edi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push eax
push str.config
call esi
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002170
push 3
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push 0x10022348
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10002200
mov dword [ebp - 4], 2
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x10001b2e
mov ecx, dword [edi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
push str.config
call esi
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10002170
push 3
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x10022350
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10002200
mov dword [ebp - 4], 3
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x10001ba1
mov ecx, dword [edi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push str.config
call esi
mov esi, dword [ebp - 0x50]
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002170
push 3
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push 0x10022358
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10002200
mov dword [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x10001c12
mov edi, dword [edi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.config
call eax
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10002170
cmp dword [0x10027418], 0
jne 0x10001d97
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0xa
jge 0x10001d97
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0xa
jge 0x10001d97
cmp dword [esi], 0xa
jge 0x10001d97
push str.CCPUIDInterface::GetTestTemperature_gTjSDKTempTRUE
call ebx
mov dword [0x10027418], 1
mov ecx, 1
jmp 0x10001d8f
push 9
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push str.ohm_error
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10002200
mov dword [ebp - 4], 5
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x10001cd3
mov ecx, dword [edi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.config
call eax
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10002170
cmp esi, 1
jne 0x10001d3c
push str.CCPUIDInterface::GetTestTemperature_ohm_error1
call ebx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov dword [0x1002740c], esi
mov esi, dword [ebp - 0x50]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov dword [esi], 0
mov dword [eax], 0
mov dword [ecx], 0
mov ecx, 2
jmp 0x10001d8f
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
push ecx
push esi
push dword [ebp - 0x44]
lea ecx, [edi + 0x5c]
push dword [ebp - 0x48]
call fcn.10004660
test eax, eax
jne 0x10001d83
push str.CCPUIDInterface::GetTestTemperature_m_htlibsdk.GetTemperature_error
call ebx
mov ecx, dword [0x10027414]
xor eax, eax
inc ecx
add esp, 4
cmp ecx, 0xa
mov dword [0x10027414], ecx
setg al
mov dword [0x1002740c], eax
jle 0x10001d97
mov ecx, 2
jmp 0x10001d92
push str.CCPUIDInterface::GetTestTemperature_gTjOHMSuccessTRUE
call ebx
mov ecx, 3
add esp, 4
call fcn.100014d0
push str.CCPUIDInterface::GetTestTemperature_leave
call ebx
add esp, 4
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.10007a97
mov esp, ebp
pop ebp
ret 0x10