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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x414004]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x46c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x47c], ecx
push 0x4154fc
push 0
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.004010b0
add esp, 0x18
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x47c], ecx
cmp dword [ebp + 0x10], 0
je 0x40f6fd
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x468]
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x478], eax
mov edx, dword [0x91b924]
push edx
push 0x100
lea eax, [ebp - 0x468]
push eax
call fcn.00401050
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x468]
push ecx
push 0x100
lea edx, [ebp - 0x680]
push edx
call fcn.00401000
mov dword [ebp - 0x478], eax
push str.dmp_.
push 0x100
lea eax, [ebp - 0x680]
push eax
call fcn.00401050
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x680]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x40f79d
mov eax, 1
jmp 0x40f9db
mov eax, 1
test eax, eax
je 0x40f974
lea ecx, [ebp - 0x22c]
push ecx
push str._s...
push 0
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.004010b0
add esp, 0x1c
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x47c], ecx
cmp dword [ebp + 0x10], 0
je 0x40f808
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x468]
push ecx
push 0x100
lea edx, [ebp - 0x680]
push edx
call fcn.00401000
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x22c]
push eax
push 0x100
lea ecx, [ebp - 0x680]
push ecx
call fcn.00401050
mov dword [ebp - 0x478], eax
lea edx, [ebp - 0x680]
push edx
push 0x415538
call fcn.0040e140
add esp, 8
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
je 0x40f8e3
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x22c]
push ecx
push 0x41552c
push 0
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.004010b0
add esp, 0x1c
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x47c], ecx
cmp dword [ebp + 0x10], 0
je 0x40f8d2
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x46c]
add ecx, 1
mov dword [ebp - 0x46c], ecx
jmp 0x40f94a
lea edx, [ebp - 0x22c]
push edx
push 0x415580
push 0
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x47c]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.004010b0
add esp, 0x1c
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x47c], edx
cmp dword [ebp + 0x10], 0
je 0x40f941
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
jne 0x40f96f
jmp 0x40f974
jmp 0x40f79d
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x46c]
push eax
push str._d_.__d_._r_n
push 0
lea ecx, [ebp - 0x474]
push ecx
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004010b0
add esp, 0x20
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x47c], eax
cmp dword [ebp + 0x10], 0
je 0x40f9d6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040142b
mov esp, ebp
pop ebp
ret