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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c1e9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5fb61c]
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 0x5beb24
push 1
push ebx
push 0x5bebf4
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x532023
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 0x53201c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x5325b0
mov dword [ebp - 0xac], ebx
mov esi, dword [ebp - 0xb0]
push str.ROOTCIMV2
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.0045ec70
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x532051
mov eax, dword [eax]
jmp 0x532053
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 0x5320b3
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x5320b3
cmp esi, ebx
je 0x5320b3
mov eax, dword [esi]
cmp eax, ebx
je 0x53209a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x5320aa
push eax
call fcn.00534304
add esp, 4
push esi
call int.0042bfd0
add esp, 4
cmp dword [ebp - 0xa4], ebx
jge 0x532100
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 0x5320dc
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 0x53201c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x5325b0
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 0x532160
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 0x53213c
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 0x53201c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x5325b0
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.0045ec70
mov esi, eax
push 0x5b2470
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.0045ec70
mov ecx, dword [esi]
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x5321a4
mov ecx, dword [ecx]
jmp 0x5321a6
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x5321b0
mov eax, dword [eax]
jmp 0x5321b2
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.0045f8f0
lea ecx, [ebp - 0xa4]
call fcn.0045f8f0
cmp esi, ebx
jge 0x5321f9
mov esi, dword [ebp - 0xb8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x53256a
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 0x53237e
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 0x53235e
cmp dword [ebp - 0xa8], ebx
je 0x53235e
mov ecx, dword [ebp - 0xa4]
push str.SerialNumber
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.004bdc60
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.0042eb90
mov byte [ebp - 4], 9
cmp dword [ebp - 0x8c], edi
jb 0x5322b1
mov eax, dword [ebp - 0xa0]
push eax
call int.0042bfd0
add esp, 4
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x3c], ebx
jne 0x5322df
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x5322cc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jne 0x532230
jmp 0x532374
push str.Model
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004bdc60
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.0042eb90
mov byte [ebp - 4], 9
cmp dword [ebp - 0x8c], edi
jb 0x53231f
mov edx, dword [ebp - 0xa0]
push edx
call int.0042bfd0
add esp, 4
mov eax, dword [ebp - 0xa4]
push str.FirmwareRevision
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004bdc60
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.0042eb90
cmp dword [ebp - 0x8c], edi
jb 0x53235e
mov edx, dword [ebp - 0xa0]
push edx
call int.0042bfd0
add esp, 4
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x532374
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x3c], ebx
jne 0x5323eb
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 0x5323a2
mov eax, dword [ebp - 0x4c]
push eax
call int.0042bfd0
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 0x5323c1
mov ecx, dword [ebp - 0x68]
push ecx
call int.0042bfd0
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 0x5323e3
mov edx, dword [ebp - 0x84]
push edx
call int.0042bfd0
add esp, 4
mov ecx, 0xf
mov dword [ebp - 0x70], ecx
jmp 0x532561
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 0x532454
mov dword [ebp - 0xa8], eax
cmp eax, 4
mov dword [ebp - 0xa4], 4
lea eax, [ebp - 0xa8]
jl 0x532431
lea eax, [ebp - 0xa4]
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x70], edi
jae 0x532442
lea ecx, [ebp - 0x84]
mov eax, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x30]
push 0xffffffffffffffff
push eax
call fcn.00533641
add esp, 0x10
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x532499
mov dword [ebp - 0xa8], eax
cmp eax, 4
mov dword [ebp - 0xa4], 4
lea eax, [ebp - 0xa8]
jl 0x53247c
lea eax, [ebp - 0xa4]
mov ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x532487
lea ecx, [ebp - 0x68]
mov eax, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0x2c]
push 0xffffffffffffffff
push ecx
call fcn.00533641
add esp, 0x10
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
cmp eax, 0x14
mov dword [ebp - 0xa4], 0x14
lea eax, [ebp - 0xa8]
jl 0x5324bd
lea eax, [ebp - 0xa4]
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x5324c8
lea ecx, [ebp - 0x4c]
mov eax, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x28]
push 0xffffffffffffffff
push edx
call fcn.00533641
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, 0x10
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5324f5
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.0042e9d0
cmp dword [ebp - 0x38], edi
jb 0x53251b
mov ecx, dword [ebp - 0x4c]
push ecx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x532539
mov edx, dword [ebp - 0x68]
push edx
call int.0042bfd0
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], edi
jb 0x53255a
mov eax, dword [ebp - 0x84]
push eax
call int.0042bfd0
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 0x532580
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 0x532595
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 0x5325ae
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.005332ca
mov esp, ebp
pop ebp
ret