Function at 0x4d58d0
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 0x5db11d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x63d284]
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, dword [ebx + 8]
mov eax, SysReAllocString
mov dword [ebp - 0x2bc], esi
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 2
jb 0x4d5d7d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d5937
mov eax, dword [esi]
push 2
push 0x61befc
push ecx
push eax
push esi
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x5c]
call fcn.00447219
push 0x250
lea eax, [ebp - 0x2b0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00573610
add esp, 0xc
lea ecx, [ebp - 0x2b0]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x4d599a
mov esi, 1
jmp 0x4d5d27
mov edi, dword [ebp - 0x2cc]
mov ecx, 0x610b34
lea eax, [ebp - 0x284]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d59d6
test dx, dx
je 0x4d59d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d59d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d59b0
xor eax, eax
jmp 0x4d59db
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d5cf9
mov ecx, 0x610b38
lea eax, [ebp - 0x284]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d5a16
test dx, dx
je 0x4d5a12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d5a16
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d59f0
xor eax, eax
jmp 0x4d5a1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d5cf9
cmp word [ebp - 0x284], 0x2e
je 0x4d5cf9
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4d5d7d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d5a4e
mov eax, dword [esi]
push 1
push 0x60db0c
push ecx
push eax
push esi
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2c]
call fcn.00447219
lea esi, [ebp - 0x284]
mov byte [ebp - 4], 1
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4d5a73
mov edx, dword [ebp - 0x18]
sub esi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sar esi, 1
sub eax, ecx
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2c4], edx
cmp esi, eax
ja 0x4d5adf
cmp edx, 8
lea eax, [ecx + esi]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x2b4], eax
cmovae edi, dword [ebp - 0x2c]
add esi, esi
mov dword [ebp - 0x1c], eax
push esi
lea eax, [edi + ecx*2]
lea ecx, [ebp - 0x284]
push ecx
push eax
call fcn.00572f50
mov eax, dword [ebp - 0x2b4]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
jmp 0x4d5c75
mov eax, SysReAllocString
sub eax, ecx
cmp eax, esi
jb 0x4d5d7d
lea eax, [ecx + esi]
mov edi, eax
mov dword [ebp - 0x2c8], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4d5b15
mov dword [ebp - 0x2b8], SysReAllocString
mov eax, 0xfffffffe
jmp 0x4d5b5a
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x4d5b35
mov dword [ebp - 0x2b8], SysReAllocString
mov eax, 0xfffffffe
jmp 0x4d5b5a
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x2b8], edi
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4d5da9
add eax, eax
cmp eax, 0x1000
jb 0x4d5b87
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d5da9
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4d5d87
mov edx, dword [ebp - 0x2c4]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4d5ba8
test eax, eax
je 0x4d5ba6
push eax
call fcn.00591cad
mov edi, eax
add esp, 4
test edi, edi
je 0x4d5d98
mov edx, dword [ebp - 0x2c4]
jmp 0x4d5ba8
xor edi, edi
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2b4]
add eax, eax
push eax
lea ecx, [edi + eax]
mov dword [ebp - 0x2b4], ecx
cmp edx, 8
jb 0x4d5c3b
push dword [ebp - 0x2c]
push edi
call fcn.005729d0
add esp, 0xc
lea eax, [ebp - 0x284]
add esi, esi
push esi
push eax
push dword [ebp - 0x2b4]
call fcn.005729d0
mov eax, dword [ebp - 0x2c8]
xor ecx, ecx
mov edx, dword [ebp - 0x2c4]
add esp, 0xc
mov word [edi + eax*2], cx
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5c2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5d82
push edx
push ecx
call fcn.0056c61e
add esp, 8
jmp 0x4d5c6c
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.005729d0
add esp, 0xc
lea eax, [ebp - 0x284]
add esi, esi
push esi
push eax
push dword [ebp - 0x2b4]
call fcn.005729d0
mov eax, dword [ebp - 0x2c8]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2c], edi
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
test byte [ebp - 0x2b0], 0x10
je 0x4d5ca2
push eax
call fcn.004d58d0
add esp, 4
jmp 0x4d5caf
cmp ecx, 8
cmovae eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4d5ced
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5ce3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5d82
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov edi, dword [ebp - 0x2cc]
mov esi, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d59a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x4d5d1e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4d5d5d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5d53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5d82
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov eax, esi
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.0056cd75
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040791f
call fcn.0057da80
push 0x638780
lea eax, [ebp - 0x2bd]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x2be]
push eax
call fcn.0057359b
call fcn.00407b84
int3