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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461c32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x47a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x440], 0
push 8
mov dword [ebp - 0x6bc], esi
mov dword [ebp - 0x6c0], eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
call fcn.00437bbc
lea ecx, [ebp - 0x450]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x450], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x42c], 0
push 8
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
call fcn.00437bbc
lea ecx, [ebp - 0x43c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x43c], eax
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 1
call fcn.00407280
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40b023
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0040db40
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x430], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x438]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40b06e
push 0x18
call fcn.00437bbc
mov ecx, dword [ebp - 0x438]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
movups xmm0, xmmword [ebp - 0x468]
lea eax, [edx - 1]
push dword [ebp - 0x6bc]
and eax, edi
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x468]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x458]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.00407280
mov esi, eax
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
lea ecx, [edi + 1]
cmp edx, ecx
ja 0x40b0d9
push ecx
lea ecx, [ebp - 0x450]
call fcn.0040db40
mov edi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x444]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x444], ecx
add ecx, edi
and eax, ecx
mov dword [ebp - 0x6bc], ecx
mov ecx, dword [ebp - 0x44c]
lea edi, [eax*4]
cmp dword [edi + ecx], 0
jne 0x40b129
push 0x18
call fcn.00437bbc
mov ecx, dword [ebp - 0x44c]
add esp, 4
mov dword [edi + ecx], eax
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x44c]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x6bc]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov eax, dword [ebp - 0x440]
inc eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x440], eax
cmp ecx, 7
jbe 0x40b1c3
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b1b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
push ecx
push edx
call fcn.00437f52
mov eax, dword [ebp - 0x440]
add esp, 8
test eax, eax
je 0x40b5de
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x44c]
dec ecx
and ecx, dword [ebp - 0x444]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x468]
call fcn.0040d8b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x44c]
dec ecx
and ecx, dword [ebp - 0x444]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40b245
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40b23b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
mov eax, edx
push ecx
push eax
call fcn.00437f52
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x440], 1
jne 0x40b269
mov dword [ebp - 0x444], eax
jmp 0x40b26f
inc dword [ebp - 0x444]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x454], 7
cmova eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x428]
push 0x46f4f8
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x46f5b4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x6c4], esi
cmp esi, 0xffffffff
je 0x40b58d
nop dword [eax + eax]
cmp word [ebp - 0x68c], 0x2e
je 0x40b570
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea ecx, [ebp - 0x68c]
cmp dword [ebp - 0x454], 7
lea eax, [ebp - 0x468]
cmova eax, dword [ebp - 0x468]
push ecx
push eax
lea eax, [ebp - 0x220]
push 0x46f7b0
push eax
call edi
add esp, 0x10
test byte [ebp - 0x6b8], 0x10
je 0x40b563
mov eax, dword [ebp - 0x6c0]
test eax, eax
je 0x40b380
lea ecx, [ebp - 0x68c]
push ecx
push eax
call fcn.00442342
add esp, 8
test eax, eax
je 0x40b570
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6dc]
call fcn.00407280
mov edi, eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
lea ecx, [esi + 1]
cmp edx, ecx
ja 0x40b3c3
push ecx
lea ecx, [ebp - 0x450]
call fcn.0040db40
mov esi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x444]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x444], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x6bc], ecx
mov ecx, dword [ebp - 0x44c]
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40b413
push 0x18
call fcn.00437bbc
mov ecx, dword [ebp - 0x44c]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x44c]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x6bc]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
inc dword [ebp - 0x440]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x6c8]
cmp ecx, 7
jbe 0x40b4a0
mov edx, dword [ebp - 0x6dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b496
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
push ecx
push edx
call fcn.00437f52
add esp, 8
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6dc]
call fcn.00407280
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40b4e1
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0040db40
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x430], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x438]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40b52c
push 0x18
call fcn.00437bbc
mov ecx, dword [ebp - 0x438]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
movups xmm0, xmmword [ebp - 0x6dc]
mov esi, dword [ebp - 0x6c4]
lea eax, [edx - 1]
and eax, edi
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6cc]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x42c]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x40b570
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b300
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x40b5d1
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b5c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
push ecx
push edx
call fcn.00437f52
add esp, 8
cmp dword [ebp - 0x440], 0
jne 0x40b1d1
cmp dword [ebp - 0x42c], 0
je 0x40b6eb
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
dec ecx
and ecx, dword [ebp - 0x430]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x468]
call fcn.0040d8b0
mov ecx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
dec ecx
and ecx, dword [ebp - 0x430]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40b661
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40b657
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
mov eax, edx
push ecx
push eax
call fcn.00437f52
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x42c], 1
jne 0x40b685
mov dword [ebp - 0x430], eax
jmp 0x40b68b
inc dword [ebp - 0x430]
cmp dword [ebp - 0x454], 7
lea eax, [ebp - 0x468]
cmova eax, dword [ebp - 0x468]
push eax
call edi
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x40b6de
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b6d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
push ecx
push edx
call fcn.00437f52
add esp, 8
cmp dword [ebp - 0x42c], 0
jne 0x40b5f1
lea ecx, [ebp - 0x43c]
call fcn.0040d720
lea ecx, [ebp - 0x450]
call fcn.0040d720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004378e6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00441fe0
int3