Function at 0x435149
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4b29b0
call fcn.0046c638
mov ebx, ecx
push str.entered_evaluation_for:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x14]
xor esi, esi
push esi
push edi
push 2
pop ecx
mov dword [ebp - 4], esi
call fcn.00417010
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.SELECT__FROM__UpdateConditions__WHERE__UpdateID_
lea ecx, [ebp - 0x20]
call fcn.00402829
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push 0x4f1300
lea ecx, [ebp - 0x20]
call fcn.0041052e
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push dword [ebx + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
je 0x435264
push str.No_UpdateConditions_table__will_install:
lea ecx, [ebp - 0x24]
call fcn.00402829
push esi
push edi
push 2
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 4
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push edi
mov ecx, ebx
call fcn.0043542a
test eax, eax
je 0x435250
push str.Failed_to_evaluate_condition_for_UpdateID:
lea ecx, [ebp - 0x24]
call fcn.00402829
push esi
push edi
push 2
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 5
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop esi
jmp 0x4353f7
cmp dword [ebp - 0x18], 0
je 0x4353f7
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x4353f7
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x43529a
push str.No_condition_for_UpdateID__will_install:
lea ecx, [ebp - 0x24]
call fcn.00402829
push esi
push edi
push 2
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 6
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x4353ef
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x10], 0
je 0x4352ac
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x4353f7
cmp dword [edi], esi
je 0x4353f7
call fcn.004527d1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
mov byte [ebp - 4], 7
call fcn.004527d1
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
push eax
push 2
pop edx
call fcn.0044a01b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 3
pop edx
call fcn.0044a01b
pop ecx
pop ecx
push str.RandomInstallLatest
lea ecx, [ebp - 0x18]
call fcn.00409b05
test eax, eax
jne 0x43534a
mov eax, dword [0x51a0d8]
test eax, eax
je 0x43534a
cmp eax, 1
jne 0x435345
push str.Skip
lea ecx, [ebp - 0x14]
call fcn.00409b05
test eax, eax
je 0x4353ac
mov eax, dword [0x51a0d8]
cmp eax, 2
jmp 0x43537a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0043542a
test eax, eax
jne 0x4353b0
cmp dword [ebp - 0x24], eax
je 0x43537c
push str.Skip
lea ecx, [ebp - 0x14]
call fcn.00409b05
test eax, eax
je 0x4353ac
cmp dword [ebp - 0x24], 0
jne 0x43538d
push str.Install
lea ecx, [ebp - 0x14]
call fcn.00409b05
test eax, eax
je 0x4353ac
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x43529d
mov dword [edi], esi
jmp 0x4353e1
push str.Failed_to_evaluate_condition:
lea ecx, [ebp - 0x28]
call fcn.00402829
push esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
push 2
lea edx, [ebp - 0x28]
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x10], 0
je 0x435406
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x1c], 0
je 0x435415
push dword [ebp - 0x1c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046c601
ret 8