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

Disassembly:
push 0xffffffffffffffff
push 0x4eb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esp + 0x28], 0
mov dword [esp + 0x4c], 1
lea eax, [esp + 0x28]
push eax
push 0x4f3bcc
push 1
push 0
push 0x4f3c9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4a4cce
cmp dword [esp + 0x28], eax
je 0x4a4cce
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4c], 4
lea edx, [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push str.ROOTcimv2
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4a4c78
cmp dword [esp + 0x2c], eax
je 0x4a4c78
mov dword [esp + 0x34], eax
mov byte [esp + 0x4c], 8
lea edx, [esp + 0x34]
mov eax, dword [esp + 0x2c]
push edx
push 0
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_DiskDrive_WHERE__Model_IS_NOT_NULL__AND__MediaType_LIKE_Fixed_hard_disk__
push 0x50026c
push eax
call dword [ecx + 0x50]
test eax, eax
jne 0x4a4c5d
cmp dword [esp + 0x34], eax
je 0x4a4c5d
mov dword [esp + 0x38], eax
mov byte [esp + 0x4c], 0xd
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0x18], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x4c], 0xe
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0
call fcn.004a5130
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jne 0x4a4c21
cmp dword [esp + 0x30], 0
je 0x4a4c21
cmp dword [esp + 0x38], 0
je 0x4a4c21
lea eax, [esp + 0x14]
push eax
call esi
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4a4bf3
cmp word [esp + 0x14], 8
jne 0x4a4bf3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4a4c48
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0
call fcn.004a5130
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x4a4bb0
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x4c], 0xd
lea eax, [esp + 0x14]
push eax
call esi
mov byte [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a4c63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a4c63
push eax
mov ecx, edi
call fcn.00402ac0
push edi
call fcn.004a4ce0
mov byte [esp + 0x13], 1
jmp 0x4a4c27
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a4c7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a4c7e
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a4c91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x13]
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4a4caf
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x44
ret 4
xor al, al
mov byte [esp + 0x13], al
jmp 0x4a4c95