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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e58d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
mov esi, ecx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
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 0x4bc50b
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x50]
push eax
call fcn.00405dc0
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x4bc705
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00406d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x629144
push 1
push 0
push 0x5fe0c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4bc587
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x50]
push eax
call fcn.00405dc0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4bc55d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x4bc705
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00406d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x4bc5d7
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x50]
push eax
call fcn.00405dc0
jmp 0x4bc6db
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
js 0x4bc5b4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push edx
push 0
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_DiskDrive
push 0x627db8
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
jns 0x4bc62c
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0040aac0
jmp 0x4bc6ca
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push edx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4bc6ae
cmp dword [ebp - 0x20], 0
jbe 0x4bc6ae
xor eax, eax
lea edx, [ebp - 0x38]
push 0
push 0
mov word [ebp - 0x38], ax
xorps xmm0, xmm0
mov dword [ebp - 0x2e], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1c]
push edx
push 0
movq qword [ebp - 0x36], xmm0
mov ecx, dword [eax]
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4bc6ae
mov eax, dword [ebp - 0x30]
mov ecx, 0x61ed04
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00405a20
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0040aac0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4bc6ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bc6db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4bc6ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4bc6fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x50]
call fcn.00405040
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret