Function at 0x408ac0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x664]
sub esp, 0x664
push 0xffffffffffffffff
push 0x438b78
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x44cc80]
xor eax, ebp
mov dword [ebp + 0x660], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, dword [ebp + 0x66c]
mov dword [ebp - 0x1c], esi
xor edi, edi
push edi
push str.COperateFile::DeleteDirectoryFile
lea eax, [ebp - 0x44]
push eax
call fcn.00405b00
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 0x800000
mov dword [ebp - 0x14], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
cmp esi, edi
jne 0x408b4b
mov dword [ebp - 0x2c], 0x8080ffff
push 0x44729c
lea edx, [ebp - 0x2c]
push edx
call fcn.00426b1b
mov word [ebp + 0x458], di
push 0x206
push edi
lea eax, [ebp + 0x45a]
push eax
call fcn.004250c0
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x3c], ecx
mov esi, 0x104
mov dword [ebp - 0x38], esi
lea eax, [ebp + 0x458]
mov dword [ebp - 0x20], eax
lea ecx, [ecx]
cmp esi, edi
je 0x408ba3
movzx edx, word [ecx]
cmp dx, di
je 0x408ba9
mov word [eax], dx
add eax, 2
mov dword [ebp - 0x20], eax
add ecx, 2
mov dword [ebp - 0x3c], ecx
sub esi, 1
mov dword [ebp - 0x38], esi
jmp 0x408b80
sub eax, 2
mov dword [ebp - 0x20], eax
mov word [eax], di
lea ecx, [ebp + 0x458]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x43f99c
mov edx, 0x104
lea edi, [ebp + 0x458]
call fcn.00404410
lea edx, [ebp]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x408d24
lea esp, [esp]
push 0x43f9c0
lea ecx, [ebp + 0x2c]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
call edi
test eax, eax
je 0x408d00
push 0x43f9c4
lea edx, [ebp + 0x2c]
push edx
call edi
test eax, eax
je 0x408d00
mov word [ebp + 0x250], 0
push 0x206
push 0
lea eax, [ebp + 0x252]
push eax
call fcn.004250c0
lea ecx, [ebp + 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x43fe0c
mov eax, 0x104
lea edi, [ebp + 0x250]
call fcn.004049d0
add esp, 0x18
test byte [ebp], 0x10
je 0x408c87
mov eax, edi
push eax
mov ecx, ebx
call fcn.00408ac0
mov dword [ebp - 0x18], eax
cmp eax, 0x800000
je 0x408d00
mov dword [ebp - 0x24], eax
push 0x44729c
lea ecx, [ebp - 0x24]
push ecx
call fcn.00426b1b
lea edx, [ebp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x408cc4
lea eax, [ebp + 0x250]
push eax
push 0x8080000e
mov ecx, dword [ebx]
push ecx
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x28], 0x8080ffff
push 0x44729c
lea edx, [ebp - 0x28]
push edx
call fcn.00426b1b
add dword [ebx + 4], 1
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp ecx, 0x64
jb 0x408ce3
mov eax, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, esi
jmp 0x408ce8
mov eax, esi
imul eax, eax, 0x64
xor edx, edx
div ecx
test eax, eax
jne 0x408cf5
mov eax, 1
mov ecx, dword [ebp - 0x30]
call fcn.004067b0
mov esi, dword [ebp - 0x14]
lea edx, [ebp]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408bf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408d6e
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x408d6e
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x408d6e
push edi
push 0x8080000e
mov eax, dword [ebx]
push eax
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x34], 0x8080ffff
push 0x44729c
lea ecx, [ebp - 0x34]
push ecx
call fcn.00426b1b
mov dword [ebp - 4], 0
jmp 0x408da3
test esi, esi
je 0x408dae
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x18]
push esi
push str.return_DWORD__d__n
push 2
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404dc0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00405a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x660]
xor ecx, ebp
call fcn.004237ad
add ebp, 0x664
mov esp, ebp
pop ebp
ret 4