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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433a3c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4440fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x412319
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
js 0x412313
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x4353a0
push 1
push 0
push 0x4353b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x412313
push 0xc
mov dword [ebp - 0x14], 0
call fcn.00414da9
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41225d
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 0x412506
jmp 0x41225f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], esi
test esi, esi
je 0x412510
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
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]
or edi, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4122e2
mov ecx, dword [esi]
test ecx, ecx
je 0x4122bd
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4122d4
push eax
call fcn.00415113
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00414d9b
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
js 0x41230a
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x41232f
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]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
call fcn.00412820
mov esi, eax
push 0x43e3e8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00412820
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x412367
mov esi, dword [esi]
jmp 0x412369
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x412373
mov edx, dword [eax]
jmp 0x412375
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
test esi, esi
je 0x4123df
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4123d8
test esi, esi
je 0x4123d8
mov eax, dword [esi]
test eax, eax
je 0x4123b6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4123cd
push eax
call fcn.00415113
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00414d9b
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x41242e
lock xadd dword [esi + 8], edi
dec edi
jne 0x41242e
test esi, esi
je 0x41242e
mov eax, dword [esi]
test eax, eax
je 0x41240c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x412423
push eax
call fcn.00415113
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00414d9b
add esp, 8
cmp dword [ebp - 0x30], 0
jl 0x412301
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x4124cf
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
je 0x4124cf
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
xorps xmm0, xmm0
push 0
movups xmmword [ebp - 0x48], xmm0
mov ecx, dword [eax]
push 0x43e3ec
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x40]
test edx, edx
jne 0x412499
xor ecx, ecx
jmp 0x4124af
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4124a0
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
push edx
call fcn.00404740
lea eax, [ebp - 0x48]
push eax
call edi
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x412457
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]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.00414a70
push 0x8007000e
call fcn.00414a70
int3