Function at 0x478f30
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
call ebx
push 0xf003f
push 0
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x478f97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d_
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 4
push edi
push 0x1002c
push str.AGMService
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x478fea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d_
push edi
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x18
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x479026
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d_
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x18
jmp 0x4791d5
mov eax, dword [ebp - 0x28]
cmp eax, 1
jne 0x479038
push str.Service_is_already_stopped
jmp 0x479152
cmp eax, 3
jne 0x4790bb
nop dword [eax]
push str.Service_stop_pending...
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
mov eax, 0xcccccccd
add esp, 0x14
mul dword [ebp - 0x14]
shr edx, 3
cmp edx, 0x3e8
jae 0x479073
mov edx, 0x3e8
jmp 0x479081
cmp edx, 0x2710
mov eax, 0x2710
cmova edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x479001
cmp dword [ebp - 0x28], 1
je 0x479105
call ebx
sub eax, dword [ebp - 0x34]
cmp eax, 0x7530
ja 0x4790fb
cmp dword [ebp - 0x28], 3
je 0x479040
mov ecx, dword [ebp - 0x30]
mov edx, edi
call fcn.00478d60
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x47910f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ControlService_failed___d__n
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x18
jmp 0x4791d5
push str.Service_stop_timed_out.
jmp 0x4791c1
push str.Service_stopped_successfully
jmp 0x4791c1
cmp dword [ebp - 0x28], 1
je 0x47914d
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x47919a
cmp dword [ebp - 0x28], 1
je 0x47914d
call ebx
sub eax, dword [ebp - 0x34]
cmp eax, 0x7530
ja 0x479193
cmp dword [ebp - 0x28], 1
jne 0x479115
push str.Service_stopped_successfully_n
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4791bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed_w_err_0x_08lx_n
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x18
jmp 0x4791d5
push str.Wait_timed_out_n
jmp 0x4791c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d__n
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x18
jmp 0x4791d5
push str.DeleteService_Success_n
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a7700
add esp, 0x14
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x30]
call esi
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 4