Function at 0x4351aa
Capabilities:
Reference sql statements

Disassembly:
push 0x24
mov eax, 0x4b2758
call fcn.0046c338
mov edi, ecx
push str.EvaluateCondition...:
lea ecx, [ebp - 0x24]
call fcn.00402829
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x24]
xor ebx, ebx
push ebx
push esi
push 2
pop eax
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00416da0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.SELECT__FROM__Conditions__WHERE__Condition_
lea ecx, [ebp - 0x2c]
call fcn.00402829
xor eax, eax
lea ecx, [ebp - 0x2c]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push 0x4f1cbc
lea ecx, [ebp - 0x2c]
call fcn.0040259d
mov dword [ebp - 0x18], ebx
push 3
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
push dword [edi + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x4356b0
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x4356b0
cmp dword [ebp - 0x18], eax
je 0x43525f
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push dword [ebp - 0x28]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x4356b0
call fcn.004524e1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
push 4
pop eax
mov byte [ebp - 4], al
call fcn.004524e1
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
push eax
push 2
pop edx
call fcn.00449d9b
mov esi, dword [ebp - 0x10]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4352d9
push str.MGRS_Type_
lea ecx, [ebp - 0x24]
call fcn.00402829
mov byte [ebp - 4], 6
xor ecx, ecx
lea edx, [ebp - 0x24]
push ebx
inc ecx
call fcn.00417582
pop ecx
jmp 0x435692
cmp dword [esi - 0xc], 0
jne 0x4352f5
push str.Empty_Type
lea ecx, [ebp - 0x24]
call fcn.00402829
mov byte [ebp - 4], 7
push 0xd
pop ebx
jmp 0x4352c7
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push 3
pop edx
call fcn.00449d9b
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43531e
push str.MGRS_sKey_
lea ecx, [ebp - 0x24]
call fcn.00402829
mov byte [ebp - 4], 8
jmp 0x4352c7
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x43533a
push str.Empty_Key
lea ecx, [ebp - 0x24]
call fcn.00402829
mov byte [ebp - 4], 9
jmp 0x4352f0
push str.PATCH_GUID
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x43535c
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00435ea6
jmp 0x435493
push str.ARM_ELEVATED
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x43537e
mov dword [0x5140e0], 0x284
call fcn.00445428
jmp 0x43539e
push 0x4f3bf0
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x4353a8
mov eax, dword [0x518f5c]
mov dword [0x5140e0], 0x286
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x43546f
push str.USER_ADMIN
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x4353ed
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x518f50]
mov dword [0x5140e0], 0x282
mov dword [ecx], eax
test eax, eax
je 0x43546f
push str.Condition_met
lea ecx, [ebp - 0x24]
call fcn.00402829
push 0
push 2
mov byte [ebp - 4], 0xa
pop ecx
jmp 0x43545b
push str.MODE
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x435476
mov eax, dword [0x518f78]
xor edi, edi
push 4
pop edx
cmp eax, edx
mov dword [0x5140e0], 0x272
push 2
cmove edi, edx
pop ebx
cmp eax, ebx
push 3
pop ecx
push dword [ebp - 0x14]
cmove edi, ecx
cmp eax, ecx
cmove edi, ebx
xor ecx, ecx
inc ecx
cmp eax, ecx
cmove edi, ecx
call fcn.0048c42f
xor edx, edx
cmp eax, edi
pop ecx
mov ecx, dword [ebp + 0xc]
sete dl
mov dword [ecx], edx
jne 0x43546f
push str.Condition_met
lea ecx, [ebp - 0x24]
call fcn.00402829
mov byte [ebp - 4], 0xb
mov ecx, ebx
push 0
lea edx, [ebp - 0x24]
call fcn.004174d1
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor ebx, ebx
jmp 0x43569d
push str.TRANSFORMED
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x43549a
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00436755
mov ebx, eax
jmp 0x43569d
call fcn.004524e1
push eax
lea ecx, [ebp - 0x24]
call fcn.00402899
mov byte [ebp - 4], 0xc
call fcn.004524e1
push eax
lea ecx, [ebp - 0x20]
call fcn.00402899
push 0xd
pop ebx
mov byte [ebp - 4], bl
call fcn.004524e1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402899
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x18]
push eax
push 4
pop edx
call fcn.00449d9b
mov edi, eax
pop ecx
test edi, edi
je 0x435518
push str.MGRS_sName_
lea ecx, [ebp - 0x30]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0xf
push edi
lea edx, [ebp - 0x30]
inc ecx
call fcn.00417582
pop ecx
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, edi
jmp 0x43567c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push 5
pop edx
call fcn.00449d9b
pop ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push 6
pop edx
call fcn.00449d9b
lea ecx, [ebp - 0x10]
mov dword [esp], str.FILE
call fcn.00409b05
test eax, eax
jne 0x435567
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00435b19
jmp 0x43567a
push str.REG_STR
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
je 0x43565e
push str.REG_DWORD
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
je 0x43565e
push 0x4f3c8c
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x4355bf
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004356e3
jmp 0x43567a
push str.MSI_PRODUCT
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x4355ed
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00436176
jmp 0x43567a
push str.DATE
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x435610
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004363c3
jmp 0x43567a
push str.PLUGINS_COUNT
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x435633
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00436545
jmp 0x43567a
push str.Not_supported_condition_type_in_Manifest
lea ecx, [ebp - 0x30]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0x10
push ebx
lea edx, [ebp - 0x30]
inc ecx
call fcn.00417582
pop ecx
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x43567c
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0043577a
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x18], 0
je 0x4356bf
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x28], 0
je 0x4356ce
push dword [ebp - 0x28]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046c301
ret 8