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

Disassembly:
push 0x24
mov eax, 0x4332a7
call fcn.0041c1d7
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 0x438840
push 1
push ebx
push 0x438910
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x415454
cmp eax, ebx
je 0x415454
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 0x41544f
cmp eax, ebx
je 0x41544f
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 0x439e58
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x41542c
cmp eax, ebx
je 0x41542c
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 0x415338
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 0x4153eb
cmp dword [ebp - 0x20], ebx
je 0x4153eb
cmp dword [ebp - 0x10], ebx
je 0x4153eb
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 0x415325
cmp word [ebp - 0x30], 8
jne 0x415325
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x415325
call fcn.0040109a
call fcn.00415476
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4153b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4153c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4153d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4153e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x415463
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x415402
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x415413
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x415423
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x415457
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x41543a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x41544a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
jmp 0x415427
mov byte [ebp - 4], bl
jmp 0x415440
mov dword [ebp - 4], edi
cmp eax, ebx
je 0x415461
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
call fcn.0041c2af
ret