Function at 0x423ad8
Capabilities:
Reference sql statements

Disassembly:
push 0x50
mov eax, 0x46c4ee
call fcn.00452eb4
push str.InitUpdateFiles...
lea ecx, [ebp - 0x44]
call fcn.004012e2
xor esi, esi
push esi
lea eax, [ebp - 0x44]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x34]
call fcn.004013a1
mov dword [ebp - 4], 1
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x38]
call fcn.004013a1
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], esi
push 0x478b44
lea ecx, [ebp - 0x48]
call fcn.004012e2
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x48]
lea edi, [ebp - 0x54]
call fcn.0043438f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004077b3
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], esi
je 0x423ee9
push str.SELECT__UpdateID____Type____URL____Size____Args____AllowNotElevatedInstall__FROM__UpdateFiles__WHERE__File_
lea ecx, [ebp - 0x2c]
call fcn.004012e2
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x34]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00401163
push 0x49839c
lea ecx, [ebp - 0x2c]
call fcn.00407601
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], esi
push eax
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
jne 0x42407d
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
jne 0x4240ea
cmp dword [ebp - 0x10], esi
je 0x423c0a
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 0x423ec0
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x30]
call fcn.004013a1
mov byte [ebp - 4], 0xa
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x28]
call fcn.004013a1
mov byte [ebp - 4], 0xb
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x20]
call fcn.004013a1
mov byte [ebp - 4], 0xc
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x24]
call fcn.004013a1
mov byte [ebp - 4], 0xd
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x40]
call fcn.004013a1
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xe
push 1
push dword [ebp - 0x10]
call fcn.0043a023
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x4240fd
mov ebx, dword [ebp - 0x40]
cmp dword [ebx - 0xc], esi
je 0x4241a3
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x4c], 1
call fcn.00426d5a
cmp eax, esi
jne 0x4241cf
cmp dword [ebp - 0x4c], esi
jne 0x423d01
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x423ec0
lea eax, [ebp - 0x30]
push eax
push 2
push dword [ebp - 0x10]
call fcn.0043a023
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x424225
mov edi, dword [ebp - 0x30]
cmp dword [edi - 0xc], esi
je 0x424258
lea eax, [ebp - 0x28]
push eax
push 3
push dword [ebp - 0x10]
call fcn.0043a023
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, esi
jne 0x4242b5
mov esi, dword [ebp - 0x28]
cmp dword [esi - 0xc], 0
je 0x424335
push 4
push dword [ebp - 0x10]
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x4c], eax
cmp eax, 0x80000000
je 0x4243a6
lea eax, [ebp - 0x20]
push eax
push 5
push dword [ebp - 0x10]
call fcn.0043a023
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 6
push dword [ebp - 0x10]
call fcn.0043a023
mov ecx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call fcn.004077b3
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], 0
je 0x423dad
push 0x478b44
lea ecx, [ebp - 0x38]
call fcn.00407601
mov eax, dword [ebp - 0x34]
push dword [eax - 0xc]
lea ecx, [ebp - 0x38]
push eax
call fcn.00401163
push str.New_file_object:
lea ecx, [ebp - 0x50]
call fcn.004012e2
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
push 1
mov byte [ebp - 4], 0x16
call fcn.00411336
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [0x4b77ac], 0
je 0x423e56
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x44]
call fcn.004013a1
lea eax, [ebp - 0x44]
push eax
push 0x4b7c0c
mov byte [ebp - 4], 0x17
call fcn.004160db
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
je 0x423e47
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x423e38
push 0x4795f4
lea ecx, [ebp - 0x20]
call fcn.00407601
mov eax, dword [ebp - 0x44]
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
push eax
call fcn.00401163
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x4b77dc
call fcn.004301a8
push 0x4771e4
lea ecx, [ebp - 0x24]
call fcn.004074fe
test eax, eax
je 0x423e8e
mov dword [0x4b78ac], 1
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x423ecd
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x423eda
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x54], 0xffffffff
jne 0x423b3e
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.004077b3
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
je 0x424186
push str.get_update_values_for_Update_ID:
lea ecx, [ebp + 0xc]
call fcn.004012e2
push esi
mov byte [ebp - 4], 0x18
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.00411336
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x24]
call fcn.004013a1
mov byte [ebp - 4], 0x19
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x28]
call fcn.004013a1
mov byte [ebp - 4], 0x1a
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x30]
call fcn.004013a1
mov byte [ebp - 4], 0x1b
call fcn.0043f3c0
push eax
lea ecx, [ebp + 0xc]
call fcn.004013a1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push str.SELECT__FROM__Update__WHERE__UpdateID_
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
call fcn.004012e2
push 0x49839c
mov byte [ebp - 4], 0x1f
push dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
call fcn.00407458
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
call fcn.00401103
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x1c], esi
je 0x423fda
push dword [ebp - 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x3c]
mov dword [ebp - 0x1c], esi
push eax
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
je 0x4243c9
push 0x497b9c
lea ecx, [ebp - 0x44]
call fcn.004012e2
push edi
lea eax, [ebp - 0x44]
push eax
push 1
mov byte [ebp - 4], 0x21
call fcn.00411806
mov ecx, dword [ebp - 0x44]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x18], esi
je 0x42403d
push dword [ebp - 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x1c], esi
je 0x42404a
push dword [ebp - 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov esi, edi
jmp 0x424186
push 0x497b9c
lea ecx, [ebp + 0x10]
call fcn.004012e2
mov byte [ebp - 4], 8
push edi
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.00411806
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x4240b5
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x4240c2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
mov eax, edi
call fcn.00452f8c
ret 0xc
push 0x497ba8
lea ecx, [ebp + 0x10]
call fcn.004012e2
mov byte [ebp - 4], 9
jmp 0x42408e
push 0x4983a0
lea ecx, [ebp + 0x10]
call fcn.004012e2
push edi
lea eax, [ebp + 0x10]
push eax
push 1
mov byte [ebp - 4], 0xf
call fcn.00411806
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x42416c
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x424179
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
jmp 0x4240e2
push str.Empty_UpdateID
lea ecx, [ebp + 8]
call fcn.004012e2
push 0xd
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.00411806
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x424210
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x42421d
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push 0xd
pop esi
jmp 0x42417b
push str.MGRS_Type_
lea ecx, [ebp + 0xc]
call fcn.004012e2
push edi
lea eax, [ebp + 0xc]
push eax
push 1
mov byte [ebp - 4], 0x11
call fcn.00411806
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebx - 0x10]
jmp 0x42412e
push str.Empty_Type
lea ecx, [ebp - 0x54]
call fcn.004012e2
push 0xd
lea eax, [ebp - 0x54]
push eax
push 1
mov byte [ebp - 4], 0x12
call fcn.00411806
mov ecx, dword [ebp - 0x54]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [edi - 0x10]
jmp 0x4241fe
push str.MGRS_URL_
lea ecx, [ebp - 0x50]
call fcn.004012e2
mov byte [ebp - 4], 0x13
push dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
push eax
push 1
call fcn.00411806
mov ecx, dword [ebp - 0x50]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x424320
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x42432d
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, dword [ebp - 0x4c]
jmp 0x42417b
push str.Empty_URL
lea ecx, [ebp - 0x4c]
call fcn.004012e2
push 0xd
lea eax, [ebp - 0x4c]
push eax
push 1
mov byte [ebp - 4], 0x14
call fcn.00411806
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
cmp dword [ebp - 0x10], 0
je 0x42439d
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], 0
jmp 0x424213
push str.MRGI_Size_
lea ecx, [ebp - 0x48]
call fcn.004012e2
push 0xd
lea eax, [ebp - 0x48]
push eax
push 1
mov byte [ebp - 4], 0x15
call fcn.00411806
mov ecx, dword [ebp - 0x48]
jmp 0x424356
push esi
push dword [ebp - 0x1c]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x4243fd
push 0x497ba8
lea ecx, [ebp - 0x40]
call fcn.004012e2
push edi
lea eax, [ebp - 0x40]
push eax
push 1
mov byte [ebp - 4], 0x22
call fcn.00411806
mov ecx, dword [ebp - 0x40]
jmp 0x42401a
cmp dword [ebp - 0x18], esi
je 0x42440a
push dword [ebp - 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov edi, eax
cmp edi, esi
je 0x424444
push 0x497bb0
lea ecx, [ebp - 0x20]
call fcn.004012e2
push edi
lea eax, [ebp - 0x20]
push eax
push 1
mov byte [ebp - 4], 0x23
call fcn.00411806
mov ecx, dword [ebp - 0x20]
jmp 0x42401a
lea eax, [ebp - 0x30]
push eax
push 2
push dword [ebp - 0x18]
call fcn.0043a023
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x424480
push str.MGRS_MoreInfoURL_
lea ecx, [ebp - 0x58]
call fcn.004012e2
push edi
lea eax, [ebp - 0x58]
push eax
push 1
mov byte [ebp - 4], 0x24
call fcn.00411806
mov ecx, dword [ebp - 0x58]
jmp 0x42401a
lea eax, [ebp - 0x24]
push eax
push 4
push dword [ebp - 0x18]
call fcn.0043a023
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 5
push dword [ebp - 0x18]
call fcn.0043a023
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 6
push dword [ebp - 0x18]
call fcn.0043a023
add esp, 0xc
push 7
push dword [ebp - 0x18]
call sub.msi.dll_MsiRecordReadStream
push dword [ebp + 0x10]
mov ecx, 0x4b7880
mov ebx, eax
call fcn.004077b3
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x4b7884
call fcn.004077b3
mov edi, 0x478e3c
push edi
lea ecx, [ebp - 0x24]
call fcn.004074fe
neg eax
sbb eax, eax
neg eax
push edi
lea ecx, [ebp - 0x28]
mov dword [0x4b7888], eax
call fcn.004074fe
neg eax
sbb eax, eax
neg eax
mov dword [0x4b788c], eax
lea eax, [ebp + 0xc]
push eax
mov ecx, 0x4b7894
call fcn.004077b3
cmp ebx, esi
jle 0x42451f
mov dword [0x4b7890], ebx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x18], esi
je 0x424537
push dword [ebp - 0x18]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x1c], esi
je 0x424544
push dword [ebp - 0x1c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x24]
jmp 0x42417e