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

Disassembly:
push 0x24
mov eax, 0x434d3a
call fcn.0041dc37
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 0x439850
push 1
push ebx
push 0x439920
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x416e5c
cmp eax, ebx
je 0x416e5c
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTcimv2
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x416e57
cmp eax, ebx
je 0x416e57
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_DiskDrive_WHERE__Model_IS_NOT_NULL__AND__MediaType_LIKE_Fixed_hard_disk__
push 0x43b108
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x416e34
cmp eax, ebx
je 0x416e34
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x20], ebx
je 0x416d40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x416df3
cmp dword [ebp - 0x20], ebx
je 0x416df3
cmp dword [ebp - 0x10], ebx
je 0x416df3
lea eax, [ebp - 0x30]
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x416d2d
cmp word [ebp - 0x30], 8
jne 0x416d2d
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x416d2d
call fcn.004010d5
call fcn.00416e7e
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x416dbd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x416dce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x416dde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x416def
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x416e6b
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x416e0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x416e1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x416e2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x416e5f
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x416e42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x416e52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
jmp 0x416e2f
mov byte [ebp - 4], bl
jmp 0x416e48
mov dword [ebp - 4], edi
cmp eax, ebx
je 0x416e69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
call fcn.0041dd0f
ret