Function at 0x40c800
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42deae
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x43b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x268], edi
mov ebx, ecx
mov dword [ebp - 0x26c], ebx
lea ecx, [ebp - 0x2a4]
call fcn.004018a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
push ebx
mov dword [ebp - method.CWString.virtual_0], vtable.CWString.0
call fcn.0040f540
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.0040f120
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40c895
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40c895
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x284]
mov esi, dword [ebp - 0x280]
sub eax, esi
mov dword [ebp - 0x278], 0x5c
cmp eax, 4
jl 0x40c8ca
mov ecx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x278]
mov dword [ecx + esi], eax
add dword [ebp - 0x280], 4
jmp 0x40c8e2
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040e470
mov ecx, dword [ebp - 0x278]
mov dword [eax + esi], ecx
push 0x435f5c
lea edx, [ebp - 0x2a4]
lea ecx, [ebp - 0x328]
call fcn.0040fb80
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x40c913
cmp dword [eax + 0x24], ecx
mov ecx, 0x435f88
je 0x40c913
mov ecx, dword [eax + 0x1c]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x328]
call fcn.004015a0
cmp esi, 0xffffffff
je 0x40cb44
xor eax, eax
mov ebx, edi
cmp edi, 2
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmove ebx, eax
mov dword [ebp - 0x264], ebx
cmp word [ebp - 0x234], 0x2e
jne 0x40c97f
mov ax, word [ebp - 0x232]
test ax, ax
je 0x40cb1f
cmp ax, 0x2e
jne 0x40c97f
cmp word [ebp - 0x230], 0
je 0x40cb1f
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x2a4]
push eax
je 0x40ca5c
lea ecx, [ebp - 0x2d0]
call fcn.0040fb80
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x40c9bf
cmp dword [eax + 0x24], ecx
mov ecx, 0x435f88
je 0x40c9bf
mov ecx, dword [eax + 0x1c]
push 0
mov edx, ebx
call fcn.0040c800
add esp, 4
test eax, eax
sete bl
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x270], eax
mov dword [ebp - method.CWString.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2b4]
test ecx, ecx
je 0x40ca1d
mov eax, dword [ebp - 0x2c0]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40ca15
mov ecx, 0x43cc18
call fcn.0040ede0
jmp 0x40ca1d
lea ecx, [ebp - 0x2c0]
call eax
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 4], 4
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 1
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
jmp 0x40cb15
lea ecx, [ebp - 0x2fc]
call fcn.0040fb80
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x40ca82
cmp dword [eax + 0x24], ecx
mov ecx, 0x435f88
je 0x40ca82
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete bl
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x270], eax
mov dword [ebp - method.CWString.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2e0]
test ecx, ecx
je 0x40cadb
mov eax, dword [ebp - 0x2ec]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x40cad3
mov ecx, 0x43cc18
call fcn.0040ede0
jmp 0x40cadb
lea ecx, [ebp - 0x2ec]
call eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 8
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 1
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
test bl, bl
jne 0x40cb4f
mov ebx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call edi
test eax, eax
jne 0x40c951
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x268]
mov ebx, dword [ebp - 0x26c]
test edi, edi
je 0x40cb5a
mov esi, 1
jmp 0x40cb63
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x40cb63
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.004015a0
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 - 0x10]
xor ecx, ebp
call fcn.0040fcbe
mov esp, ebp
pop ebp
ret