Function at 0x418b08
Capabilities:
Reference sql statements

Disassembly:
push 0x18
mov eax, 0x4558c2
call fcn.0043bf0a
push str.InitUpdateData...
lea ecx, [ebp - 0x24]
call fcn.0040215a
xor esi, esi
push esi
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x24]
push eax
mov edi, 0x48a9d0
mov eax, edi
call fcn.004051f5
push esi
push 0x80
push 3
xor ecx, ecx
push esi
inc ecx
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.004025dc
mov esi, ebx
inc esi
neg esi
sbb esi, esi
and esi, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 2
je 0x4190aa
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.004051f5
mov eax, dword [eax]
or ebx, 0xffffffff
mov esi, eax
call fcn.00416fe1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
xor ebx, ebx
cmp esi, ebx
je 0x41907a
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.004051f5
mov esi, dword [ebp + 8]
add esi, 4
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x418be6
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp - 0x20]
push esi
mov dword [esi], ebx
mov eax, dword [eax]
push ebx
push eax
call sub.msi.dll_MsiOpenProductW
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x20], eax
call fcn.004025dc
cmp dword [ebp - 0x20], ebx
jne 0x41903b
call fcn.00428b72
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fd20
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 3
mov eax, dword [esi]
push 0x48a41c
push eax
call fcn.0042787c
add esp, 0xc
test eax, eax
jne 0x418c96
push 0x45d88c
lea ecx, [ebp - 0x1c]
call fcn.0040b302
test eax, eax
jne 0x418c96
push str.RevertToAUM_property_found_set_in_manifest.
lea ecx, [ebp + 8]
call fcn.0040215a
mov esi, 0x18768
push esi
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4190eb
cmp dword [0x48a98c], ebx
je 0x418d2b
call fcn.00428b72
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fd20
lea eax, [ebp - 0x20]
push eax
push str.ARM_Server
mov byte [ebp - 4], 5
push dword [0x48a438]
push 0x80000002
call fcn.00423590
add esp, 0x10
test eax, eax
je 0x418d1c
push str.Updates_are_not_allowed_for_pre_release_product
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 6
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
xor esi, esi
jmp 0x418c82
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
push str.SELECT__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov byte [ebp - 4], 7
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401f30
push str._AND__ProductVersion_
lea eax, [ebp - 0x18]
push eax
call fcn.0040d029
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.00401f30
push 0x472600
lea eax, [ebp - 0x18]
push eax
call fcn.0040d029
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
mov esi, dword [esi]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push esi
call sub.msi.dll_MsiEnumClientsA
mov esi, eax
cmp esi, ebx
je 0x418ddc
push 0x472604
lea ecx, [ebp + 8]
call fcn.0040215a
push esi
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0xa
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
cmp dword [ebp - 0x10], ebx
je 0x418dc7
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x418dd4
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
jmp 0x418c6f
push ebx
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov esi, eax
cmp esi, ebx
je 0x418e0d
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.0040215a
push esi
lea eax, [ebp + 0xc]
push eax
push 1
mov byte [ebp - 4], 0xb
call fcn.0040e5e0
mov ecx, dword [ebp + 0xc]
jmp 0x418dad
cmp dword [ebp - 0x10], ebx
je 0x418e1a
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
cmp eax, ebx
jne 0x419010
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0041addb
mov esi, eax
cmp esi, 0x3d32
jne 0x418dba
call fcn.00428b72
push eax
lea ecx, [ebp + 0xc]
call fcn.0040fd20
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0xc
push 3
push dword [ebp - 0x10]
call fcn.00427a0f
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [esi - 0xc], ebx
jne 0x418eca
push str.No_updates_in_Manifest_for_current_product_configuration.
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0xd
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], ebx
je 0x418eb5
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x418ec2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
jmp 0x418d02
push str.File_list_in_Manifest:
lea ecx, [ebp + 0x10]
call fcn.0040215a
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 0xe
call fcn.0040e15a
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.00428b72
push eax
lea ecx, [ebp + 0x10]
call fcn.0040fd20
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0xf
push dword [ebp + 8]
call fcn.00419969
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp eax, ebx
jne 0x418fc8
cmp dword [esi - 0xc], ebx
jne 0x418f64
push str.No_new_updates_for_current_product_configuration.
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, edi
jmp 0x418e98
cmp dword [edi - 0xc], ebx
je 0x418fc8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0041a973
push dword [ebp + 8]
call fcn.0041a25b
mov eax, 0x48aabc
call fcn.0040522b
test eax, eax
jne 0x418f95
mov ecx, dword [ebp + 8]
call fcn.004190f3
jmp 0x418fc0
push str.Restarted__skipping_InitArmUpdate
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 0x11
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
jmp 0x418e9b
lea ecx, [edi - 0x10]
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], ebx
je 0x418fe5
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x418ff2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xd
pop esi
jmp 0x418c82
push str.No_updates_in_Manifest_for_current_product_configuration.
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0x12
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
jmp 0x418ea3
push str.MsiOpenDatabase__:
lea ecx, [ebp + 8]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov eax, edi
mov byte [ebp - 4], 0x13
call fcn.004051f5
mov byte [ebp - 4], 0x14
push dword [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.0040e15a
mov ecx, dword [ebp + 0xc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x41909a
push str.Manifest_file_not_signed_by_Adobe.
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0x15
call fcn.0040e5e0
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, dword [ebp - 0x24]
jmp 0x4190d9
push str.Failed_to_lock_Manifest_file.
lea ecx, [ebp + 0x10]
call fcn.0040215a
push 0x186a0
lea eax, [ebp + 0x10]
push eax
push 1
mov byte [ebp - 4], 0x16
call fcn.0040e5e0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4190e8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
pop eax
call fcn.0043bfe2
ret 0xc