Function at 0x41f1fb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46302f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4a1d50]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor esi, esi
push str.ProcessOnDemandManifest...
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], esi
call fcn.0040130b
push esi
lea eax, [esp + 0x44]
push eax
push 2
mov dword [esp + 0x64], esi
call fcn.0040fcf3
or dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [esp + 0x28]
push eax
mov eax, 0x4a6834
call fcn.00401c29
push esi
push 0x80
push 3
push esi
xor eax, eax
inc eax
push eax
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x3c]
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
inc edi
neg edi
sbb edi, edi
and edi, eax
mov dword [esp + 0x38], edi
mov byte [esp + 0x58], 2
je 0x41f84e
mov ebx, str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
or edi, 0xffffffff
call fcn.0041e379
test eax, eax
jne 0x41f813
mov edi, dword [ebp + 8]
add edi, 4
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x41f2d1
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push edi
push ebx
push dword [esp + 0x30]
mov dword [edi], ebx
call sub.msi.dll_MsiOpenProductW
mov esi, eax
cmp esi, ebx
jne 0x41f7fd
call fcn.004366fe
push eax
lea ecx, [esp + 0x38]
call fcn.00411d53
lea eax, [esp + 0x34]
push eax
push 0x4a6ae0
mov byte [esp + 0x60], 3
call fcn.0041394e
push str.SELECT__FROM__OnDemand__WHERE__OnDemandID_
lea ecx, [esp + 0x24]
call fcn.0040130b
mov byte [esp + 0x58], 4
mov esi, dword [esp + 0x34]
push dword [esi - 0xc]
lea ecx, [esp + 0x24]
push esi
call fcn.00401175
push 0x4899d8
lea eax, [esp + 0x24]
push eax
call fcn.00405f34
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 6
mov eax, dword [edi]
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x41f400
push 0x4899dc
lea ecx, [esp + 0x44]
call fcn.0040130b
mov byte [esp + 0x58], 7
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 1
call fcn.0040fcf3
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [esp + 0x18], ebx
je 0x41f3a9
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x41f3b8
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [esi - 0x10]
call fcn.004017c4
mov byte [esp + 0x58], 1
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push dword [esp + 0x20]
call sub.msi.dll_MsiViewModify
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x41f4a0
push 0x4899e8
lea ecx, [esp + 0x44]
call fcn.0040130b
mov byte [esp + 0x58], 8
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 1
call fcn.0040fcf3
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [esp + 0x18], ebx
je 0x41f457
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x41f466
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [esi - 0x10]
call fcn.004017c4
mov esi, dword [esp + 0x24]
mov byte [esp + 0x58], 1
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, esi
jmp 0x41f3eb
cmp dword [esp + 0x18], ebx
je 0x41f4af
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x20], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x41f7d1
call fcn.004366fe
push eax
lea ecx, [esp + 0x34]
call fcn.00411d53
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x5c], 9
push 2
push dword [esp + 0x20]
call fcn.00433e0c
mov esi, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esi - 0xc], ebx
jne 0x41f573
push str.Empty_FileSequences_data
lea ecx, [esp + 0x40]
call fcn.0040130b
push 0xd
lea eax, [esp + 0x40]
push eax
push 1
mov byte [esp + 0x64], 0xa
call fcn.0040fcf3
mov ecx, dword [esp + 0x48]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [esi - 0x10]
call fcn.004017c4
cmp dword [esp + 0x18], ebx
je 0x41f544
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x41f553
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004017c4
push 0xd
pop esi
jmp 0x41f47e
call fcn.004366fe
push eax
lea ecx, [esp + 0x28]
call fcn.00411d53
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x5c], 0xb
push 3
push dword [esp + 0x20]
call fcn.00433e0c
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jne 0x41f5e5
push str.Empty_product_name
lea ecx, [esp + 0x44]
call fcn.0040130b
push ebx
lea eax, [esp + 0x44]
push eax
push 2
mov byte [esp + 0x64], 0xc
call fcn.0040fcf3
mov byte [esp + 0x64], 0xb
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push str.Adobe_Application
lea ecx, [esp + 0x28]
call fcn.0040137f
lea eax, [esp + 0x24]
push eax
mov ecx, 0x4a6770
call fcn.004063a1
call fcn.004366fe
push eax
lea ecx, [esp + 0x30]
call fcn.00411d53
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x5c], 0xd
push 4
push dword [esp + 0x20]
call fcn.00433e0c
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4a678c
call fcn.004063a1
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4a6768
call fcn.004063a1
call fcn.004366fe
push eax
lea ecx, [esp + 0x44]
call fcn.00411d53
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x5c], 0xe
push 5
push dword [esp + 0x20]
call fcn.00433e0c
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4a679c
call fcn.004063a1
call fcn.004366fe
push eax
lea ecx, [esp + 0x40]
call fcn.00411d53
push str.SkipArmOnDemandUAC
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 0xf
call fcn.0040130b
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x5c], 0x10
mov edi, dword [edi]
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x54], 1
call fcn.00433c79
add esp, 0xc
test eax, eax
jne 0x41f6ce
push 0x46bd84
lea ecx, [esp + 0x40]
call fcn.00406240
mov byte [esp + 0x17], 1
test eax, eax
je 0x41f6d2
mov byte [esp + 0x17], bl
mov dword [esp + 0x58], 0xf
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004017c4
cmp byte [esp + 0x17], bl
je 0x41f726
push str.SkipArmOnDemandUAC_set_in_Manifest
lea ecx, [esp + 0x48]
call fcn.0040130b
push ebx
lea eax, [esp + 0x48]
push eax
push 2
mov byte [esp + 0x64], 0x11
call fcn.0040fcf3
mov byte [esp + 0x64], 0xf
mov ecx, dword [esp + 0x50]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov dword [0x4a6800], ebx
call fcn.004366fe
push eax
lea ecx, [esp + 0x48]
call fcn.00411d53
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x34]
push eax
push dword [ebp + 8]
mov byte [esp + 0x64], 0x12
call fcn.0041ff60
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017c4
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [esp + 0x18], ebx
je 0x41f7a5
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x41f7b4
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x41f47e
push 0x4899e8
lea ecx, [esp + 0x48]
call fcn.0040130b
mov byte [esp + 0x58], 0x13
push dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
push 1
call fcn.0040fcf3
mov ecx, dword [esp + 0x50]
jmp 0x41f43d
push str.MODB:
lea ecx, [esp + 0x48]
call fcn.0040130b
mov byte [esp + 0x58], 0x14
push esi
jmp 0x41f828
push str.Manifest_file_not_valid
lea ecx, [esp + 0x48]
call fcn.0040130b
mov byte [esp + 0x58], 0x15
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
push 2
call fcn.0040f821
mov ecx, dword [esp + 0x54]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov edi, dword [esp + 0x38]
jmp 0x41f886
push str.Failed_to_lock_Manifest_file
lea ecx, [esp + 0x48]
call fcn.0040130b
push 0x186a0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
push 2
mov byte [esp + 0x68], 0x16
call fcn.0040f821
mov ecx, dword [esp + 0x54]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov byte [esp + 0x58], 1
test edi, edi
je 0x41f896
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
pop esi
jmp 0x41f48d