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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp], 0
call sym._create_query
test eax, eax
je 0x7104b347
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 0x7104b188
mov dword [ebp - 0x44], 0
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free_query
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym._execute_view
test eax, eax
jne 0x7104b155
mov dword [esp], 0
call sym._create_query
mov dword [ebp - 0x44], eax
mov esi, eax
test eax, eax
je 0x7104b347
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 0x7104b15c
mov eax, dword [esi + 8]
mov dword [ebp - 0x44], esi
mov dword [esp], eax
call sym._execute_view
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x7104b15c
mov edx, dword [ebx + 8]
mov edi, dword [edx + 0x20]
mov dword [ebp - 0x48], edx
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_calloc]
mov esi, eax
test eax, eax
je 0x7104b15c
test edi, edi
je 0x7104b2f3
mov dword [ebp - 0x40], ebx
mov edx, dword [ebp - 0x48]
xor edi, edi
mov ebx, dword [ebp - 0x44]
jmp 0x7104b2bd
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esi + edi*8], eax
test eax, eax
je 0x7104b2f0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
lea eax, [ebp - 0x28]
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x710623f4
mov dword [esp + 4], edi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym._get_propval
test eax, eax
jne 0x7104b2f0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esi + edi*8 + 4], eax
test eax, eax
je 0x7104b2f0
lea eax, [ebp - 0x28]
inc edi
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x40]
sub esp, 4
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x20]
cmp edi, eax
jae 0x7104b359
lea eax, [ebp - 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x710623f4
mov dword [esp + 4], edi
mov dword [esp], edx
call sym._get_propval
test eax, eax
je 0x7104b230
mov ebx, dword [ebp - 0x40]
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free_query
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x40]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov edi, esi
lea eax, [esi + eax*8]
mov dword [ebp - 0x3c], 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 - 0x3c], edi
jne 0x7104b32b
mov dword [esp], esi
call ebx
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free_query
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x7104b306
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov ecx, 8
call sym._resize_table
test eax, eax
je 0x7104b31a
cmp dword [ebp + 0xc], 1
mov ecx, esi
sbb eax, eax
xor edx, edx
xor edi, edi
xor ebx, ebx
inc eax
mov esi, edx
mov dword [ebp - 0x44], eax
jmp 0x7104b3c1
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
je 0x7104b490
mov eax, dword [ebp - 0x44]
add esi, 8
inc edi
inc ebx
cmp ebx, dword [ebp - 0x40]
je 0x7104b430
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov edx, dword [ecx + ebx*8]
add eax, esi
mov dword [eax], edx
mov edx, dword [ecx + ebx*8 + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x7104b3b4
lea eax, [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._eval_cond
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x7104b3a8
mov eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
inc ebx
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x3c], ecx
call sym._free_row_values
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
cmp ebx, dword [ebp - 0x40]
jne 0x7104b3c1
mov dword [ebp - 0x3c], eax
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x71060048], 8
jne 0x7104b460
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
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], 0x71060048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x7104b445
mov eax, 1
jmp 0x7104b40f