Function at 0x10003d80
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, 0x50
mov eax, dword [ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov dword [esp], 0
call sym._create_query
test eax, eax
je 0x10003deb
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 0x10003e00
mov dword [esp], ebx
call sym._free_query
mov dword [esp], 0
call sym._free_query
lea esp, [ebp - 0x10]
mov edx, 0xffffffff
pop ecx
mov eax, edx
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 0x10003dd7
mov dword [esp], 0
call sym._create_query
mov dword [ebp - 0x2c], eax
mov esi, eax
test eax, eax
je 0x10003deb
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 0x10003e5c
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._execute_view
test eax, eax
je 0x10003e71
mov dword [esp], ebx
call sym._free_query
mov dword [esp], esi
call sym._free_query
jmp 0x10003deb
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], ecx
mov dword [esp + 4], 8
mov dword [ebp - 0x28], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov edi, eax
test eax, eax
je 0x1000417c
mov eax, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
test eax, eax
je 0x10003f84
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
jmp 0x10003f4b
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi + esi*8], eax
test eax, eax
je 0x10003f7e
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], 0x1002344a
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym._get_propval
test eax, eax
jne 0x10003f7e
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi + esi*8 + 4], eax
test eax, eax
je 0x10003f7e
lea eax, [ebp - 0x20]
add esi, 1
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
sub esp, 4
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x20]
cmp esi, eax
jae 0x10003fba
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1002344a
mov dword [esp + 4], esi
mov dword [esp], ecx
call sym._get_propval
test eax, eax
je 0x10003ec0
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._free_query
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x28]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], edx
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._free_query
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
test ecx, ecx
je 0x10003f9d
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov ecx, 8
call sym._resize_table
test eax, eax
je 0x1000414a
mov edx, dword [ebp - 0x34]
xor eax, eax
test edx, edx
mov edx, dword [ebp - 0x40]
setne al
xor ecx, ecx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x28], ecx
mov ecx, edi
mov dword [ebp - 0x3c], eax
jmp 0x10004044
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
je 0x10004140
mov edi, dword [ebp - 0x38]
add ebx, 1
add dword [ebp - 0x28], 1
add esi, 8
mov eax, dword [ebp - 0x3c]
cmp ebx, edi
je 0x100040c0
mov eax, dword [edx + 0x14]
mov edi, dword [ecx + ebx*8]
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 0x1000402c
mov dword [ebp - 0x30], ecx
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x2c], edx
call sym._eval_cond
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x10004020
mov eax, 0xffffffff
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
add ebx, 1
mov dword [ebp - 0x30], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0x2c], edx
call sym._free_row_values
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
cmp ebx, edi
jne 0x10004044
lea esi, [esi]
mov edi, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x1002179c], 8
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
jne 0x10004100
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc], ecx
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x28], ecx
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_logicaldisktopartition
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x100040e3
mov eax, 1
jmp 0x10004092
mov eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov esi, edi
lea eax, [edi + eax*8]
mov dword [ebp - 0x28], eax
mov edx, dword [esi]
add esi, 8
mov dword [esp], edx
call ebx
mov edx, dword [esi - 4]
mov dword [esp], edx
call ebx
cmp dword [ebp - 0x28], esi
jne 0x1000415b
mov dword [esp], edi
call ebx
jmp 0x10003deb
mov dword [esp], ebx
call sym._free_query
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._free_query
jmp 0x10003deb