Function at 0x42ab90
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x4795d0
call fcn.0045be74
push str.InitUpdateFromProductUpdatesExTable...
lea ecx, [ebp - 0x1c]
call fcn.004020a6
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push str.SELECT__FROM__ProductUpdatesEx__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.004020a6
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401ec7
push 0x4a2fa0
lea eax, [ebp - 0x18]
push eax
call fcn.0040aac0
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [eax + 4]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
call sub.msi.dll_MsiEnumClientsA
mov esi, eax
cmp esi, ebx
je 0x42ac76
push 0x4a2fa4
lea ecx, [ebp + 0x10]
call fcn.004020a6
push esi
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.004152d1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x10], ebx
je 0x42ac54
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x42ac61
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
call fcn.0045bf4c
ret 0xc
push ebx
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov esi, eax
cmp esi, ebx
je 0x42acd9
push 0x4a2fb0
lea ecx, [ebp + 0x10]
call fcn.004020a6
push esi
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.004152d1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x10], ebx
je 0x42acbd
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x42acca
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, ebx
jmp 0x42ac6e
cmp dword [ebp - 0x10], ebx
je 0x42ace6
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x42acb0
call fcn.0044825c
push eax
lea ecx, [ebp + 0xc]
call fcn.0041872d
mov byte [ebp - 4], 6
call fcn.0044825c
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041872d
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 7
push 2
push dword [ebp - 0x10]
call main
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 3
push dword [ebp - 0x10]
call main
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push esi
call fcn.0040ae5c
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x42ada6
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0040ae5c
test eax, eax
je 0x42ada6
cmp dword [esi - 0xc], ebx
je 0x42ad76
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call main
pop ecx
pop ecx
test eax, eax
je 0x42ad8d
cmp dword [edi - 0xc], ebx
je 0x42ada6
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call main
pop ecx
pop ecx
test eax, eax
jne 0x42ada6
lea ecx, [edi - 0x10]
call fcn.004025d2
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.004025d2
jmp 0x42acd9
push dword [ebp - 0x10]
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
mov dword [ebp + 0x10], 4
call fcn.0042adf0
lea ecx, [edi - 0x10]
mov dword [ebp + 0x10], eax
call fcn.004025d2
lea ecx, [esi - 0x10]
call fcn.004025d2
cmp dword [ebp - 0x10], ebx
je 0x42addb
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x42ade8
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ebx, dword [ebp + 0x10]
jmp 0x42acca