Function at 0x431084
Capabilities:
Reference sql statements

Disassembly:
push 0x1c
mov eax, 0x4b1000
call fcn.0046af88
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.00413940
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 0x4ef6b0
lea ecx, [ebp - 0x20]
call fcn.00412742
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 0x43119f
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.00413940
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.00431365
test eax, eax
je 0x43118b
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.00413940
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop esi
jmp 0x431332
cmp dword [ebp - 0x18], 0
je 0x431332
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x431332
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x4311d5
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.00413940
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x43132a
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x10], 0
je 0x4311e7
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 0x431332
cmp dword [edi], esi
je 0x431332
call fcn.00451171
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
mov byte [ebp - 4], 7
call fcn.00451171
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.004464ad
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 3
pop edx
call fcn.004464ad
pop ecx
pop ecx
push str.RandomInstallLatest
lea ecx, [ebp - 0x18]
call fcn.00409edf
test eax, eax
jne 0x431285
mov eax, dword [0x518f98]
test eax, eax
je 0x431285
cmp eax, 1
jne 0x431280
push str.Skip
lea ecx, [ebp - 0x14]
call fcn.00409edf
test eax, eax
je 0x4312e7
mov eax, dword [0x518f98]
cmp eax, 2
jmp 0x4312b5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00431365
test eax, eax
jne 0x4312eb
cmp dword [ebp - 0x24], eax
je 0x4312b7
push str.Skip
lea ecx, [ebp - 0x14]
call fcn.00409edf
test eax, eax
je 0x4312e7
cmp dword [ebp - 0x24], 0
jne 0x4312c8
push str.Install
lea ecx, [ebp - 0x14]
call fcn.00409edf
test eax, eax
je 0x4312e7
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 0x4311d8
mov dword [edi], esi
jmp 0x43131c
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.00413940
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 0x431341
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x1c], 0
je 0x431350
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.0046af51
ret 8