Function at 0x100071d0
Capabilities:
Check for time delay via gettickcount
Modify service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038048
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x54], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], edi
push ebx
push str.SvcStop_Name:_s_...
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x48], edi
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 8
push 0xf003f
push edi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
cmp eax, edi
jne 0x10007287
push 0x14
push str.OpenSCManager_failed
lea ecx, [ebp - 0x30]
call fcn.10001a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea ecx, [ebp - 0x74]
push ecx
mov dword [ebp - 0x74], eax
call fcn.10028c35
push 0x2f
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp esi, edi
jne 0x100072c0
push 0x12
push str.OpenService_failed
lea ecx, [ebp - 0x30]
call fcn.10001a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea edx, [ebp - 0x7c]
push edx
mov dword [ebp - 0x7c], eax
call fcn.10028c35
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.10006490
add esp, 8
mov dword [ebp - 0x38], eax
call fcn.1001af90
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
push ecx
push edx
push ebx
push str.Name:_s_StartConfig:_d_dwRlt:_08x
mov ecx, eax
call fcn.1001b3f0
mov eax, dword [ebp - 0x38]
add esp, 0x10
cmp eax, edi
je 0x10007305
mov dword [ebp - 0x58], eax
push 0x10049464
lea eax, [ebp - 0x58]
push eax
call fcn.10028c35
lea ecx, [ebp - 0x64]
push ecx
push 4
lea edx, [ebp - 0x34]
push edx
push 4
push esi
mov dword [ebp - 0x64], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
mov edi, eax
call fcn.1001af90
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push edi
push ebx
push str.Name:_s_get_fail_action__rlt:_d_bAction:_d_Info:_08x
call fcn.1001b3f0
add esp, 0x14
test edi, edi
je 0x10007396
cmp dword [ebp - 0x34], 0
je 0x10007396
lea ecx, [ebp - 0x34]
push ecx
push 4
push esi
mov dword [ebp - 0x34], 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov edi, eax
call fcn.1001af90
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x40]
push edx
push edi
push eax
push str.Name:_s_set_fail_action__rlt:_d_bAction:_d_Info:_08x
mov ecx, ebx
call fcn.1001b3f0
mov ebx, dword [ebp - 0x40]
add esp, 0x14
mov dword [ebp - 0x48], 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov edi, eax
call fcn.1001af90
push ebx
push str.Name:_s_Config_to:SERVICE_DISABLED
mov ecx, eax
call fcn.1001b3f0
add esp, 8
test edi, edi
jne 0x100073fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1001af90
push esi
push ebx
push str.ChangeServiceConfig__s__failed__error_code:__08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea ecx, [ebp - 0x78]
push ecx
mov dword [ebp - 0x78], esi
call fcn.10028c35
push esi
mov dword [ebp - 0x50], 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x3c], 0
call fcn.1001af90
push ebx
push str.Name:_s_Config_to_Reopen_Servces_...
mov ecx, eax
call fcn.1001b3f0
mov edx, dword [ebp - 0x4c]
add esp, 8
push 0x2f
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
jne 0x1000745f
push str.Re_OpenService_failed
lea ecx, [ebp - 0x30]
call fcn.10001a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
push 0x10049464
lea eax, [ebp - 0x6c]
push eax
call fcn.10028c35
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x1000748e
push edi
lea esi, [ebp + 0xc]
call fcn.100070e0
add esp, 4
mov esi, eax
call fcn.1001af90
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
push str.SvcStop_Name:_s_Requey_ProcId:_d_bRlt:_d
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
push edi
call fcn.10006fb0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x100074bb
push str.Stop_Or_Restared
lea ecx, [ebp - 0x30]
call fcn.10001a20
push 0x10049464
lea ecx, [ebp - 0x80]
push ecx
mov dword [ebp - 0x80], ebx
call fcn.10028c35
mov edx, dword [ebp + 0x10]
push edx
mov ecx, edi
call fcn.10006cf0
add esp, 4
push edi
call fcn.10006fb0
add esp, 4
cmp eax, ebx
je 0x100074f4
push str.Stop_Or_Restared
lea ecx, [ebp - 0x30]
call fcn.10001a20
push 0x10049464
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], ebx
call fcn.10028c35
lea ecx, [ebp - 0xa8]
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1000752c
push str.ControlService_failed
lea ecx, [ebp - 0x30]
call fcn.10001a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 0x60], eax
call fcn.10028c35
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [ebp - 0x54]
cmp eax, dword [ebp + 0x10]
jae 0x100075a4
push edi
call fcn.10006fb0
add esp, 4
test eax, eax
je 0x1000756b
push str.Stop_Or_Restared
lea ecx, [ebp - 0x30]
call fcn.10001a20
push 0x10049464
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0
call fcn.10028c35
call ebx
sub eax, dword [ebp - 0x54]
cmp eax, dword [ebp + 0x10]
jbe 0x10007597
push str.stop_rlt_quering_time_out
lea ecx, [ebp - 0x30]
call fcn.10001a20
push 0x10049464
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x70], 0x5b4
call fcn.10028c35
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007532
push str.Service_stopped_successfully
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.10001a20
mov dword [ebp - 4], ebx
jmp 0x100075e8
test edi, edi
je 0x10007680
cmp dword [ebp - 0x48], 0
je 0x10007630
lea eax, [ebp - 0x34]
push eax
push 4
push edi
mov dword [ebp - 0x34], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
push eax
push ecx
push esi
push edx
push str.Name:_s_Restore_fail_action__rlt:_d_bAction:_d_Info:_08x
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x14
cmp dword [ebp - 0x50], 0
je 0x10007679
mov eax, dword [ebp - 0x44]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
push eax
push esi
push ecx
push edx
push str.Restore__s_start_type_with_config:_d_bRlt:_d_Info:_08x
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1000768e
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1000769a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x40]
push eax
push ebx
push str.SvcStop_Rlt:_08x_Name:_s_Info:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.100019f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100269c5
mov esp, ebp
pop ebp
ret