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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a60c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x456b38]
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
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x40], eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x4019eb
cmp eax, 0x80010119
jne 0x401be0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push 0x44651c
push 1
push 0
push 0x4464ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x401bca
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x34]
push 0xc
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
call fcn.00438e6f
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x401a6a
push str.ROOTCIMV2
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x401bfe
jmp 0x401a6c
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x401c08
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [edi]
push esi
call ebx
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x401ad6
mov eax, dword [edi]
test eax, eax
je 0x401ab4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x401acb
push eax
call fcn.00438eb6
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.00438e9f
add esp, 8
test ebx, ebx
js 0x401bb9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test ebx, ebx
js 0x401bb9
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x401bbc
mov esi, dword [ebp - 0x38]
add esi, 4
push esi
push 0x4464fc
push 1
push 0
push 0x44650c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x401bb9
mov ecx, dword [esi]
test ecx, ecx
je 0x401bb9
mov dword [ebp - 0x30], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
push 0x44652c
push ecx
mov byte [ebp - 4], 0xb
call dword [eax]
mov ebx, eax
test ebx, ebx
js 0x401ba8
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x401bab
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
add ebx, 8
mov dword [ebp - 0x44], 0
mov eax, dword [esi]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_kso_qt::QString::toStdWString_void_]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xf
jb 0x401b8a
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push ebx
push 0
push 0
push eax
push dword [ebp - 0x2c]
push esi
call edi
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.004016a0
test ebx, ebx
jne 0x401ba8
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x401bb9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x401bca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 0x15
test ecx, ecx
je 0x401bde
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
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.0043910c
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.0043a180
push 0x8007000e
call fcn.0043a180
int3