Function at 0x432350
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 0x45da38
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x498d50]
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 [0x49dcc8], 0x2722c
mov esi, eax
mov dword [esp + 0x40], esi
je 0x432914
cmp esi, edi
je 0x432914
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x49dcc8], 0x27290
mov dword [esp + 0x18], eax
je 0x4328b7
cmp eax, edi
je 0x4328b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x34], eax
cmp dword [0x49dd00], edi
je 0x432400
mov dword [esp + 0x24], 0x1388
cmp dword [0x49d538], edi
je 0x432408
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 0x432474
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x489f24
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.00402060
mov dword [esp + 0x90], 2
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 1
call fcn.00411fb7
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x432813
cmp dword [esp + 0x64], 1
je 0x43287d
cmp dword [esp + 0x64], 3
je 0x43287d
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43251d
push str.Waiting_for_Service_to_run
lea ecx, [esp + 0x24]
call fcn.00402060
push edi
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x9c], 4
call fcn.00411fb7
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
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 0x432771
cmp dword [esp + 0x64], 1
je 0x4327b4
cmp dword [esp + 0x64], 3
je 0x4327b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x24]
ja 0x432799
cmp dword [esp + 0x64], 4
jne 0x432495
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], edi
push str.iLastSvcSuccess
mov edi, 0x4693e8
push edi
mov esi, 0x80000002
push esi
call fcn.0042e400
and dword [esp + 0x48], 0
lea eax, [esp + 0x48]
push eax
push str.iLastSvcFailure
push edi
push esi
call fcn.0042e400
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 0x4325c8
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.00402060
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x9c], 8
call fcn.00411fb7
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x4326a8
mov dword [esp + 0x20], eax
jbe 0x4326a8
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push str.iLastSvcSuccess
push edi
push esi
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x432651
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jbe 0x432651
push str.Service_confirmed_success
lea ecx, [esp + 0x34]
call fcn.00402060
push 0
lea eax, [esp + 0x34]
push eax
push 2
mov dword [esp + 0x9c], 9
call fcn.00411fb7
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], 0
jne 0x432683
and dword [esp + 0x34], 0
lea eax, [esp + 0x34]
push eax
push str.iLastSvcFailure
push edi
push esi
call fcn.0042e400
add esp, 0x10
test eax, eax
jne 0x432683
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
ja 0x4327d3
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x20], eax
jae 0x432693
push 0xc8
call ebx
add dword [esp + 0x20], 0xc8
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0xc]
jb 0x4325dd
xor eax, eax
cmp dword [esp + 0x1c], eax
jne 0x432851
cmp dword [0x49dd00], eax
je 0x4326c8
cmp dword [0x49d538], eax
je 0x432811
push dword [esp + 0x24]
call ebx
push str.Second_attempt_to_notify_Service
lea ecx, [esp + 0x38]
call fcn.00402060
push 0
lea eax, [esp + 0x38]
push eax
push 2
mov dword [esp + 0x9c], 0xb
call fcn.00411fb7
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
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 0x432851
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.00402060
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x98], 0xc
push 1
call fcn.00411fb7
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x34]
jmp 0x432809
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.QueryServiceStatusEx_failed
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.00402060
mov dword [esp + 0x90], 5
jmp 0x432448
push str.Service_wait_timed_out
lea ecx, [esp + 0x28]
call fcn.00402060
mov dword [esp + 0x90], 7
jmp 0x4327cd
push str.Service_is_stopped_or_about_to_stop
lea ecx, [esp + 0x28]
call fcn.00402060
mov dword [esp + 0x90], 6
push edi
jmp 0x43244c
push str.Service_confirmed_error
lea ecx, [esp + 0x34]
call fcn.00402060
push 0
lea eax, [esp + 0x34]
push eax
push 2
mov dword [esp + 0x9c], 0xa
call fcn.00411fb7
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040253e
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 0x432848
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x18]
mov eax, str.Service_Access_Error
mov ebx, 0x49d488
mov byte [esp + 0x1b], 0
call fcn.0040922c
mov eax, dword [esp + 0x1c]
jmp 0x432969
and dword [esp + 0x14], 0
push str.Service_notify_success
lea ecx, [esp + 0x38]
call fcn.00402060
push 0
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x98], 0xd
push 2
jmp 0x432758
push str.Service_is_stopped_or_about_to_stop
lea ecx, [esp + 0x38]
call fcn.00402060
push edi
lea eax, [esp + 0x38]
push eax
push 1
mov dword [esp + 0x9c], 3
call fcn.00411fb7
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x34]
jmp 0x432467
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, 0x49d488
call fcn.0040922c
push str.OpenService_failed._Cannot_notify_ARM_Service
lea ecx, [esp + 0x38]
call fcn.00402060
xor eax, eax
push 0
lea ecx, [esp + 0x38]
inc eax
push ecx
push eax
mov dword [esp + 0x9c], eax
call fcn.00411fb7
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x432967
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, 0x49d488
call fcn.0040922c
push str.OpenSCManager_failed._Cannot_notify_ARM_Service
lea ecx, [esp + 0x38]
call fcn.00402060
and dword [esp + 0x90], 0
push 0
lea eax, [esp + 0x38]
push eax
push 1
call fcn.00411fb7
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
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