Function at 0x41f260
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472d26
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4ae44c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call dword [0x4824e8]
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ebx, dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push eax
lea ecx, [ebp - 0x14]
push str.SELECT__Feature____Component___FROM__FeatureComponents__WHERE__Feature_____s
push ecx
call ebx
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msi.dll_MsiEnumClientsA
mov esi, eax
test esi, esi
je 0x41f34d
lea ecx, [ebp + 8]
push esi
push ecx
call fcn.0040b540
add esp, 8
mov byte [ebp - 4], 1
push 0x483b88
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [edi]
push eax
push 0x485024
push esi
push 0x48940c
push edx
push str.Failed_to_open_database_view_for_feature
push str.sssisss
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x24
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
push 0
push eax
call sub.msi.dll_MsiViewModify
mov esi, eax
test esi, esi
je 0x41f3e5
lea ecx, [ebp + 8]
push esi
push ecx
call fcn.0040b540
add esp, 8
mov byte [ebp - 4], 2
push 0x483b88
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [edi]
push eax
push 0x485024
push esi
push 0x48940c
push edx
push str.Failed_to_open_execute_view_for_feature
push str.sssisss
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x24
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [ebp - 0x10]
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ecx
push edx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov esi, eax
test esi, esi
je 0x41f45f
cmp esi, 0x103
je 0x41f566
lea eax, [ebp + 8]
push esi
push eax
call fcn.0040b540
add esp, 8
mov byte [ebp - 4], 3
push 0x483b88
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
mov ecx, dword [edi]
push eax
push 0x485024
push esi
push 0x48940c
push ecx
push str.Failed_to_fetch_view_for_feature
push str.sssisss
call fcn.00459000
push eax
call fcn.0045a050
add esp, 0x24
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x10]
push edx
jmp 0x41f3b8
mov edi, 0xff
lea ecx, [ebp - 0x1c]
call dword [0x4824e8]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], edi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
mov ecx, dword [ebp - 0x20]
push eax
push 2
push ecx
call sub.msi.dll_MsiRecordSetStreamA
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x24]
call dword [0x4824e8]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push str.SELECT__Component_____FileSize__FROM__File__WHERE__Component_____s
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [ebp + 8]
push eax
push edx
call sub.msi.dll_MsiEnumClientsA
mov eax, dword [ebp - 0x18]
push 0
push eax
call sub.msi.dll_MsiViewModify
mov edx, dword [ebp - 0x18]
lea ecx, [ebp + 0xc]
push ecx
push edx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x41f51c
lea ecx, [ecx]
mov eax, dword [ebp + 0xc]
push 2
push eax
call sub.msi.dll_MsiRecordReadStream
mov ecx, dword [ebp + 0xc]
cdq
add dword [ebp - 0x30], eax
push ecx
adc dword [ebp - 0x2c], edx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp - 0x18]
lea edx, [ebp + 0xc]
push edx
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x41f4f0
mov ecx, dword [ebp + 0xc]
push ecx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov edx, dword [ebp - 0x18]
push edx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp - 0x20]
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ecx
push edx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test esi, esi
je 0x41f464
mov eax, dword [ebp - 0x20]
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x10]
push ecx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8