Function at 0x42fa6e
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4b16f0
call fcn.0046c338
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.004174d1
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 0x4f1190
lea ecx, [ebp - 0x18]
call fcn.004102be
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 0x42fb12
push 0x4f1194
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42fb33
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42fb4b
push 0x4f11a0
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 5
push esi
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00417582
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
jmp 0x42fc3c
cmp dword [ebp - 0x10], 0
je 0x42fb5a
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 0x42fc41
call fcn.004524e1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402899
mov byte [ebp - 4], 6
call fcn.004524e1
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.00449d9b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 3
pop edx
call fcn.00449d9b
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00409b05
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x42fc19
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00409b05
test eax, eax
je 0x42fc19
cmp dword [edi - 0xc], 0
je 0x42fbeb
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
call fcn.00445e27
test eax, eax
je 0x42fc00
cmp dword [esi - 0xc], 0
je 0x42fc19
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.00445e27
test eax, eax
jne 0x42fc19
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
jmp 0x42fb4b
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 4
call fcn.0042fc74
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x10], 0
je 0x42fc50
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x14], 0
je 0x42fc5f
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.0046c301
ret 8