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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baa98
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4f07b8]
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 esi, edx
mov dword [ebp - 0x2ac], esi
mov edi, ecx
cmp dword [edi + 0x10], 4
jae 0x413315
xor eax, eax
jmp 0x41354f
push 0x4da698
mov edx, edi
lea ecx, [ebp - 0x58]
xor ebx, ebx
call fcn.00412490
add esp, 4
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
cmp eax, 0xffffffff
je 0x413502
jmp 0x413360
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x413381
xor ecx, ecx
jmp 0x41339f
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413390
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408c90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041c6e0
add esp, 4
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
je 0x4133e0
push 1
push 0x4d895c
lea ecx, [ebp - 0x28]
call fcn.0040c690
mov esi, dword [esi]
lea edx, [ebp - 0x28]
mov byte [ebp - 0x2b8], 0
lea ecx, [ebp - 0x2b4]
push dword [ebp - 0x2b8]
push esi
push dword [esi]
call fcn.0041db00
add esp, 0xc
cmp dword [ebp - 0x2b4], esi
je 0x413415
mov ebx, 1
jmp 0x41349c
push 1
push 0x4da6a0
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040d160
test eax, eax
je 0x41349c
push 2
push 0x4da6a4
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040d160
test eax, eax
je 0x41349c
test byte [ebp - 0x2a8], 0x10
je 0x41345c
mov edx, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x28]
call fcn.004132d0
jmp 0x41346e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41349c
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.RemoveFile_fileName___s_error___d
push 0x86
push str.RemoveDirExcept
call fcn.00424270
add esp, 0x14
cmp dword [ebp - 0x14], 8
jb 0x4134ad
push dword [ebp - 0x28]
call fcn.00484840
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
jb 0x4134d1
push dword [ebp - 0x40]
call fcn.00484840
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x2ac]
test eax, eax
jne 0x413360
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x413537
cmp dword [edi + 0x14], 8
jb 0x41350a
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x413537
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4da708
push 0x90
push str.RemoveDirExcept
call fcn.00424270
add esp, 0x10
xor esi, esi
jmp 0x41353c
mov esi, 1
cmp dword [ebp - 0x44], 8
jb 0x41354d
push dword [ebp - 0x58]
call fcn.00484840
add esp, 4
mov eax, esi
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.0048464b
mov esp, ebp
pop ebp
ret