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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549bb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], edi
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], esi
push 0x2c
mov dword [edi], vtable.WMIDiscovery.0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c821c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
lea ebx, [edi + 8]
mov dword [esi], 0
push 0
mov dword [ebx], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x410195
push esi
push 0x561e60
push 1
push 0
push 0x561db0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x410057
push 1
lea ecx, [ebp - 0xdc]
call fcn.00402a40
push 0x402500
push dword [ebp - 0x10]
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 3
push 0x407350
push str._Err_code__0x
push str.Failed_to_create_IWbemLocator_object.
push eax
call fcn.00402060
add esp, 8
push eax
call fcn.00402060
add esp, 8
mov ecx, eax
call fcn.00403cc0
mov ecx, eax
call fcn.00403ae0
mov ecx, eax
call fcn.004105e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040d480
mov byte [ebp - 4], 4
jmp 0x4101ef
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x410062
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x10]
call fcn.00410210
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x410079
mov ecx, dword [eax]
jmp 0x41007b
xor ecx, ecx
mov eax, dword [esi]
push ebx
push 0
push 0
mov esi, dword [eax]
push 0
push 0
push 0
mov esi, dword [esi + 0xc]
push 0
push ecx
push eax
mov ecx, esi
call dword [0x55f634]
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004038d0
test esi, esi
jns 0x41010a
push 1
lea ecx, [ebp - 0xdc]
call fcn.00402a40
push 0x402500
push esi
push 0x407350
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 6
push str.Could_not_connect._Error_code__0x
push eax
call fcn.00402060
add esp, 8
mov ecx, eax
call fcn.00403cc0
mov ecx, eax
call fcn.00403ae0
mov ecx, eax
call fcn.004105e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040d480
mov byte [ebp - 4], 7
jmp 0x4101ef
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x410180
push 1
lea ecx, [ebp - 0xdc]
call fcn.00402a40
push 0x402500
push esi
push 0x407350
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 8
push str.Could_not_set_proxy_blanket._Error_code__0x
push eax
call fcn.00402060
add esp, 8
mov ecx, eax
call fcn.00403cc0
mov ecx, eax
call fcn.00403ae0
mov ecx, eax
call fcn.004105e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040d480
mov byte [ebp - 4], 9
jmp 0x4101ef
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 1
lea ecx, [ebp - 0xdc]
call fcn.00402a40
push 0x402500
push dword [ebp - 0x10]
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 1
push 0x407350
push str.Failed_to_initialize_COM_library._Error_code__0x
push eax
call fcn.00402060
add esp, 8
mov ecx, eax
call fcn.00403cc0
mov ecx, eax
call fcn.00403ae0
mov ecx, eax
call fcn.004105e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040d480
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push str.WMIDiscovery_Error:
push eax
call fcn.0040fb70
add esp, 0xc
lea eax, [ebp - 0x28]
push 0x5837e8
push eax
call fcn.004e4900
int3