Function at 0x8f86b9b
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x129c
call fcn.08f89ac0
mov eax, dword [0x8f8c1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1298], eax
mov eax, dword [0x8f8c004]
mov esi, 0x8f8c004
cmp eax, esi
je 0x8f86bef
test byte [eax + 0x1c], 2
je 0x8f86bef
cmp byte [eax + 0x19], 5
jb 0x8f86bef
mov ebx, 0x8f72a1c
push ebx
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f72d19
jmp 0x8f86bf4
mov ebx, 0x8f72a1c
xor edi, edi
cmp dword [ebp - 0x1298], edi
jne 0x8f86c60
lea eax, [ebp - 0xa2c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x8f86c54
mov eax, dword [0x8f8c004]
cmp eax, esi
je 0x8f86e5a
test byte [eax + 0x1c], 2
je 0x8f86e5a
cmp byte [eax + 0x19], 2
jb 0x8f86e5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x8f8c004]
push ebx
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f72d3f
jmp 0x8f86e5a
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0x1298], eax
push 0x5c
push dword [ebp - 0x1298]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, edi
je 0x8f86c87
cmp word [eax + 2], di
jne 0x8f86c87
push 1
push edi
push eax
call dword [sym.imp.msvcrt.dll__wcsnset]
add esp, 0xc
cmp dword [ebp + 0xc], edi
mov edi, 0x8f72a50
jne 0x8f86c96
mov edi, 0x8f717b4
push 0x8f72a48
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
push dword [ebp - 0x1298]
mov edi, 0x30c
push 0x8f72a2c
lea eax, [ebp - 0x1044]
push edi
push eax
call fcn.08f7fa82
add esp, 0x1c
test eax, eax
jge 0x8f86cfb
mov ecx, dword [0x8f8c004]
cmp ecx, esi
je 0x8f86e5a
test byte [ecx + 0x1c], 2
je 0x8f86e5a
cmp byte [ecx + 0x19], 2
jb 0x8f86e5a
movzx eax, ax
push eax
push ebx
push 0xc
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x8f86c4a
lea eax, [ebp - 0x1294]
push eax
lea eax, [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x129c], eax
cmp eax, 0xffffffff
jne 0x8f86d5a
mov eax, dword [0x8f8c004]
cmp eax, esi
je 0x8f86e5a
test byte [eax + 0x1c], 2
je 0x8f86e5a
cmp byte [eax + 0x19], 2
jb 0x8f86e5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x8f8c004]
push ebx
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f72d3f
jmp 0x8f86e5a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x1268]
push eax
push dword [ebp - 0x1298]
lea eax, [ebp - 0x61c]
push 0x8f718ac
push edi
push eax
call fcn.08f7fa82
add esp, 0x14
test eax, eax
jl 0x8f86dfd
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x8f86dcf
mov eax, dword [0x8f8c004]
cmp eax, esi
je 0x8f86dfd
test byte [eax + 0x1c], 2
je 0x8f86dfd
cmp byte [eax + 0x19], 2
jb 0x8f86dfd
call ebx
push eax
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [0x8f8c004]
push 0x8f72a1c
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f7392a
jmp 0x8f86dfd
mov eax, dword [0x8f8c004]
cmp eax, esi
je 0x8f86dfd
test byte [eax + 0x1c], 2
je 0x8f86dfd
cmp byte [eax + 0x19], 5
jb 0x8f86dfd
lea ecx, [ebp - 0x61c]
push ecx
push 0x8f72a1c
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f738bd
lea eax, [ebp - 0x1294]
push eax
push dword [ebp - 0x129c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x8f86d60
call ebx
cmp eax, 0x12
je 0x8f86e4e
mov eax, dword [0x8f8c004]
cmp eax, esi
je 0x8f86e4e
test byte [eax + 0x1c], 2
je 0x8f86e4e
cmp byte [eax + 0x19], 2
jb 0x8f86e4e
call ebx
push eax
mov eax, dword [0x8f8c004]
push 0x8f72a1c
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f72d3f
push dword [ebp - 0x129c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.08f82466
leave
ret 8