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

Disassembly:
push 0x68
mov eax, 0x469270
call fcn.004508b2
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 [0x4b2bb4], 0x2722c
mov esi, eax
mov dword [ebp - 0x30], esi
je 0x4373e2
cmp esi, ebx
je 0x4373e2
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x4b2bb4], 0x27290
mov dword [ebp - 0x18], eax
je 0x437389
cmp eax, ebx
je 0x437389
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
cmp dword [0x4b2bec], ebx
je 0x43714c
mov dword [ebp - 0x20], 0x1388
cmp dword [0x4b2788], ebx
je 0x437153
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 0x4371aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x49c430
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.00410d56
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x437212
cmp dword [ebp - 0x6c], 1
mov edi, str.Service_is_stopped_or_about_to_stop
je 0x4371bf
cmp dword [ebp - 0x6c], 3
jne 0x4372b9
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.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp - 0x6c], 1
jne 0x43720b
call fcn.00436a28
cmp eax, ebx
je 0x4372b9
cmp eax, 0xbc2
je 0x4372b9
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 0x437240
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
mov ecx, 0x4b26d8
push str.Service_Access_Error
mov byte [ebp - 0xd], bl
call fcn.00406c2e
mov eax, dword [ebp - 0x24]
jmp 0x437430
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.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
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 0x4372f9
cmp dword [ebp - 0x6c], 1
je 0x43734e
cmp dword [ebp - 0x6c], 3
je 0x43734e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
ja 0x437333
cmp dword [ebp - 0x6c], 4
jne 0x437248
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00437436
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x437212
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 0x437319
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.00410d56
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
jmp 0x4371a0
push str.Service_wait_timed_out
lea ecx, [ebp - 0x20]
call fcn.004012e2
mov dword [ebp - 4], 7
mov esi, 0x5b4
jmp 0x437363
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.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov dword [ebp - 0x14], esi
jmp 0x437212
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe]
push ecx
push eax
push str.Service_Access_Error
mov ecx, 0x4b26d8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xe], bl
call fcn.00406c2e
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.00410d56
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x43742e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe]
push ecx
push eax
push str.Service_Access_Error
mov ecx, 0x4b26d8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xe], bl
call fcn.00406c2e
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.00410d56
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
call fcn.0045098a
ret