Function at 0x45f330
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x55d551
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
movzx ebx, byte [esi + 2]
movzx eax, byte [esi + 1]
mov edi, dword [esp + 0x30]
shl ebx, 8
or ebx, eax
sub ebx, 0x111
mov dword [esp + 0x2c], ebx
test ebx, ebx
jle 0x45f407
cmp dword [edi + 0x58], 0
jne 0x45f3ec
push 0x16c
call fcn.005120bc
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0
test eax, eax
je 0x45f3ac
push 0
mov ecx, eax
call fcn.0042bbb0
jmp 0x45f3ae
xor eax, eax
push str.Assembly
mov dword [edi + 0x58], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00531f88
mov ebp, dword [edi + 0x58]
add esp, 0xc
call fcn.00416b80
mov ecx, dword [eax + 0x34]
mov ecx, dword [ecx + 8]
mov dword [ebp + 0x148], ecx
mov ecx, dword [eax + 0x34]
push ebp
call fcn.00404d16
mov edx, dword [edi + 0x58]
fild dword [esp + 0x2c]
push 1
push ecx
mov dword [edx + 0x14c], ebx
fstp dword [esp]
mov ecx, dword [edi + 0x58]
call fcn.0042b550
movzx eax, byte [esi + 0x87]
push 0
cdq
push 0x100
push edx
push eax
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x86]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x85]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x84]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x83]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x82]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x81]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ebx, eax
movzx eax, byte [esi + 0x80]
mov ebp, edx
cdq
add ebx, eax
adc ebp, edx
jne 0x45f4eb
test ebx, ebx
jbe 0x45f5a7
cmp dword [edi + 0x64], 0
jne 0x45f561
push 0x168
call fcn.005120bc
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 1
test eax, eax
je 0x45f519
push 0
mov ecx, eax
call fcn.0042d440
jmp 0x45f51b
xor eax, eax
push str.Power_On_Hours
mov dword [edi + 0x64], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00531f88
mov edx, dword [edi + 0x64]
add esp, 0xc
mov dword [esp + 0x2c], edx
call fcn.00416b80
mov ecx, dword [eax + 0x34]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x148], ecx
mov ecx, dword [eax + 0x34]
push edx
call fcn.00404d16
mov edx, dword [edi + 0x64]
mov eax, ebp
mov ecx, ebp
and eax, 0x7fffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x14]
and ecx, 0x80000000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
fild qword [esp + 0x14]
push 1
push ecx
mov dword [edx + 0x14c], ebx
mov ecx, dword [edi + 0x64]
fchs
faddp st(1)
fstp dword [esp]
call fcn.0042b550
movzx eax, byte [esi + 0x77]
push 0
cdq
push 0x100
push edx
push eax
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x76]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x75]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x74]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x73]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x72]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ecx, eax
movzx eax, byte [esi + 0x71]
mov ebx, edx
cdq
push 0
add ecx, eax
push 0x100
adc ebx, edx
push ebx
push ecx
call fcn.00532d80
mov ebx, eax
movzx eax, byte [esi + 0x70]
mov ebp, edx
cdq
add ebx, eax
adc ebp, edx
jne 0x45f673
test ebx, ebx
jbe 0x45f727
cmp dword [edi + 0x68], 0
jne 0x45f6e1
push 0x168
call fcn.005120bc
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 2
test eax, eax
je 0x45f6a1
push 1
mov ecx, eax
call fcn.0042d440
jmp 0x45f6a3
xor eax, eax
push str.Power_Cycle_Count
mov dword [edi + 0x68], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00531f88
mov esi, dword [edi + 0x68]
add esp, 0xc
call fcn.00416b80
mov edx, dword [eax + 0x34]
mov ecx, dword [edx + 8]
mov dword [esi + 0x148], ecx
mov ecx, dword [eax + 0x34]
push esi
call fcn.00404d16
mov edx, dword [edi + 0x68]
mov eax, ebp
mov ecx, ebp
and eax, 0x7fffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x14]
and ecx, 0x80000000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
fild qword [esp + 0x14]
push 1
push ecx
mov dword [edx + 0x14c], ebx
mov ecx, dword [edi + 0x68]
fchs
faddp st(1)
fstp dword [esp]
call fcn.0042b550
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8