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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x687207
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x7851cc]
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 0x6d75b8
push 1
push 0
push 0x6d7598
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45fc86
push eax
push str.Failed_to_create_IWbemLocator_object___ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x78b310]
call fcn.0047e390
add esp, 0x18
jmp 0x45ff41
push 0x14
call fcn.0062703d
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x45fcc9
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 0x45fccb
xor edi, edi
mov dword [ebp - 0x30], edi
test edi, edi
je 0x45fce2
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6c8600]
call esi
mov eax, dword [ebp - 0x1c]
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
call fcn.0062703d
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 0x45fd39
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 0x45ff7a
jmp 0x45fd3e
xor esi, esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], esi
test esi, esi
je 0x45ff84
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 [0x6c8600]
call esi
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0045f310
test esi, esi
jns 0x45fda9
push esi
push str.Could_not_connect__0x_ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x78b310]
call fcn.0047e390
add esp, 0x18
jmp 0x45ff29
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 0x45fde6
push eax
push str.Coult_not_set_proxy_blanket__0x_ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x78b310]
call fcn.0047e390
add esp, 0x18
jmp 0x45ff29
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x6d75c8
push 4
push 0
push 0x6d7588
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 [0x6c8600]
call esi
mov eax, dword [ebp - 0x14]
lea edx, [edi + 8]
push edx
push 0x6d75a8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, esi
call dword [0x6c8600]
call esi
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
call fcn.0045f060
mov esi, eax
push 0x6d445c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0045f060
mov ecx, dword [esi]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x45fe75
mov ecx, dword [ecx]
jmp 0x45fe77
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x45fe81
mov eax, dword [eax]
jmp 0x45fe83
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 [0x6c8600]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0045f310
lea ecx, [ebp - 0x24]
call fcn.0045f310
test esi, esi
jns 0x45fed7
push esi
push str.ExecNotificationQueryAsync_failed___ld
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x78b310]
call fcn.0047e390
add esp, 0x18
jmp 0x45fef3
push str.Process_Creation_Monitoring_enabled...
push 0
push 4
push str.AGCDirectoryWatcher
push dword [0x78b310]
call fcn.0047e390
add esp, 0x14
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x45ff0e
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x6c8600]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x45ff29
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x6c8600]
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x45ff41
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6c8600]
call esi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x45ff5f
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x6c8600]
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.0062702c
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.0047f290
push 0x8007000e
call fcn.0047f290
int3