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

Disassembly:
push 0x24
mov eax, 0x435fc8
call fcn.0041ed67
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 0x43b860
push 1
push ebx
push 0x43b930
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x415deb
cmp eax, ebx
je 0x415deb
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x43cda8
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x415de6
cmp eax, ebx
je 0x415de6
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 0x43ce80
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x415dc3
cmp eax, ebx
je 0x415dc3
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 0x415ccf
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 0x415d82
cmp dword [ebp - 0x20], ebx
je 0x415d82
cmp dword [ebp - 0x10], ebx
je 0x415d82
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 0x415cbc
cmp word [ebp - 0x30], 8
jne 0x415cbc
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x415cbc
call fcn.0040185a
call fcn.00415e0d
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x415d4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x415d5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x415d6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x415d7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x415dfa
lea eax, [ebp - 0x30]
push eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x415d99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x415daa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x415dba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x415dee
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x415dd1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x415de1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
jmp 0x415dbe
mov byte [ebp - 4], bl
jmp 0x415dd7
mov dword [ebp - 4], edi
cmp eax, ebx
je 0x415df8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
call fcn.0041ee3f
ret