Function at 0x42c580
Capabilities:
Check os version
Connect to wmi namespace via wbemlocator
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9f49
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x200], ecx
push str.SecurityCenterThread_started..._r_n
call fcn.0054d5e0
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.004322d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
push 0x118
push 0
lea eax, [ebp - 0x150]
push eax
call fcn.00555bf0
add esp, 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x154], 0x11c
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x150], 6
sbb edx, edx
add edx, 1
mov byte [ebp - 0x21], dl
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x42c66a
push str.wscapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42c65f
push str.WscGetSecurityProviderHealth
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x42c65f
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x28], 0
jne 0x42c66a
jmp 0x42cba0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
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 dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42c6a2
cmp dword [ebp - 0x20], 0x80010119
jne 0x42cb8f
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x158]
push eax
push 0x5d8a00
push 1
push 0
push 0x5d8ad0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42c6e6
mov ecx, dword [ebp - 0x20]
push ecx
push str.CLSID_WbemLocator_failed__08x
call fcn.0054d5e0
add esp, 8
jmp 0x42cb8d
mov dword [ebp - 0x160], 0
movzx edx, byte [ebp - 0x21]
test edx, edx
je 0x42c704
mov dword [ebp - 0x204], str.ROOTSecurityCenter2
jmp 0x42c70e
mov dword [ebp - 0x204], str.ROOTSecurityCenter
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x160]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42c76e
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push str._ws_failed__08x_r_n
call fcn.0054d5e0
add esp, 0xc
jmp 0x42cb79
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42c7a8
mov ecx, dword [ebp - 0x20]
push ecx
push str.CoSetProxyBlanket_failed__08x_r_n
call fcn.0054d5e0
add esp, 8
jmp 0x42cb65
mov dword [ebp - 0x170], str.AntiVirusProduct
mov dword [ebp - 0x16c], str.AntiSpywareProduct
mov dword [ebp - 0x168], 4
mov dword [ebp - 0x164], 8
mov dword [ebp - 0x174], 0
jmp 0x42c7eb
mov edx, dword [ebp - 0x174]
add edx, 1
mov dword [ebp - 0x174], edx
cmp dword [ebp - 0x174], 2
jae 0x42cb65
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp + eax*4 - 0x170]
push ecx
push str.SELECT__FROM__s
push 0x28
lea edx, [ebp - 0x1a0]
push edx
call fcn.0054ee1e
add esp, 0x10
mov dword [ebp - 0x178], 0
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004395a0
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 1
push 0x5ff284
lea ecx, [ebp - 0x1f4]
call fcn.004395a0
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x214], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x178]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x20c]
call fcn.004397a0
push eax
mov ecx, dword [ebp - 0x214]
call fcn.004397a0
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f4]
call fcn.004399a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f0]
call fcn.004399a0
cmp dword [ebp - 0x20], 0
je 0x42c8ef
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x1a0]
push eax
push str._s_failed__08x_r_n
call fcn.0054d5e0
add esp, 0xc
jmp 0x42cb60
mov dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x1a8]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x178]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42c931
cmp dword [ebp - 0x1a4], 0
ja 0x42c93b
jmp 0x42cb4c
mov byte [ebp - 0x1a9], 0
push 0
push 0
lea ecx, [ebp - 0x1bc]
push ecx
push 0
push str.displayName
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1a8]
push ecx
mov edx, dword [eax + 0x10]
call edx
movzx eax, byte [ebp - 0x21]
test eax, eax
jne 0x42ca17
push 0
push 0
lea ecx, [ebp - 0x1dc]
push ecx
push 0
push str.productUpToDate
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1a8]
push ecx
mov edx, dword [eax + 0x10]
call edx
push 0
push 0
lea eax, [ebp - 0x1cc]
push eax
push 0
push str.onAccessScanningEnabled
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1a8]
push eax
mov ecx, dword [edx + 0x10]
call ecx
movsx edx, word [ebp - 0x1d4]
test edx, edx
je 0x42c9e2
movsx eax, word [ebp - 0x1c4]
test eax, eax
je 0x42c9e2
mov dword [ebp - 0x218], 1
jmp 0x42c9ec
mov dword [ebp - 0x218], 0
mov cl, byte [ebp - 0x218]
mov byte [ebp - 0x1a9], cl
lea edx, [ebp - 0x1dc]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x42cae9
mov dword [ebp - 0x1e0], 0
lea ecx, [ebp - 0x1e0]
push ecx
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp + edx*4 - 0x168]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x42cad1
push 1
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
je 0x42cad1
push 0x10
push str.wscsvc
mov ecx, dword [ebp - 0x1e4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
je 0x42cac4
push 0
push 0
mov edx, dword [ebp - 0x1e8]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x42cab7
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp + ecx*4 - 0x168]
push edx
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1e8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x1e4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x20], 0
jl 0x42cae9
xor edx, edx
cmp dword [ebp - 0x1e0], 0
sete dl
mov byte [ebp - 0x1a9], dl
movzx eax, byte [ebp - 0x1a9]
push eax
mov ecx, dword [ebp - 0x1b4]
push ecx
push str._ws___d_r_n
call fcn.0054d5e0
add esp, 0xc
movzx edx, byte [ebp - 0x1a9]
push edx
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1f8], esp
mov eax, dword [ebp - 0x1b4]
push eax
call fcn.004b3550
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x1c]
call fcn.00432330
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, 1
test edx, edx
jne 0x42c8f9
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x178]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x42c7dc
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x42cba0
mov eax, dword [ebp - 0x20]
push eax
push str.CoInitializeSecurity_failed__08x_r_n
call fcn.0054d5e0
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x42cbb0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x200]
add edx, 0x764
push edx
lea ecx, [ebp - 0x1ec]
call fcn.00401610
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x200]
add eax, 0x780
push eax
lea ecx, [ebp - 0x1c]
call fcn.004323f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ec]
call fcn.00401640
mov ecx, dword [ebp - 0x200]
add ecx, 0x75c
call fcn.004010f0
mov ecx, dword [ebp - 0x200]
cmp dword [ecx + 0x1e4], 0
je 0x42cc45
push 0
push 0
mov edx, dword [ebp - 0x200]
mov eax, dword [edx + 0x758]
push eax
mov ecx, dword [ebp - 0x200]
mov edx, dword [ecx + 0x1e4]
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [edx]
mov eax, dword [edx]
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00432310
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret