Function at 0x4350bf
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4af9e0
call fcn.00469698
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.004145c0
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 0x4ee968
lea ecx, [ebp - 0x20]
call fcn.00409daf
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 0x4351da
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.004145c0
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.004353a0
test eax, eax
je 0x4351c6
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.004145c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop esi
jmp 0x43536d
cmp dword [ebp - 0x18], 0
je 0x43536d
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x43536d
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x435210
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.004145c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x435365
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x10], 0
je 0x435222
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 0x43536d
cmp dword [edi], esi
je 0x43536d
call fcn.0044f841
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
mov byte [ebp - 4], 7
call fcn.0044f841
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.0044997d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 3
pop edx
call fcn.0044997d
pop ecx
pop ecx
push str.RandomInstallLatest
lea ecx, [ebp - 0x18]
call fcn.00409e7b
test eax, eax
jne 0x4352c0
mov eax, dword [0x5160e0]
test eax, eax
je 0x4352c0
cmp eax, 1
jne 0x4352bb
push str.Skip
lea ecx, [ebp - 0x14]
call fcn.00409e7b
test eax, eax
je 0x435322
mov eax, dword [0x5160e0]
cmp eax, 2
jmp 0x4352f0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004353a0
test eax, eax
jne 0x435326
cmp dword [ebp - 0x24], eax
je 0x4352f2
push str.Skip
lea ecx, [ebp - 0x14]
call fcn.00409e7b
test eax, eax
je 0x435322
cmp dword [ebp - 0x24], 0
jne 0x435303
push str.Install
lea ecx, [ebp - 0x14]
call fcn.00409e7b
test eax, eax
je 0x435322
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 0x435213
mov dword [edi], esi
jmp 0x435357
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.004145c0
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 0x43537c
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x1c], 0
je 0x43538b
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.00469661
ret 8