Function at 0x42705a
Capabilities:
Check for time delay via gettickcount
Pause service
Query service status

Disassembly:
push 0x6c
mov eax, 0x452f61
call fcn.0043bf0a
push 4
pop ebx
xor edi, edi
push ebx
push edi
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp dword [0x48aa90], 0x2722c
mov esi, eax
mov dword [ebp - 0x34], esi
je 0x4274da
cmp esi, edi
je 0x4274da
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x48aa90], 0x27290
mov dword [ebp - 0x14], eax
je 0x4274a5
cmp eax, edi
je 0x4274a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x42710c
push 0x4782dc
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov dword [ebp - 4], 2
push 0x186a0
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.0040e5e0
mov ecx, dword [ebp - 0x18]
jmp 0x42713f
cmp dword [ebp - 0x70], 1
je 0x42711c
cmp dword [ebp - 0x70], 3
jne 0x4271d9
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x24]
call fcn.0040215a
mov dword [ebp - 4], 3
push edi
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0040e5e0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x34]
call esi
mov eax, dword [ebp - 0x10]
jmp 0x427506
push str.Waiting_for_Service_to_run
lea ecx, [ebp - 0x18]
call fcn.0040215a
push edi
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x4273a5
cmp dword [ebp - 0x70], 1
je 0x4273d8
cmp dword [ebp - 0x70], 3
je 0x4273d8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, 0x7530
ja 0x4273be
cmp dword [ebp - 0x70], ebx
jne 0x427162
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push edi
push 0x45dcf8
push 0x80000002
mov dword [ebp - 0x20], edi
call ebx
cmp eax, edi
jne 0x427214
lea eax, [ebp - 0x20]
push eax
push str.iLastSvcSuccess
lea esi, [ebp - 0x2c]
call fcn.00423642
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push edi
push 0x45dcf8
push 0x80000002
mov dword [ebp - 0x28], edi
call ebx
cmp eax, edi
jne 0x427244
lea eax, [ebp - 0x28]
push eax
push str.iLastSvcFailure
lea esi, [ebp - 0x2c]
call fcn.00423642
pop ecx
pop ecx
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x427291
push str.Service_Manager_reported_error_after_first_attempt
lea ecx, [ebp - 0x18]
call fcn.0040215a
push 0x186a0
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], 8
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp + 0xc], edi
je 0x4273ee
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
jbe 0x42733c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push edi
push 0x45dcf8
push 0x80000002
call ebx
cmp eax, edi
jne 0x427329
lea eax, [ebp - 0x1c]
push eax
push str.iLastSvcSuccess
lea esi, [ebp - 0x2c]
call fcn.00423642
pop ecx
pop ecx
cmp eax, edi
jne 0x427329
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jbe 0x427329
push str.Service_confirmed_success
lea ecx, [ebp - 0x24]
call fcn.0040215a
push edi
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], 9
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], eax
add dword [ebp - 0x18], 0x1f4
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x4272a6
cmp dword [ebp - 0x10], edi
jne 0x42747d
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push edi
push 0x45dcf8
push 0x80000002
mov dword [ebp - 0x24], edi
call ebx
cmp eax, edi
jne 0x4273f7
lea eax, [ebp - 0x24]
push eax
push str.iLastSvcFailure
lea esi, [ebp - 0x2c]
call fcn.00423642
pop ecx
pop ecx
cmp eax, edi
jne 0x4273f7
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jbe 0x4273f7
push str.Service_confirmed_error
lea ecx, [ebp - 0x18]
call fcn.0040215a
push edi
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xa
push 2
jmp 0x427102
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov dword [ebp - 4], 5
jmp 0x4270f7
push str.Service_wait_timed_out
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov dword [ebp - 4], 7
push edi
jmp 0x4270fc
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov dword [ebp - 4], 6
jmp 0x4273d2
cmp dword [ebp - 0x10], edi
jne 0x42747d
cmp dword [0x48aac8], edi
je 0x42740b
cmp dword [0x48a508], edi
je 0x42714a
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Second_attempt_to_notify_Service
lea ecx, [ebp - 0x24]
call fcn.0040215a
push edi
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], 0xb
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x42747d
push str.Unable_to_notify_Service_in_the_second_attempt
lea ecx, [ebp - 0x24]
call fcn.0040215a
mov dword [ebp - 4], 0xc
push 0x186a0
jmp 0x427131
push str.Service_notify_success
lea ecx, [ebp - 0x2c]
call fcn.0040215a
push edi
lea eax, [ebp - 0x2c]
push eax
push 2
mov dword [ebp - 4], 0xd
call fcn.0040e5e0
mov ecx, dword [ebp - 0x2c]
jmp 0x42713f
push str.OpenService_failed._Cannot_notify_ARM_Service
lea ecx, [ebp - 0x24]
call fcn.0040215a
xor eax, eax
push edi
lea ecx, [ebp - 0x24]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0040e5e0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x427504
push str.OpenSCManager_failed._Cannot_notify_ARM_Service
lea ecx, [ebp - 0x24]
call fcn.0040215a
push edi
lea eax, [ebp - 0x24]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.0040e5e0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043bfe2
ret