Function at 0x4201f9
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x4617ee
call fcn.0044806b
push str.InitUpdateFromProductUpdatesExTable...
lea ecx, [ebp - 0x1c]
call fcn.00402060
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411fb7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push str.SELECT__FROM__ProductUpdatesEx__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.00402060
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401e6a
push 0x482710
lea eax, [ebp - 0x18]
push eax
call fcn.00408cf5
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 0x4202df
push 0x482714
lea ecx, [ebp + 0x10]
call fcn.00402060
push esi
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.00411fb7
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x10], ebx
je 0x4202bd
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x4202ca
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00448143
ret 0xc
push ebx
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov esi, eax
cmp esi, ebx
je 0x420342
push 0x482720
lea ecx, [ebp + 0x10]
call fcn.00402060
push esi
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00411fb7
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x10], ebx
je 0x420326
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x420333
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, ebx
jmp 0x4202d7
cmp dword [ebp - 0x10], ebx
je 0x42034f
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 0x420319
call fcn.00434892
push eax
lea ecx, [ebp + 0xc]
call fcn.0040210b
mov byte [ebp - 4], 6
call fcn.00434892
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040210b
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 7
push 2
push dword [ebp - 0x10]
call fcn.00432e90
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 3
push dword [ebp - 0x10]
call fcn.00432e90
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push esi
call fcn.00409001
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x42040f
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00409001
test eax, eax
je 0x42040f
cmp dword [esi - 0xc], ebx
je 0x4203df
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.0042f92e
pop ecx
pop ecx
test eax, eax
je 0x4203f6
cmp dword [edi - 0xc], ebx
je 0x42040f
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f92e
pop ecx
pop ecx
test eax, eax
jne 0x42040f
lea ecx, [edi - 0x10]
call fcn.0040253e
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.0040253e
jmp 0x420342
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x10]
mov dword [ebp + 0x10], 4
push dword [ebp + 8]
call fcn.0042045a
lea ecx, [edi - 0x10]
mov dword [ebp + 0x10], eax
call fcn.0040253e
lea ecx, [esi - 0x10]
call fcn.0040253e
cmp dword [ebp - 0x10], ebx
je 0x420445
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x420452
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ebx, dword [ebp + 0x10]
jmp 0x420333