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

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x88
mov eax, 0x4a60e3
call fcn.004674d3
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp + 0xa8]
call fcn.00422385
test eax, eax
je 0x42b902
call fcn.004208e9
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
cmp dword [esi + 0x1c], 8
jb 0x42b5d8
mov esi, dword [esi + 8]
jmp 0x42b5db
add esi, 8
lea ecx, [ebp - 0x18]
call fcn.0041f7ab
push eax
push ebx
push esi
call fcn.00445627
cmp eax, ebx
je 0x42b629
mov dword [ebp - 0x2c], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x28], 0xc40
push eax
push str.Error_opening_MSI_database:__d
lea eax, [ebp - 0x2c]
push eax
call fcn.00411596
add esp, 0xc
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
je 0x42b902
push dword [ebp - 0x18]
call fcn.004455b7
jmp 0x42b902
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.0041f7ab
push eax
push str.SELECT__FROM__Binary_
push esi
call fcn.00445687
cmp eax, ebx
je 0x42b699
mov dword [ebp - 0x34], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x30], 0xc4a
push eax
push str.Failed_to_query_Binary_table__error:__d
lea eax, [ebp - 0x34]
push eax
call fcn.00411596
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
je 0x42b683
push dword [ebp - 0x1c]
call fcn.004455b7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
je 0x42b60f
push dword [ebp - 0x20]
call fcn.004455b7
jmp 0x42b60f
push ebx
push dword [ebp - 0x20]
call fcn.00445677
cmp eax, ebx
je 0x42b6bf
mov dword [ebp - 0x40], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x3c], 0xc51
push eax
push str.Failed_to_execute_query_on_Binary_table__error:__d
lea eax, [ebp - 0x40]
jmp 0x42b669
mov esi, 0x104
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.0041f7ab
push eax
push edi
call fcn.00445667
cmp eax, ebx
jne 0x42b8c6
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp]
call fcn.00401f10
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], esi
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp]
call fcn.0040ac18
mov byte [ebp - 4], 5
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407812
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
push edi
push dword [ebp - 0x1c]
call fcn.00445657
cmp eax, 0xea
sete bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040a4ef
test bl, bl
je 0x42b776
inc dword [ebp - 0x24]
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp]
call fcn.0040ac18
mov byte [ebp - 4], 6
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407812
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
push edi
push dword [ebp - 0x1c]
call fcn.00445657
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040a4ef
push edi
lea eax, [ebp - 0x11]
push eax
push 0x4b1710
lea ecx, [ebp - 0x90]
call fcn.00409071
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp + 4]
call fcn.00406d00
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.00401660
test bl, bl
je 0x42b8b3
push edi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp + 0x34]
call fcn.00401f10
mov byte [ebp - 4], 8
push edi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp + 0x68]
call fcn.00401f10
mov byte [ebp - 4], 9
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 0x34]
call fcn.0040ac18
mov byte [ebp - 4], 0xa
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407812
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.0040a4ef
push esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 0x68]
call fcn.0040ac18
mov byte [ebp - 4], 0xb
mov byte [eax + 4], 1
mov ecx, dword [eax]
call fcn.00407812
mov eax, dword [eax]
cmp dword [ebp + 0x50], 8
mov ecx, dword [ebp + 0x3c]
jae 0x42b83c
lea ecx, [ebp + 0x3c]
push eax
push 0
push 0x4b3f08
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.0040a4ef
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x42b866
lea eax, [ebp + 0x70]
push edi
push 2
push eax
push dword [ebp - 0x1c]
call fcn.00420311
add esp, 0x10
test eax, eax
jne 0x42b89b
lea eax, [ebp + 0x68]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00428bed
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x42b894
lea eax, [ebp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x68]
call fcn.00401660
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x34]
call fcn.00401660
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.00401660
xor ebx, ebx
jmp 0x42b6c4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
je 0x42b8d7
push dword [ebp - 0x1c]
call fcn.004455b7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
je 0x42b8e8
push dword [ebp - 0x20]
call fcn.004455b7
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
je 0x42b8f9
push dword [ebp - 0x18]
call fcn.004455b7
or dword [ebp - 4], 0xffffffff
call fcn.0041f897
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.00467491
add ebp, 0xa0
leave
ret 4