Function at 0x4c1bb0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7ef784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4c1c04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed:__d
push esi
push 2
push str.AdobeGCServiceUtilityLog
push dword [0x7f5300]
call fcn.00562650
add esp, 0x18
mov esi, 5
jmp 0x4c1d95
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0xf01ff
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4c1c64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed:__d
push edi
push 2
push str.AdobeGCServiceUtilityLog
push dword [0x7f5300]
call fcn.00562650
add esp, 0x18
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x4c1d33
lea esi, [edi + 2]
jmp 0x4c1d95
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x4c1c92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4c1cd2
mov eax, dword [ebp - 0x2c]
push eax
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x4c1ce4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceConfig_failed:__d
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x7f5300]
call fcn.00562650
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4c1d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceConfig_failed:__d
push 0
push 4
jmp 0x4c1d12
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4c1d3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed:__d
push 0
push 2
push str.AdobeGCServiceUtilityLog
push dword [0x7f5300]
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 esi, 5
jmp 0x4c1d95
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x4c1d82
cmp eax, 3
je 0x4c1d82
cmp eax, 7
je 0x4c1d82
cmp eax, 6
je 0x4c1d82
push str.Service_is_already_running
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x7f5300]
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 esi, 3
jmp 0x4c1d95
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 0xc
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4c1dcb
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1dc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1dde
push edx
push ecx
call fcn.006391f8
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006391b7
mov esp, ebp
pop ebp
ret
call fcn.00657f14
int3