Function at 0x42df1e
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x489ef0
call fcn.00464e48
mov esi, ecx
mov dword [ebp - 0x28], esi
push str.InitUpdateFromProductUpdatesExTable...
lea ecx, [ebp - 0x20]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x20]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.SELECT__FROM__ProductUpdatesEx__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.0040279b
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.00402556
push 0x4c00b0
lea ecx, [ebp - 0x18]
call fcn.0040945f
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 0x42dfc2
push 0x4c00b4
lea ecx, [ebp - 0x20]
call fcn.0040279b
mov byte [ebp - 4], 4
jmp 0x42dfe3
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42dffb
push 0x4c00c0
lea ecx, [ebp - 0x20]
call fcn.0040279b
mov byte [ebp - 4], 5
push esi
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
jmp 0x42e0ec
cmp dword [ebp - 0x10], 0
je 0x42e00a
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 0x42e0f1
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402824
mov byte [ebp - 4], 6
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x20]
call fcn.00402824
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
push eax
push 2
pop edx
call fcn.0044518f
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 3
pop edx
call fcn.0044518f
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040952b
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x42e0c9
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0040952b
test eax, eax
je 0x42e0c9
cmp dword [edi - 0xc], 0
je 0x42e09b
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
call fcn.004413e2
test eax, eax
je 0x42e0b0
cmp dword [esi - 0xc], 0
je 0x42e0c9
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.004413e2
test eax, eax
jne 0x42e0c9
lea ecx, [esi - 0x10]
call fcn.00402def
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402def
jmp 0x42dffb
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 4
call fcn.0042e124
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00402def
lea ecx, [edi - 0x10]
call fcn.00402def
cmp dword [ebp - 0x10], 0
je 0x42e100
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x14], 0
je 0x42e10f
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402def
mov eax, ebx
call fcn.00464e11
ret 8