Function at 0x4075ae
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push 0x2c8
mov eax, 0x4ae2cf
call fcn.00487ec7
mov esi, ecx
mov dword [ebp - 0x224], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0040364a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.0040364a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.0040364a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.0040364a
push 5
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x258]
call fcn.0040364a
mov byte [ebp - 4], 6
lea edi, [esi + 0x238]
push ebx
mov ecx, edi
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x278], edi
call fcn.0040ab14
mov ecx, edi
push dword [eax + 0x1898]
push ebx
call fcn.0040ab14
mov ecx, edi
push dword [eax + 0x1878]
push ebx
call fcn.0040ab14
push dword [eax + 0x1888]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x238]
push 0x4caf58
push eax
call fcn.00403636
add esp, 0x18
mov ecx, edi
push ebx
call fcn.0040ab14
mov ecx, edi
push dword [eax + 0x1898]
push ebx
call fcn.0040ab14
mov ecx, edi
push dword [eax + 0x1878]
push ebx
call fcn.0040ab14
push dword [eax + 0x1888]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x21c]
push str.__d___s____s____s
push eax
call fcn.00403636
push 0x4ca734
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040a72e
mov byte [ebp - 4], 7
push str.Smart.ini
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040a72e
add esp, 0x30
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x210]
push 0x100
push eax
push 0x4cac14
push str.HealthStatus
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.0040259b
lea eax, [ebp - 0x210]
push eax
call fcn.00490f02
pop ecx
push ebx
mov ecx, edi
mov dword [ebp - 0x218], eax
call fcn.0040ab14
cmp dword [eax + 0x1804], 0
je 0x407aff
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, dword [ebp - 0x218]
cmp dword [eax + 0x1804], ecx
jbe 0x407932
push ebx
mov ecx, edi
call fcn.0040ab14
cmp dword [eax + 0x1804], 1
je 0x407932
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, esi
push dword [eax + 0x1804]
lea eax, [ebp - 0x228]
push eax
call fcn.0040f84c
mov byte [ebp - 4], 0xb
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x22c]
push dword [ebp - 0x218]
push eax
call fcn.0040f84c
mov byte [ebp - 4], 0xc
push dword [eax]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.HEALTH_STATUS
call fcn.00402306
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
push 0x4caff0
call fcn.00402306
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0xf
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:___s_______s__r_n
push eax
call fcn.00403636
add esp, 0x14
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
push eax
call fcn.00403393
push ecx
mov eax, esp
mov dword [ebp - 0x24c], esp
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x22c], 2
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x13
push 2
push 0x259
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x15
push 0x259
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00408a0d
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x240], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x17
push 0x259
mov byte [ebp - 4], 6
call fcn.00408b31
push 1
push 0x259
jmp 0x407af8
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, dword [ebp - 0x218]
cmp dword [eax + 0x1804], ecx
jae 0x407aff
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, esi
push dword [eax + 0x1804]
lea eax, [ebp - 0x228]
push eax
call fcn.0040f84c
mov byte [ebp - 4], 0x18
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x22c]
push dword [ebp - 0x218]
push eax
call fcn.0040f84c
mov byte [ebp - 4], 0x19
push dword [eax]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.HEALTH_STATUS
call fcn.00402306
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
push 0x4caff0
call fcn.00402306
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x1c
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:___s_______s__r_n
push eax
call fcn.00403636
add esp, 0x14
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
push eax
call fcn.00403393
push ecx
mov eax, esp
mov dword [ebp - 0x24c], esp
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x22c], 1
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x20
push 4
push 0x2bd
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x22
push 0x2bd
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00408a0d
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x240], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x24
push 0x2bd
mov byte [ebp - 4], 6
call fcn.00408b31
push 1
push 0x2bd
mov ecx, esi
call fcn.00408c56
push 0x4ca734
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040a72e
mov byte [ebp - 4], 0x25
push str.Smart.ini
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040a72e
add esp, 0x18
mov byte [ebp - 4], 0x26
push dword [eax]
lea eax, [ebp - 0x210]
push 0x100
push eax
push 0x4cb028
push 0x4cb030
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.0040259b
lea eax, [ebp - 0x210]
push eax
call fcn.00490f02
pop ecx
push ebx
mov ecx, edi
mov dword [ebp - 0x218], eax
call fcn.0040ab14
cmp dword [eax + 0x17e0], 0xffffffff
je 0x407ea8
cmp dword [ebp - 0x218], 0xffffffff
je 0x407ea8
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, dword [ebp - 0x218]
push ebx
cmp dword [eax + 0x17e0], ecx
mov ecx, edi
jge 0x407d2a
call fcn.0040ab14
push dword [eax + 0x17e0]
push dword [ebp - 0x218]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push 0x4cb03c
call fcn.00402306
mov byte [ebp - 4], 0x29
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
push str.SmartSsd
call fcn.00402306
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x2b
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:___d_______d__r_n
push eax
call fcn.00403636
add esp, 0x14
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
push eax
call fcn.00403393
push ecx
mov eax, esp
mov dword [ebp - 0x24c], esp
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x22c], 2
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x2d
push 2
push 0x25f
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x2f
push 0x25f
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00408a0d
push ecx
mov ecx, esp
lea eax, [ebp - 0x214]
mov dword [ebp - 0x240], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x31
push 0x25f
mov byte [ebp - 4], 6
call fcn.00408b31
push 1
push 0x25f
jmp 0x407ea1
call fcn.0040ab14
mov ecx, dword [ebp - 0x218]
cmp dword [eax + 0x17e0], ecx
jle 0x407ea8
push ebx
mov ecx, edi
call fcn.0040ab14
push dword [eax + 0x17e0]
push dword [ebp - 0x218]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push 0x4cb03c
call fcn.00402306
mov byte [ebp - 4], 0x32
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
push str.SmartSsd
call fcn.00402306
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x34
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:___d_______d__r_n
push eax
call fcn.00403636
add esp, 0x14
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
push eax
call fcn.00403393
push ecx
mov eax, esp
mov dword [ebp - 0x24c], esp
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x22c], 1
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x36
push 4
push 0x2c3
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x37
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x38
push 0x2c3
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00408a0d
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x240], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x3a
push 0x2c3
mov byte [ebp - 4], 6
call fcn.00408b31
push 1
push 0x2c3
mov ecx, esi
call fcn.00408c56
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov ecx, edi
push ebx
call fcn.0040ab14
cmp dword [eax + 0x17a4], 0
jbe 0x4087c8
mov eax, dword fs:[0x2c]
and dword [ebp - 0x230], 0
mov eax, dword [eax]
mov dword [ebp - 0x24c], eax
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, dword [ebp - 0x230]
cmp byte [eax + ecx + 0x1400], 5
je 0x407f43
push ebx
mov ecx, edi
call fcn.0040ab14
mov ecx, dword [ebp - 0x230]
cmp byte [eax + ecx + 0x1400], 0xc4
jne 0x407f13
cmp dword [esi + 0x67dc], 0
je 0x407f43
push ebx
mov ecx, edi
call fcn.0040ab14
mov esi, dword [ebp - 0x230]
cmp byte [eax + esi + 0x1400], 0xc5
je 0x407f49
push ebx
mov ecx, edi
call fcn.0040ab14
cmp byte [eax + esi + 0x1400], 0xc6
jne 0x408519
jmp 0x407f49
mov esi, dword [ebp - 0x230]
push ebx
mov ecx, edi
call fcn.0040ab14
cmp dword [eax + 0x1724], 0
jne 0x408519
lea ecx, [ebp - 0x218]
call fcn.0040364a
mov byte [ebp - 4], 0x3b
mov ecx, edi
and dword [ebp - 0x228], 0
push ebx
call fcn.0040ab14
cmp byte [eax + esi + 0x1400], 5
jne 0x407fb1
push str.ReallocatedSectorsCount
call fcn.0048cb73
pop ecx
push eax
push str.ReallocatedSectorsCount
lea ecx, [ebp - 0x218]
call fcn.00402266
mov dword [ebp - 0x228], 0x25a
jmp 0x40805d
push ebx
mov ecx, edi
call fcn.0040ab14
cmp byte [eax + esi + 0x1400], 0xc4
jne 0x407feb
push str.ReallocationEventCount
call fcn.0048cb73
pop ecx
push eax
push str.ReallocationEventCount
lea ecx, [ebp - 0x218]
call fcn.00402266
mov dword [ebp - 0x228], 0x25b
jmp 0x40805d
push ebx
mov ecx, edi
call fcn.0040ab14
cmp byte [eax + esi + 0x1400], 0xc5
jne 0x408025
push str.CurrentPendingSectorCount
call fcn.0048cb73
pop ecx
push eax
push str.CurrentPendingSectorCount
lea ecx, [ebp - 0x218]
call fcn.00402266
mov dword [ebp - 0x228], 0x25c
jmp 0x40805d
push ebx
mov ecx, edi
call fcn.0040ab14
cmp byte [eax + esi + 0x1400], 0xc6
jne 0x40805d
push str.UncorrectableSectorCount
call fcn.0048cb73
pop ecx
push eax
push str.UncorrectableSectorCount
lea ecx, [ebp - 0x218]
call fcn.00402266
mov dword [ebp - 0x228], 0x25d
push 0x4ca734
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.0040a72e
mov byte [ebp - 4], 0x3c
push str.Smart.ini
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0040a72e
add esp, 0x18
mov byte [ebp - 4], 0x3d
push dword [eax]
lea eax, [ebp - 0x210]
push 0x100
push eax
push 0x4cb028
push dword [ebp - 0x218]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.0040259b
lea eax, [ebp - 0x210]
push eax
call fcn.00490f02
pop ecx
push ebx
mov ecx, edi
mov dword [ebp - 0x25c], eax
call fcn.0040ab14
movzx ecx, byte [eax + esi + 0x1400]
lea eax, [ebp - 0x258]
push ecx
push str._02X
push eax
call fcn.00403636
add esp, 0xc
mov ecx, edi
push ebx
call fcn.0040ab14
push ebx
mov ecx, edi
movzx esi, byte [eax + esi + 0x1406]
shl esi, 8
call fcn.0040ab14
mov ecx, dword [ebp - 0x230]
movzx ecx, byte [eax + ecx + 0x1405]
mov eax, dword [ebp - 0x25c]
or ecx, esi
cmp ecx, eax
jle 0x408323
cmp eax, 0xffffffff
je 0x408321
push ecx
push eax
push 0
push ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x2a4], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x40
push ecx
mov ecx, esp
mov dword [ebp - 0x2c4], esp
push str.Smart
call fcn.00402306
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 0x3b
mov esi, dword [ebp - 0x224]
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x42
mov ecx, edi
push dword [eax]
push ebx
call fcn.0040ab14
mov ecx, dword [ebp - 0x230]
movzx eax, byte [eax + ecx + 0x1400]
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push str.DEGRADATION
call fcn.00402306
mov byte [ebp - 4], 0x43
push ecx
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push str.Alarm
call fcn.00402306
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 0x42
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x45
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:___02X___s___d___d__r_n
push eax
call fcn.00403636
add esp, 0x1c
mov byte [ebp - 4], 0x42
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
push eax
call fcn.00403393
push ecx
mov dword [ebp - 0x22c], 2
lea ecx, [ebp - 0x214]
mov eax, esp
mov dword [ebp - 0x2d0], esp
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x48
push 2
push dword [ebp - 0x228]
mov byte [ebp - 4], 0x3b
mov ecx, esi
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x49
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x4a
push dword [ebp - 0x228]
mov byte [ebp - 4], 0x3b
mov ecx, esi
call fcn.00408a0d
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x284], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x4b
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x4c
push dword [ebp - 0x228]
mov byte [ebp - 4], 0x3b
call fcn.00408b31
push 1
push dword [ebp - 0x228]
mov ecx, esi
jmp 0x408502
cmp ecx, eax
jge 0x408507
cmp eax, 0xffffffff
je 0x408507
push ecx
push eax
push 0
push ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x28c], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x4d
push ecx
mov ecx, esp
mov dword [ebp - 0x290], esp
push str.Smart
call fcn.00402306
mov byte [ebp - 4], 0x4e
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x224]
call fcn.00433b7f
mov byte [ebp - 4], 0x4f
mov ecx, edi
push dword [eax]
push ebx
call fcn.0040ab14
mov ecx, dword [ebp - 0x230]
movzx eax, byte [eax + ecx + 0x1400]
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
push str.RECOVERY
call fcn.00402306
mov byte [ebp - 4], 0x50
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push str.Alarm
call fcn.00402306
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 0x4f
mov ecx, dword [ebp - 0x224]
call fcn.00433b7f
mov byte [ebp - 4], 0x52
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:___02X___s___d___d__r_n
push eax
call fcn.00403636
add esp, 0x1c
mov byte [ebp - 4], 0x4f
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x234]
push dword [eax - 0xc]
push eax
call fcn.00403393
push ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x29c], esp
mov eax, esp
mov dword [ebp - 0x22c], 1
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x55
mov esi, dword [ebp - 0x228]
add esi, 0x64
push 4
push esi
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x224]
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x2a0], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x57
push esi
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x224]
call fcn.00408a0d
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x2a8], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x58
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x2ac], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x59
push esi
mov byte [ebp - 4], 0x3b
call fcn.00408b31
mov ecx, dword [ebp - 0x224]
push 1
push esi
call fcn.00408c56
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov ecx, dword [ebp - 0x24c]
mov eax, dword [0x505c68]
cmp eax, dword [ecx + 4]
jg 0x408967
push ebx
mov ecx, edi
call fcn.0040ab14
cmp dword [eax + 0x180c], 0
jle 0x40879b
push ebx
mov ecx, edi
call fcn.0040ab14
push ebx
mov ecx, edi
mov esi, eax
call fcn.0040ab14
mov ecx, dword [eax + 0x17bc]
cmp ecx, dword [esi + 0x180c]
jl 0x40879b
mov eax, dword [ebp - 0x224]
push 0
mov eax, dword [eax + 0x3f4]
cdq
mov dword [ebp - 0x25c], eax
mov esi, edx
call fcn.0049271f
sub eax, dword [ebx*8 + 0x505c70]
pop ecx
sbb edx, dword [ebx*8 + 0x505c74]
cmp edx, esi
jl 0x40879b
jg 0x4085aa
cmp eax, dword [ebp - 0x25c]
jbe 0x40879b
mov esi, dword [ebp - 0x224]
mov ecx, edi
push ebx
cmp dword [esi + 0x67ec], 0
je 0x40863a
call fcn.0040ab14
push 5
pop ecx
imul eax, dword [eax + 0x17bc], 9
cdq
idiv ecx
add eax, 0x20
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2b0], esp
push str.ALARM_TEMPERATURE
call fcn.00402306
mov byte [ebp - 4], 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x2b4], esp
push str.Alarm
call fcn.00402306
mov byte [ebp - 4], 0x5d
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x5e
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:__d_F_r_n
push eax
call fcn.00403636
add esp, 0x10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x250]
jmp 0x4086ab
call fcn.0040ab14
push dword [eax + 0x17bc]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push str.ALARM_TEMPERATURE
call fcn.00402306
mov byte [ebp - 4], 0x60
push ecx
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push str.Alarm
call fcn.00402306
mov byte [ebp - 4], 0x61
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00433b7f
mov byte [ebp - 4], 0x62
push dword [eax]
lea eax, [ebp - 0x214]
push str._s:__d_C_r_n
push eax
call fcn.00403636
add esp, 0x10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x254]
add ecx, 0xfffffff0
call fcn.0040259b
push ecx
mov eax, esp
mov dword [ebp - 0x2c0], esp
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.0040a78d
add esp, 0xc
mov byte [ebp - 4], 0x64
push 2
push 0x25e
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004089b5
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x260], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x65
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x66
push 0x25e
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00408a0d
push ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x268], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x67
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 0x68
push 0x25e
mov byte [ebp - 4], 6
call fcn.00408b31
push 1
push 0x25e
mov ecx, esi
call fcn.00408c56
push 0
mov dword [ebp - 0x22c], 2
call fcn.0049271f
pop ecx
mov dword [ebx*8 + 0x505c70], eax
mov dword [ebx*8 + 0x505c74], edx
jmp 0x4087a1
mov esi, dword [ebp - 0x224]
inc dword [ebp - 0x220]
mov ecx, edi
add dword [ebp - 0x230], 0xc
push ebx
call fcn.0040ab14
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [eax + 0x17a4]
jb 0x407eda
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x4088e5
push ebx
mov ecx, edi
call fcn.0040ab14
push dword [eax + 0x1888]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x214]
push str.__d___s_n
push eax
call fcn.00403636
mov edi, dword [ebp - 0x22c]
add esp, 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x26c], esp
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push eax
call fcn.0040a78d
cmp edi, 2
jne 0x40887e
mov byte [ebp - 4], 0x69
add esp, 8
mov dword [ebp - 0x268], esp
mov esi, esp
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push str.ALARM_HEALTH_STATUS
call fcn.00402306
mov byte [ebp - 4], 0x6a
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
push str.Alarm
call fcn.00402306
mov byte [ebp - 4], 0x6b
push esi
mov byte [ebp - 4], 0x69
mov ebx, dword [ebp - 0x224]
mov ecx, ebx
call fcn.00433b7f
mov byte [ebp - 4], 0x6c
push edi
jmp 0x4088d4
mov byte [ebp - 4], 0x6d
add esp, 8
mov dword [ebp - 0x268], esp
mov esi, esp
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push str.INFO_HEALTH_STATUS
call fcn.00402306
mov byte [ebp - 4], 0x6e
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
push str.Alarm
call fcn.00402306
mov byte [ebp - 4], 0x6f
push esi
mov byte [ebp - 4], 0x6d
mov ebx, dword [ebp - 0x224]
mov ecx, ebx
call fcn.00433b7f
mov byte [ebp - 4], 0x70
push edi
push dword [ebx + 0xea4]
mov byte [ebp - 4], 6
mov ecx, ebx
call fcn.00438d08
push 5
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x258]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.0040259b
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0040259b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040259b
call fcn.00487e76
ret 0xc
push 0x505c68
call fcn.00487784
cmp dword [0x505c68], 0xffffffff
pop ecx
jne 0x408530
mov byte [ebp - 4], 0x5b
mov edi, 0x505c70
mov esi, edi
mov ecx, 0x9e
and dword [edi], 0
and dword [edi + 4], 0
add edi, 8
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 6
push 0x505c68
call fcn.0048773a
mov edi, dword [ebp - 0x278]
pop ecx
jmp 0x408530