Function at 0x466240
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9248
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x63b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 0x5fd644
lea ecx, [ebp - 0x28]
call fcn.00418610
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x988]
cmp dword [ecx + 0x14], 6
jne 0x46629d
push str.TenorshareWinAdService
lea ecx, [ebp - 0x28]
call fcn.00413680
jmp 0x4662b9
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x988]
cmp dword [eax + 0x14], 0x69
jne 0x4662b9
push str.TenorshareDataRecoveryService
lea ecx, [ebp - 0x28]
call fcn.00413680
lea ecx, [ebp - 0x28]
call fcn.00411720
test eax, eax
jne 0x4662e3
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov eax, dword [ebp - 0x54]
jmp 0x466445
push 0xf003f
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x46631c
mov dword [ebp - 0x58], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov eax, dword [ebp - 0x58]
jmp 0x466445
push 0xf01ff
lea ecx, [ebp - 0x28]
call fcn.00413640
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x466365
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x5c], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov eax, dword [ebp - 0x5c]
jmp 0x466445
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4663a9
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x60], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov eax, dword [ebp - 0x60]
jmp 0x466445
cmp dword [ebp - 0x40], 4
jne 0x46642c
lea ecx, [ebp - 0x44]
push ecx
push 1
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4663f2
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x64], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov eax, dword [ebp - 0x64]
jmp 0x466445
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x46642c
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 0x40], 1
jne 0x46642a
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x46642c
jmp 0x4663f2
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret