Function at 0x42fe1e
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4af0d0
call fcn.00469d48
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.00414da1
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 0x4ee968
lea ecx, [ebp - 0x18]
call fcn.00409e3f
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 0x42fec2
push 0x4ee96c
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42fee3
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42fefb
push 0x4ee978
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 5
push esi
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00414e8a
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
jmp 0x42ffec
cmp dword [ebp - 0x10], 0
je 0x42ff0a
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 0x42fff1
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402899
mov byte [ebp - 4], 6
call fcn.0044ff01
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.00449f8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 3
pop edx
call fcn.00449f8d
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00409f0b
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x42ffc9
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00409f0b
test eax, eax
je 0x42ffc9
cmp dword [edi - 0xc], 0
je 0x42ff9b
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
call fcn.0044604f
test eax, eax
je 0x42ffb0
cmp dword [esi - 0xc], 0
je 0x42ffc9
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.0044604f
test eax, eax
jne 0x42ffc9
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
jmp 0x42fefb
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 4
call fcn.00430024
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x10], 0
je 0x430000
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x14], 0
je 0x43000f
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.00469d11
ret 8