Function at 0x42cdbe
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4b1760
call fcn.0046c418
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.00414d4f
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 0x4f11f0
lea ecx, [ebp - 0x18]
call fcn.00413402
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 0x42ce62
push 0x4f11f4
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42ce83
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42ce9b
push 0x4f1200
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 5
push esi
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
jmp 0x42cf8c
cmp dword [ebp - 0x10], 0
je 0x42ceaa
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 0x42cf91
call fcn.00452601
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402899
mov byte [ebp - 4], 6
call fcn.00452601
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.00447843
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 3
pop edx
call fcn.00447843
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040ac4f
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x42cf69
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0040ac4f
test eax, eax
je 0x42cf69
cmp dword [edi - 0xc], 0
je 0x42cf3b
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
call fcn.004432df
test eax, eax
je 0x42cf50
cmp dword [esi - 0xc], 0
je 0x42cf69
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.004432df
test eax, eax
jne 0x42cf69
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
jmp 0x42ce9b
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 4
call fcn.0042cfc4
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x10], 0
je 0x42cfa0
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x14], 0
je 0x42cfaf
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.0046c3e1
ret 8