Function at 0x4a0cd0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ccb27
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x806f14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x1c]
push eax
push 0x72e0c8
push 1
push 0
push 0x72e0a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4a0d56
push eax
push str.Failed_to_create_IWbemLocator_object___ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x80d054]
call fcn.004c2f40
add esp, 0x18
jmp 0x4a1011
push 0x14
call fcn.0066c51d
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4a0d99
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi], vtable.EventSink.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
jmp 0x4a0d9b
xor edi, edi
mov dword [ebp - 0x30], edi
test edi, edi
je 0x4a0db2
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov eax, dword [ebp - 0x1c]
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
call fcn.0066c51d
mov esi, eax
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4a0e09
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x4a104a
jmp 0x4a0e0e
xor esi, esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4a1054
mov ecx, dword [ebp - 0x24]
lea eax, [edi + 4]
push eax
mov eax, dword [ebp - 0x2c]
push 0
mov esi, dword [ecx]
push 0
push 0
push 0
mov esi, dword [esi + 0xc]
push 0
push 0
push dword [eax]
mov byte [ebp - 4], 3
push ecx
mov ecx, esi
call dword [0x71e5fc]
call esi
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.004a03e0
test esi, esi
jns 0x4a0e79
push esi
push str.Could_not_connect__0x_ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x80d054]
call fcn.004c2f40
add esp, 0x18
jmp 0x4a0ff9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi + 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4a0eb6
push eax
push str.Coult_not_set_proxy_blanket__0x_ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x80d054]
call fcn.004c2f40
add esp, 0x18
jmp 0x4a0ff9
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x72e0d8
push 4
push 0
push 0x72e098
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
mov esi, dword [eax]
mov byte [ebp - 4], 5
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov eax, dword [ebp - 0x14]
lea edx, [edi + 8]
push edx
push 0x72e0b8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
call fcn.004a0130
mov esi, eax
push 0x72ae5c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004a0130
mov ecx, dword [esi]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4a0f45
mov ecx, dword [ecx]
jmp 0x4a0f47
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x4a0f51
mov eax, dword [eax]
jmp 0x4a0f53
xor eax, eax
push dword [edi + 8]
mov edx, dword [ebp - 0x20]
push 0
push 0x80
push ecx
mov esi, dword [edx]
push eax
push edx
mov esi, dword [esi + 0x5c]
mov ecx, esi
call dword [0x71e5fc]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004a03e0
lea ecx, [ebp - 0x24]
call fcn.004a03e0
test esi, esi
jns 0x4a0fa7
push esi
push str.ExecNotificationQueryAsync_failed___ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x80d054]
call fcn.004c2f40
add esp, 0x18
jmp 0x4a0fc3
push str.Process_Creation_Monitoring_enabled...
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x80d054]
call fcn.004c2f40
add esp, 0x14
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x4a0fde
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x4a0ff9
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x4a1011
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4a102f
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x71e5fc]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066c50c
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004c3750
push 0x8007000e
call fcn.004c3750
int3