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

Disassembly:
push 0xa8
mov eax, 0x424d5b
call fcn.00417336
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 0x42bad0
xor edi, edi
inc edi
push edi
push ebx
push 0x42bba0
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x411368
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x4116ac
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 0x4113a5
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x411699
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 0x411394
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 0x42942c
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x4113fe
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x411685
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 0x41155e
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 0x411542
cmp dword [ebp - 0xa8], ebx
je 0x411542
push str.SerialNumber
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004107f4
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0040d4f4
push ebx
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040551d
cmp dword [ebp - 0x3c], ebx
jne 0x4114d3
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4114c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xb0], ebx
jne 0x41142b
jmp 0x411556
push str.Model
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004107f4
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.0040d4f4
push ebx
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040551d
push str.FirmwareRevision
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004107f4
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.0040d4f4
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040551d
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x411556
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x3c], ebx
jne 0x411581
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.0040551d
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.0040551d
push ebx
push edi
jmp 0x41167a
push 0x1e
lea eax, [ebp - 0x30]
push 0x20
push eax
call fcn.004164f0
mov eax, dword [ebp - 0x74]
add esp, 0xc
push 4
pop edi
cmp eax, ebx
je 0x4115d8
mov dword [ebp - 0xa8], eax
cmp eax, edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa8]
jl 0x4115b7
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x70], 0x10
mov ecx, dword [ebp - 0x84]
jae 0x4115c9
lea ecx, [ebp - 0x84]
push dword [eax]
lea eax, [ebp - 0x30]
push ecx
push eax
call fcn.00416710
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x411616
mov dword [ebp - 0xa8], eax
cmp eax, edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa8]
jl 0x4115fb
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x54], 0x10
mov ecx, dword [ebp - 0x68]
jae 0x411607
lea ecx, [ebp - 0x68]
push dword [eax]
lea eax, [ebp - 0x2c]
push ecx
push eax
call fcn.00416710
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 0x411638
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x4c]
jae 0x411644
lea ecx, [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.00416710
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 0x14], bl
call fcn.004107c5
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040551d
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040551d
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.0040551d
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x411699
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4116ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xac]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4116c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.00417380
ret