Function at 0x466320
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eff9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
push str.InitUpdateData...
lea ecx, [ebp - 0x3c]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov ecx, 0x4a4b78
call fcn.00401080
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00407d50
mov dword [ebp - 0xa0], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp - 0xa0]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x40]
call fcn.00405260
mov edx, dword [ebp - 0x10]
sub edx, 0xffffffff
neg edx
sbb edx, edx
and edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.00407e30
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x466a90
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00407d50
mov dword [ebp - 0xa4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xa4]
call fcn.00401fc0
push eax
call fcn.00450d10
add esp, 8
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
call fcn.00405260
cmp dword [ebp - 0x44], 0
je 0x466a58
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00407d50
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x9c]
add ecx, 4
call fcn.00401e00
push eax
push 0
mov ecx, dword [ebp - 0xa8]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiOpenProductW
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x4c]
call fcn.00405260
cmp dword [ebp - 0x1c], 0
jne 0x4669e3
lea ecx, [ebp - 0x20]
call fcn.004051c0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
push edx
push 0x4a4b40
mov ecx, dword [ebp - 0x9c]
add ecx, 4
call fcn.00401fc0
push eax
call fcn.0044a3d0
add esp, 0xc
test eax, eax
jne 0x46651e
push 0x47b4f0
lea eax, [ebp - 0x20]
push eax
call fcn.00403330
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46651e
push str.RevertToAUM_property_found_set_in_manifest.
lea ecx, [ebp - 0x50]
call fcn.00401ee0
mov byte [ebp - 4], 3
push 0x3ea
lea edx, [ebp - 0x50]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00405260
mov dword [ebp - 0x54], 0x3ea
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x54]
jmp 0x466ae8
mov ecx, 0x4a4b78
call fcn.00407d90
test eax, eax
jne 0x466539
mov ecx, dword [ebp - 0x9c]
call fcn.004659c0
jmp 0x466566
push str.Restarted__skipping_InitArmUpdate.
lea ecx, [ebp - 0x58]
call fcn.00401ee0
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00405260
push str.SELECT__FileSequences__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x2c]
call fcn.00401ee0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004011b0
push str._AND__ProductVersion_
lea ecx, [ebp - 0x2c]
call fcn.004046f0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004011b0
push 0x47b638
lea ecx, [ebp - 0x2c]
call fcn.004046f0
lea ecx, [ebp - 0x24]
call fcn.00404950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00404950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 4
call fcn.00401fc0
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x466669
push 0x47b63c
lea ecx, [ebp - 0x60]
call fcn.00401ee0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x5c]
jmp 0x466ae8
push 0
lea ecx, [ebp - 0x24]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4666fb
push 0x47b668
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x64]
jmp 0x466ae8
lea ecx, [ebp - 0x28]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x24]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x466930
lea ecx, [ebp - 0x34]
call fcn.004051c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
push ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.00403350
movzx edx, al
test edx, edx
je 0x4667e1
push 0x47b690
lea ecx, [ebp - 0x6c]
call fcn.00401ee0
mov byte [ebp - 4], 0xb
push 0
lea eax, [ebp - 0x6c]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.00405260
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x70]
jmp 0x466ae8
push str.File_list_in_Manifest:
lea ecx, [ebp - 0x74]
call fcn.00401ee0
mov byte [ebp - 4], 0xc
push 0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x74]
push edx
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
call fcn.00405260
lea ecx, [ebp - 0x30]
call fcn.004051c0
mov byte [ebp - 4], 0xd
push 0x3b
lea ecx, [ebp - 0x34]
call fcn.00406990
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x466881
lea ecx, [ebp - 0x34]
call fcn.004027a0
mov ecx, dword [ebp - 0x38]
add ecx, 1
sub eax, ecx
push eax
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401330
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00402990
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x78]
call fcn.00405260
jmp 0x46688d
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
call fcn.00402990
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.00464b00
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.00464320
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x9c]
call fcn.00463800
mov ecx, dword [ebp - 0x9c]
call fcn.00463e60
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x30]
call fcn.00405260
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x7c]
jmp 0x466ae8
push str.No_updates_in_Manifest_for_current_product_configuration.
lea ecx, [ebp - 0x80]
call fcn.00401ee0
mov byte [ebp - 4], 0xf
push 0
lea eax, [ebp - 0x80]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.00405260
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x84]
jmp 0x466ae8
push 0x47b7e4
lea ecx, [ebp - 0x8c]
call fcn.00401ee0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00407d50
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 1
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00405260
jmp 0x466a8e
push 0x47b810
lea ecx, [ebp - 0x90]
call fcn.00401ee0
mov byte [ebp - 4], 0x12
push 0
lea eax, [ebp - 0x90]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00405260
jmp 0x466ac9
push 0x47b734
lea ecx, [ebp - 0x94]
call fcn.00401ee0
mov byte [ebp - 4], 0x13
push 0x3e8
lea ecx, [ebp - 0x94]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00405260
mov dword [ebp - 0x98], 0xd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e10
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8