Function at 0x41aebb
Capabilities:
Reference sql statements

Disassembly:
push 0x50
mov eax, 0x45752d
call fcn.0043dfc3
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.0040ed4d
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.0042ac34
push eax
lea ecx, [ebp - 0x24]
call fcn.004104de
mov dword [ebp - 4], 1
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x34]
call fcn.004104de
mov byte [ebp - 4], 2
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x3c]
call fcn.004104de
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], esi
push 0x473d40
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.00424e8a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00408fde
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 0x41b2cb
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 0x476424
lea ecx, [ebp - 0x28]
call fcn.00408e18
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 0x41b311
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
jne 0x41b38c
cmp dword [ebp - 0x10], esi
je 0x41b005
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 0x41b2a2
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x2c]
call fcn.004104de
mov byte [ebp - 4], 0xb
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x20]
call fcn.004104de
mov byte [ebp - 4], 0xc
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x1c]
call fcn.004104de
mov byte [ebp - 4], 0xd
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x18]
call fcn.004104de
mov byte [ebp - 4], 0xe
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x38]
call fcn.004104de
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
push 1
push dword [ebp - 0x10]
call fcn.00429ad1
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x41b39f
mov edi, dword [ebp - 0x38]
cmp dword [edi - 0xc], esi
je 0x41b450
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x30], esi
call fcn.0041d208
cmp eax, esi
jne 0x41b47c
cmp dword [ebp - 0x30], esi
je 0x41b0f6
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 0x41b2a2
lea eax, [ebp - 0x2c]
push eax
push 2
push dword [ebp - 0x10]
call fcn.00429ad1
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x41b4d2
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx - 0xc], esi
je 0x41b552
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp - 0x10]
call fcn.00429ad1
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x41b5af
mov esi, dword [ebp - 0x20]
cmp dword [esi - 0xc], 0
je 0x41b62f
push 4
push dword [ebp - 0x10]
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x58], eax
cmp eax, 0x80000000
je 0x41b6a0
lea eax, [ebp - 0x1c]
push eax
push 5
push dword [ebp - 0x10]
call fcn.00429ad1
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41b6c3
lea eax, [ebp - 0x18]
push eax
push 6
push dword [ebp - 0x10]
call fcn.00429ad1
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41b735
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.0041ac71
test eax, eax
jne 0x41b759
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00408fde
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x41b1d8
push 0x473d40
lea ecx, [ebp - 0x34]
call fcn.00408e18
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 0x41b1f6
and dword [ebp - 0x30], 0
jmp 0x41b20b
push 0x45f9ec
lea ecx, [ebp - 0x18]
call fcn.00408d93
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.0040e8c7
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.00423729
cmp dword [ebp - 0x30], 0
jne 0x41b26c
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 0x41b2af
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b2bc
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 0x41af39
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.00408fde
push dword [ebp + 0x10]
mov ecx, 0x48e97c
call fcn.00408fde
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x48e980
call fcn.00408fde
mov eax, dword [ebp - 0x50]
mov dword [0x48e988], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x48e98c], eax
jmp 0x41b428
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.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x10], esi
je 0x41b349
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b356
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.0043e09b
ret 0xc
push 0x4760ac
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 0xa
jmp 0x41b322
push 0x476428
lea ecx, [ebp + 8]
call fcn.0040215a
push edi
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, 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 0x41b40e
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b41b
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 0x41b384
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.0040ed4d
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 0x41b4bd
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b4ca
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push 0xd
pop esi
jmp 0x41b41d
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.0040ed4d
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 0x41b53e
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b54b
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, ebx
jmp 0x41b41d
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.0040ed4d
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 0x41b4ab
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.0040ed4d
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 0x41b61a
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x41b627
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, dword [ebp - 0x30]
jmp 0x41b41d
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.0040ed4d
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 0x41b697
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41b4c0
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.0040ed4d
mov ecx, dword [ebp - 0x30]
jmp 0x41b650
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.0040ed4d
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 0x41b72c
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x41b61d
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.0040ed4d
mov ecx, dword [ebp - 0x50]
jmp 0x41b6e5
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 0x41b795
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x41b41d
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x41b41d