Function at 0x404f00
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44870c
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x404f36
cmp eax, 0x80010106
jne 0x405048
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 0x404f5d
cmp eax, 0x80010119
jne 0x405042
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x44ce14
push 1
push 0
push 0x44ce24
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x405042
push 0xc
mov dword [ebp - 0x10], 0
call fcn.0042260d
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x404fca
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x405189
jmp 0x404fcc
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x405193
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00404e10
test esi, esi
js 0x405039
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x40505a
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.00404d90
mov esi, eax
push 0x457d70
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00404d90
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x405092
mov esi, dword [esi]
jmp 0x405094
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x40509e
mov edx, dword [eax]
jmp 0x4050a0
xor edx, edx
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x18]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00404e10
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404e10
test esi, esi
js 0x405030
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x405156
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x405156
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x457d74
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, 0x4619a0
sub edx, ecx
lea ebx, [ebx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x405130
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4050f0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004234a0
push 0x8007000e
call fcn.004234a0
int3