Function at 0x41a140
Capabilities:
Check os version
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b2d4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x36cc
call fcn.00474630
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x36c8], eax
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x36e0]
mov dword fs:[0], eax
push 0x480770
push 2
mov esi, ecx
call dword [sym.imp.MSVCR90.dll__wsetlocale]
mov eax, dword [esi + 0x48]
mov ebx, dword [sym.imp.MSVCR90.dll__wcsicmp]
push str._NewInstallNative
push eax
call ebx
add esp, 0x10
test eax, eax
jne 0x41a1bd
push eax
push eax
push eax
push eax
call sub.BottDefrag.dll_InstallNative
add esp, 0x10
jmp 0x41a5ad
mov ecx, dword [esi + 0x48]
push str._UninstallNative
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x41a1d9
call sub.BottDefrag.dll_UninstallNative
jmp 0x41a5ad
mov edx, dword [esi + 0x48]
push str._InstallNative
push edx
call ebx
add esp, 8
test eax, eax
jne 0x41a1ff
call fcn.0041a930
push 0
call sub.BottDefrag.dll_SetRunCHK
add esp, 4
jmp 0x41a5ad
push str.SeBackupPrivilege
call fcn.00419e40
add esp, 4
push str.SeRestorePrivilege
call fcn.00419e40
add esp, 4
call fcn.004510e0
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xf
cmp al, 0xa
jb 0x41a235
mov dword [0x496500], 4
call fcn.0041a930
mov eax, dword [esi + 0x48]
push eax
lea ecx, [esp + 0x18]
call dword [0x47ce1c]
xor edi, edi
mov dword [esp + 0x36e8], edi
call fcn.0041a880
test eax, eax
je 0x41a2e1
call fcn.0041a900
lea ecx, [esp + 0x10]
push ecx
push 0x41a0e0
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a5a3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1105
push ecx
call esi
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], edi
je 0x41a5a3
mov edx, dword [eax - 0xc]
lea ecx, [edx + edx + 2]
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
push 0x4a
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 0x464
call esi
jmp 0x41a5a3
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call sub.mfc90u.dll_CWinApp::InitInstance
push edi
call sub.mfc90u.dll_AfxEnableControlContainer
add esp, 4
push 7
call sub.CrashReport.dll_Ordinal_1_1
push 0x47d4d8
call dword [sym.imp.SkinsManager.dll_InitializeLibrary]
add esp, 4
push 0x47d4d8
call dword [sym.imp.SkinsManager.dll_InitializeSkins]
lea edi, [esi + 0xc4]
add esp, 4
mov eax, edi
call fcn.0043fe60
test edi, edi
je 0x41a346
mov dword [0x498240], edi
mov edi, dword [sym.imp.SkinsManager.dll_GetSkinsColor]
push 1
push 0xffffff
push 0x4803f0
push str.Window
push 0x47d4d8
call edi
add esp, 0x14
push 1
push 0
push str.Text_Color
push str.Window
push 0x47d4d8
mov dword [esi + 0xac], eax
call edi
add esp, 0x14
push 1
push 0xf8f8f8
push str.Select_Color
push str.Window
push 0x47d4d8
mov dword [esi + 0xb0], eax
call edi
add esp, 0x14
push 1
push 0xf8f8f8
push str.Foucs_Color
push str.Window
push 0x47d4d8
mov dword [esi + 0xb4], eax
call edi
add esp, 0x14
push 1
push 0xffffff
push str.Frame_Color
push str.Window
push 0x47d4d8
mov dword [esi + 0xb8], eax
call edi
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xac]
add esp, 0x14
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0xa4]
call sub.mfc90u.dll_CGdiObject::Attach
mov edx, dword [esi + 0x48]
push str._BootTimeDefrag
push edx
call ebx
add esp, 8
test eax, eax
jne 0x41a4f8
call fcn.0041a900
call fcn.0041a8c0
test eax, eax
je 0x41a46b
call fcn.0041a900
lea eax, [esp + 0x10]
push eax
push 0x41a110
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a5a3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x41a5a3
push 4
lea eax, [esp + 0x30]
push eax
call fcn.00432e10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x36e8], 1
call sub.mfc90u.dll_CDialog::DoModal
cmp eax, 1
jne 0x41a4c8
lea ecx, [esp + 0x10]
push ecx
push 0x41a0e0
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a4c8
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x108e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call sub.BottDefrag.dll_IsInstalNative
test eax, eax
jne 0x41a4dd
push eax
push eax
push eax
push eax
call sub.BottDefrag.dll_InstallNative
add esp, 0x10
call sub.BottDefrag.dll_ReSetStatus
lea ecx, [esp + 0x2c]
mov byte [esp + 0x36e8], 0
call fcn.00432f60
jmp 0x41a5a3
lea ecx, [esp + 0xa84]
push ecx
call fcn.0041eda0
mov byte [esp + 0x36e8], 2
mov edx, dword [esi + 0x48]
push edx
lea ecx, [esp + 0xafc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea eax, [esp + 0xa84]
push 0
push 0x66
mov ecx, eax
mov dword [esi + 0x20], eax
call sub.mfc90u.dll_CDialog::Create
test eax, eax
je 0x41a574
lea ecx, [esp + 0xa84]
push ecx
call fcn.00424aa0
lea ecx, [esp + 0xa84]
test eax, eax
je 0x41a553
push 0
jmp 0x41a555
push 5
call sub.mfc90u.dll_CWnd::ShowWindow
push 0
lea ecx, [esp + 0xa88]
call sub.mfc90u.dll_CWnd::RunModalLoop
lea ecx, [esp + 0xa84]
call fcn.00422940
call sub.BottDefrag.dll_IsInstalNative
test eax, eax
jne 0x41a589
push eax
push eax
push eax
push eax
call sub.BottDefrag.dll_InstallNative
add esp, 0x10
call sub.BottDefrag.dll_ReSetStatus
lea edx, [esp + 0xa84]
push edx
mov byte [esp + 0x36ec], 0
call fcn.0041a5e0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x36e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x36c8]
xor ecx, esp
call fcn.0047397a
mov esp, ebp
pop ebp
ret