Function at 0x43204b
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 0x45d751
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x497d50]
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 [0x49ccc8], 0x2722c
mov esi, eax
mov dword [esp + 0x40], esi
je 0x43260f
cmp esi, edi
je 0x43260f
push 0x104
push str.AdobeARMservice
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp dword [0x49ccc8], 0x27290
mov dword [esp + 0x18], eax
je 0x4325b2
cmp eax, edi
je 0x4325b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x34], eax
cmp dword [0x49cd00], edi
je 0x4320fb
mov dword [esp + 0x24], 0x1388
cmp dword [0x49c538], edi
je 0x432103
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 0x43216f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x488f3c
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.00411fad
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x43250e
cmp dword [esp + 0x64], 1
je 0x432578
cmp dword [esp + 0x64], 3
je 0x432578
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x432218
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.00411fad
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 0x43246c
cmp dword [esp + 0x64], 1
je 0x4324af
cmp dword [esp + 0x64], 3
je 0x4324af
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x24]
ja 0x432494
cmp dword [esp + 0x64], 4
jne 0x432190
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], edi
push str.iLastSvcSuccess
mov edi, 0x4683e8
push edi
mov esi, 0x80000002
push esi
call fcn.0042e197
and dword [esp + 0x48], 0
lea eax, [esp + 0x48]
push eax
push str.iLastSvcFailure
push edi
push esi
call fcn.0042e197
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 0x4322c3
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.00411fad
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 0x4323a3
mov dword [esp + 0x20], eax
jbe 0x4323a3
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push str.iLastSvcSuccess
push edi
push esi
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x43234c
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jbe 0x43234c
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.00411fad
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 0x43237e
and dword [esp + 0x34], 0
lea eax, [esp + 0x34]
push eax
push str.iLastSvcFailure
push edi
push esi
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x43237e
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
ja 0x4324ce
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x20], eax
jae 0x43238e
push 0xc8
call ebx
add dword [esp + 0x20], 0xc8
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0xc]
jb 0x4322d8
xor eax, eax
cmp dword [esp + 0x1c], eax
jne 0x43254c
cmp dword [0x49cd00], eax
je 0x4323c3
cmp dword [0x49c538], eax
je 0x43250c
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.00411fad
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 0x43254c
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.00411fad
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x34]
jmp 0x432504
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 0x432143
push str.Service_wait_timed_out
lea ecx, [esp + 0x28]
call fcn.00402060
mov dword [esp + 0x90], 7
jmp 0x4324c8
push str.Service_is_stopped_or_about_to_stop
lea ecx, [esp + 0x28]
call fcn.00402060
mov dword [esp + 0x90], 6
push edi
jmp 0x432147
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.00411fad
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 0x432543
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x18]
mov eax, str.Service_Access_Error
mov ebx, 0x49c488
mov byte [esp + 0x1b], 0
call fcn.00409222
mov eax, dword [esp + 0x1c]
jmp 0x432664
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 0x432453
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.00411fad
add esp, 0xc
or dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x34]
jmp 0x432162
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, 0x49c488
call fcn.00409222
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.00411fad
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x432662
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, 0x49c488
call fcn.00409222
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.00411fad
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