Function at 0x100027e6
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x10047d88
call fcn.100263df
mov ebx, dword [ebp + 0xc]
xor esi, esi
push 0x1004b854
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.10005afc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001421
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov byte [ebp - 4], 1
call edi
push eax
lea ecx, [ebp - 0x10]
call fcn.10001421
lea ecx, [ebp - 0x14]
call fcn.100014cb
push str..exe
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000594c
pop ecx
pop ecx
test eax, eax
je 0x10002866
push str..msi
push dword [ebp - 0x10]
call fcn.1000594c
pop ecx
pop ecx
test eax, eax
jne 0x100029a1
push esi
push 0x1004bb70
lea ecx, [ebp + 8]
call fcn.10002b45
cmp eax, 0xffffffff
jne 0x100029a1
push esi
push 0x1004ba38
lea ecx, [ebp + 8]
call fcn.10002b45
cmp eax, 0xffffffff
jne 0x100029a1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push 0x1004b854
push eax
call fcn.10001740
add esp, 0xc
mov eax, dword [eax]
mov ecx, ebx
mov byte [ebp - 4], 4
push dword [eax - 0xc]
push eax
call fcn.1000237f
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10005108
mov esi, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x24], edi
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.100025ee
add eax, 0x10
mov dword [edi], eax
mov edi, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.100025ee
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 3
call fcn.10003116
add esp, 0xc
mov edi, eax
cmp dword [ebp - 0x18], 0x11170
jae 0x10002970
cmp dword [esi - 0xc], 0
je 0x10002970
lea eax, [ebp - 0x18]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x20], edi
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.100025ee
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
mov edi, esp
push eax
mov dword [ebp - 0x20], edi
call fcn.100025ee
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 3
call fcn.10003116
add esp, 0xc
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.10005108
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10005108
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10005108
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10005108
mov eax, edi
call fcn.100263ad
ret
lea eax, [ebp - 0x14]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.100025ee
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10003394
pop ecx
pop ecx
test eax, eax
jne 0x100028c9
mov esi, dword [ebp - 0x14]
push esi
call edi
push eax
lea ecx, [ebp - 0x10]
call fcn.1000586c
push str..exe
push dword [ebp - 0x10]
call fcn.1000594c
pop ecx
pop ecx
test eax, eax
je 0x10002a12
push str..msi
push dword [ebp - 0x10]
call fcn.1000594c
pop ecx
pop ecx
test eax, eax
je 0x10002a12
push str.Setup.exe
mov ecx, ebx
call fcn.1000234a
jmp 0x100028cc
push dword [ebp - 0x10]
push 0x1004bb74
push ebx
call fcn.1000240b
add esp, 0xc
jmp 0x100028cc