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

Disassembly:
push 0x6c
mov eax, 0x454e37
call fcn.0043dd63
push 4
pop ebx
xor edi, edi
push ebx
push edi
push edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp dword [0x48eac4], 0x2722c
mov esi, eax
mov dword [ebp - 0x38], esi
je 0x42933c
cmp esi, edi
je 0x42933c
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x48eac4], 0x27290
mov dword [ebp - 0x18], eax
je 0x4292fc
cmp eax, edi
je 0x4292fc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 0x24
lea eax, [ebp - 0x78]
push eax
push edi
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x428f39
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x47bfc4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.0040215a
mov dword [ebp - 4], 2
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.0040ece1
mov ecx, dword [ebp - 0x1c]
jmp 0x428f6c
cmp dword [ebp - 0x74], 1
je 0x428f49
cmp dword [ebp - 0x74], 3
jne 0x429012
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x28]
call fcn.0040215a
mov dword [ebp - 4], 3
push edi
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.0040ece1
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x38]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x428f93
mov dword [0x48ea50], eax
mov eax, dword [ebp - 0x14]
jmp 0x429373
push str.Waiting_for_Service_to_run
lea ecx, [ebp - 0x1c]
call fcn.0040215a
push edi
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x34]
push eax
push 0x24
lea eax, [ebp - 0x78]
push eax
push edi
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x4291e9
cmp dword [ebp - 0x74], 1
je 0x429225
cmp dword [ebp - 0x74], 3
je 0x429225
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
cmp eax, 0x7530
ja 0x42920b
cmp dword [ebp - 0x74], ebx
jne 0x428f9b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb80
push 0x80000002
mov dword [ebp - 0x24], edi
call ebx
cmp eax, edi
jne 0x42904d
lea eax, [ebp - 0x24]
push eax
push str.iLastSvcSuccess
lea esi, [ebp - 0x30]
call fcn.00424feb
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb80
push 0x80000002
mov dword [ebp - 0x2c], edi
call ebx
cmp eax, edi
jne 0x42907d
lea eax, [ebp - 0x2c]
push eax
push str.iLastSvcFailure
lea esi, [ebp - 0x30]
call fcn.00424feb
pop ecx
pop ecx
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4290d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Service_Manager_reported_error_after_first_attempt
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.0040215a
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], 8
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp + 0xc], edi
je 0x42923b
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
jbe 0x42917c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb80
push 0x80000002
call ebx
cmp eax, edi
jne 0x429169
lea eax, [ebp - 0x20]
push eax
push str.iLastSvcSuccess
lea esi, [ebp - 0x30]
call fcn.00424feb
pop ecx
pop ecx
cmp eax, edi
jne 0x429169
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x429169
push str.Service_confirmed_success
lea ecx, [ebp - 0x28]
call fcn.0040215a
push edi
lea eax, [ebp - 0x28]
push eax
push 2
mov dword [ebp - 4], 9
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
add dword [ebp - 0x1c], 0x1f4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jb 0x4290e6
cmp dword [ebp - 0x14], edi
jne 0x4292d1
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb80
push 0x80000002
mov dword [ebp - 0x28], edi
call ebx
cmp eax, edi
jne 0x429244
lea eax, [ebp - 0x28]
push eax
push str.iLastSvcFailure
lea esi, [ebp - 0x30]
call fcn.00424feb
pop ecx
pop ecx
cmp eax, edi
jne 0x429244
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jbe 0x429244
push str.Service_confirmed_error
lea ecx, [ebp - 0x1c]
call fcn.0040215a
push edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], 0xa
push 2
jmp 0x428f2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.0040215a
mov dword [ebp - 4], 5
jmp 0x428f26
push str.Service_wait_timed_out
lea ecx, [ebp - 0x1c]
call fcn.0040215a
mov dword [ebp - 4], 7
push edi
jmp 0x428f29
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x1c]
call fcn.0040215a
mov dword [ebp - 4], 6
jmp 0x42921f
cmp dword [ebp - 0x14], edi
jne 0x4292d1
cmp dword [0x48eafc], edi
je 0x429258
cmp dword [0x48e510], edi
je 0x428f77
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Second_attempt_to_notify_Service
lea ecx, [ebp - 0x28]
call fcn.0040215a
push edi
lea eax, [ebp - 0x28]
push eax
push 2
mov dword [ebp - 4], 0xb
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4292d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Unable_to_notify_Service_in_the_second_attempt
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], eax
call fcn.0040215a
push dword [ebp - 0x10]
mov dword [ebp - 4], 0xc
jmp 0x428f5e
push str.Service_notify_success
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], edi
call fcn.0040215a
push edi
lea eax, [ebp - 0x30]
push eax
push 2
mov dword [ebp - 4], 0xd
call fcn.0040ece1
mov ecx, dword [ebp - 0x30]
jmp 0x428f6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.OpenService_failed._Cannot_notify_ARM_Service
lea ecx, [ebp - 0x28]
mov dword [0x48ea50], eax
call fcn.0040215a
xor eax, eax
push edi
lea ecx, [ebp - 0x28]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0040ece1
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x429371
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.OpenSCManager_failed._Cannot_notify_ARM_Service
lea ecx, [ebp - 0x28]
mov dword [0x48ea50], eax
call fcn.0040215a
push edi
lea eax, [ebp - 0x28]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.0040ece1
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043de3b
ret