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

Disassembly:
mov eax, 0x49b5ce
call fcn.0047d43c
sub esp, 0xf4
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], esp
call fcn.00425091
test eax, eax
je 0x4296f4
xor esi, esi
cmp dword [0x4c8068], esi
jne 0x4292d6
push 0x41aa6a
call fcn.0047f2c5
pop ecx
mov dword [0x4c8068], eax
mov ecx, dword [ebp + 8]
push 1
pop ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call fcn.004042dd
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
call fcn.0044c6cb
mov edi, eax
cmp edi, esi
je 0x429358
lea eax, [ebp + 0xb]
push ebx
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 2
cmp eax, esi
jne 0x42931a
mov eax, 0x4a368c
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x28]
push str.Error_opening_MSI_database:__d
push eax
mov dword [ebp - 0x24], 0xc32
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401093
cmp dword [ebp - 0x18], esi
je 0x4296f4
push dword [ebp - 0x18]
call fcn.0044c617
jmp 0x4296f4
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
push str.SELECT__FROM__Binary_
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call fcn.0044c725
mov edi, eax
cmp edi, esi
je 0x4293e6
lea eax, [ebp + 0xb]
push ebx
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 5
cmp eax, esi
jne 0x42939b
mov eax, 0x4a368c
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x28]
push str.Failed_to_query_Binary_table__error:__d
push eax
mov dword [ebp - 0x24], 0xc3c
call fcn.0040a47f
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00401093
cmp dword [ebp - 0x14], esi
je 0x4293d0
push dword [ebp - 0x14]
call fcn.0044c617
cmp dword [ebp - 0x1c], esi
je 0x429342
push dword [ebp - 0x1c]
call fcn.0044c617
jmp 0x429342
push esi
push dword [ebp - 0x1c]
call fcn.0044c713
mov edi, eax
cmp edi, esi
je 0x42943c
lea eax, [ebp + 0xb]
push ebx
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 6
cmp eax, esi
jne 0x429417
mov eax, 0x4a368c
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x28]
push 0x4be948
push eax
mov dword [ebp - 0x24], 0xc43
call fcn.0040a47f
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
jmp 0x4293be
cmp dword [ebp - 0x14], esi
je 0x429449
push dword [ebp - 0x14]
call fcn.0044c617
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push dword [ebp - 0x1c]
call fcn.0044c701
cmp eax, esi
jne 0x4296a9
lea eax, [ebp - 0x29]
mov edi, 0x4a36b0
push esi
push eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x4a36b8
mov dword [ebp - 0x84], edi
call fcn.00403cd9
mov eax, 0x104
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 7
push eax
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 8
call fcn.004042dd
lea ecx, [ebp - 0x20]
mov dword [esi + 8], eax
push ecx
push eax
push ebx
push dword [ebp - 0x14]
call fcn.0044c6ef
cmp eax, 0xea
lea ecx, [ebp - 0xd4]
sete bl
mov byte [ebp - 4], 7
call fcn.00403013
test bl, bl
je 0x429523
inc dword [ebp - 0x20]
push dword [ebp - 0x20]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xa4]
push eax
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 9
call fcn.004042dd
lea ecx, [ebp - 0x20]
mov dword [esi + 8], eax
push ecx
push eax
push 1
push dword [ebp - 0x14]
call fcn.0044c6ef
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.00403013
mov eax, 0x4bbd00
mov esi, 0x4a36b8
mov ecx, eax
mov dword [ebp - 0x54], esi
test ecx, ecx
mov dword [ebp - 0x34], edi
jne 0x42953e
mov eax, 0x4c6e10
xor ebx, ebx
lea ecx, [ebp - 0x2a]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00404d89
lea eax, [ebp - 0x54]
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.00402e4a
cmp eax, ebx
lea ecx, [ebp - 0x54]
sete byte [ebp + 0xb]
mov byte [ebp - 4], 7
call fcn.00402438
cmp byte [ebp + 0xb], bl
je 0x429690
lea eax, [ebp - 0x2b]
push ebx
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xdc], edi
call fcn.00403cd9
lea eax, [ebp - 0x2c]
push ebx
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x5c], edi
call fcn.00403cd9
mov edi, 0x104
lea eax, [ebp - 0xbc]
push edi
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xc
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xd
call fcn.004042dd
push eax
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xc
call fcn.00403013
lea eax, [ebp - 0xc8]
push edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xe
call fcn.004042dd
mov edi, eax
lea ecx, [ebp - 0xfc]
mov dword [esi + 8], edi
call fcn.004042dd
push edi
push ebx
push 0x4be944
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xc
call fcn.00403013
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.004042dd
push 1
push 2
push eax
push esi
call fcn.00429707
add esp, 0x10
test eax, eax
jne 0x429675
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x7c]
push eax
call fcn.00429a4b
lea ecx, [ebp - 0x7c]
call fcn.004042dd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
call fcn.00402438
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 7
call fcn.00402438
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00402438
push 1
xor esi, esi
pop ebx
jmp 0x42943c
cmp dword [ebp - 0x14], esi
je 0x4296b6
push dword [ebp - 0x14]
call fcn.0044c617
cmp dword [ebp - 0x1c], esi
je 0x4296c3
push dword [ebp - 0x1c]
call fcn.0044c617
cmp dword [ebp - 0x18], esi
je 0x4296da
push dword [ebp - 0x18]
call fcn.0044c617
jmp 0x4296da
mov eax, dword [0x4c8068]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x4296f4
push eax
call fcn.0047f2c5
pop ecx
mov dword [0x4c8068], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
leave
ret 4