Function at 0x42fbce
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4adfb0
call fcn.00468c18
mov esi, ecx
mov dword [ebp - 0x28], esi
push str.InitUpdateFromProductUpdatesExTable...
lea ecx, [ebp - 0x20]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x20]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.SELECT__FROM__ProductUpdatesEx__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.00402829
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push 0x4ed8f8
lea ecx, [ebp - 0x18]
call fcn.00409d7f
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push dword [esi + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov esi, eax
test esi, esi
je 0x42fc72
push 0x4ed8fc
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42fc93
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42fcab
push 0x4ed908
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 5
push esi
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
jmp 0x42fd9c
cmp dword [ebp - 0x10], 0
je 0x42fcba
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x42fda1
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402899
mov byte [ebp - 4], 6
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x20]
call fcn.00402899
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
push eax
push 2
pop edx
call fcn.00448f17
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 3
pop edx
call fcn.00448f17
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00409e4b
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x42fd79
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00409e4b
test eax, eax
je 0x42fd79
cmp dword [edi - 0xc], 0
je 0x42fd4b
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
call fcn.004450f2
test eax, eax
je 0x42fd60
cmp dword [esi - 0xc], 0
je 0x42fd79
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.004450f2
test eax, eax
jne 0x42fd79
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
jmp 0x42fcab
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 4
call fcn.0042fdd4
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x10], 0
je 0x42fdb0
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x14], 0
je 0x42fdbf
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.00468be1
ret 8