Function at 0x4c3310
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7f3784]
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 0x4c3364
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed:__d
push esi
push 2
push str.AdobeGCServiceUtilityLog
push dword [0x7f9eb0]
call fcn.005645a0
add esp, 0x18
mov esi, 5
jmp 0x4c34f5
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 0x4c33c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed:__d
push edi
push 2
push str.AdobeGCServiceUtilityLog
push dword [0x7f9eb0]
call fcn.005645a0
add esp, 0x18
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x4c3493
lea esi, [edi + 2]
jmp 0x4c34f5
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 0x4c33f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4c3432
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 0x4c3444
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceConfig_failed:__d
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x7f9eb0]
call fcn.005645a0
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4c3485
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceConfig_failed:__d
push 0
push 4
jmp 0x4c3472
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 0x4c349a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed:__d
push 0
push 2
push str.AdobeGCServiceUtilityLog
push dword [0x7f9eb0]
call fcn.005645a0
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 0x4c34f5
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x4c34e2
cmp eax, 3
je 0x4c34e2
cmp eax, 7
je 0x4c34e2
cmp eax, 6
je 0x4c34e2
push str.Service_is_already_running
push 0
push 4
push str.AdobeGCServiceUtilityLog
push dword [0x7f9eb0]
call fcn.005645a0
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 0x4c34f5
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 0x4c352b
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c3521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c353e
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
call fcn.0065a824
int3