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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x30], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x405d2e
movzx eax, byte [ebp - 9]
push eax
push 0x410764
lea ecx, [ebp - 0x60]
call fcn.00402190
mov ecx, eax
call fcn.00407a60
push eax
push 0x415670
call fcn.00402a90
add esp, 8
mov dword [ebp - 0x14], eax
push 0x403e50
mov ecx, dword [ebp - 0x14]
call fcn.00405220
mov eax, dword [ebp - 4]
jmp 0x405f53
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]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x405d97
movzx ecx, byte [ebp - 0xa]
push ecx
push str.CoInitializeSecurity_failed
lea ecx, [ebp - 0xb8]
call fcn.00401870
mov ecx, eax
call fcn.00407c10
push eax
push 0x415670
call fcn.00402a90
add esp, 8
mov dword [ebp - 0x18], eax
push 0x403e50
mov ecx, dword [ebp - 0x18]
call fcn.00405220
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
jmp 0x405f53
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403140
add esp, 4
push eax
push 0x410754
push 1
push 0
push 0x411ac8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x405e06
movzx eax, byte [ebp - 0xb]
push eax
push str.CoCreateInstance_failed
lea ecx, [ebp - 0x7c]
call fcn.00401eb0
mov ecx, eax
call fcn.00407af0
push eax
push 0x415670
call fcn.00402a90
add esp, 8
mov dword [ebp - 0x1c], eax
push 0x403e50
mov ecx, dword [ebp - 0x1c]
call fcn.00405220
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
jmp 0x405f53
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x405ec5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0x80
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x405ebb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
movzx edx, byte [ebp - 0xc]
push edx
push str.ConnectServer_failed
lea ecx, [ebp - 0x48]
call fcn.00402430
mov ecx, eax
call fcn.004079d0
push eax
push 0x415670
call fcn.00402a90
add esp, 8
mov dword [ebp - 0x28], eax
push 0x403e50
mov ecx, dword [ebp - 0x28]
call fcn.00405220
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
jmp 0x405f53
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x405f51
movzx eax, byte [ebp - 0xd]
push eax
push str.CoSetProxyBlanket_failed
lea ecx, [ebp - 0x98]
call fcn.00401bc0
mov ecx, eax
call fcn.00407b80
push eax
push 0x415670
call fcn.00402a90
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x403e50
mov ecx, dword [ebp - 0x2c]
call fcn.00405220
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
jmp 0x405f53
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc