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

Disassembly:
push 0x68
mov eax, 0x46d410
call fcn.00452eb4
xor ebx, ebx
push 4
push ebx
push ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp dword [0x4b7be0], 0x2722c
mov esi, eax
mov dword [ebp - 0x30], esi
je 0x439490
cmp esi, ebx
je 0x439490
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x4b7be0], 0x27290
mov dword [ebp - 0x18], eax
je 0x439437
cmp eax, ebx
je 0x439437
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
cmp dword [0x4b7c18], ebx
je 0x4391fa
mov dword [ebp - 0x20], 0x1388
cmp dword [0x4b7788], ebx
je 0x439201
mov dword [ebp - 0x20], 0x7530
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea eax, [ebp - 0x28]
push eax
push 0x24
lea eax, [ebp - 0x70]
push eax
push ebx
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x439258
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a11d8
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.004012e2
push 2
pop eax
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00411806
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x4392c0
cmp dword [ebp - 0x6c], 1
mov edi, str.Service_is_stopped_or_about_to_stop
je 0x43926d
cmp dword [ebp - 0x6c], 3
jne 0x439367
push edi
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x6c], 1
jne 0x4392b9
call fcn.00438ad6
cmp eax, ebx
je 0x439367
cmp eax, 0xbc2
je 0x439367
mov dword [ebp - 0x14], 0x359
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x30]
call esi
cmp dword [ebp - 0x14], ebx
je 0x4392ee
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
mov ecx, 0x4b76d8
push str.Service_Access_Error
mov byte [ebp - 0xd], bl
call fcn.0040787d
mov eax, dword [ebp - 0x24]
jmp 0x4394de
push str.Waiting_for_Service_to_run
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], 4
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x28]
push eax
push 0x24
lea eax, [ebp - 0x70]
push eax
push ebx
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x4393a7
cmp dword [ebp - 0x6c], 1
je 0x4393fc
cmp dword [ebp - 0x6c], 3
je 0x4393fc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
ja 0x4393e1
cmp dword [ebp - 0x6c], 4
jne 0x4392f6
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004394e4
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4392c0
push str.Service_notify_success
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
call fcn.004012e2
mov dword [ebp - 4], 8
push ebx
jmp 0x4393c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.004012e2
mov dword [ebp - 4], 5
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 2
call fcn.00411806
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
jmp 0x43924e
push str.Service_wait_timed_out
lea ecx, [ebp - 0x20]
call fcn.004012e2
mov dword [ebp - 4], 7
mov esi, 0x5b4
jmp 0x439411
push edi
lea ecx, [ebp - 0x20]
call fcn.004012e2
mov dword [ebp - 4], 6
mov esi, 0x359
push esi
lea eax, [ebp - 0x20]
push eax
push 2
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov dword [ebp - 0x14], esi
jmp 0x4392c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe]
push ecx
push eax
push str.Service_Access_Error
mov ecx, 0x4b76d8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xe], bl
call fcn.0040787d
push str.OpenService_failed
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.00411806
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4394dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe]
push ecx
push eax
push str.Service_Access_Error
mov ecx, 0x4b76d8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xe], bl
call fcn.0040787d
push str.OpenSCManager_failed
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov dword [ebp - 4], ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.00411806
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
call fcn.00452f8c
ret