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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531cb9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0xb0], ebx
lea eax, [ebp - 0xb0]
push eax
push 0x56308c
push 1
push ebx
push 0x56315c
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4b6763
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4b675c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x4b6ceb
mov dword [ebp - 0xac], ebx
mov esi, dword [ebp - 0xb0]
push str.ROOTCIMV2
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004926b0
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4b6791
mov eax, dword [eax]
jmp 0x4b6793
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0xac]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x4b67f3
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
cmp eax, ebx
jne 0x4b67f3
cmp esi, ebx
je 0x4b67f3
mov eax, dword [esi]
cmp eax, ebx
je 0x4b67da
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4b67ea
push eax
call fcn.004b9ded
add esp, 4
push esi
call fcn.004b9008
add esp, 4
cmp dword [ebp - 0xa4], ebx
jge 0x4b6840
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4b681c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4b675c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x4b6ceb
mov eax, dword [ebp - 0xac]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x4b68a0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4b687c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4b675c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x4b6ceb
mov dword [ebp - 0xb4], ebx
mov edi, dword [ebp - 0xac]
push str.SELECT__FROM_Win32_DiskDrive
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.004926b0
mov esi, eax
push 0x53e7fc
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.004926b0
mov ecx, dword [esi]
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x4b68e4
mov ecx, dword [ecx]
jmp 0x4b68e6
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4b68f0
mov eax, dword [eax]
jmp 0x4b68f2
xor eax, eax
mov edx, dword [edi]
lea esi, [ebp - 0xb4]
push esi
push ebx
push 0x30
push ecx
push eax
mov eax, dword [edx + 0x50]
push edi
call eax
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.004937a0
lea ecx, [ebp - 0xa4]
call fcn.004937a0
cmp esi, ebx
jge 0x4b6939
mov esi, dword [ebp - 0xb8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x4b6ca5
mov ecx, 0xf
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov eax, dword [ebp - 0xb4]
lea edi, [ecx + 1]
cmp eax, ebx
je 0x4b6ac0
lea ecx, [ecx]
mov dword [ebp - 0xa4], ebx
lea edx, [ebp - 0xa8]
push edx
lea edx, [ebp - 0xa4]
push edx
push 1
mov dword [ebp - 0xa8], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
mov byte [ebp - 4], 9
call eax
cmp eax, ebx
jl 0x4b6a9e
cmp dword [ebp - 0xa8], ebx
je 0x4b6a9e
mov ecx, dword [ebp - 0xa4]
push str.SerialNumber
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.004b5fe0
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.0040c2a0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x8c], edi
jb 0x4b69f1
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x3c], ebx
jne 0x4b6a1f
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4b6a0c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jne 0x4b6970
jmp 0x4b6ab4
push str.Model
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004b5fe0
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.0040c2a0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x8c], edi
jb 0x4b6a5f
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0xa4]
push str.FirmwareRevision
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004b5fe0
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.0040c2a0
cmp dword [ebp - 0x8c], edi
jb 0x4b6a9e
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4b6ab4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp - 0x3c]
cmp esi, ebx
jne 0x4b6b2d
mov ecx, 0xf
mov esi, dword [ebp - 0xb8]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x38], edi
jb 0x4b6ae4
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b9008
add esp, 4
mov ecx, 0xf
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x4b6b03
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b9008
add esp, 4
mov ecx, 0xf
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], edi
jb 0x4b6b25
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b9008
add esp, 4
mov ecx, 0xf
mov dword [ebp - 0x70], ecx
jmp 0x4b6c9c
mov eax, 0x20202020
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x4b6b94
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 4
lea ecx, [ebp - 0xa8]
cmp eax, 4
jl 0x4b6b73
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x70], edi
jae 0x4b6b84
lea eax, [ebp - 0x84]
mov ecx, dword [ecx]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.004b9350
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4b6bd7
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 4
lea ecx, [ebp - 0xa8]
cmp eax, 4
jl 0x4b6bbc
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x4b6bc7
lea eax, [ebp - 0x68]
mov ecx, dword [ecx]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.004b9350
add esp, 0xc
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], 0x14
lea ecx, [ebp - 0xa8]
cmp esi, 0x14
jl 0x4b6bf8
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x4b6c03
lea eax, [ebp - 0x4c]
mov ecx, dword [ecx]
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.004b9350
mov esi, dword [ebp - 0xb8]
lea eax, [ebp - 0x30]
mov byte [ebp - 0x14], bl
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
add esp, 0xc
mov byte [esi], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b6c30
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.0040bcb0
cmp dword [ebp - 0x38], edi
jb 0x4b6c56
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b9008
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x4b6c74
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b9008
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], edi
jb 0x4b6c95
mov eax, dword [ebp - 0x84]
push eax
call fcn.004b9008
add esp, 4
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4b6cbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4b6cd0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4b6ce9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret