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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ca187
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x80236c]
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 0x729e98
push 1
push 0
push 0x729e78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x49f236
push eax
push str.Failed_to_create_IWbemLocator_object___ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x8084b0]
call fcn.004c1270
add esp, 0x18
jmp 0x49f4f1
push 0x14
call fcn.00669aed
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x49f279
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 0x49f27b
xor edi, edi
mov dword [ebp - 0x30], edi
test edi, edi
je 0x49f292
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x71a5f8]
call esi
mov eax, dword [ebp - 0x1c]
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
call fcn.00669aed
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 0x49f2e9
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 0x49f52a
jmp 0x49f2ee
xor esi, esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
test esi, esi
je 0x49f534
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 [0x71a5f8]
call esi
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0049e8c0
test esi, esi
jns 0x49f359
push esi
push str.Could_not_connect__0x_ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x8084b0]
call fcn.004c1270
add esp, 0x18
jmp 0x49f4d9
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 0x49f396
push eax
push str.Coult_not_set_proxy_blanket__0x_ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x8084b0]
call fcn.004c1270
add esp, 0x18
jmp 0x49f4d9
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x729ea8
push 4
push 0
push 0x729e68
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 [0x71a5f8]
call esi
mov eax, dword [ebp - 0x14]
lea edx, [edi + 8]
push edx
push 0x729e88
push eax
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, esi
call dword [0x71a5f8]
call esi
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
call fcn.0049e610
mov esi, eax
push 0x726c2c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0049e610
mov ecx, dword [esi]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x49f425
mov ecx, dword [ecx]
jmp 0x49f427
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x49f431
mov eax, dword [eax]
jmp 0x49f433
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 [0x71a5f8]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0049e8c0
lea ecx, [ebp - 0x24]
call fcn.0049e8c0
test esi, esi
jns 0x49f487
push esi
push str.ExecNotificationQueryAsync_failed___ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x8084b0]
call fcn.004c1270
add esp, 0x18
jmp 0x49f4a3
push str.Process_Creation_Monitoring_enabled...
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x8084b0]
call fcn.004c1270
add esp, 0x14
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x49f4be
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x71a5f8]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x49f4d9
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x71a5f8]
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x49f4f1
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x71a5f8]
call esi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x49f50f
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x71a5f8]
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.00669adc
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004c2170
push 0x8007000e
call fcn.004c2170
int3