Function at 0xd2ce0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0xd2ce8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xd305f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x40]
mov eax, 0xd3070
call fcn.0007a2b0
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 4]
call fcn.000d2a28
mov byte [ebp - 5], 0
push 0
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0xd3036
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xd2fdc
push 0
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0xd2fd5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
push 0xd3088
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0xd2f7b
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_ControlService
test eax, eax
jne 0xd2f61
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x44]
mov eax, 0xd3090
call fcn.0007a2b0
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.000766dc
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00013f00
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
call fcn.000d29d4
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0xd2f5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
push 0xd30b0
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xd2f20
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_ControlService
neg eax
sbb eax, eax
neg eax
mov byte [0xfad5c], al
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
cmp byte [0xfad5c], 0
jne 0xd2e72
lea edx, [ebp - 0x4c]
mov eax, 0xd30b8
call fcn.0007a2b0
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.000766dc
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00013f00
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
call fcn.000d29d4
jmp 0xd2f38
lea edx, [ebp - 0x54]
mov eax, 0xd30d0
call fcn.0007a2b0
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.000d2a28
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_ControlService
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x19], al
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x19], 0
jne 0xd2ebf
push 0x1f4
call sub.kernel32.dll_Sleep
inc dword [ebp - 0xc]
cmp byte [ebp - 0x19], 0
jne 0xd2ece
cmp dword [ebp - 0xc], 0xa
jl 0xd2e8f
cmp byte [ebp - 0x19], 0
jne 0xd2f06
lea edx, [ebp - 0x58]
mov eax, 0xd30dc
call fcn.0007a2b0
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
call fcn.000766dc
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.00013f00
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 4]
call fcn.000d29d4
jmp 0xd2f38
lea edx, [ebp - 0x60]
mov eax, 0xd30fc
call fcn.0007a2b0
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 4]
call fcn.000d2a28
jmp 0xd2f38
lea edx, [ebp - 0x64]
mov eax, 0xd3118
call fcn.0007a2b0
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 4]
call fcn.000d2a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd2fb3
cmp dword [ebp - 0x14], 0
je 0xd2f54
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 0x14], eax
ret
lea edx, [ebp - 0x68]
mov eax, 0xd312c
call fcn.0007a2b0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 4]
call fcn.000d2a28
jmp 0xd2fb3
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x6c]
mov eax, 0xd3148
call fcn.0007a2b0
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x10]
call fcn.000766dc
mov edx, dword [ebp - 0x70]
pop eax
call fcn.00013f00
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
call fcn.000d29d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd3014
cmp dword [ebp - 0x20], 0
je 0xd2fcf
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 0x20], eax
ret
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x74]
mov eax, 0xd3164
call fcn.0007a2b0
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.000766dc
mov edx, dword [ebp - 0x78]
pop eax
call fcn.00013f00
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 4]
call fcn.000d29d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd303d
cmp dword [ebp - 0x18], 0
je 0xd3030
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 0x18], eax
ret