Function at 0x47c870
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 0x5386c1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 0
call fcn.004080d0
push 0
push 0
mov dword [ebp - 4], 1
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 0x47c909
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040d310
mov dword [ebp - 0x38], 1
jmp 0x47cb39
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
push 0x5644f8
push 1
push 0
push 0x552e3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x47c94b
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040d310
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 3
jmp 0x47cb2c
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
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 0x47c9a4
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040d310
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47c99b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
jmp 0x47cb2c
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x47c9eb
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040d310
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47c9e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
jmp 0x47cb2c
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x30]
push edx
push 0
push 0x30
mov ecx, dword [eax]
push 0x564508
push 0x564588
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x47ca52
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040d310
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x47ca38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47ca49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
jmp 0x47cb2c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x3c]
push edx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x47cae3
cmp dword [ebp - 0x44], 0
jbe 0x47cae3
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
xorps xmm0, xmm0
push 0
movups xmmword [ebp - 0x58], xmm0
mov ecx, dword [eax]
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x47cae3
mov eax, dword [ebp - 0x50]
mov edx, 0x55d998
test eax, eax
cmovne edx, eax
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cac0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040ab40
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040d310
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47cb06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x47cb17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47cb28
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x47cb39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00407f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret