Function at 0x45d440
Capabilities:
Check for time delay via gettickcount
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4bc00c]
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 dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x40]
push 0x27
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push str.C:WindowsPerformanceWinSATDataStore
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00402980
mov dword [ebp - 4], 0
xor eax, eax
push 0x11
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.Formal.Assessment
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402980
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0045dfd0
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
test al, al
jne 0x45d62a
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x48], eax
call fcn.00470c90
push 2
push 0
mov dword [ebp - 0x44], 0
call esi
lea eax, [ebp - 0x44]
push eax
push 0x49c8a0
push 1
push 0
push 0x49c8b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45d54d
push eax
push str.Failed_to_create_an_instance_of_IInitiateWinSATAssessment._Failed_with_0x_x._n
call fcn.00470e40
add esp, 8
jmp 0x45d593
call fcn.00470c90
mov ecx, dword [ebp - 0x44]
mov esi, eax
push 0
push esi
push str.formal
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
test eax, eax
jns 0x45d579
push eax
push str.InitiateFormalAssessment_failed_with_0x_x._n
call fcn.00470e40
add esp, 8
jmp 0x45d58d
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
call ebx
call edi
sub eax, dword [ebp - 0x48]
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.totalTime:
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x49c920]
divsd xmm0, qword [0x49c910]
cvttsd2si edi, xmm0
call fcn.0045fcf0
mov byte [ebp - 4], 2
push ecx
mov esi, esp
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x50], esi
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x45dee0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov ecx, esi
push str.GetWEIDetailedScores
call fcn.00402ee0
test al, al
jne 0x45d612
push 0x14
push str.GetWEIDetailedScores
mov ecx, esi
call fcn.004030f0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00462c10
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
add esp, 8
movsd xmm0, qword [0x49c918]
push 0
push 0
movsd qword [ebp - 0x80], xmm0
movsd qword [ebp - 0x88], xmm0
movsd qword [ebp - 0x90], xmm0
movsd qword [ebp - 0x98], xmm0
movsd qword [ebp - 0xa0], xmm0
call esi
mov esi, eax
test esi, esi
js 0x45de17
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jns 0x45d68c
call ebx
jmp 0x45de17
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push 0x48b7ac
push 1
push 0
push 0x48b79c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x45d6b8
call ebx
jmp 0x45de17
push 0xc
mov dword [ebp - 0x54], 0
call fcn.004710a2
mov edi, eax
add esp, 4
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x45d6fb
push str.ROOTCIMV2
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x45deea
jmp 0x45d6fd
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], edi
test edi, edi
je 0x45def4
mov byte [ebp - 4], 6
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x58]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [edi]
push eax
call dword [ecx + 0xc]
mov esi, eax
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x45d771
mov eax, dword [edi]
test eax, eax
je 0x45d74f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x45d766
push eax
call fcn.00471842
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00471094
add esp, 8
mov dword [ebp - 0x48], 0
test esi, esi
jns 0x45d78c
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call ebx
jmp 0x45de17
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x54]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x45d7c2
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call ebx
jmp 0x45de17
push str.SELECT__FROM_Win32_WinSAT
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x5c], 0
call fcn.00403d30
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
push 0x49a680
call fcn.00403d30
mov byte [ebp - 4], 8
mov ecx, dword [esi]
test ecx, ecx
je 0x45d7f7
mov esi, dword [ecx]
jmp 0x45d7f9
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x45d803
mov edx, dword [eax]
jmp 0x45d805
xor edx, edx
mov eax, dword [ebp - 0x54]
lea edi, [ebp - 0x5c]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x45d870
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x45d869
test edi, edi
je 0x45d869
mov eax, dword [edi]
test eax, eax
je 0x45d847
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x45d85e
push eax
call fcn.00471842
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00471094
add esp, 8
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x45d8c6
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x45d8bf
test edi, edi
je 0x45d8bf
mov eax, dword [edi]
test eax, eax
je 0x45d89d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x45d8b4
push eax
call fcn.00471842
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00471094
add esp, 8
mov dword [ebp - 0x48], 0
test esi, esi
jns 0x45d8e3
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call ebx
jmp 0x45de17
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x70], 0
test ecx, ecx
je 0x45da5a
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x4c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x70], 0
mov esi, eax
je 0x45da57
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push 0
push edx
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push 0
push 0x49a684
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45d957
cmp dword [ebp - 0x44], 4
jne 0x45d957
movss xmm0, dword [ebp - 0x64]
lea eax, [ebp - 0x6c]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x80], xmm0
call edi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push 0
push edx
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push 0
push str.D3DScore
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45d991
cmp dword [ebp - 0x44], 4
jne 0x45d991
movss xmm0, dword [ebp - 0x64]
lea eax, [ebp - 0x6c]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x88], xmm0
call edi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push 0
push edx
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push 0
push str.DiskScore
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45d9cb
cmp dword [ebp - 0x44], 4
jne 0x45d9cb
movss xmm0, dword [ebp - 0x64]
lea eax, [ebp - 0x6c]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x90], xmm0
call edi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push 0
push edx
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push 0
push str.GraphicsScore
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45da05
cmp dword [ebp - 0x44], 4
jne 0x45da05
movss xmm0, dword [ebp - 0x64]
lea eax, [ebp - 0x6c]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x98], xmm0
call edi
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push 0
push edx
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push 0
push str.MemoryScore
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
js 0x45da41
cmp dword [ebp - 0x44], 4
jne 0x45da41
movss xmm0, dword [ebp - 0x64]
lea eax, [ebp - 0x6c]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0xa0], xmm0
call edi
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x45d902
jmp 0x45da5a
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call ebx
movsd xmm0, qword [ebp - 0x80]
comisd xmm0, xmmword [0x49c8f8]
jbe 0x45ddcc
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x150], 0x48b860
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14c]
push 0
push 0
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x78], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x154], eax
lea eax, [ebp - 0x14c]
mov ecx, eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14c]
mov dword [ebp - method.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 0x104], 0
mov byte [ebp - 0x10e], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void_]
mov eax, dword [0x4bcc74]
mov dword [ebp - 0x10c], eax
mov eax, dword [0x4bcc78]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], 0
mov byte [ebp - 4], 0xc
push 0x40
push 2
push str.C:WindowsIAssistlogsWinSAT_Scores.txt
call dword [sym.imp.MSVCP140.dll_struct__iobuf____cdecl_std::_Fiopen_char_const___int__int_]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45dc15
lea ecx, [ebp - 0x14c]
mov byte [ebp - 0x104], 1
mov byte [ebp - 0x10e], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void_]
mov eax, dword [0x4bcc74]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x10c], eax
mov eax, dword [0x4bcc78]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x100], edi
mov dword [ebp - 0x114], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::getloc_void_]
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.004606d0
mov edi, eax
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::codecvt_base::always_noconv_void_const]
test al, al
je 0x45dbe5
mov dword [ebp - 0x114], 0
jmp 0x45dbf7
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x114], edi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void_]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x45dc30
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x45dc30
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x45dc30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x100], 0
je 0x45dd70
movsd xmm0, qword [ebp - 0x80]
lea ecx, [ebp - 0x150]
push 0x4606a0
sub esp, 8
mov edx, str.CPU_Score:
movsd qword [esp], xmm0
call fcn.00460430
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
movsd xmm0, qword [ebp - 0x88]
lea ecx, [ebp - 0x150]
push 0x4606a0
sub esp, 8
mov edx, str.D3D_Score:
movsd qword [esp], xmm0
call fcn.00460430
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
movsd xmm0, qword [ebp - 0x90]
lea ecx, [ebp - 0x150]
push 0x4606a0
sub esp, 8
mov edx, str.Disk_Score:
movsd qword [esp], xmm0
call fcn.00460430
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
movsd xmm0, qword [ebp - 0x98]
lea ecx, [ebp - 0x150]
push 0x4606a0
sub esp, 8
mov edx, str.Graphics_Score:
movsd qword [esp], xmm0
call fcn.00460430
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
movsd xmm0, qword [ebp - 0xa0]
lea ecx, [ebp - 0x150]
push 0x4606a0
sub esp, 8
mov edx, str.Memory_Score:
movsd qword [esp], xmm0
call fcn.00460430
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [ebp - 0x14c]
call fcn.00460070
test eax, eax
jne 0x45dd70
push eax
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.Successfully_get_winsat_score
call fcn.00402680
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.PASS_
call fcn.00402680
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x74]
call fcn.00463120
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.0045df00
jmp 0x45de17
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.failed_to_get_winsat_score
call fcn.00402680
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.FAIL_
call fcn.00402680
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
call fcn.00463120
add esp, 0xc
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45de57
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45de4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45de4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00471094
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45deae
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dea4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45dea4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00471094
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, esi
mov dword [ebp - 0x2c], 7
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.00471083
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
push 0x8007000e
call fcn.004720d0
push 0x8007000e
call fcn.004720d0
int3