Function at 0x425770
Capabilities:
Reference sql statements

Disassembly:
push 0x888
mov eax, 0x47404e
call fcn.00444285
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x884], ebx
mov dword [ebp - 0x880], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x880], ebx
je 0x4257a9
push dword [ebp - 0x880]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [esi + 4]
mov dword [ebp - 0x880], ebx
cmp dword [eax + 0x14], 8
jb 0x4257ba
mov eax, dword [eax]
lea ecx, [ebp - 0x880]
push ecx
push ebx
push eax
call sub.msi.dll_MsiOpenProductW
test eax, eax
jne 0x4259b9
mov dword [ebp - 0x878], ebx
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
and dword [ebp - 0x874], eax
lea eax, [ebp - 0x870]
push 0x48e7d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x879]
push 0
mov esi, 0x48e950
mov dword [ebp - 0x40], 0x48e948
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], esi
call fcn.00406120
mov byte [ebp - 4], 4
lea eax, [ebp - 0x879]
push 0
push eax
push str.SELECT__FROM__Property__WHERE__Property_ProductVersion
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x48e948
mov dword [ebp - 0x48], esi
call fcn.004105ca
mov byte [ebp - 4], 6
lea esi, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
cmovae esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x878], 0
je 0x42585f
push dword [ebp - 0x878]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
and dword [ebp - 0x878], 0
lea eax, [ebp - 0x878]
push esi
push eax
push dword [ebp - 0x880]
lea eax, [ebp - 0x874]
push eax
call fcn.00427faf
mov ecx, 0x400
add esp, 0x10
mov dword [ebp - 0x888], ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
mov dword [ebp - 0x894], eax
xor eax, eax
mov byte [ebp - 0x890], al
mov dword [ebp - 0x88c], eax
cmp dword [ebp - 0x2c], ecx
jae 0x4258b8
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0041482d
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x884], ebx
mov byte [ebp - 0x890], bl
call fcn.00413f7e
lea ecx, [ebp - 0x888]
push ecx
push dword [eax]
push 2
push dword [ebp - 0x878]
call sub.msi.dll_MsiRecordSetStreamA
mov ecx, ebx
mov esi, eax
mov dword [ebp - 0x884], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x884], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x894]
call fcn.004111ed
test esi, esi
jne 0x425967
lea ecx, [edi + 4]
cmp dword [ecx + 0x14], 8
jb 0x425913
mov ecx, dword [ecx]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push ecx
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.0044325b
pop ecx
pop ecx
test eax, eax
jne 0x425967
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov byte [ebp - 4], bl
cmp dword [ebp - 0x874], 0
je 0x42595a
push dword [ebp - 0x874]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 0
cmp dword [ebp - 0x878], 0
jmp 0x4259ac
push dword [ebp - 0x874]
call sub.msi.dll_MsiViewGetErrorW
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov byte [ebp - 4], bl
cmp dword [ebp - 0x874], 0
je 0x4259a1
push dword [ebp - 0x874]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x878], ebx
je 0x4259b9
push dword [ebp - 0x878]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x880], 0
je 0x4259d1
push dword [ebp - 0x880]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, ebx
call fcn.00444234
ret 8