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

Disassembly:
push 0x6c
mov eax, 0x4550c2
call fcn.0043dfc3
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 0x429591
cmp esi, edi
je 0x429591
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x48eac4], 0x27290
mov dword [ebp - 0x18], eax
je 0x429551
cmp eax, edi
je 0x429551
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 0x42918e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x47c1d4
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.0040ed4d
mov ecx, dword [ebp - 0x1c]
jmp 0x4291c1
cmp dword [ebp - 0x74], 1
je 0x42919e
cmp dword [ebp - 0x74], 3
jne 0x429267
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.0040ed4d
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 0x4291e8
mov dword [0x48ea50], eax
mov eax, dword [ebp - 0x14]
jmp 0x4295c8
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.0040ed4d
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 0x42943e
cmp dword [ebp - 0x74], 1
je 0x42947a
cmp dword [ebp - 0x74], 3
je 0x42947a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
cmp eax, 0x7530
ja 0x429460
cmp dword [ebp - 0x74], ebx
jne 0x4291f0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb40
push 0x80000002
mov dword [ebp - 0x24], edi
call ebx
cmp eax, edi
jne 0x4292a2
lea eax, [ebp - 0x24]
push eax
push str.iLastSvcSuccess
lea esi, [ebp - 0x30]
call fcn.00425143
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb40
push 0x80000002
mov dword [ebp - 0x2c], edi
call ebx
cmp eax, edi
jne 0x4292d2
lea eax, [ebp - 0x2c]
push eax
push str.iLastSvcFailure
lea esi, [ebp - 0x30]
call fcn.00425143
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 0x429326
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.0040ed4d
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 0x429490
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
jbe 0x4293d1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb40
push 0x80000002
call ebx
cmp eax, edi
jne 0x4293be
lea eax, [ebp - 0x20]
push eax
push str.iLastSvcSuccess
lea esi, [ebp - 0x30]
call fcn.00425143
pop ecx
pop ecx
cmp eax, edi
jne 0x4293be
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x4293be
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.0040ed4d
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 0x42933b
cmp dword [ebp - 0x14], edi
jne 0x429526
lea eax, [ebp - 0x30]
push eax
push 0x20019
push edi
push 0x45fb40
push 0x80000002
mov dword [ebp - 0x28], edi
call ebx
cmp eax, edi
jne 0x429499
lea eax, [ebp - 0x28]
push eax
push str.iLastSvcFailure
lea esi, [ebp - 0x30]
call fcn.00425143
pop ecx
pop ecx
cmp eax, edi
jne 0x429499
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jbe 0x429499
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 0x429184
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 0x42917b
push str.Service_wait_timed_out
lea ecx, [ebp - 0x1c]
call fcn.0040215a
mov dword [ebp - 4], 7
push edi
jmp 0x42917e
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x1c]
call fcn.0040215a
mov dword [ebp - 4], 6
jmp 0x429474
cmp dword [ebp - 0x14], edi
jne 0x429526
cmp dword [0x48eafc], edi
je 0x4294ad
cmp dword [0x48e510], edi
je 0x4291cc
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.0040ed4d
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 0x429526
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 0x4291b3
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.0040ed4d
mov ecx, dword [ebp - 0x30]
jmp 0x4291c1
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.0040ed4d
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4295c6
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.0040ed4d
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043e09b
ret