Function at 0x1002e680
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x3ec]
sub esp, 0x3ec
push 0xffffffffffffffff
push 0x10067d6d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp + 0x3e8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 0x3f4]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
push edi
call fcn.1002e8b0
push 0x100963dc
push 0x100963dc
add eax, 0xa
mov edx, esi
push 0x100963dc
push eax
push edi
mov ecx, ebx
call fcn.1002e150
add esp, 0x18
test eax, eax
je 0x1002e862
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002e71b
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x1002e730
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov edx, ebx
push eax
push 0x100963dc
push edi
mov ecx, esi
call fcn.1002e400
add esp, 0x10
test eax, eax
je 0x1002e862
push dword [ebp - 0x18]
push 6
push dword [ebp - 0x1c]
call dword [sym.imp.msi.dll_MsiRecordClearData]
test eax, eax
jne 0x1002e862
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov edi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 2
test edi, edi
jne 0x1002e78a
xor esi, esi
jmp 0x1002e851
push dword [ebp - 0x20]
lea eax, [ebp]
push ebx
push str.SELECT__FROM___s__WHERE__Property__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002e7b9
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x1002e83d
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x1002e83d
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002e7f6
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x1002e824
push dword [ebp - 0x14]
push 6
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiRecordClearData]
test eax, eax
je 0x1002e7e8
xor esi, esi
jmp 0x1002e829
mov esi, 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002e83f
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x1002e83f
xor esi, esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002e851
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 1
test edi, edi
je 0x1002e864
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x1002e864
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002e876
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1002e88b
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3e8]
xor ecx, ebp
call fcn.1004d46a
lea esp, [ebp + 0x3ec]
pop ebp
ret