Function at 0x4314f1
Capabilities:
Reference sql statements

Disassembly:
push 0xdc
mov eax, 0x4b266d
call fcn.0046c44c
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.00414d4f
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.00452601
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.00484bc0
add esp, 0xc
mov ecx, 0x51b2b8
call fcn.00403251
test eax, eax
je 0x431b10
mov eax, dword [0x51b2bc]
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.0040a9fe
cmp eax, 0xffffffff
je 0x431a98
push 0
push str._UpdateSelection:
lea ecx, [ebp - 0x8c]
call fcn.0040a9fe
cmp eax, 0xffffffff
jne 0x431a98
call fcn.00452601
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402899
mov byte [ebp - 4], 5
and dword [ebp - 0x54], 0
push 0x4cd070
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.004415ae
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 0x43196a
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 0x4f1c74
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 0x43193d
push eax
push dword [ebp - 0x78]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x43193d
cmp dword [ebp - 0x68], eax
je 0x4316da
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 0x43193d
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.00452601
push eax
lea ecx, [ebp - 0xe4]
call fcn.00402899
call fcn.00452601
push eax
lea ecx, [ebp - 0xe0]
call fcn.00402899
call fcn.00452601
push eax
lea ecx, [ebp - 0xdc]
call fcn.00402899
call fcn.00452601
push eax
lea ecx, [ebp - 0xd8]
call fcn.00402899
lea ecx, [ebp - 0xc8]
call fcn.0043cb82
lea ecx, [ebp - 0xb0]
call fcn.0043cb82
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, 0x51aff4
push 1
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0041ead7
test eax, eax
jne 0x4317b9
push eax
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0041ead7
test eax, eax
je 0x43192c
call fcn.00452601
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.00447843
mov esi, dword [ebp - 0x98]
pop ecx
test eax, eax
jne 0x431924
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.00413402
cmp dword [ebp - 0x64], 0
je 0x431830
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 0x431906
push eax
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x431906
cmp dword [ebp - 0x6c], eax
je 0x431872
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 0x431906
call fcn.00452601
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.00447843
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.0040abbf
push str.Install
lea ecx, [ebp - 0x60]
call fcn.0040ac4f
test eax, eax
je 0x4319d7
push str.Skip
lea ecx, [ebp - 0x60]
call fcn.0040ac4f
test eax, eax
je 0x43197c
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 0x431915
push dword [ebp - 0x6c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x64], 0
je 0x431924
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0xe8]
call fcn.0043cd65
mov esi, dword [ebp - 0x88]
cmp dword [ebp - 0x68], 0
je 0x43194c
push dword [ebp - 0x68]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x78], 0
je 0x43195b
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 0x431a93
mov edi, dword [ebp - 0x58]
jmp 0x431604
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.00414600
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 [0x51afa0], 2
jmp 0x431a14
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.00414600
mov ecx, dword [ebp - 0x58]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [0x51afa0], 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 0x431a39
push dword [ebp - 0x6c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x64], 0
je 0x431a48
push dword [ebp - 0x64]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0xe8]
call fcn.0043cd65
cmp dword [ebp - 0x68], 0
je 0x431a6a
push dword [ebp - 0x68]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x78], 0
je 0x431a79
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 0x431e21
lea ecx, [edi - 0x10]
jmp 0x431b00
push 0x51afa0
call fcn.0042c9bd
push 0xa
lea eax, [ebp - 0x50]
push eax
push dword [0x51afa0]
call fcn.0048ba99
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.00414600
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 0x431bce
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.004476ab
pop ecx
test eax, eax
jne 0x431b55
push str.1324
lea ecx, [ebp - 0x84]
call fcn.0040ac4f
test eax, eax
jne 0x431b55
mov bl, 1
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x431bd8
push 0xa
lea eax, [ebp - 0x50]
push eax
push dword [0x51afa0]
call fcn.0048ba99
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.00414600
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 0x431cb0
cmp dword [0x51ae3c], 0
je 0x431bfc
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 0x431c84
cmp dword [0x51ae0c], 0
je 0x431c1d
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 0x431c84
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x58]
and dword [ebp - 0x58], 0
mov edx, 0x4ce610
push eax
lea eax, [ebp - 0x5c]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.iRandom
call fcn.004418af
add esp, 0xc
test eax, eax
jne 0x431c6e
cmp dword [ebp - 0x5c], eax
je 0x431c6e
cmp dword [ebp - 0x5c], 0x1869f
jne 0x431cb0
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 0x431c84
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.00414600
mov byte [ebp - 4], 3
add esp, 0x14
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [0x51afa0], 1
call fcn.00452601
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.004476ab
pop ecx
test eax, eax
jne 0x431cfb
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
je 0x431cfb
mov bl, 1
jmp 0x431cfd
xor bl, bl
mov dword [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x431e1b
mov eax, dword [0x51aeb8]
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.004432df
test eax, eax
je 0x431e13
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.00414d4f
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 [0x51afa4], 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.004476ab
pop ecx
test eax, eax
jne 0x431dc5
push str.1324
lea ecx, [ebp - 0x84]
call fcn.0040ac4f
test eax, eax
jne 0x431dc5
mov bl, 1
jmp 0x431dc7
xor bl, bl
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x431e09
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x431e13
mov dword [0x51afa0], 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.0046c3f6
ret 4