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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0628
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x464567
push eax
push str.acquireWmiByNamespace:_Failed_to_initialize_COM_library._Error_code__0x_d_n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
mov eax, 1
jmp 0x4649b0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x4645be
cmp eax, 0x80010119
je 0x4645be
push eax
push str.acquireWmiByNamespace:_Failed_to_initialize_security._Error_code__0x_d_n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4649b0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x50d288
push 1
push 0
push 0x50d358
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x464615
push eax
push str.acquireWmiByNamespace:_Failed_to_create_IWbemLocator_object._Error_code__0x_d_n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4649b0
push str.root
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
call fcn.00454cb0
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x46463a
mov edx, dword [eax]
jmp 0x46463c
xor edx, edx
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x1c]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x3c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4646b0
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x4646b0
test esi, esi
je 0x4646b0
mov eax, dword [esi]
test eax, eax
je 0x464690
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4646a7
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
jns 0x4646f4
push eax
push str.acquireWmiByNamespace:_Could_not_connect._Error_code__0x_d_n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4649b0
mov ecx, str.Connected_to_ROOTCIMV2_WMI_namespace_n
call fcn.00458190
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x46475f
push eax
push str.acquireWmiByNamespace:_Could_not_set_proxy_blanket._Error_code__0x_d_n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4649b0
push 0x561208
push 0x561418
push str._S__s_wmi.log.z
push 0x1000
push 0x547d60
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.00471220
add esp, 0x14
lea ecx, [ebp - 0x40]
push str.SELECT__from___Namespace
call fcn.00454cb0
mov esi, eax
push 0x524868
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.00454cb0
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x4647c6
mov esi, dword [esi]
jmp 0x4647c8
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4647d2
mov edx, dword [eax]
jmp 0x4647d4
xor edx, edx
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x24]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x3c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x46483b
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x464834
test esi, esi
je 0x464834
mov eax, dword [esi]
test eax, eax
je 0x464814
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46482b
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x464886
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x464886
test esi, esi
je 0x464886
mov eax, dword [esi]
test eax, eax
je 0x464866
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46487d
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
jns 0x4648d3
push eax
push str.acquireWmiByNamespace:_Query_for___EventConsumer_failed._Error_code__0x_d_n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4649b0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46498d
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ebx, [ebx]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x46498d
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x18]
call esi
mov edx, dword [ebp - 0x18]
add eax, eax
movzx eax, ax
mov ecx, 0x547d60
cwde
push eax
call fcn.00457d50
add esp, 4
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Name
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x30]
push str.ROOT_s
push 0x1000
push 0x550d60
call fcn.004bb50e
add esp, 0x10
call fcn.00463d40
lea eax, [ebp - 0x38]
push eax
call ebx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4648f0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bae74
mov esp, ebp
pop ebp
ret