Function at 0x44620d
Capabilities:
Query service status

Disassembly:
push 0x64
mov eax, 0x4b5820
call fcn.0046c44c
mov dword [ebp - 0x6c], ecx
xor esi, esi
push 4
push esi
push esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x58], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x446279
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.ServiceAccessError
mov dword [ebp - 0x58], eax
call fcn.004032da
push str.OpenSCManager_failed
lea ecx, [ebp - 0x54]
call fcn.00402829
mov dword [ebp - 4], esi
lea edx, [ebp - 0x54]
push dword [ebp - 0x58]
push 2
pop ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x44655f
push 0x104
push str.AdobeARMservice
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4462db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.ServiceAccessError
mov dword [ebp - 0x58], eax
call fcn.004032da
push str.OpenService_failed
lea ecx, [ebp - 0x54]
call fcn.00402829
mov dword [ebp - 4], 1
lea edx, [ebp - 0x54]
push dword [ebp - 0x58]
push 2
pop ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x446272
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x60], eax
cmp dword [0x51b2c4], esi
je 0x4462fb
mov dword [ebp - 0x5c], 0x1388
cmp dword [0x51ae10], esi
je 0x446302
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x68]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x446356
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4faf30
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], eax
call fcn.00402829
push 2
pop esi
mov dword [ebp - 4], esi
lea edx, [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, esi
call fcn.00414e00
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44653c
mov eax, dword [ebp - 0x30]
push 2
pop esi
cmp eax, 1
je 0x44636a
cmp eax, 3
jne 0x4463f6
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x54]
call fcn.00402829
push 0
lea edx, [ebp - 0x54]
mov dword [ebp - 4], 3
mov ecx, esi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x30], 1
jne 0x446535
cmp dword [0x51ae38], 0
je 0x4463df
push str.will_not_repair_Service_in_OnDemand_workflow
lea ecx, [ebp - 0x54]
call fcn.00402829
push 0
lea edx, [ebp - 0x54]
mov dword [ebp - 4], 4
mov ecx, esi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4463f3
call fcn.00445c3d
test eax, eax
je 0x4463f3
cmp eax, 0xbc2
jne 0x446535
mov eax, dword [ebp - 0x30]
cmp eax, 4
je 0x446477
push str.Waiting_for_Service_to_run
lea ecx, [ebp - 0x54]
call fcn.00402829
push 0
lea edx, [ebp - 0x54]
mov dword [ebp - 4], 5
mov ecx, esi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x68]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x446565
cmp dword [ebp - 0x30], 1
je 0x446502
cmp dword [ebp - 0x30], 3
je 0x446502
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x5c]
ja 0x4464c6
cmp dword [ebp - 0x30], 4
jne 0x4463fb
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push dword [ebp - 0x6c]
lea edx, [ebp - 0x50]
call fcn.0044659c
mov dword [ebp - 0x64], eax
pop ecx
pop ecx
test eax, eax
je 0x44653c
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0x60]
push str.Service_notify_success
call fcn.00402829
push 0
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 9
mov ecx, esi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x60]
jmp 0x446349
push str.Service_wait_timed_out
lea ecx, [ebp - 0x5c]
call fcn.00402829
push 0x5b4
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 8
mov ecx, esi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [ebp - 0x58], 0x5b4
jmp 0x44653c
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x5c]
call fcn.00402829
push 0x359
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 7
mov ecx, esi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [ebp - 0x58], 0x359
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x58], 0
je 0x44655c
push 0
push str.ServiceAccessError
call fcn.004032da
mov eax, dword [ebp - 0x64]
call fcn.0046c3f6
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], eax
call fcn.00402829
mov dword [ebp - 4], 6
lea edx, [ebp - 0x5c]
push dword [ebp - 0x58]
mov ecx, esi
call fcn.00414e00
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x5c]
jmp 0x446349