Function at 0x41a05a
Capabilities:
Reference sql statements

Disassembly:
push 0x18
mov eax, 0x457e2a
call fcn.0043dfc3
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.0040ed4d
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, 0x48e9ec
mov eax, edi
call fcn.00405238
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 0x41a5fc
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00405238
mov eax, dword [eax]
or ebx, 0xffffffff
mov esi, eax
call fcn.00418534
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
xor ebx, ebx
cmp esi, ebx
je 0x41a5cc
lea eax, [ebp - 0x1c]
push eax
mov eax, edi
call fcn.00405238
mov esi, dword [ebp + 8]
add esi, 4
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41a138
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 0x41a58d
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x1c]
call fcn.004104de
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 3
mov eax, dword [esi]
push 0x48e41c
push eax
call fcn.0042993e
add esp, 0xc
test eax, eax
jne 0x41a1e8
push 0x45f9ec
lea ecx, [ebp - 0x1c]
call fcn.00408d93
test eax, eax
jne 0x41a1e8
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.0040ed4d
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 0x41a63d
cmp dword [0x48e99c], ebx
je 0x41a27d
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x20]
call fcn.004104de
lea eax, [ebp - 0x20]
push eax
push str.ARM_Server
mov byte [ebp - 4], 5
push dword [0x48e438]
push 0x80000002
call fcn.00425091
add esp, 0x10
test eax, eax
je 0x41a26e
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.0040ed4d
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 0x41a1d4
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.00408a0d
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.00401f30
push 0x475dc8
lea eax, [ebp - 0x18]
push eax
call fcn.00408a0d
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 0x41a32e
push 0x475dcc
lea ecx, [ebp + 8]
call fcn.0040215a
push esi
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0xa
call fcn.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
cmp dword [ebp - 0x10], ebx
je 0x41a319
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x41a326
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
jmp 0x41a1c1
push ebx
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov esi, eax
cmp esi, ebx
je 0x41a35f
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.0040ed4d
mov ecx, dword [ebp + 0xc]
jmp 0x41a2ff
cmp dword [ebp - 0x10], ebx
je 0x41a36c
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 0x41a562
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0041c54f
mov esi, eax
cmp esi, 0x3d32
jne 0x41a30c
call fcn.0042ac34
push eax
lea ecx, [ebp + 0xc]
call fcn.004104de
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0xc
push 3
push dword [ebp - 0x10]
call fcn.00429ad1
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [esi - 0xc], ebx
jne 0x41a41c
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.0040ed4d
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 0x41a407
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x41a414
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
jmp 0x41a254
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.0040e8c7
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.0042ac34
push eax
lea ecx, [ebp + 0x10]
call fcn.004104de
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0xf
push dword [ebp + 8]
call fcn.0041aebb
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp eax, ebx
jne 0x41a51a
cmp dword [esi - 0xc], ebx
jne 0x41a4b6
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.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, edi
jmp 0x41a3ea
cmp dword [edi - 0xc], ebx
je 0x41a51a
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0041c0e7
push dword [ebp + 8]
call fcn.0041b7ad
mov eax, 0x48eaf0
call fcn.0040526e
test eax, eax
jne 0x41a4e7
mov ecx, dword [ebp + 8]
call fcn.0041a645
jmp 0x41a512
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.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
jmp 0x41a3ed
lea ecx, [edi - 0x10]
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], ebx
je 0x41a537
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], ebx
je 0x41a544
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 0x41a1d4
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.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
jmp 0x41a3f5
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.00405238
mov byte [ebp - 4], 0x14
push dword [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.0040e8c7
mov ecx, dword [ebp + 0xc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x41a5ec
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.0040ed4d
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, dword [ebp - 0x24]
jmp 0x41a62b
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.0040ed4d
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41a63a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
pop eax
call fcn.0043e09b
ret 0xc