Function at 0x45b840
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4644c9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
push str.InitUpdateData...
lea ecx, [ebp - 0x44]
call fcn.00401a60
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00405030
mov ecx, 0x498b90
call fcn.00401080
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00407d20
mov dword [ebp - 0xb0], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp - 0xb0]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x48]
call fcn.00405030
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.00407e20
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x45c08b
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00407d20
mov dword [ebp - 0xb4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xb4]
call fcn.00404b10
push eax
call fcn.00447ff0
add esp, 8
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x50]
call fcn.00405030
cmp dword [ebp - 0x4c], 0
je 0x45c053
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00407d20
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xac]
add ecx, 4
call fcn.00401960
push eax
push 0
mov ecx, dword [ebp - 0xb8]
call fcn.00404b10
push eax
call sub.msi.dll_MsiOpenProductW
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x54]
call fcn.00405030
cmp dword [ebp - 0x1c], 0
jne 0x45bfde
lea ecx, [ebp - 0x20]
call fcn.00404f90
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
push edx
push 0x498b58
mov ecx, dword [ebp - 0xac]
add ecx, 4
call fcn.00404b10
push eax
call fcn.00441670
add esp, 0xc
test eax, eax
jne 0x45ba3e
push 0x46f9a8
lea eax, [ebp - 0x20]
push eax
call fcn.00407db0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x45ba3e
push str.RevertToAUM_property_found_set_in_manifest.
lea ecx, [ebp - 0x58]
call fcn.00401a60
mov byte [ebp - 4], 3
push 0x3ea
lea edx, [ebp - 0x58]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00405030
mov dword [ebp - 0x5c], 0x3ea
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x5c]
jmp 0x45c0e3
mov ecx, 0x498b90
call fcn.004031e0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.00407d00
test eax, eax
je 0x45bafb
lea ecx, [ebp - 0x34]
call fcn.00404f90
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push eax
push 0x46fa20
mov ecx, 0x498b74
call fcn.00404b10
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00440840
add esp, 0x10
test eax, eax
je 0x45baef
push str.Updates_are_not_allowed_for_pre_release_product
lea ecx, [ebp - 0x60]
call fcn.00401a60
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x60]
push ecx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00405030
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x64]
jmp 0x45c0e3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00405030
mov ecx, 0x498b90
call fcn.00407d60
test eax, eax
jne 0x45bb16
mov ecx, dword [ebp - 0xac]
call fcn.0045aee0
jmp 0x45bb43
push str.Restarted__skipping_InitArmUpdate.
lea ecx, [ebp - 0x68]
call fcn.00401a60
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x68]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00405030
push str.SELECT__FileSequences__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x2c]
call fcn.00401a60
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004010f0
push str._AND__ProductVersion_
lea ecx, [ebp - 0x2c]
call fcn.00404330
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004010f0
push 0x46fb68
lea ecx, [ebp - 0x2c]
call fcn.00404330
lea ecx, [ebp - 0x24]
call fcn.004019b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004019b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00401960
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 4
call fcn.00404b10
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45bc46
push 0x46fb6c
lea ecx, [ebp - 0x70]
call fcn.00401a60
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x70]
push eax
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00405030
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00401990
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x6c]
jmp 0x45c0e3
push 0
lea ecx, [ebp - 0x24]
call fcn.00404b10
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45bcd8
push 0x46fb98
lea ecx, [ebp - 0x78]
call fcn.00401a60
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x78]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
call fcn.00405030
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00401990
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x74]
jmp 0x45c0e3
lea ecx, [ebp - 0x28]
call fcn.00401960
push eax
lea ecx, [ebp - 0x24]
call fcn.00404b10
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x45bf22
lea ecx, [ebp - 0x3c]
call fcn.00404f90
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x3c]
call fcn.00402e40
movzx ecx, al
test ecx, ecx
je 0x45bdbe
push 0x46fbc0
lea ecx, [ebp - 0x7c]
call fcn.00401a60
mov byte [ebp - 4], 0xd
push 0
lea edx, [ebp - 0x7c]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x7c]
call fcn.00405030
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00401990
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x80]
jmp 0x45c0e3
push str.File_list_in_Manifest:
lea ecx, [ebp - 0x84]
call fcn.00401a60
mov byte [ebp - 4], 0xe
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 2
call fcn.0045c270
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x84]
call fcn.00405030
lea ecx, [ebp - 0x38]
call fcn.00404f90
mov byte [ebp - 4], 0xf
push 0x3b
lea ecx, [ebp - 0x3c]
call fcn.00406760
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x45be6d
lea ecx, [ebp - 0x3c]
call fcn.00404f20
mov edx, dword [ebp - 0x40]
add edx, 1
sub eax, edx
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004043b0
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x38]
call fcn.004024f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
call fcn.00405030
jmp 0x45be79
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004024f0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0xac]
call fcn.0045a6a0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0xac]
call fcn.00459ec0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.004593a0
mov ecx, dword [ebp - 0xac]
call fcn.00459a00
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00401990
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x8c]
jmp 0x45c0e3
push str.No_updates_in_Manifest_for_current_product_configuration.
lea ecx, [ebp - 0x90]
call fcn.00401a60
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x90]
push ecx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.00405030
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00401990
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0x94]
jmp 0x45c0e3
push 0x46fd14
lea ecx, [ebp - 0x9c]
call fcn.00401a60
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00407d20
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
lea eax, [ebp - 0x9c]
push eax
push 1
call fcn.0045c270
add esp, 0x10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x98]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00405030
jmp 0x45c089
push 0x46fd40
lea ecx, [ebp - 0xa0]
call fcn.00401a60
mov byte [ebp - 4], 0x14
push 0
lea ecx, [ebp - 0xa0]
push ecx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00405030
jmp 0x45c0c4
push 0x46fc64
lea ecx, [ebp - 0xa4]
call fcn.00401a60
mov byte [ebp - 4], 0x15
push 0x3e8
lea edx, [ebp - 0xa4]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00405030
mov dword [ebp - 0xa8], 0xd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407e00
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8