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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push 0
push 0
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
jne 0x479ccc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d_
push ebx
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x18
xor bl, bl
jmp 0x479f9e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x1002c
cmovae eax, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x479d2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed___d_
push esi
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x479d20
mov bl, 1
jmp 0x479f9e
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
jmp 0x479f9e
lea eax, [ebp - 0x2c]
mov bl, 1
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x479d71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d_
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x18
xor bl, bl
jmp 0x479f83
mov eax, dword [ebp - 0x24]
cmp eax, 1
jne 0x479d83
push str.Service_is_already_stopped
jmp 0x479ed7
cmp eax, 3
jne 0x479e19
nop dword [eax]
push str.Service_stop_pending...
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
mov eax, 0xcccccccd
add esp, 0x14
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x479dc6
mov edx, 0x3e8
jmp 0x479dd4
cmp edx, 0x2710
mov eax, 0x2710
cmova edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x479d47
cmp dword [ebp - 0x24], 1
je 0x479e83
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x479e60
cmp dword [ebp - 0x24], 3
je 0x479d90
push esi
push dword [ebp - 0x30]
call fcn.00477430
add esp, 8
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x479e8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ControlService_failed___d__n
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x18
xor bl, bl
jmp 0x479f83
push str.Service_stop_timed_out.
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x14
xor bl, bl
jmp 0x479f83
push str.Service_stopped_successfully
jmp 0x479f6c
cmp dword [ebp - 0x24], 1
je 0x479ed2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x479f40
cmp dword [ebp - 0x24], 1
je 0x479ed2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x479f20
cmp dword [ebp - 0x24], 1
jne 0x479e93
push str.Service_stopped_successfully_n
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x14
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x479f67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed_w_err_0x_08lx_n
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x18
xor bl, bl
jmp 0x479f83
push str.Wait_timed_out_n
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x14
xor bl, bl
jmp 0x479f83
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d__n
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x18
xor bl, bl
jmp 0x479f83
push str.DeleteService_Success_n
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x75ea50]
call fcn.00511a90
add esp, 0x14
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x479fd4
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479fca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479fe7
push edx
push ecx
call fcn.005e984c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e980b
mov esp, ebp
pop ebp
ret
call fcn.00608584
int3