Function at 0x41ae31
Capabilities:
Reference sql statements

Disassembly:
push 0x50
mov eax, 0x457297
call fcn.0043dd63
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.0040ece1
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.0042a9e0
push eax
lea ecx, [ebp - 0x24]
call fcn.00410472
mov dword [ebp - 4], 1
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x34]
call fcn.00410472
mov byte [ebp - 4], 2
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00410472
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], esi
push 0x473d28
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.00424d32
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00408fd2
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 0x41b241
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 0x47640c
lea ecx, [ebp - 0x28]
call fcn.00408e0c
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 0x41b287
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
jne 0x41b302
cmp dword [ebp - 0x10], esi
je 0x41af7b
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 0x41b218
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410472
mov byte [ebp - 4], 0xb
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00410472
mov byte [ebp - 4], 0xc
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00410472
mov byte [ebp - 4], 0xd
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00410472
mov byte [ebp - 4], 0xe
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x38]
call fcn.00410472
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
push 1
push dword [ebp - 0x10]
call fcn.0042987c
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x41b315
mov edi, dword [ebp - 0x38]
cmp dword [edi - 0xc], esi
je 0x41b3c6
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x30], esi
call fcn.0041d17e
cmp eax, esi
jne 0x41b3f2
cmp dword [ebp - 0x30], esi
je 0x41b06c
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 0x41b218
lea eax, [ebp - 0x2c]
push eax
push 2
push dword [ebp - 0x10]
call fcn.0042987c
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x41b448
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], esi
je 0x41b4c8
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp - 0x10]
call fcn.0042987c
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x41b525
mov esi, dword [ebp - 0x20]
cmp dword [esi - 0xc], 0
je 0x41b5a5
push 4
push dword [ebp - 0x10]
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x58], eax
cmp eax, 0x80000000
je 0x41b616
lea eax, [ebp - 0x1c]
push eax
push 5
push dword [ebp - 0x10]
call fcn.0042987c
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41b639
lea eax, [ebp - 0x18]
push eax
push 6
push dword [ebp - 0x10]
call fcn.0042987c
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41b6ab
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.0041abe7
test eax, eax
jne 0x41b6cf
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00408fd2
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x41b14e
push 0x473d28
lea ecx, [ebp - 0x34]
call fcn.00408e0c
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 0x41b16c
and dword [ebp - 0x30], 0
jmp 0x41b181
push 0x45f9fc
lea ecx, [ebp - 0x18]
call fcn.00408d87
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.0040e85b
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 0x48e90c
call fcn.004235d1
cmp dword [ebp - 0x30], 0
jne 0x41b1e2
mov dword [0x48e990], 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 0x41b225
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b232
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 0x41aeaf
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.00408fd2
push dword [ebp + 0x10]
mov ecx, 0x48e97c
call fcn.00408fd2
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x48e980
call fcn.00408fd2
mov eax, dword [ebp - 0x50]
mov dword [0x48e988], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x48e98c], eax
jmp 0x41b39e
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.0040ece1
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x41b2bf
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b2cc
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.0043de3b
ret 0xc
push 0x476094
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 0xa
jmp 0x41b298
push 0x476410
lea ecx, [ebp + 8]
call fcn.0040215a
push edi
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.0040ece1
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 0x41b384
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b391
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 0x41b2fa
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.0040ece1
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 0x41b433
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b440
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push 0xd
pop esi
jmp 0x41b393
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.0040ece1
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 0x41b4b4
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b4c1
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, ebx
jmp 0x41b393
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.0040ece1
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 0x41b421
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.0040ece1
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 0x41b590
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b59d
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, dword [ebp - 0x30]
jmp 0x41b393
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.0040ece1
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 0x41b60d
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41b436
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.0040ece1
mov ecx, dword [ebp - 0x30]
jmp 0x41b5c6
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.0040ece1
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 0x41b6a2
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41b593
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.0040ece1
mov ecx, dword [ebp - 0x50]
jmp 0x41b65b
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 0x41b70b
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x41b393
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x41b393