Function at 0x464320
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e3b2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
push str.InitUpdateFiles...
lea ecx, [ebp - 0x44]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00405260
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.004051c0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x464ac5
push 0x47c174
lea ecx, [ebp - 0x48]
call fcn.00401ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00448900
add esp, 0x10
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00403350
movzx ecx, al
test ecx, ecx
jne 0x464ac0
push 0x47c178
lea ecx, [ebp - 0x24]
call fcn.00401ee0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x24]
call fcn.004011b0
push 0x47c23c
lea ecx, [ebp - 0x24]
call fcn.004011d0
lea ecx, [ebp - 0x1c]
call fcn.00404950
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00404950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x24]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 4
call fcn.00401fc0
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x464506
push 0x47c240
lea ecx, [ebp - 0x54]
call fcn.00401ee0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x50]
jmp 0x464ae3
push 0
lea ecx, [ebp - 0x1c]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46458c
push 0x47c26c
lea ecx, [ebp - 0x5c]
call fcn.00401ee0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x5c]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x58]
jmp 0x464ae3
lea ecx, [ebp - 0x20]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x464a9c
lea ecx, [ebp - 0x3c]
call fcn.004051c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004051c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004051c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.004051c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
push ecx
push 2
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4646a1
push str.MsiGetRecordString_sURL_
lea ecx, [ebp - 0x64]
call fcn.00401ee0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x64]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x64]
call fcn.00405260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x60]
jmp 0x464ae3
push 3
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x2c]
call fcn.00403350
movzx ecx, al
test ecx, ecx
jne 0x4646d0
cmp dword [ebp - 0x34], 0x80000000
jne 0x46476b
push str.MsiRecordGetInteger__
lea ecx, [ebp - 0x6c]
call fcn.00401ee0
mov byte [ebp - 4], 0xe
push 0xd
lea edx, [ebp - 0x6c]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.00405260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x68]
jmp 0x464ae3
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46482c
push str.MsiGetRecordString_sType_
lea ecx, [ebp - 0x74]
call fcn.00401ee0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x74]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x74]
call fcn.00405260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x70]
jmp 0x464ae3
lea eax, [ebp - 0x28]
push eax
push 4
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4648ed
push str.MsiGetRecordString_sArgs_
lea ecx, [ebp - 0x7c]
call fcn.00401ee0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x7c]
call fcn.00405260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x78]
jmp 0x464ae3
lea eax, [ebp - 0x38]
push eax
push 5
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call fcn.004485e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4649b7
push str.MsiGetRecordString_sAllowNotElevatedInstall_
lea ecx, [ebp - 0x84]
call fcn.00401ee0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x84]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x84]
call fcn.00405260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x80]
jmp 0x464ae3
lea ecx, [ebp - 0x38]
call fcn.00403350
movzx eax, al
test eax, eax
je 0x4649d2
mov dword [ebp - 0x9c], 0
jmp 0x4649f2
push 0x47c3b4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00403330
add esp, 8
movzx edx, al
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x30], eax
push 0x47c3b8
lea ecx, [ebp - 0x88]
call fcn.00401ee0
mov byte [ebp - 4], 0x12
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x88]
push edx
push 1
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.00405260
mov ecx, 0x4a4b78
call fcn.004067f0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.0044ec80
cmp dword [ebp - 0x30], 0
jne 0x464a6c
mov ecx, dword [ebp - 0x40]
call fcn.00407cb0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401e30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405260
jmp 0x4643a5
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4