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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x426018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x4228b0
push edi
push ebx
mov dword [ebp - 0x268], ecx
mov eax, dword [esi]
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x26c], edi
call fcn.00410a31
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00403a6c
push 0x250
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.00409110
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4022e1
fld qword [0x423540]
fstp qword [ebp - 0x2b4]
test dword [ebp - 0x264], 0x400
jne 0x4022be
cmp word [ebp - 0x30], 0
lea edi, [ebp - 0x30]
jne 0x402119
lea edi, [ebp - 0x238]
push edi
call fcn.00401fc5
test al, al
jne 0x4022be
mov eax, dword [ebp - 0x26c]
mov ecx, esi
inc eax
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004034f4
push eax
mov ecx, esi
call fcn.004035dd
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00401302
push edi
call fcn.00410a31
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00403a6c
test byte [ebp - 0x264], 0x10
je 0x40217d
mov ecx, dword [ebp - 0x268]
push esi
call fcn.0040207e
jmp 0x4022be
lea eax, [ebp - 0x27c]
xor edi, edi
push eax
push ecx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], edi
push eax
push dword [esi]
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], edi
call fcn.00401ff9
test eax, eax
js 0x4022be
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 0xc]
xor eax, eax
or eax, dword [ebp - 0x10]
xor ecx, ecx
or ecx, dword [ebp - 0x274]
mov dword [ebp - 0x284], eax
sub eax, ecx
mov ecx, edi
mov dword [ebp - 0x294], eax
sbb ecx, dword [ebp - 0x270]
and dword [ebp - 0x29c], 0
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x290], ecx
fild qword [ebp - 0x294]
mov dword [ebp - 0x298], eax
push ecx
push ecx
fild qword [ebp - 0x29c]
fchs
faddp st(1)
fstp qword [ebp - 0x28c]
fld qword [ebp - 0x28c]
fstp qword [esp]
call fcn.0041b217
fcomp qword [ebp - 0x2b4]
fnstsw ax
pop ecx
pop ecx
test ah, 5
jnp 0x4022be
mov edx, dword [ebp - 0x284]
xor eax, eax
lfence
or eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x278]
sub edx, eax
mov dword [ebp - 0x2a4], edx
sbb edi, ecx
and dword [ebp - 0x2ac], 0
mov eax, edi
and edi, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x2a0], edi
fild qword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
push ecx
push ecx
fild qword [ebp - 0x2ac]
fchs
faddp st(1)
fstp qword [ebp - 0x28c]
fld qword [ebp - 0x28c]
fstp qword [esp]
call fcn.0041b217
fcomp qword [ebp - 0x2b4]
fnstsw ax
pop ecx
pop ecx
test ah, 5
jnp 0x4022be
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4020f9
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x26c]
push edi
lea eax, [ebp - 0x268]
mov ecx, esi
push eax
call fcn.004034f4
push eax
mov ecx, esi
call fcn.004035dd
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.00401302
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408bf5
leave
ret 4