Function at 0x4859b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x57d08c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f72d8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
xor ebx, ebx
add edi, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x485a03
add eax, 2
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x40]
cmp dword [esi + 0xa0], ebx
jne 0x485a37
push 0x144
call fcn.0054996d
add esp, 4
mov dword [esi + 0xa0], eax
xor eax, eax
mov ecx, dword [esi + 0xa0]
mov byte [eax + ecx], bl
add eax, 0xc
cmp eax, 0x144
jl 0x485a24
mov dword [esi + 0x9c], ebx
mov dword [esp + 0x3c], 0x1b
mov cl, byte [edi]
test cl, cl
je 0x485b4e
mov eax, dword [esi + 0x9c]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0xa0]
mov byte [eax + edx*4], cl
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
mov ax, word [edi + 1]
mov word [edx + ecx*4 + 1], ax
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 3]
mov byte [edx + ecx*4 + 3], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 4]
mov byte [edx + ecx*4 + 4], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 0xb]
mov byte [edx + ecx*4 + 0xb], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 5]
mov byte [edx + ecx*4 + 5], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 6]
mov byte [edx + ecx*4 + 6], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 7]
mov byte [edx + ecx*4 + 7], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 8]
mov byte [edx + ecx*4 + 8], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 9]
mov byte [edx + ecx*4 + 9], al
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa0]
lea ecx, [eax + eax*2]
movzx eax, byte [edi + 0xa]
mov byte [edx + ecx*4 + 0xa], al
inc dword [esi + 0x9c]
movzx eax, byte [edi]
dec eax
cmp eax, 0xc1
ja case.0x485b64.2
movzx ecx, byte [eax + 0x485f38]
jmp dword [ecx*4 + 0x485f20]
movzx edx, byte [edi + 5]
mov dword [esi + 0x80], edx
jmp case.0x485b64.2
cmp byte [edi + 5], 0
je 0x485ec5
cmp dword [esi + 0x50], ebx
jne 0x485bec
push 0x16c
call fcn.0054993e
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x485bac
push ebx
mov ecx, eax
call fcn.0048d380
jmp 0x485bae
xor eax, eax
push str.Assembly
mov dword [esi + 0x50], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055c215
mov ebp, dword [esi + 0x50]
add esp, 0xc
call fcn.004605a0
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [ebp + 0x148], edx
mov ecx, dword [eax + 0x34]
push ebp
call fcn.004673e0
movzx eax, byte [edi + 5]
mov ecx, dword [esi + 0x50]
mov dword [ecx + 0x14c], eax
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx + 0x14c]
fild dword [ecx + 0x14c]
test edx, edx
jge 0x485c12
fadd dword [0x5c1120]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fcom qword [0x590678]
fnstsw ax
test ah, 0x41
jne 0x485c35
fmul qword [0x5c1100]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
push 1
push ecx
fstp dword [esp]
call fcn.0048cd50
jmp 0x485ec5
cmp byte [edi + 5], 0
je 0x485ec5
cmp dword [esi + 0x58], ebx
jne 0x485cbc
push 0x16c
call fcn.0054993e
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 1
cmp eax, ebx
je 0x485c7c
push 2
mov ecx, eax
call fcn.0048d380
jmp 0x485c7e
xor eax, eax
push str.Air_Flow
mov dword [esi + 0x58], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055c215
mov ebp, dword [esi + 0x58]
add esp, 0xc
call fcn.004605a0
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [ebp + 0x148], edx
mov ecx, dword [eax + 0x34]
push ebp
call fcn.004673e0
movzx eax, byte [edi + 5]
mov ecx, dword [esi + 0x58]
mov dword [ecx + 0x14c], eax
mov ecx, dword [esi + 0x58]
jmp 0x485bfc
cmp dword [esi + 0x5c], ebx
jne 0x485d3d
push 0x168
call fcn.0054993e
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 2
cmp eax, ebx
je 0x485cfd
push ebx
mov ecx, eax
call fcn.0048e9f0
jmp 0x485cff
xor eax, eax
push str.Power_On_Hours
mov dword [esi + 0x5c], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055c215
mov ebp, dword [esi + 0x5c]
add esp, 0xc
call fcn.004605a0
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [ebp + 0x148], edx
mov ecx, dword [eax + 0x34]
push ebp
call fcn.004673e0
movzx eax, byte [edi + 8]
movzx ecx, byte [edi + 7]
movzx edx, byte [edi + 6]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi + 5]
shl eax, 8
add eax, edx
mov edx, dword [esi + 0x5c]
shl eax, 8
add eax, ecx
mov dword [esp + 0x38], eax
mov dword [edx + 0x14c], eax
fild dword [esp + 0x38]
push 1
test eax, eax
jge 0x485d79
fadd dword [0x5c1120]
push ecx
mov ecx, dword [esi + 0x5c]
jmp 0x485e2f
cmp dword [esi + 0x60], ebx
jne 0x485def
push 0x168
call fcn.0054993e
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 3
cmp eax, ebx
je 0x485daf
push 1
mov ecx, eax
call fcn.0048e9f0
jmp 0x485db1
xor eax, eax
push str.Power_Cycle_Count
mov dword [esi + 0x60], eax
add eax, 4
push 0x100
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055c215
mov ebp, dword [esi + 0x60]
add esp, 0xc
call fcn.004605a0
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [ebp + 0x148], edx
mov ecx, dword [eax + 0x34]
push ebp
call fcn.004673e0
movzx eax, byte [edi + 8]
movzx ecx, byte [edi + 7]
movzx edx, byte [edi + 6]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi + 5]
shl eax, 8
add eax, edx
mov edx, dword [esi + 0x60]
shl eax, 8
add eax, ecx
mov dword [esp + 0x38], eax
mov dword [edx + 0x14c], eax
fild dword [esp + 0x38]
push 1
test eax, eax
jge 0x485e2b
fadd dword [0x5c1120]
push ecx
mov ecx, dword [esi + 0x60]
fstp dword [esp]
call fcn.0048cd50
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x485ec5
mov al, byte [edi + 4]
cmp al, 0x64
jb 0x485e58
fld1
fstp dword [esp + 0x38]
fld qword [0x5c1180]
jmp 0x485e83
movzx ecx, byte [ecx + 1]
movzx eax, al
sub eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
fild dword [esp + 0x38]
fild dword [esp + 0x40]
fld qword [0x5c1180]
fld st(0)
fsubrp st(2)
fxch st(2)
fdivrp st(1)
fstp dword [esp + 0x38]
mov bl, byte [edi]
fld dword [esp + 0x38]
test bl, 1
je 0x485ea5
cmp byte [edi + 3], 0
je 0x485ea5
fld st(0)
fmul st(2)
call fcn.0055ce70
add dword [esp + 0x1c], eax
inc dword [esp + 0x18]
test bl, 4
je 0x485ec1
cmp byte [edi + 3], 0
je 0x485ec1
fmulp st(1)
call fcn.0055ce70
add dword [esp + 0x24], eax
inc dword [esp + 0x20]
jmp 0x485ec5
fstp st(0)
fstp st(0)
xor ebx, ebx
add edi, 0xc
cmp dword [esp + 0x14], ebx
je 0x485ed5
add dword [esp + 0x14], 0xc
sub dword [esp + 0x3c], 1
jne 0x485a45
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jle 0x485ef2
mov eax, dword [esp + 0x1c]
cdq
idiv ecx
mov dword [esi + 0x78], eax
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
jle 0x485f04
mov eax, dword [esp + 0x24]
cdq
idiv ecx
mov dword [esi + 0x7c], eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc