Function at 0x419969
Capabilities:
Reference sql statements

Disassembly:
push 0x50
mov eax, 0x455336
call fcn.0043bf0a
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.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
call fcn.00428b72
push eax
lea ecx, [ebp - 0x24]
call fcn.0040fd20
mov dword [ebp - 4], 1
call fcn.00428b72
push eax
lea ecx, [ebp - 0x34]
call fcn.0040fd20
mov byte [ebp - 4], 2
call fcn.00428b72
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040fd20
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], esi
push 0x471e98
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.00423389
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00408b20
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], esi
je 0x419d79
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 0x472c5c
lea ecx, [ebp - 0x28]
call fcn.0040893e
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 0x419dbf
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
jne 0x419e3a
cmp dword [ebp - 0x10], esi
je 0x419ab3
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 0x419d50
call fcn.00428b72
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fd20
mov byte [ebp - 4], 0xb
call fcn.00428b72
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fd20
mov byte [ebp - 4], 0xc
call fcn.00428b72
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fd20
mov byte [ebp - 4], 0xd
call fcn.00428b72
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fd20
mov byte [ebp - 4], 0xe
call fcn.00428b72
push eax
lea ecx, [ebp - 0x38]
call fcn.0040fd20
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
push 1
push dword [ebp - 0x10]
call fcn.00427a0f
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x419e4d
mov edi, dword [ebp - 0x38]
cmp dword [edi - 0xc], esi
je 0x419efe
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x30], esi
call fcn.0041b935
cmp eax, esi
jne 0x419f2a
cmp dword [ebp - 0x30], esi
je 0x419ba4
add edi, 0xfffffff0
mov ecx, edi
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x419d50
lea eax, [ebp - 0x2c]
push eax
push 2
push dword [ebp - 0x10]
call fcn.00427a0f
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x419f80
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], esi
je 0x41a000
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp - 0x10]
call fcn.00427a0f
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x41a05d
mov esi, dword [ebp - 0x20]
cmp dword [esi - 0xc], 0
je 0x41a0dd
push 4
push dword [ebp - 0x10]
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x58], eax
cmp eax, 0x80000000
je 0x41a14e
lea eax, [ebp - 0x1c]
push eax
push 5
push dword [ebp - 0x10]
call fcn.00427a0f
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41a171
lea eax, [ebp - 0x18]
push eax
push 6
push dword [ebp - 0x10]
call fcn.00427a0f
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41a1e3
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.0041971f
test eax, eax
jne 0x41a207
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00408b20
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x419c86
push 0x471e98
lea ecx, [ebp - 0x34]
call fcn.0040893e
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 0x419ca4
and dword [ebp - 0x30], 0
jmp 0x419cb9
push 0x45d88c
lea ecx, [ebp - 0x18]
call fcn.0040b302
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.0040e15a
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x44]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
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 0x48a904
call fcn.00421d1c
cmp dword [ebp - 0x30], 0
jne 0x419d1a
mov dword [0x48a980], 1
add edi, 0xfffffff0
mov ecx, edi
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
add esi, 0xfffffff0
mov ecx, esi
call fcn.004025dc
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004025dc
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x419d5d
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x419d6a
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x48], 0xffffffff
jne 0x4199e7
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.00408b20
push dword [ebp + 0x10]
mov ecx, 0x48a96c
call fcn.00408b20
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x48a970
call fcn.00408b20
mov eax, dword [ebp - 0x50]
mov dword [0x48a978], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x48a97c], eax
jmp 0x419ed6
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.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x419df7
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x419e04
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, edi
call fcn.0043bfe2
ret 0xc
push 0x4728e4
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 0xa
jmp 0x419dd0
push 0x472c60
lea ecx, [ebp + 8]
call fcn.0040215a
push edi
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, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x419ebc
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x419ec9
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
jmp 0x419e32
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.0040e5e0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x419f6b
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x419f78
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push 0xd
pop esi
jmp 0x419ecb
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.0040e5e0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x419fec
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x419ff9
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, ebx
jmp 0x419ecb
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.0040e5e0
mov ecx, dword [ebp - 0x48]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [ebx - 0x10]
jmp 0x419f59
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.0040e5e0
mov ecx, dword [ebp - 0x44]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [ebx - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x41a0c8
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41a0d5
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, dword [ebp - 0x30]
jmp 0x419ecb
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.0040e5e0
mov ecx, dword [ebp - 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
lea ecx, [ebx - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], 0
je 0x41a145
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x419f6e
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.0040e5e0
mov ecx, dword [ebp - 0x30]
jmp 0x41a0fe
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.0040e5e0
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
lea ecx, [ebx - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], 0
je 0x41a1da
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41a0cb
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.0040e5e0
mov ecx, dword [ebp - 0x50]
jmp 0x41a193
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
lea ecx, [ebx - 0x10]
call fcn.004025dc
cmp dword [ebp - 0x10], 0
je 0x41a243
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x419ecb
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x419ecb