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

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x88
mov eax, 0x4a2bdc
call fcn.00464703
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp + 0xa8]
call fcn.00422343
test eax, eax
je 0x42972d
call fcn.0042088b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
cmp dword [esi + 0x1c], 8
jb 0x429403
mov esi, dword [esi + 8]
jmp 0x429406
add esi, 8
lea ecx, [ebp - 0x18]
call fcn.0041f847
push eax
push ebx
push esi
call fcn.00443d2b
cmp eax, ebx
je 0x429454
mov dword [ebp - 0x2c], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x28], 0xc3b
push eax
push str.Error_opening_MSI_database:__d
lea eax, [ebp - 0x2c]
push eax
call fcn.004115dc
add esp, 0xc
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
je 0x42972d
push dword [ebp - 0x18]
call fcn.00443cbb
jmp 0x42972d
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.0041f847
push eax
push str.SELECT__FROM__Binary_
push esi
call fcn.00443d6b
cmp eax, ebx
je 0x4294c4
mov dword [ebp - 0x34], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x30], 0xc45
push eax
push str.Failed_to_query_Binary_table__error:__d
lea eax, [ebp - 0x34]
push eax
call fcn.004115dc
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
je 0x4294ae
push dword [ebp - 0x1c]
call fcn.00443cbb
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
je 0x42943a
push dword [ebp - 0x20]
call fcn.00443cbb
jmp 0x42943a
push ebx
push dword [ebp - 0x20]
call fcn.00443d5b
cmp eax, ebx
je 0x4294ea
mov dword [ebp - 0x40], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x3c], 0xc4c
push eax
push str.Failed_to_execute_query_on_Binary_table__error:__d
lea eax, [ebp - 0x40]
jmp 0x429494
mov esi, 0x104
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.0041f847
push eax
push edi
call fcn.00443d4b
cmp eax, ebx
jne 0x4296f1
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp]
call fcn.00401f90
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], esi
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp]
call fcn.0040b2f1
mov byte [ebp - 4], 5
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407803
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
push edi
push dword [ebp - 0x1c]
call fcn.00443d3b
cmp eax, 0xea
sete bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040b14b
test bl, bl
je 0x4295a1
inc dword [ebp - 0x24]
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp]
call fcn.0040b2f1
mov byte [ebp - 4], 6
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407803
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
push edi
push dword [ebp - 0x1c]
call fcn.00443d3b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040b14b
push edi
lea eax, [ebp - 0x11]
push eax
push 0x4ad9e8
lea ecx, [ebp - 0x90]
call fcn.004096ba
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp + 4]
call fcn.00406e36
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.004016d0
test bl, bl
je 0x4296de
push edi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp + 0x34]
call fcn.00401f90
mov byte [ebp - 4], 8
push edi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp + 0x68]
call fcn.00401f90
mov byte [ebp - 4], 9
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 0x34]
call fcn.0040b2f1
mov byte [ebp - 4], 0xa
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407803
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.0040b14b
push esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 0x68]
call fcn.0040b2f1
mov byte [ebp - 4], 0xb
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407803
mov eax, dword [eax]
cmp dword [ebp + 0x50], 8
mov ecx, dword [ebp + 0x3c]
jae 0x429667
lea ecx, [ebp + 0x3c]
push eax
push 0
push 0x4afaac
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.0040b14b
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x429691
lea eax, [ebp + 0x70]
push edi
push 2
push eax
push dword [ebp - 0x1c]
call fcn.00420300
add esp, 0x10
test eax, eax
jne 0x4296c6
lea eax, [ebp + 0x68]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00428196
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x4296bf
lea eax, [ebp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x68]
call fcn.004016d0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x34]
call fcn.004016d0
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004016d0
xor ebx, ebx
jmp 0x4294ef
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
je 0x429702
push dword [ebp - 0x1c]
call fcn.00443cbb
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
je 0x429713
push dword [ebp - 0x20]
call fcn.00443cbb
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
je 0x429724
push dword [ebp - 0x18]
call fcn.00443cbb
or dword [ebp - 4], 0xffffffff
call fcn.0041f886
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004646c1
add ebp, 0xa0
leave
ret 4