Function at 0x42733e
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x144
mov eax, 0x474793
call fcn.004442f1
mov ebx, ecx
mov dword [ebp - 0xf0], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xec], eax
mov edi, dword [ebp + 0xc]
and dword [ebp - 0xe8], 0
call fcn.0042b2fb
test eax, eax
jne 0x427378
xor al, al
jmp 0x42796c
call fcn.0042cf53
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
mov ecx, ebx
call fcn.0040ef50
mov ecx, dword [eax + 0x260]
call fcn.0042950d
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
lea esi, [edi + 4]
add eax, 4
push eax
mov ecx, esi
call fcn.00407b10
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00404d40
cmp dword [edi + 0x14], 0
jne 0x427501
push 0x104
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.0041cab4
mov byte [ebp - 4], 3
mov byte [eax + 4], bl
mov ecx, dword [eax]
call fcn.00413f7e
push dword [eax]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.004111ed
call fcn.0044d301
push 0
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
test al, al
je 0x427441
push edi
call fcn.004106c9
mov byte [ebp - 4], 4
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0
call fcn.00447a96
add esp, 0x38
mov byte [ebp - 4], 5
mov ecx, ebx
jmp 0x427499
lea eax, [ebp - 0xd5]
push eax
push 0x48e7d0
call fcn.0041085e
mov dword [ebp - 4], 6
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x100], esp
push ebx
lea eax, [ebp - 0xd5]
push eax
push 0x48e7d0
call fcn.0041085e
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 5
call fcn.00447fe6
add esp, 0x6c
mov dword [ebp - 4], 8
push 2
pop ecx
mov dword [ebp - 0xe8], ecx
add eax, 4
push eax
mov ecx, esi
call fcn.00407b10
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xe8]
test al, 2
je 0x4274e0
and eax, 0xfffffffd
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404d40
mov eax, dword [ebp - 0xe8]
and dword [ebp - 4], 0
test bl, al
je 0x427501
and eax, 0xfffffffe
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00404d40
lea ecx, [ebp - 0x110]
call fcn.00410c79
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
jb 0x427518
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x110]
call fcn.0041306f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.004111e6
and dword [ebp - 0xdc], 0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xdc], 0
je 0x427552
push dword [ebp - 0xdc]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xec]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x42756a
mov eax, dword [eax]
lea ecx, [ebp - 0xdc]
push ecx
push 0
push eax
call sub.msi.dll_MsiOpenProductW
test eax, eax
je 0x4275c7
mov dword [ebp - 0x104], str.C:CodeBasesisdevSrcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x100], 0x8c8
push eax
push str.Error_opening_MSI_database:__d
lea eax, [ebp - 0x104]
push eax
call fcn.004160ea
add esp, 0xc
mov byte [ebp - 4], 0
cmp dword [ebp - 0xdc], 0
je 0x427371
push dword [ebp - 0xdc]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x427371
and dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0xd
and dword [ebp - 0xe4], 0
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0xdc]
cmp dword [ebp - 0xe0], 0
je 0x4275f7
push dword [ebp - 0xe0]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
and dword [ebp - 0xe0], 0
lea eax, [ebp - 0xe0]
push eax
push str.SELECT__FROM__Binary_
push esi
call sub.msi.dll_MsiEnumClientsA
test eax, eax
je 0x427676
mov dword [ebp - 0xfc], str.C:CodeBasesisdevSrcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0xf8], 0x8d2
push eax
push str.Failed_to_query_Binary_table__error:__d
lea eax, [ebp - 0xfc]
push eax
call fcn.004160ea
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xe4], 0
je 0x427655
push dword [ebp - 0xe4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xe0], 0
je 0x4275a6
push dword [ebp - 0xe0]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x4275a6
push 0
push dword [ebp - 0xe0]
call sub.msi.dll_MsiViewModify
test eax, eax
je 0x4276a9
mov dword [ebp - 0xf4], str.C:CodeBasesisdevSrcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0xf0], 0x8d9
push eax
push str.Failed_to_execute_query_on_Binary_table__error:__d
lea eax, [ebp - 0xf4]
jmp 0x427634
mov esi, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe4]
call fcn.00423e5c
push eax
push esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x42790a
push ebx
lea eax, [ebp - 0xd5]
push eax
lea ecx, [ebp - 0x74]
call fcn.00406120
mov byte [ebp - 4], 0xf
mov eax, 0x104
mov dword [ebp - 0xec], eax
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041cab4
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0xe4]
mov byte [eax + 4], bl
mov ecx, dword [eax]
call fcn.00413f7e
lea ecx, [ebp - 0xec]
push ecx
push dword [eax]
push ebx
push esi
call sub.msi.dll_MsiRecordSetStreamA
mov esi, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x128]
call fcn.004111ed
cmp esi, 0xea
jne 0x427784
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041cab4
mov byte [ebp - 4], 0x11
mov byte [eax + 4], bl
mov ecx, dword [eax]
call fcn.00413f7e
lea ecx, [ebp - 0xec]
push ecx
push dword [eax]
push ebx
push dword [ebp - 0xe4]
call sub.msi.dll_MsiRecordSetStreamA
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x134]
call fcn.004111ed
push ebx
lea eax, [ebp - 0xd5]
push eax
push 0x482960
lea ecx, [ebp - 0xa4]
call fcn.0041085e
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x74]
call fcn.0042d745
mov byte [ebp - 0xd5], al
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
call fcn.00404d40
cmp byte [ebp - 0xd5], 0
je 0x4278f5
push ebx
lea eax, [ebp - 0xd5]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00406120
mov byte [ebp - 4], 0x14
push ebx
lea eax, [ebp - 0xd5]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406120
mov byte [ebp - 4], 0x15
mov esi, 0x104
push esi
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0041cab4
mov byte [ebp - 4], 0x16
mov byte [eax + 4], bl
mov ecx, dword [eax]
call fcn.00413f7e
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x140]
call fcn.004111ed
push esi
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041cab4
mov byte [ebp - 4], 0x17
mov byte [eax + 4], bl
mov ecx, dword [eax]
call fcn.00413f7e
lea ecx, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 8
cmovae ecx, dword [ebp - 0xd0]
push dword [eax]
push 0
push 0x486578
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14c]
call fcn.004111ed
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push ebx
push 2
push eax
push dword [ebp - 0xe4]
call fcn.00427102
add esp, 0x10
test eax, eax
jne 0x4278d2
push edi
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.00427974
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x44]
call fcn.00404d40
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd4]
call fcn.00404d40
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.00404d40
jmp 0x4276a9
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xe4], 0
je 0x427922
push dword [ebp - 0xe4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xe0], 0
je 0x42793a
push dword [ebp - 0xe0]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 0
cmp dword [ebp - 0xdc], 0
je 0x427952
push dword [ebp - 0xdc]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
or dword [ebp - 4], 0xffffffff
jmp 0x427965
call fcn.0042d14f
mov al, bl
call fcn.00444243
ret 8