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

Disassembly:
push 0xffffffffffffffff
push 0x441268
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x44f1a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
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 [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x445df4
push 1
push ebx
push 0x445ec4
mov dword [esp + 0x54], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x427d5e
cmp eax, ebx
je 0x427d5e
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x5c], 1
mov ecx, dword [eax]
push str.ROOTcimv2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x427d44
cmp eax, ebx
je 0x427d44
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_DiskDrive_WHERE__Model_IS_NOT_NULL__AND__MediaType_LIKE_Fixed_hard_disk__
mov byte [esp + 0x50], 2
mov ecx, dword [eax]
push 0x447ea0
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x427d15
cmp eax, ebx
je 0x427d15
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x40], 4
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x427bc0
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x20], ebx
je 0x427bd8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x427cc2
cmp dword [esp + 0x20], ebx
je 0x427cc2
cmp dword [esp + 0x10], ebx
je 0x427cc2
lea ecx, [esp + 0x24]
push ecx
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push str.Model
push eax
call edx
test eax, eax
jne 0x427bc0
cmp word [esp + 0x24], 8
jne 0x427bc0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x427bc0
call fcn.00401633
call fcn.00427da0
lea eax, [esp + 0x24]
push eax
call edi
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x427c6c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x427c81
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x427c95
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x427cad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret
lea eax, [esp + 0x24]
push eax
call edi
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x427cde
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x427cf3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x427d07
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x427d62
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x427d26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x427d3a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x14]
jmp 0x427d62
cmp eax, ebx
mov byte [esp + 0x40], bl
je 0x427d3a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x14]
jmp 0x427d62
mov dword [esp + 0x40], edi
cmp eax, ebx
je 0x427d6e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret