Function at 0x41ea30
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 0x44166d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4540fc]
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 0x41eb95
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 0x41eb8f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x4423a0
push 1
push 0
push 0x4423b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41eb8f
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
call fcn.00416280
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x41eae8
mov edx, dword [eax]
jmp 0x41eaea
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x41eb5e
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x41eb5e
test esi, esi
je 0x41eb5e
mov eax, dword [esi]
test eax, eax
je 0x41eb39
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41eb50
push eax
call fcn.004218b3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00421518
mov eax, dword [ebp - 0x2c]
add esp, 8
test eax, eax
js 0x41eb86
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 0x41ebab
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.00416190
mov esi, eax
push 0x44b454
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00416190
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x41ebe3
mov esi, dword [esi]
jmp 0x41ebe5
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x41ebef
mov edx, dword [eax]
jmp 0x41ebf1
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 0x41ec5b
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x41ec54
test esi, esi
je 0x41ec54
mov eax, dword [esi]
test eax, eax
je 0x41ec32
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41ec49
push eax
call fcn.004218b3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00421518
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x41ecaa
lock xadd dword [esi + 8], edi
dec edi
jne 0x41ecaa
test esi, esi
je 0x41ecaa
mov eax, dword [esi]
test eax, eax
je 0x41ec88
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41ec9f
push eax
call fcn.004218b3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00421518
add esp, 8
cmp dword [ebp - 0x30], 0
jl 0x41eb7d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x41ed46
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
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 0x41ed46
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 str.UUID
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x40]
test edx, edx
jne 0x41ed12
xor ecx, ecx
jmp 0x41ed26
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ed17
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
push edx
call fcn.00407f30
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 0x41ecd0
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