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

Disassembly:
push 0xffffffffffffffff
push 0x445ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4551a0]
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 0x44ae04
push 1
push ebx
push 0x44aed4
mov dword [esp + 0x54], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4276ee
cmp eax, ebx
je 0x4276ee
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 0x44cc40
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x4276d4
cmp eax, ebx
je 0x4276d4
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 0x44cd18
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x4276a5
cmp eax, ebx
je 0x4276a5
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 0x427550
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x20], ebx
je 0x427568
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 0x427652
cmp dword [esp + 0x20], ebx
je 0x427652
cmp dword [esp + 0x10], ebx
je 0x427652
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 0x427550
cmp word [esp + 0x24], 8
jne 0x427550
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x427550
call fcn.00401625
call fcn.00427730
lea eax, [esp + 0x24]
push eax
call edi
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4275fc
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 0x427611
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 0x427625
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 0x42763d
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 0x42766e
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 0x427683
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 0x427697
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x4276f2
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x4276b6
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 0x4276ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x14]
jmp 0x4276f2
cmp eax, ebx
mov byte [esp + 0x40], bl
je 0x4276ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x14]
jmp 0x4276f2
mov dword [esp + 0x40], edi
cmp eax, ebx
je 0x4276fe
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