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

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 0x5c6b55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c9], 1
cmp eax, esi
je 0x405788
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40574f
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403f00
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405788
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov edx, 0x5c
cmova eax, dword [ebp - 0x2c]
cmp dx, word [eax + ecx*2 - 2]
je 0x405788
push 1
push 0x645ce4
lea ecx, [ebp - 0x2c]
call fcn.0040a240
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00499f3c
add esp, 8
test eax, eax
je 0x4057b3
cmp eax, 0xd
je 0x4057b3
mov byte [ebp - 0x2c9], 1
jmp 0x4059d5
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403f00
push 3
push 0x646658
lea ecx, [ebp - 0x5c]
call fcn.0040a240
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x2c8]
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov dword [ebp - 0x2d0], eax
nop
test byte [ebp - 0x2c8], 0x10
je 0x4058d3
push 0x646660
lea eax, [ebp - 0x29c]
push eax
call edi
test eax, eax
je 0x405995
push 0x646664
lea eax, [ebp - 0x29c]
push eax
call edi
test eax, eax
je 0x405995
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x60], 7
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x74]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00403f00
lea eax, [ebp - 0x29c]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405880
sub eax, edx
lea ecx, [ebp - 0x74]
sar eax, 1
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.0040a240
lea ecx, [ebp - 0x74]
call fcn.004056c0
movzx ecx, byte [ebp - 0x2c9]
xor edx, edx
test al, al
mov byte [ebp - 4], 1
cmovne edx, ecx
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x2c9], dl
cmp ecx, 7
jbe 0x405995
mov edx, dword [ebp - 0x74]
jmp 0x405966
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x44]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00403f00
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405912
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a240
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx ecx, byte [ebp - 0x2c9]
xor edx, edx
test eax, eax
mov byte [ebp - 4], 1
cmovne edx, ecx
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x2c9], dl
cmp ecx, 7
jbe 0x405995
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40598b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a79
push ecx
push edx
call fcn.00439938
add esp, 8
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405800
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 7
jbe 0x4059c4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4059d5
mov byte [ebp - 0x2c9], al
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x405a0b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405a01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a79
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x405a55
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405a4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a79
push ecx
push edx
call fcn.00439938
add esp, 8
mov al, byte [ebp - 0x2c9]
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.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00494baa
int3