Function at 0x42fdb1
Capabilities:
Reference sql statements

Disassembly:
push 0xdc
mov eax, 0x4aedfd
call fcn.00468fdc
mov esi, ecx
mov dword [ebp - 0x88], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
xor ebx, ebx
mov dword [ebp - 0x58], edi
push str.SetUpdateSelection..
mov dword [ebp - 0x5c], ebx
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
pop ecx
call fcn.004137d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str._setting_update_selection_to
lea ecx, [ebp - 0x74]
call fcn.00402829
push str.UPDATE_SELECTION_LATEST
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 1
call fcn.00402829
mov byte [ebp - 4], 2
call fcn.0044f181
push eax
lea ecx, [ebp - 0x84]
call fcn.00402899
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.00481750
add esp, 0xc
mov ecx, 0x5152ac
call fcn.00403251
test eax, eax
je 0x4303d0
mov eax, dword [0x5152b0]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
mov ebx, eax
pop ecx
lea eax, [ebx + 0x10]
mov dword [ebp - 0x8c], eax
push 0
push str._ArmUpdate
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.0040944e
cmp eax, 0xffffffff
je 0x430358
push 0
push str._UpdateSelection:
lea ecx, [ebp - 0x8c]
call fcn.0040944e
cmp eax, 0xffffffff
jne 0x430358
call fcn.0044f181
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402899
mov byte [ebp - 4], 5
and dword [ebp - 0x54], 0
push 0x4c9020
lea ecx, [ebp - 0x90]
call fcn.00402829
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x54]
mov edx, edi
push eax
lea ecx, [ebp - 0x9c]
call fcn.0043f91b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00402e14
mov ecx, dword [ebp - 0x9c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x90]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x5c]
cmp dword [edi - 0xc], 0
je 0x43022a
push str.SELECT__UpdateID____Size__FROM__UpdateFiles__WHERE__File_
lea ecx, [ebp - 0x70]
call fcn.00402829
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
push dword [edi - 0xc]
push edi
call fcn.004025c6
push 0x4ec9dc
lea ecx, [ebp - 0x70]
call fcn.0040259d
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xa
and dword [ebp - 0x78], 0
push eax
push dword [ebp - 0x70]
push dword [esi + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x4301fd
push eax
push dword [ebp - 0x78]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x4301fd
cmp dword [ebp - 0x68], eax
je 0x42ff9a
push dword [ebp - 0x68]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x4301fd
push 2
push dword [ebp - 0x68]
call dword [sym.imp.msi.dll_MsiRecordReadStream]
mov esi, eax
mov dword [ebp - 0xe8], vtable.CFileObjectData.0
call fcn.0044f181
push eax
lea ecx, [ebp - 0xe4]
call fcn.00402899
call fcn.0044f181
push eax
lea ecx, [ebp - 0xe0]
call fcn.00402899
call fcn.0044f181
push eax
lea ecx, [ebp - 0xdc]
call fcn.00402899
call fcn.0044f181
push eax
lea ecx, [ebp - 0xd8]
call fcn.00402899
lea ecx, [ebp - 0xc8]
call fcn.0043aef2
lea ecx, [ebp - 0xb0]
call fcn.0043aef2
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xe4]
call fcn.00402e14
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0x94], eax
mov esi, 0x514fec
push 1
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0041d557
test eax, eax
jne 0x430079
push eax
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0041d557
test eax, eax
je 0x4301ec
call fcn.0044f181
push eax
lea ecx, [ebp - 0x98]
call fcn.00402899
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x68]
xor edx, edx
push eax
inc edx
call fcn.00445ab6
mov esi, dword [ebp - 0x98]
pop ecx
test eax, eax
jne 0x4301e4
and dword [ebp - 0x64], 0
and dword [ebp - 0x6c], 0
push str.SELECT__Action__FROM__UpdateConditions__WHERE__UpdateID_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.0040286d
push dword [esi - 0xc]
lea ecx, [ebp - 0x70]
push esi
call fcn.004025c6
push str._AND__Condition_RandomInstallLatest
lea ecx, [ebp - 0x70]
call fcn.00411e9f
cmp dword [ebp - 0x64], 0
je 0x4300f0
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x64]
and dword [ebp - 0x64], 0
push eax
push dword [ebp - 0x70]
push dword [ecx + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x4301c6
push eax
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x4301c6
cmp dword [ebp - 0x6c], eax
je 0x430132
push dword [ebp - 0x6c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x4301c6
call fcn.0044f181
push eax
lea ecx, [ebp - 0x60]
call fcn.00402899
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x6c]
xor edx, edx
push eax
inc edx
call fcn.00445ab6
lea ecx, [ebp - 0x80]
mov dword [esp], str.Found__file_after_relaunch:
call fcn.00402829
push edi
push 6
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x10
call fcn.0040960f
push str.Install
lea ecx, [ebp - 0x60]
call fcn.0040969f
test eax, eax
je 0x430297
push str.Skip
lea ecx, [ebp - 0x60]
call fcn.0040969f
test eax, eax
je 0x43023c
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x6c], 0
je 0x4301d5
push dword [ebp - 0x6c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x64], 0
je 0x4301e4
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0xe8]
call fcn.0043b0d6
mov esi, dword [ebp - 0x88]
cmp dword [ebp - 0x68], 0
je 0x43020c
push dword [ebp - 0x68]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x78], 0
je 0x43021b
push dword [ebp - 0x78]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x54], 0xffffffff
je 0x430353
mov edi, dword [ebp - 0x58]
jmp 0x42fec4
push str.UPDATE_SELECTION_PREVIOUS
lea ecx, [ebp - 0x54]
call fcn.00402829
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004024b8
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
push ecx
push 2
mov edx, eax
pop ecx
call fcn.004130a0
mov ecx, dword [ebp - 0x58]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [0x514f98], 2
jmp 0x4302d4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004024b8
push 0
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 0x11
push edx
push 2
mov edx, eax
pop ecx
call fcn.004130a0
mov ecx, dword [ebp - 0x58]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [0x514f98], 1
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x6c], 0
je 0x4302f9
push dword [ebp - 0x6c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x64], 0
je 0x430308
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0xe8]
call fcn.0043b0d6
cmp dword [ebp - 0x68], 0
je 0x43032a
push dword [ebp - 0x68]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x78], 0
je 0x430339
push dword [ebp - 0x78]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
mov ecx, ebx
jmp 0x4306e1
lea ecx, [edi - 0x10]
jmp 0x4303c0
push 0x514f98
call fcn.0042b27d
push 0xa
lea eax, [ebp - 0x50]
push eax
push dword [0x514f98]
call fcn.00488629
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x54]
push eax
call fcn.00402829
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x58]
push str.Commandline_param:
push eax
call fcn.004023f1
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
push ecx
push 2
mov edx, eax
pop ecx
call fcn.004130a0
mov ecx, dword [ebp - 0x58]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 3
mov ecx, ebx
jmp 0x43048e
push str.DisableUpdateSelection
lea ecx, [ebp - 0x54]
call fcn.00402829
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x84]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x54]
push eax
mov dword [ebp - 0x5c], 1
call fcn.0044591e
pop ecx
test eax, eax
jne 0x430415
push str.1324
lea ecx, [ebp - 0x84]
call fcn.0040969f
test eax, eax
jne 0x430415
mov bl, 1
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x430498
push 0xa
lea eax, [ebp - 0x50]
push eax
push dword [0x514f98]
call fcn.00488629
add esp, 0xc
lea ecx, [ebp - 0x54]
push str.UPDATE_SELECTION_UNKNOWN
call fcn.00402829
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push str.found_DisableUpdateSelection_property:
push eax
call fcn.004023f1
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x18
push ecx
push 2
mov edx, eax
pop ecx
call fcn.004130a0
mov ecx, dword [ebp - 0x58]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x430570
cmp dword [0x514e34], 0
je 0x4304bc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push str.RUM_mode:
push eax
call fcn.004023f1
mov byte [ebp - 4], 0x19
jmp 0x430544
cmp dword [0x514e04], 0
je 0x4304dd
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push str.manual_mode:
push eax
call fcn.004023f1
mov byte [ebp - 4], 0x1a
jmp 0x430544
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x58]
and dword [ebp - 0x58], 0
mov edx, 0x4ca238
push eax
lea eax, [ebp - 0x5c]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.iRandom
call fcn.0043fc1c
add esp, 0xc
test eax, eax
jne 0x43052e
cmp dword [ebp - 0x5c], eax
je 0x43052e
cmp dword [ebp - 0x5c], 0x1869f
jne 0x430570
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push str.iRandom_registry_set_to_99999:
push eax
call fcn.004023f1
mov byte [ebp - 4], 0x1c
jmp 0x430544
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push str.iRandom_registry_not_set:
push eax
call fcn.004023f1
mov byte [ebp - 4], 0x1b
push 0
lea ecx, [ebp - 0x7c]
mov edx, eax
push ecx
push 2
pop ecx
call fcn.004130a0
mov byte [ebp - 4], 3
add esp, 0x14
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [0x514f98], 1
call fcn.0044f181
push eax
lea ecx, [ebp - 0x60]
call fcn.00402899
push str.CU_Version
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1d
call fcn.00402829
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x60]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x54]
push eax
mov dword [ebp - 0x5c], 2
call fcn.0044591e
pop ecx
test eax, eax
jne 0x4305bb
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
je 0x4305bb
mov bl, 1
jmp 0x4305bd
xor bl, bl
mov dword [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x4306db
mov eax, dword [0x514eb0]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x60]
call fcn.00441650
test eax, eax
je 0x4306d3
push str.Critical_update_initialized__manifest_version_is_higher_than_installed_version
lea ecx, [ebp - 0x54]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
pop ecx
call fcn.004137d1
pop ecx
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.DisableStaggardOverwriteByCU
lea ecx, [ebp - 0x54]
mov dword [0x514f9c], 1
call fcn.00402829
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x54]
push eax
mov dword [ebp - 0x5c], 4
mov ecx, dword [ecx + 4]
call fcn.0044591e
pop ecx
test eax, eax
jne 0x430685
push str.1324
lea ecx, [ebp - 0x84]
call fcn.0040969f
test eax, eax
jne 0x430685
mov bl, 1
jmp 0x430687
xor bl, bl
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x4306c9
push str.CU_will_not_overwrite_staggard_condition
lea ecx, [ebp - 0x54]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 0x22
pop ecx
call fcn.004137d1
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4306d3
mov dword [0x514f98], 1
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x7c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.00468f86
ret 4