Function at 0x4c1df0
Capabilities:
Check for time delay via gettickcount
Create service
Modify service
Persist via windows service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c16d1
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x7ef784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0064ed10
xor eax, eax
mov dword [ebp - 0x47c], 0
add esp, 0xc
mov dword [ebp - 0x478], 7
mov word [ebp - 0x48c], ax
push 0xf003f
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x490], edi
test edi, edi
jne 0x4c1e94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d__n
push edi
push 2
push str.AdobeGCClientMain
push edi
call fcn.00562650
add esp, 0x18
mov edi, 5
jmp 0x4c2575
xor eax, eax
mov dword [ebp - 0x464], 0
push eax
push 0x715930
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
call fcn.0049de00
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x715930
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.0049de00
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0064ed10
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0064ed10
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.004ce450
push 1
push 0x714514
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004ce310
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004ce1d0
push 0x715714
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004ce1d0
add esp, 0x48
lea eax, [ebp - 0x114]
push 0x716a44
push 0x104
push eax
call fcn.004ce1d0
push 0x715714
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004ce1d0
mov bl, byte [ebp + 8]
mov ecx, 0x717630
test bl, bl
mov eax, 0x717654
cmovne eax, ecx
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004ce1d0
add esp, 0x24
mov ecx, str.AGSService
test bl, bl
mov eax, 0x716a18
cmovne eax, ecx
lea ecx, [ebp - 0x474]
push 0xa
push eax
call fcn.004a21c0
movzx eax, bl
test bl, bl
mov ecx, 0x717180
lea eax, [eax*2 + 0x26]
push eax
mov eax, str.Adobe_Genuine_Software_Monitor_Service
cmovne eax, ecx
lea ecx, [ebp - 0x438]
push eax
call fcn.004a21c0
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c2014
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00662d96
lea ecx, [ebp - 0x420]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2040
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48c]
call fcn.004a21c0
push 1
push 0x714d70
lea ecx, [ebp - 0x48c]
call fcn.004a21c0
cmp dword [ebp - 0x478], 8
lea edx, [ebp - 0x48c]
push 0
cmovae edx, dword [ebp - 0x48c]
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x474]
push 0
cmovae ecx, dword [ebp - 0x438]
cmp dword [ebp - 0x460], 8
push 0x715930
cmovae eax, dword [ebp - 0x474]
push 0
push 0
push edx
push 1
push 2
push 0x10
push 0xf01ff
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x4c20fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AGSSerice_Service_Install_Failed_..._d
push esi
push 4
push str.AdobeGCClientMain
push esi
call fcn.00562650
add esp, 0x18
lea edi, [esi + 7]
jmp 0x4c24bb
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
mov dword [ebp - 0x498], eax
lea eax, [ebp - 0x498]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push str.AGSSerice_Service_Installed_...
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x14
lea eax, [ebp - 0x494]
push eax
push 0x24
lea eax, [ebp - 0x45c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4c2193
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d__n
push 0
push 2
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x18
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 7
jmp 0x4c24bb
mov eax, dword [ebp - 0x458]
cmp eax, 1
je 0x4c21d3
cmp eax, 3
je 0x4c21d3
push str.Cannot_start_the_service_because_it_is_already_running
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x14
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 7
jmp 0x4c24bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x458], 3
mov ebx, eax
mov edi, dword [ebp - 0x448]
mov ecx, 0x2710
jne 0x4c2288
nop dword [eax]
nop word [eax + eax]
mov eax, 0xcccccccd
mul dword [ebp - 0x444]
shr edx, 3
cmp edx, 0x3e8
jae 0x4c221d
mov edx, 0x3e8
jmp 0x4c2226
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x494]
push eax
push 0x24
lea eax, [ebp - 0x45c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c22f4
cmp dword [ebp - 0x448], edi
jbe 0x4c2266
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x448]
mov ebx, eax
jmp 0x4c2276
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [ebp - 0x444]
ja 0x4c22a5
cmp dword [ebp - 0x458], 3
mov ecx, 0x2710
je 0x4c2200
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4c22bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_failed___d__n
jmp 0x4c2300
push str.Timeout_waiting_for_service_to_stop
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x14
jmp 0x4c2313
push str.Service_start_pending..._n
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x14
lea eax, [ebp - 0x494]
push eax
push 0x24
lea eax, [ebp - 0x45c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4c2330
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d__n
push 0
push 2
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x18
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 7
jmp 0x4c24bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x458], 2
mov ebx, eax
mov edi, dword [ebp - 0x448]
jne 0x4c23f1
nop dword [eax + eax]
mov eax, 0xcccccccd
mul dword [ebp - 0x444]
shr edx, 3
cmp edx, 0x3e8
jae 0x4c236d
mov edx, 0x3e8
jmp 0x4c237b
cmp edx, 0x2710
mov eax, 0x2710
cmova edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x494]
push eax
push 0x24
lea eax, [ebp - 0x45c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c23d2
cmp dword [ebp - 0x448], edi
jbe 0x4c23b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x448]
mov ebx, eax
jmp 0x4c23c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [ebp - 0x444]
ja 0x4c23f1
cmp dword [ebp - 0x458], 2
je 0x4c2350
jmp 0x4c23f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d__n
push 0
push 2
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x18
cmp dword [ebp - 0x458], 4
jne 0x4c241c
push str.Service_started_successfully.
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x14
mov edi, 6
jmp 0x4c24a8
push str.Service_not_started.
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
push dword [ebp - 0x458]
push str.__Current_State:__d_n
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
push dword [ebp - 0x450]
push str.__Exit_Code:__d_n
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x44
push dword [ebp - 0x448]
push str.__Check_Point:__d_n
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
push dword [ebp - 0x444]
push str.__Wait_Hint:__d_n
push 0
push 4
push str.AdobeGCClientMain
push 0
call fcn.00562650
add esp, 0x30
mov edi, 7
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4c24fb
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c24f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c25cf
push edx
push ecx
call fcn.006391f8
add esp, 8
mov edx, dword [ebp - 0x460]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x4c2558
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c254e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c25cf
push edx
push ecx
call fcn.006391f8
add esp, 8
xor eax, eax
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x4c25b1
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c25a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c25cf
push edx
push ecx
call fcn.006391f8
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006391b7
mov esp, ebp
pop ebp
ret
call fcn.00657f14
int3