Function at 0x4497b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d97b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.UpdateData1CabTimeStamp...
lea ecx, [ebp - 0x60]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00405260
lea ecx, [ebp - 0x58]
call fcn.00404950
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00404950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00401e00
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiOpenProductW
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x449871
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401e30
mov eax, dword [ebp - 0x64]
jmp 0x449d2f
push str.SELECT__FROM__FilesTimeStamp__WHERE__File_sfxPrefix_Data1.cab
lea ecx, [ebp - 0x4c]
call fcn.00401ee0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x58]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x44990f
push str.UpdateData1CabTimeStamp:MsiDatabaseOpenView__
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00405260
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401e30
mov eax, dword [ebp - 0x6c]
jmp 0x449d2f
push 0
lea ecx, [ebp - 0x3c]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x44998c
push str.UpdateData1CabTimeStamp:MsiViewExecute__
lea ecx, [ebp - 0x70]
call fcn.00401ee0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x70]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00405260
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401e30
mov eax, dword [ebp - 0x74]
jmp 0x449d2f
lea ecx, [ebp - 0x44]
call fcn.00404950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.004051c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.004051c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004051c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x449a74
push str.UpdateData1CabTimeStamp:MsiViewFetch__
lea ecx, [ebp - 0x78]
call fcn.00401ee0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x78]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
call fcn.00405260
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00405260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401e30
mov eax, dword [ebp - 0x7c]
jmp 0x449d2f
lea edx, [ebp - 0x30]
push edx
push 2
lea ecx, [ebp - 0x44]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x449ac3
push str.UpdateData1CabTimeStamp:MsiGetRecordString_sCreateTime_
lea ecx, [ebp - 0x80]
call fcn.00401ee0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.00405260
lea edx, [ebp - 0x28]
push edx
push 3
lea ecx, [ebp - 0x44]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x449b1b
push str.UpdateData1CabTimeStamp:MsiGetRecordString_sModifyTime_
lea ecx, [ebp - 0x84]
call fcn.00401ee0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x84]
call fcn.00405260
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00448a20
add esp, 8
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00448a20
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.0041f51a
mov byte [ebp - 4], 0xd
push 0x47a2d0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 0xe
push 0
mov ecx, dword [ebp - 0xa0]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x24]
call fcn.0041f5b2
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x85], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8c]
call fcn.00405260
movzx eax, byte [ebp - 0x85]
test eax, eax
je 0x449c2c
push str.Failed_to_find_file:
lea ecx, [ebp - 0x94]
call fcn.00401ee0
mov byte [ebp - 4], 0xf
push 0x47a2e8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0x10
push 0
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x94]
push edx
push 1
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x90]
call fcn.00405260
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x94]
call fcn.00405260
lea ecx, [ebp - 0x24]
call fcn.0041f21a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041f7df
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00448490
add esp, 0xc
test eax, eax
jne 0x449cb0
lea ecx, [ebp - 0x5c]
call fcn.004051c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fc0
push eax
push str.Failed_to_update_time_stamp_CreateTime__s___ModifyTime__s___for_file:__s
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00401dd0
add esp, 0x14
push 0
lea edx, [ebp - 0x5c]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x5c]
call fcn.00405260
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.0041f543
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00405260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401e30
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret