Function at 0x405750
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 0x5c64b5
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 0x405818
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4057df
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403f90
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405818
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 0x405818
push 1
push 0x645ce4
lea ecx, [ebp - 0x2c]
call fcn.00409e30
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004998bc
add esp, 8
test eax, eax
je 0x405843
cmp eax, 0xd
je 0x405843
mov byte [ebp - 0x2c9], 1
jmp 0x405a65
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.00403f90
push 3
push 0x646658
lea ecx, [ebp - 0x5c]
call fcn.00409e30
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 0x405963
push 0x646660
lea eax, [ebp - 0x29c]
push eax
call edi
test eax, eax
je 0x405a25
push 0x646664
lea eax, [ebp - 0x29c]
push eax
call edi
test eax, eax
je 0x405a25
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.00403f90
lea eax, [ebp - 0x29c]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405910
sub eax, edx
lea ecx, [ebp - 0x74]
sar eax, 1
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.00409e30
lea ecx, [ebp - 0x74]
call fcn.00405750
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 0x405a25
mov edx, dword [ebp - 0x74]
jmp 0x4059f6
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.00403f90
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4059a2
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00409e30
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 0x405a25
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405a1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b09
push ecx
push edx
call fcn.004392c8
add esp, 8
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405890
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 7
jbe 0x405a54
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x405a65
mov byte [ebp - 0x2c9], al
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x405a9b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405a91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b09
push ecx
push edx
call fcn.004392c8
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 0x405ae5
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405adb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b09
push ecx
push edx
call fcn.004392c8
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.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049452a
int3