Function at 0x41068a
Capabilities:
Continue service
Pause service
Start service
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x47f828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esi + 0xc0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
mov byte [esp + 0x50], 1
call edi
inc eax
test eax, eax
je 0x410945
mov ecx, dword [esi + 0xc0]
lea ebp, [eax - 1]
push 2
push ebp
push 0x100c
push ecx
call edi
test ebp, ebp
jl 0x410945
lea ebx, [esi + 0xa0]
push 0
lea edx, [esp + 0x18]
push ebp
push edx
mov ecx, ebx
call sub.MFC42u.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call sub.MFC42u.DLL_CString::CString
mov edi, dword [esp + 0x48]
cmp edi, 0x8603
jne 0x41072f
mov edi, 2
jmp 0x41074b
cmp edi, 0x8604
jne 0x41073e
mov edi, 3
jmp 0x41074b
cmp edi, 0x8605
jne 0x410783
mov edi, 4
lea eax, [esp + 0x10]
push edi
push eax
mov ecx, esi
call fcn.0040fc90
cmp eax, 1
jne 0x410945
mov ecx, dword [0x513e5c]
lea edx, [ecx + edi*2]
mov ecx, ebx
add edi, edx
mov eax, dword [edi*4 + 0x49f680]
push eax
push 2
push ebp
call sub.MFC42u.DLL_CListCtrl::SetItemText
jmp 0x410945
cmp edi, 0x8602
je 0x410938
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x48], ecx
je 0x410945
cmp edi, 0x85fd
jne 0x4107bb
mov eax, 0x10
jmp 0x4107f4
cmp edi, 0x85fe
jne 0x4107ca
mov eax, 0x20
jmp 0x4107f4
cmp edi, 0x85ff
je 0x4107ef
cmp edi, 0x8600
je 0x4107ef
mov eax, edi
sub eax, 0x8601
neg eax
sbb eax, eax
and eax, 0xf01cf
add eax, 0x30
jmp 0x4107f4
mov eax, 0x40
mov edx, dword [esp + 0x10]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x41092b
cmp edi, 0x85fd
jne 0x410838
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x410924
mov eax, dword [0x513e5c]
mov ecx, dword [eax*4 + 0x49f644]
push ecx
jmp 0x41091a
cmp edi, 0x85fe
jne 0x410868
lea edx, [esp + 0x1c]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x410924
mov eax, dword [0x513e5c]
mov ecx, dword [eax*4 + 0x49f620]
push ecx
jmp 0x41091a
cmp edi, 0x85ff
jne 0x410898
lea edx, [esp + 0x1c]
push edx
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x410924
mov eax, dword [0x513e5c]
mov ecx, dword [eax*4 + 0x49f668]
push ecx
jmp 0x41091a
cmp edi, 0x8600
jne 0x4108c1
lea edx, [esp + 0x1c]
push edx
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x410924
mov eax, dword [0x513e5c]
mov ecx, dword [eax*4 + 0x49f644]
push ecx
jmp 0x41091a
cmp edi, 0x8601
jne 0x410924
lea edx, [esp + 0x1c]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x410924
mov eax, dword [0x513e5c]
mov ecx, dword [eax*4 + 0x49f620]
push ecx
push 1
push ebp
mov ecx, ebx
call sub.MFC42u.DLL_CListCtrl::SetItemText
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x410924
mov edx, dword [0x513e5c]
mov eax, dword [edx*4 + 0x49f644]
push eax
push 1
push ebp
mov ecx, ebx
call sub.MFC42u.DLL_CListCtrl::SetItemText
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x410945
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, esi
call fcn.004104b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4