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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518c90
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x55d3e4]
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 ebx, ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], 7
push eax
mov dword [ebp - 0x30], 0
call fcn.00407eb0
push 3
push 0x520e54
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040a6a0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ee85
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x2c0]
push eax
push esi
call edi
test eax, eax
je 0x40ee85
mov cx, word [ebp - 0x294]
cmp cx, 0x2e
je 0x40ec97
mov ax, word [ebp - 0x292]
test ax, ax
je 0x40ec97
cmp ax, 0x2e
jne 0x40ecd2
cmp word [ebp - 0x290], 0
je 0x40ec97
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
test cx, cx
je 0x40ed03
lea eax, [ebp - 0x294]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ecf4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.00407fd0
xor eax, eax
mov byte [ebp - 4], 2
test byte [ebp - 0x2c0], 0x10
push 0xffffffffffffffff
push eax
je 0x40edb6
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x14], 7
call fcn.00407eb0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a590
push 1
push 0x520de8
lea ecx, [ebp - 0x28]
call fcn.0040a6a0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x40ed83
mov eax, dword [ecx]
jmp 0x40ed85
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00407eb0
mov ecx, ebx
call fcn.0040ec00
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40ee63
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
jmp 0x40ee5e
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
lea eax, [ebp + 8]
mov dword [ebp - 0x44], 7
push eax
mov dword [ebp - 0x48], 0
call fcn.00407eb0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a590
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
push eax
call fcn.00407eb0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ee39
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004227c2
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40ee4e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x40ee63
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0047f630
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x40ec97
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0047f630
jmp 0x40ec97
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40eeb8
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40eecd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0047f630
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x40eef2
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0047f630
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.004974f6
mov esp, ebp
pop ebp
ret 0x18