Function at 0x421d56
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a3d5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4add60]
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.004012e2
push esi
lea eax, [esp + 0x44]
push eax
push 2
mov dword [esp + 0x64], esi
call fcn.00410d56
or dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
lea eax, [esp + 0x28]
push eax
mov eax, 0x4b2924
call fcn.00401c58
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 SysReAllocString
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 + 0x3c], edi
mov byte [esp + 0x58], 2
je 0x422451
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.00420f8b
test eax, eax
jne 0x422416
mov edi, dword [ebp + 8]
add edi, 4
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x421e2c
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 0x422400
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x3c]
call fcn.00413a25
lea eax, [esp + 0x38]
push eax
push 0x4b2be0
mov byte [esp + 0x60], 3
call fcn.00415615
push str.SELECT__FROM__OnDemand__WHERE__OnDemandID_
lea ecx, [esp + 0x24]
call fcn.004012e2
mov byte [esp + 0x58], 4
mov esi, dword [esp + 0x38]
push dword [esi - 0xc]
lea ecx, [esp + 0x24]
push esi
call fcn.00401163
push 0x493550
lea eax, [esp + 0x24]
push eax
call fcn.004066e2
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 0x421f5b
push 0x493554
lea ecx, [esp + 0x44]
call fcn.004012e2
mov byte [esp + 0x58], 7
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 1
call fcn.00410d56
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [esp + 0x18], ebx
je 0x421f04
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x421f13
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017ba
lea ecx, [esi - 0x10]
call fcn.004017ba
mov byte [esp + 0x58], 1
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004017ba
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 0x421ffb
push 0x493560
lea ecx, [esp + 0x44]
call fcn.004012e2
mov byte [esp + 0x58], 8
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 1
call fcn.00410d56
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [esp + 0x18], ebx
je 0x421fb2
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x421fc1
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017ba
lea ecx, [esi - 0x10]
call fcn.004017ba
mov esi, dword [esp + 0x24]
mov byte [esp + 0x58], 1
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, esi
jmp 0x421f46
cmp dword [esp + 0x18], ebx
je 0x42200a
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 0x4223d4
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x38]
call fcn.00413a25
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x5c], 9
push 2
push dword [esp + 0x20]
call fcn.00437f4c
mov esi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esi - 0xc], ebx
jne 0x4220ce
push str.Empty_FileSequences_data
lea ecx, [esp + 0x34]
call fcn.004012e2
push 0xd
lea eax, [esp + 0x34]
push eax
push 1
mov byte [esp + 0x64], 0xa
call fcn.00410d56
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
lea ecx, [esi - 0x10]
call fcn.004017ba
cmp dword [esp + 0x18], ebx
je 0x42209f
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x4220ae
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.004017ba
push 0xd
pop esi
jmp 0x421fd9
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x30]
call fcn.00413a25
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x5c], 0xb
push 3
push dword [esp + 0x20]
call fcn.00437f4c
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jne 0x422140
push str.Empty_product_name
lea ecx, [esp + 0x44]
call fcn.004012e2
push ebx
lea eax, [esp + 0x44]
push eax
push 2
mov byte [esp + 0x64], 0xc
call fcn.00410d56
mov byte [esp + 0x64], 0xb
mov ecx, dword [esp + 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push str.Adobe_Application
lea ecx, [esp + 0x30]
call fcn.00401356
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4b2834
call fcn.00406b64
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x34]
call fcn.00413a25
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x5c], 0xd
push 4
push dword [esp + 0x20]
call fcn.00437f4c
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4b285c
call fcn.00406b64
lea eax, [esp + 0x30]
push eax
mov ecx, 0x4b282c
call fcn.00406b64
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x44]
call fcn.00413a25
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x5c], 0xe
push 5
push dword [esp + 0x20]
call fcn.00437f4c
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4b28c8
call fcn.00406b64
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x28]
call fcn.00413a25
push str.SkipArmOnDemandUAC
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 0xf
call fcn.004012e2
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x5c], 0x10
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x54], 1
call fcn.00437db9
add esp, 0xc
test eax, eax
jne 0x422229
push 0x4731d4
lea ecx, [esp + 0x28]
call fcn.00406a03
mov byte [esp + 0x17], 1
test eax, eax
je 0x42222d
mov byte [esp + 0x17], bl
push 0xf
pop esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004017ba
cmp byte [esp + 0x17], bl
je 0x422280
push str.SkipArmOnDemandUAC_set_in_Manifest
lea ecx, [esp + 0x48]
call fcn.004012e2
push ebx
lea eax, [esp + 0x48]
push eax
push 2
mov byte [esp + 0x64], 0x11
call fcn.00410d56
mov byte [esp + 0x64], 0xf
mov ecx, dword [esp + 0x50]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov dword [0x4b28e0], ebx
lea ecx, [esp + 0x24]
call fcn.00401522
push str.UrlFallback
lea ecx, [esp + 0x48]
call fcn.004012e2
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x5c], 0x12
mov edi, dword [edi]
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x54], 2
call fcn.00437db9
mov edi, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4222cb
mov byte [esp + 0x17], 1
cmp dword [edi - 0xc], ebx
jne 0x4222cf
mov byte [esp + 0x17], bl
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004017ba
cmp byte [esp + 0x17], bl
je 0x42232d
push str.UrlFallback:
lea ecx, [esp + 0x4c]
call fcn.004012e2
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
push 2
mov byte [esp + 0x68], 0x13
call fcn.00410886
mov byte [esp + 0x68], 0xf
mov ecx, dword [esp + 0x58]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
lea eax, [esp + 0x24]
push eax
mov ecx, 0x4b28f4
call fcn.00406b64
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x4c]
call fcn.00413a25
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 8]
mov byte [esp + 0x64], 0x14
call fcn.00422b63
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017ba
lea ecx, [edi - 0x10]
call fcn.004017ba
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [esp + 0x18], ebx
je 0x4223a8
push dword [esp + 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [esp + 0x1c], ebx
je 0x4223b7
push dword [esp + 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x421fd9
push 0x493560
lea ecx, [esp + 0x4c]
call fcn.004012e2
mov byte [esp + 0x58], 0x15
push dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
push 1
call fcn.00410d56
mov ecx, dword [esp + 0x54]
jmp 0x421f98
push str.MODB:
lea ecx, [esp + 0x4c]
call fcn.004012e2
mov byte [esp + 0x58], 0x16
push esi
jmp 0x42242b
push str.Manifest_file_not_valid
lea ecx, [esp + 0x4c]
call fcn.004012e2
mov byte [esp + 0x58], 0x17
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
push 2
call fcn.00410886
mov ecx, dword [esp + 0x58]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov edi, dword [esp + 0x3c]
jmp 0x422489
push str.Failed_to_lock_Manifest_file
lea ecx, [esp + 0x48]
call fcn.004012e2
push 0x186a0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
push 2
mov byte [esp + 0x68], 0x18
call fcn.00410886
mov ecx, dword [esp + 0x54]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov byte [esp + 0x58], 1
test edi, edi
je 0x422499
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
pop esi
jmp 0x421fe8