Function at 0x459ec0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463964
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x494680]
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.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 dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.00404f90
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x45a665
push 0x4706a4
lea ecx, [ebp - 0x48]
call fcn.00401a60
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.00440920
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.004024f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00405030
lea ecx, [ebp - 0x14]
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x45a660
push 0x4706a8
lea ecx, [ebp - 0x24]
call fcn.00401a60
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x24]
call fcn.004010f0
push 0x47076c
lea ecx, [ebp - 0x24]
call fcn.00401110
lea ecx, [ebp - 0x1c]
call fcn.004019b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004019b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00401960
push eax
lea ecx, [ebp - 0x24]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 4
call fcn.00404b10
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a0a6
push 0x470770
lea ecx, [ebp - 0x54]
call fcn.00401a60
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x50]
jmp 0x45a683
push 0
lea ecx, [ebp - 0x1c]
call fcn.00404b10
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a12c
push 0x47079c
lea ecx, [ebp - 0x5c]
call fcn.00401a60
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x5c]
push eax
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x58]
jmp 0x45a683
lea ecx, [ebp - 0x20]
call fcn.00401960
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404b10
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x45a63c
lea ecx, [ebp - 0x3c]
call fcn.00404f90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00404f90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00404f90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00404f90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
push ecx
push 2
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a241
push str.MsiGetRecordString_sURL_
lea ecx, [ebp - 0x64]
call fcn.00401a60
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x64]
push eax
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x64]
call fcn.00405030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x60]
jmp 0x45a683
push 3
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call sub.msi.dll_MsiRecordReadStream
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x2c]
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x45a270
cmp dword [ebp - 0x34], 0x80000000
jne 0x45a30b
push str.MsiRecordGetInteger__
lea ecx, [ebp - 0x6c]
call fcn.00401a60
mov byte [ebp - 4], 0xe
push 0xd
lea edx, [ebp - 0x6c]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.00405030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x68]
jmp 0x45a683
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a3cc
push str.MsiGetRecordString_sType_
lea ecx, [ebp - 0x74]
call fcn.00401a60
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x74]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x74]
call fcn.00405030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x70]
jmp 0x45a683
lea eax, [ebp - 0x28]
push eax
push 4
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a48d
push str.MsiGetRecordString_sArgs_
lea ecx, [ebp - 0x7c]
call fcn.00401a60
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x7c]
call fcn.00405030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x78]
jmp 0x45a683
lea eax, [ebp - 0x38]
push eax
push 5
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a557
push str.MsiGetRecordString_sAllowNotElevatedInstall_
lea ecx, [ebp - 0x84]
call fcn.00401a60
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x84]
push edx
push 1
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x84]
call fcn.00405030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x80]
jmp 0x45a683
lea ecx, [ebp - 0x38]
call fcn.00402e40
movzx eax, al
test eax, eax
je 0x45a572
mov dword [ebp - 0x9c], 0
jmp 0x45a592
push 0x4708e4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00407db0
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 0x4708e8
lea ecx, [ebp - 0x88]
call fcn.00401a60
mov byte [ebp - 4], 0x12
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x88]
push edx
push 1
call fcn.0045c270
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.00405030
mov ecx, 0x498b90
call fcn.004031e0
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.00445f30
cmp dword [ebp - 0x30], 0
jne 0x45a60c
mov ecx, dword [ebp - 0x40]
call fcn.00407c60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00405030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405030
jmp 0x459f45
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4