Function at 0x44439b
Capabilities:
Query service status

Disassembly:
push 0x64
mov eax, 0x48da30
call fcn.00464e7c
mov dword [ebp - 0x70], ecx
xor eax, eax
push 4
push eax
push eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x444413
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x51]
mov dword [ebp - 0x5c], eax
push ecx
push eax
push str.Service_Access_Error
mov ecx, 0x4e1f90
mov byte [ebp - 0x51], bl
call fcn.004098f0
push str.OpenSCManager_failed
lea ecx, [ebp - 0x58]
call fcn.0040279b
and dword [ebp - 4], ebx
lea edx, [ebp - 0x58]
push dword [ebp - 0x5c]
push 2
pop ecx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402def
xor eax, eax
jmp 0x44470f
push 0x104
push str.AdobeARMservice
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x444482
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x51]
mov dword [ebp - 0x5c], eax
push ecx
push eax
push str.Service_Access_Error
mov ecx, 0x4e1f90
mov byte [ebp - 0x51], 0
call fcn.004098f0
push str.OpenService_failed
lea ecx, [ebp - 0x58]
call fcn.0040279b
mov dword [ebp - 4], 1
lea edx, [ebp - 0x58]
push dword [ebp - 0x5c]
push 2
pop ecx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402def
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44440c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp dword [0x4e250c], 0
mov dword [ebp - 0x6c], eax
je 0x4444a4
cmp dword [0x4e2068], 0
mov dword [ebp - 0x60], 0x1388
je 0x4444ab
mov dword [ebp - 0x60], 0x7530
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
jne 0x444500
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4c7ee8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
call fcn.0040279b
push 2
pop esi
mov dword [ebp - 4], esi
lea edx, [ebp - 0x58]
push dword [ebp - 0x5c]
mov ecx, esi
call fcn.00413f25
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x4446de
mov eax, dword [ebp - 0x30]
push 2
pop esi
cmp eax, 1
je 0x444514
cmp eax, 3
jne 0x4445a0
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x58]
call fcn.0040279b
push 0
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov ecx, esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [ebp - 0x30], 1
jne 0x4446d7
cmp dword [0x4e2090], 0
je 0x444589
push str.will_not_repair_Service_in_OnDemand_workflow
lea ecx, [ebp - 0x58]
call fcn.0040279b
push 0
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 4
mov ecx, esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x44459d
call fcn.00443d6f
test eax, eax
je 0x44459d
cmp eax, 0xbc2
jne 0x4446d7
mov eax, dword [ebp - 0x30]
cmp eax, 4
je 0x444621
push str.Waiting_for_Service_to_run
lea ecx, [ebp - 0x58]
call fcn.0040279b
push 0
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 5
mov ecx, esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402def
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 0x444715
cmp dword [ebp - 0x30], 1
je 0x4446a4
cmp dword [ebp - 0x30], 3
je 0x4446a4
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x60]
ja 0x444668
cmp dword [ebp - 0x30], 4
jne 0x4445a5
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
push dword [ebp - 0x70]
lea edx, [ebp - 0x50]
call fcn.0044474c
mov dword [ebp - 0x64], eax
pop ecx
pop ecx
test eax, eax
je 0x4446de
and dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x60]
push str.Service_notify_success
call fcn.0040279b
push 0
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 9
mov ecx, esi
call fcn.00413e51
jmp 0x44473f
push str.Service_wait_timed_out
lea ecx, [ebp - 0x60]
call fcn.0040279b
push 0x5b4
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 8
mov ecx, esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov dword [ebp - 0x5c], 0x5b4
jmp 0x4446de
push str.Service_is_stopped_or_about_to_stop
lea ecx, [ebp - 0x60]
call fcn.0040279b
push 0x359
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 7
mov ecx, esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov dword [ebp - 0x5c], 0x359
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x5c], 0
je 0x44470c
lea eax, [ebp - 0x51]
mov byte [ebp - 0x51], 0
push eax
push dword [ebp - 0x5c]
mov ecx, 0x4e1f90
push str.Service_Access_Error
call fcn.004098f0
mov eax, dword [ebp - 0x64]
call fcn.00464e26
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], eax
call fcn.0040279b
mov dword [ebp - 4], 6
lea edx, [ebp - 0x60]
push dword [ebp - 0x5c]
mov ecx, esi
call fcn.00413f25
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x60]
jmp 0x4444f3