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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e05e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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 0x463da7
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 0x4644df
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 0x463dfe
cmp eax, 0x80010119
je 0x463dfe
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 0x4644df
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x50d288
push 1
push 0
push 0x50d358
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x463e55
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 0x4644df
push 0x550d60
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], 0
call fcn.00454d50
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x463e7a
mov edx, dword [eax]
jmp 0x463e7c
xor edx, edx
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x20]
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 ebx, eax
mov esi, dword [ebp - 0x18]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x463eed
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x463eed
test esi, esi
je 0x463eed
mov eax, dword [esi]
test eax, eax
je 0x463ecd
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x463ee4
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
test ebx, ebx
jns 0x463f2e
push ebx
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 - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4644df
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 - 0x20]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x463f99
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 - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4644df
push 0x561208
push 0x561418
push str._S__s_wmi.log.z
push 0x1000
push 0x547d60
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
call fcn.00471220
add esp, 0x14
lea ecx, [ebp - 0x30]
push str.SELECT__from___EventConsumer
call fcn.00454cb0
mov esi, eax
push 0x524868
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00454cb0
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x464000
mov esi, dword [esi]
jmp 0x464002
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x46400c
mov edx, dword [eax]
jmp 0x46400e
xor edx, edx
mov eax, dword [ebp - 0x20]
lea ebx, [ebp - 0x1c]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x18]
mov ebx, eax
test esi, esi
je 0x464072
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x46406b
test esi, esi
je 0x46406b
mov eax, dword [esi]
test eax, eax
je 0x46404b
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x464062
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4640c1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4640c1
test esi, esi
je 0x4640c1
mov eax, dword [esi]
test eax, eax
je 0x4640a1
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4640b8
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
test ebx, ebx
jns 0x46410b
push ebx
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 - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4644df
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
test ecx, ecx
je 0x464170
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x464170
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x18]
call ebx
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 - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x464118
push str.SELECT__from___EventFilter
lea ecx, [ebp - 0x30]
call fcn.00454cb0
mov esi, eax
push 0x524868
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.00454cb0
mov byte [ebp - 4], 4
mov esi, dword [esi]
test esi, esi
je 0x4641a1
mov esi, dword [esi]
jmp 0x4641a3
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4641ad
mov edx, dword [eax]
jmp 0x4641af
xor edx, edx
mov eax, dword [ebp - 0x20]
lea ebx, [ebp - 0x1c]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x464216
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x46420f
test esi, esi
je 0x46420f
mov eax, dword [esi]
test eax, eax
je 0x4641ef
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x464206
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x464261
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x464261
test esi, esi
je 0x464261
mov eax, dword [esi]
test eax, eax
je 0x464241
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x464258
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 - 0x2c]
test eax, eax
jns 0x4642ae
push eax
push str.acquireWmiByNamespace:_Query_for___EventFilter_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 - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4644df
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x464318
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x4642c0
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x464318
mov eax, dword [ebp - 0x24]
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 - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4642c0
push str.SELECT__from___FilterToConsumerBinding
lea ecx, [ebp - 0x30]
call fcn.00454cb0
mov esi, eax
push 0x524868
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 5
call fcn.00454cb0
mov byte [ebp - 4], 6
mov esi, dword [esi]
test esi, esi
je 0x464349
mov esi, dword [esi]
jmp 0x46434b
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x464355
mov edx, dword [eax]
jmp 0x464357
xor edx, edx
mov eax, dword [ebp - 0x20]
lea edi, [ebp - 0x1c]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x18]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x4643be
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x4643b7
test esi, esi
je 0x4643b7
mov eax, dword [esi]
test eax, eax
je 0x464397
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4643ae
push eax
call fcn.004bb0e1
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004bae6f
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x464409
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x464409
test esi, esi
je 0x464409
mov eax, dword [esi]
test eax, eax
je 0x4643e9
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x464400
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 - 0x2c]
test eax, eax
jns 0x464456
push eax
push str.acquireWmiByNamespace:_Query_for___FilterToConsumerBinding_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 - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x4644df
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4644bc
lea ecx, [ecx]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x4644bc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x2c]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [ebp - 0x2c]
add eax, eax
movzx eax, ax
mov ecx, 0x547d60
cwde
push eax
call fcn.00457d50
add esp, 4
push dword [ebp - 0x2c]
call edi
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x464460
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
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