Function at 0x41a5a8
Capabilities:
Reference sql statements

Disassembly:
push 0x50
mov eax, 0x45646b
call fcn.0043cf0a
push str.InitUpdateFiles...
lea ecx, [ebp - 0x3c]
call fcn.0040215a
xor esi, esi
push esi
lea eax, [ebp - 0x3c]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.0040e50d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
call fcn.00429b48
push eax
lea ecx, [ebp - 0x24]
call fcn.0040fc71
mov dword [ebp - 4], 1
call fcn.00429b48
push eax
lea ecx, [ebp - 0x34]
call fcn.0040fc71
mov byte [ebp - 4], 2
call fcn.00429b48
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040fc71
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], esi
push 0x471a10
lea ecx, [ebp - 0x40]
call fcn.0040215a
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
lea ebx, [ebp - 0x40]
lea edi, [ebp - 0x48]
call fcn.00424094
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00408b86
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.004025e7
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], esi
je 0x41a9b8
push str.SELECT__UpdateID____Type____URL____Size____Args____AllowNotElevatedInstall__FROM__UpdateFiles__WHERE__File_
lea ecx, [ebp - 0x28]
call fcn.0040215a
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401f90
push 0x47409c
lea ecx, [ebp - 0x28]
call fcn.004089c0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push eax
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
jne 0x41a9fe
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
jne 0x41aa79
cmp dword [ebp - 0x10], esi
je 0x41a6f2
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
cmp eax, esi
jne 0x41a98f
call fcn.00429b48
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fc71
mov byte [ebp - 4], 0xb
call fcn.00429b48
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fc71
mov byte [ebp - 4], 0xc
call fcn.00429b48
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fc71
mov byte [ebp - 4], 0xd
call fcn.00429b48
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fc71
mov byte [ebp - 4], 0xe
call fcn.00429b48
push eax
lea ecx, [ebp - 0x38]
call fcn.0040fc71
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
push 1
push dword [ebp - 0x10]
call fcn.00428a06
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x41aa8c
mov edi, dword [ebp - 0x38]
cmp dword [edi - 0xc], esi
je 0x41ab3d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x30], esi
call fcn.0041c5f3
cmp eax, esi
jne 0x41ab69
cmp dword [ebp - 0x30], esi
je 0x41a7e3
add edi, 0xfffffff0
mov ecx, edi
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025e7
jmp 0x41a98f
lea eax, [ebp - 0x2c]
push eax
push 2
push dword [ebp - 0x10]
call fcn.00428a06
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x41abbf
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], esi
je 0x41ac3f
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp - 0x10]
call fcn.00428a06
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x41ac9c
mov esi, dword [ebp - 0x20]
cmp dword [esi - 0xc], 0
je 0x41ad1c
push 4
push dword [ebp - 0x10]
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x58], eax
cmp eax, 0x80000000
je 0x41ad8d
lea eax, [ebp - 0x1c]
push eax
push 5
push dword [ebp - 0x10]
call fcn.00428a06
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41adb0
lea eax, [ebp - 0x18]
push eax
push 6
push dword [ebp - 0x10]
call fcn.00428a06
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41ae22
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.0041a35e
test eax, eax
jne 0x41ae46
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00408b86
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x41a8c5
push 0x471a10
lea ecx, [ebp - 0x34]
call fcn.004089c0
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x34]
push eax
call fcn.00401f90
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x41a8e3
and dword [ebp - 0x30], 0
jmp 0x41a8f8
push 0x45e844
lea ecx, [ebp - 0x18]
call fcn.0040b384
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x30], eax
push str.New_file_object:
lea ecx, [ebp - 0x44]
call fcn.0040215a
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
push 1
mov byte [ebp - 4], 0x19
call fcn.0040e087
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x44]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
push dword [ebp - 0x58]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x48b904
call fcn.004229f5
cmp dword [ebp - 0x30], 0
jne 0x41a959
mov dword [0x48b988], 1
add edi, 0xfffffff0
mov ecx, edi
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
add esi, 0xfffffff0
mov ecx, esi
call fcn.004025e7
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004025e7
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x41a99c
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41a9a9
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x48], 0xffffffff
jne 0x41a626
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.00408b86
push dword [ebp + 0x10]
mov ecx, 0x48b974
call fcn.00408b86
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x48b978
call fcn.00408b86
mov eax, dword [ebp - 0x50]
mov dword [0x48b980], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x48b984], eax
jmp 0x41ab15
push str.MDOV
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 9
push edi
lea eax, [ebp + 8]
push eax
push 1
call fcn.0040e50d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x10], esi
je 0x41aa36
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41aa43
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, edi
call fcn.0043cfe2
ret 0xc
push 0x473d24
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 0xa
jmp 0x41aa0f
push 0x4740a0
lea ecx, [ebp + 8]
call fcn.0040215a
push edi
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.0040e50d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x10], esi
je 0x41aafb
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41ab08
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, esi
jmp 0x41aa71
push str.Empty_UpdateID
lea ecx, [ebp + 0xc]
call fcn.0040215a
push 0xd
lea eax, [ebp + 0xc]
push eax
push 1
mov byte [ebp - 4], 0x11
call fcn.0040e50d
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x10], esi
je 0x41abaa
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41abb7
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push 0xd
pop esi
jmp 0x41ab0a
push str.MGRS_Type_
lea ecx, [ebp + 0x10]
call fcn.0040215a
push ebx
lea eax, [ebp + 0x10]
push eax
push 1
mov byte [ebp - 4], 0x12
call fcn.0040e50d
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x10], esi
je 0x41ac2b
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41ac38
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, ebx
jmp 0x41ab0a
push str.Empty_Type
lea ecx, [ebp - 0x48]
call fcn.0040215a
push 0xd
lea eax, [ebp - 0x48]
push eax
push 1
mov byte [ebp - 4], 0x13
call fcn.0040e50d
mov ecx, dword [ebp - 0x48]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [ebx - 0x10]
jmp 0x41ab98
push str.MGRS_URL_
lea ecx, [ebp - 0x44]
call fcn.0040215a
mov byte [ebp - 4], 0x14
push dword [ebp - 0x30]
lea eax, [ebp - 0x44]
push eax
push 1
call fcn.0040e50d
mov ecx, dword [ebp - 0x44]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [ebx - 0x10]
call fcn.004025e7
cmp dword [ebp - 0x10], esi
je 0x41ad07
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41ad14
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, dword [ebp - 0x30]
jmp 0x41ab0a
push str.Empty_URL
lea ecx, [ebp - 0x40]
call fcn.0040215a
push 0xd
lea eax, [ebp - 0x40]
push eax
push 1
mov byte [ebp - 4], 0x15
call fcn.0040e50d
mov ecx, dword [ebp - 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [esi - 0x10]
call fcn.004025e7
lea ecx, [ebx - 0x10]
call fcn.004025e7
cmp dword [ebp - 0x10], 0
je 0x41ad84
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41abad
push str.MRGI_Size_
lea ecx, [ebp - 0x30]
call fcn.0040215a
push 0xd
lea eax, [ebp - 0x30]
push eax
push 1
mov byte [ebp - 4], 0x16
call fcn.0040e50d
mov ecx, dword [ebp - 0x30]
jmp 0x41ad3d
push str.MGRS_Args_
lea ecx, [ebp - 0x4c]
call fcn.0040215a
mov byte [ebp - 4], 0x17
push dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push eax
push 1
call fcn.0040e50d
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [esi - 0x10]
call fcn.004025e7
lea ecx, [ebx - 0x10]
call fcn.004025e7
cmp dword [ebp - 0x10], 0
je 0x41ae19
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41ad0a
push str.MGRS_AllowNotElevated_
lea ecx, [ebp - 0x50]
call fcn.0040215a
mov byte [ebp - 4], 0x18
push dword [ebp - 0x30]
lea eax, [ebp - 0x50]
push eax
push 1
call fcn.0040e50d
mov ecx, dword [ebp - 0x50]
jmp 0x41add2
lea ecx, [edi - 0x10]
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [esi - 0x10]
call fcn.004025e7
lea ecx, [ebx - 0x10]
call fcn.004025e7
cmp dword [ebp - 0x10], 0
je 0x41ae82
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x41ab0a
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x41ab0a