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

Disassembly:
push 0xa8
mov eax, 0x42516f
call fcn.00417706
mov esi, 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 - 0xa8], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0xac], ebx
lea eax, [ebp - 0xac]
push eax
push 0x42bbc0
xor edi, edi
inc edi
push edi
push ebx
push 0x42bc90
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4116ea
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x411a2e
mov dword [ebp - 0xb4], ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x411727
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x411a1b
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0xb4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x411716
mov dword [ebp - 0xb0], ebx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
lea edx, [ebp - 0xb0]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_DiskDrive
push 0x429564
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x411780
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x411a07
push 0xf
pop eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0xb0], ebx
je 0x4118e0
mov dword [ebp - 0xa4], ebx
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push edi
push 0xffffffffffffffff
push dword [ebp - 0xb0]
mov dword [ebp - 0xa8], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 6
call dword [eax + 0x10]
cmp eax, ebx
jl 0x4118c4
cmp dword [ebp - 0xa8], ebx
je 0x4118c4
push str.SerialNumber
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410b76
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0040d6a3
push ebx
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040565d
cmp dword [ebp - 0x3c], ebx
jne 0x411855
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x411844
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xb0], ebx
jne 0x4117ad
jmp 0x4118d8
push str.Model
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410b76
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.0040d6a3
push ebx
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040565d
push str.FirmwareRevision
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410b76
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.0040d6a3
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040565d
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4118d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x3c], ebx
jne 0x411903
push 0xf
pop eax
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
push edi
lea ecx, [ebp - 0x4c]
mov byte [esi], bl
call fcn.0040565d
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.0040565d
push ebx
push edi
jmp 0x4119fc
push 0x1e
lea eax, [ebp - 0x30]
push 0x20
push eax
call fcn.004168c0
mov eax, dword [ebp - 0x74]
add esp, 0xc
push 4
pop edi
cmp eax, ebx
je 0x41195a
mov dword [ebp - 0xa8], eax
cmp eax, edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa8]
jl 0x411939
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x70], 0x10
mov ecx, dword [ebp - 0x84]
jae 0x41194b
lea ecx, [ebp - 0x84]
push dword [eax]
lea eax, [ebp - 0x30]
push ecx
push eax
call fcn.00416ae0
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x411998
mov dword [ebp - 0xa8], eax
cmp eax, edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa8]
jl 0x41197d
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x54], 0x10
mov ecx, dword [ebp - 0x68]
jae 0x411989
lea ecx, [ebp - 0x68]
push dword [eax]
lea eax, [ebp - 0x2c]
push ecx
push eax
call fcn.00416ae0
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push 0x14
pop ecx
mov dword [ebp - 0xa8], eax
cmp eax, ecx
mov dword [ebp - 0xa4], ecx
lea eax, [ebp - 0xa8]
jl 0x4119ba
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x4c]
jae 0x4119c6
lea ecx, [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.00416ae0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 0x14], bl
call fcn.00410b47
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040565d
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040565d
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.0040565d
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x411a1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x411a2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xac]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x411a42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.00417750
ret