Function at 0x1000b1a0
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [esp], 0
mov dword [ebp - 0x34], eax
call sym._create_query
test eax, eax
je 0x1000b3f3
mov ebx, eax
lea eax, [eax + 0xc]
mov dword [esp + 4], str.SELECT__FROM_Win32_DiskPartition
mov dword [esp + 0xc], eax
lea eax, [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._parse_query
test eax, eax
je 0x1000b230
mov dword [ebp - 0x30], 0
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._free_query
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym._execute_view
test eax, eax
jne 0x1000b1fb
mov dword [esp], 0
call sym._create_query
mov dword [ebp - 0x30], eax
mov esi, eax
test eax, eax
je 0x1000b3f3
lea eax, [eax + 0xc]
mov dword [esp + 4], str.SELECT__FROM_Win32_LogicalDisk_WHERE_DriveType2_OR_DriveType3
mov dword [esp + 0xc], eax
lea eax, [esi + 8]
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._parse_query
test eax, eax
jne 0x1000b202
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], esi
mov dword [esp], eax
call sym._execute_view
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1000b202
mov edx, dword [ebx + 8]
mov edi, dword [edx + 0x20]
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_calloc]
mov esi, eax
test eax, eax
je 0x1000b202
test edi, edi
je 0x1000b39b
mov dword [ebp - 0x38], ebx
mov edx, dword [ebp - 0x3c]
xor edi, edi
mov ebx, dword [ebp - 0x30]
jmp 0x1000b365
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esi + edi*8], eax
test eax, eax
je 0x1000b398
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
lea eax, [ebp - 0x20]
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10023446
mov dword [esp + 4], edi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym._get_propval
test eax, eax
jne 0x1000b398
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esi + edi*8 + 4], eax
test eax, eax
je 0x1000b398
lea eax, [ebp - 0x20]
inc edi
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x38]
sub esp, 4
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x20]
cmp edi, eax
jae 0x1000b409
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10023446
mov dword [esp + 4], edi
mov dword [esp], edx
call sym._get_propval
test eax, eax
je 0x1000b2d8
mov ebx, dword [ebp - 0x38]
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._free_query
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov edi, esi
lea eax, [esi + eax*8]
mov dword [ebp - 0x28], eax
mov eax, dword [edi]
add edi, 8
mov dword [esp], eax
call ebx
mov eax, dword [edi - 4]
mov dword [esp], eax
call ebx
cmp dword [ebp - 0x28], edi
jne 0x1000b3d7
mov dword [esp], esi
call ebx
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._free_query
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1000b3ae
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, 8
call sym._resize_table
test eax, eax
je 0x1000b3c6
cmp dword [ebp - 0x34], 1
mov ecx, esi
sbb eax, eax
xor edx, edx
xor edi, edi
xor ebx, ebx
inc eax
mov dword [ebp - 0x28], edi
mov esi, edx
mov dword [ebp - 0x3c], eax
jmp 0x1000b47b
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
je 0x1000b550
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
add esi, 8
inc ebx
cmp ebx, dword [ebp - 0x38]
je 0x1000b4f0
mov edx, dword [ebp - 0x2c]
mov edi, dword [ecx + ebx*8]
mov eax, dword [edx + 0x14]
add eax, esi
mov dword [eax], edi
mov edi, dword [ecx + ebx*8 + 4]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1000b46c
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._eval_cond
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x1000b460
mov eax, 0xffffffff
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
inc ebx
mov dword [ebp - 0x30], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._free_row_values
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
cmp ebx, dword [ebp - 0x38]
jne 0x1000b47b
lea esi, [esi]
mov edi, dword [ebp - 0x28]
mov dword [esp], ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x10021048], 8
jne 0x1000b520
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_logicaldisktopartition
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000b508
mov eax, 1
jmp 0x1000b4c6