Function at 0x432fdb
Capabilities:
Check for time delay via gettickcount
Pause service
Query service status
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f7bf
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4a1d50]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor edi, edi
push 4
push edi
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp dword [0x4a6ab4], 0x2722c
mov esi, eax
mov dword [esp + 0x40], esi
je 0x43359f
cmp esi, edi
je 0x43359f
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x4a6ab4], 0x27290
mov dword [esp + 0x18], eax
je 0x433542
cmp eax, edi
je 0x433542
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x34], eax
cmp dword [0x4a6aec], edi
je 0x43308b
mov dword [esp + 0x24], 0x1388
cmp dword [0x4a66b8], edi
je 0x433093
mov dword [esp + 0x24], 0x7530
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea eax, [esp + 0x3c]
push eax
push 0x24
lea eax, [esp + 0x68]
push eax
push edi
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x4330ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x491fe4
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.0040130b
mov dword [esp + 0x90], 2
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 1
call fcn.0040fcf3
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x43349e
cmp dword [esp + 0x64], 1
je 0x433508
cmp dword [esp + 0x64], 3
je 0x433508
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4331a8
push str.Waiting_for_Service_to_run
lea ecx, [esp + 0x24]
call fcn.0040130b
push edi
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x9c], 4
call fcn.0040fcf3
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push dword [esp + 0x78]
call ebx
lea eax, [esp + 0x3c]
push eax
push 0x24
lea eax, [esp + 0x68]
push eax
push edi
push dword [esp + 0x28]
call esi
test eax, eax
je 0x4333fc
cmp dword [esp + 0x64], 1
je 0x43343f
cmp dword [esp + 0x64], 3
je 0x43343f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x24]
ja 0x433424
cmp dword [esp + 0x64], 4
jne 0x433120
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], edi
push str.iLastSvcSuccess
mov edi, 0x46c0b0
push edi
mov esi, 0x80000002
push esi
call fcn.0042ed7d
and dword [esp + 0x48], 0
lea eax, [esp + 0x48]
push eax
push str.iLastSvcFailure
push edi
push esi
call fcn.0042ed7d
add esp, 0x20
push 0xa
call ebx
lea eax, [esp + 0x44]
push eax
push dword [ebp + 8]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x433253
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Service_Manager_reported_error_after_first_attempt
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.0040130b
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x9c], 8
call fcn.0040fcf3
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x433333
mov dword [esp + 0x20], eax
jbe 0x433333
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push str.iLastSvcSuccess
push edi
push esi
call fcn.0042ed7d
add esp, 0x10
test eax, eax
jne 0x4332dc
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jbe 0x4332dc
push str.Service_confirmed_success
lea ecx, [esp + 0x34]
call fcn.0040130b
push 0
lea eax, [esp + 0x34]
push eax
push 2
mov dword [esp + 0x9c], 9
call fcn.0040fcf3
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], 0
jne 0x43330e
and dword [esp + 0x34], 0
lea eax, [esp + 0x34]
push eax
push str.iLastSvcFailure
push edi
push esi
call fcn.0042ed7d
add esp, 0x10
test eax, eax
jne 0x43330e
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
ja 0x43345e
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x20], eax
jae 0x43331e
push 0xc8
call ebx
add dword [esp + 0x20], 0xc8
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0xc]
jb 0x433268
xor eax, eax
cmp dword [esp + 0x1c], eax
jne 0x4334dc
cmp dword [0x4a6aec], eax
je 0x433353
cmp dword [0x4a66b8], eax
je 0x43349c
push dword [esp + 0x24]
call ebx
push str.Second_attempt_to_notify_Service
lea ecx, [esp + 0x38]
call fcn.0040130b
push 0
lea eax, [esp + 0x38]
push eax
push 2
mov dword [esp + 0x9c], 0xb
call fcn.0040fcf3
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [esp + 0x44]
push eax
push dword [ebp + 8]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4334dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Unable_to_notify_Service_in_the_second_attempt
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], eax
call fcn.0040130b
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x98], 0xc
push 1
call fcn.0040fcf3
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x34]
jmp 0x433494
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.QueryServiceStatusEx_failed
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.0040130b
mov dword [esp + 0x90], 5
jmp 0x4330d3
push str.Service_wait_timed_out
lea ecx, [esp + 0x28]
call fcn.0040130b
mov dword [esp + 0x90], 7
jmp 0x433458
push str.Service_is_stopped_or_about_to_stop
lea ecx, [esp + 0x28]
call fcn.0040130b
mov dword [esp + 0x90], 6
push edi
jmp 0x4330d7
push str.Service_confirmed_error
lea ecx, [esp + 0x34]
call fcn.0040130b
push 0
lea eax, [esp + 0x34]
push eax
push 2
mov dword [esp + 0x9c], 0xa
call fcn.0040fcf3
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004017c4
xor edi, edi
push dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [esp + 0x40]
call esi
cmp dword [esp + 0x14], edi
je 0x4334d3
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x18]
mov eax, str.Service_Access_Error
mov ebx, 0x4a6608
mov byte [esp + 0x1b], 0
call fcn.0040646b
mov eax, dword [esp + 0x1c]
jmp 0x4335f4
and dword [esp + 0x14], 0
push str.Service_notify_success
lea ecx, [esp + 0x38]
call fcn.0040130b
push 0
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x98], 0xd
push 2
jmp 0x4333e3
push str.Service_is_stopped_or_about_to_stop
lea ecx, [esp + 0x38]
call fcn.0040130b
push edi
lea eax, [esp + 0x38]
push eax
push 1
mov dword [esp + 0x9c], 3
call fcn.0040fcf3
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x34]
jmp 0x4330f2
lea eax, [esp + 0x13]
push eax
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, str.Service_Access_Error
mov ebx, 0x4a6608
call fcn.0040646b
push str.OpenService_failed._Cannot_notify_ARM_Service
lea ecx, [esp + 0x38]
call fcn.0040130b
xor eax, eax
push 0
lea ecx, [esp + 0x38]
inc eax
push ecx
push eax
mov dword [esp + 0x9c], eax
call fcn.0040fcf3
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4335f2
lea eax, [esp + 0x13]
push eax
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, str.Service_Access_Error
mov ebx, 0x4a6608
call fcn.0040646b
push str.OpenSCManager_failed._Cannot_notify_ARM_Service
lea ecx, [esp + 0x38]
call fcn.0040130b
and dword [esp + 0x90], 0
push 0
lea eax, [esp + 0x38]
push eax
push 1
call fcn.0040fcf3
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret