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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5726e0
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5b8250]
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
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x593910
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004204e0
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4f6ea4
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp + 8]
call fcn.00427530
mov esi, eax
lea eax, [ebp + 8]
cmp eax, esi
je 0x4f6e8d
cmp dword [ebp + 0x1c], 8
jb 0x4f6e70
push dword [ebp + 8]
call fcn.005385cc
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.0041fba0
cmp dword [ebp - 0x27c], 8
jb 0x4f6ea4
push dword [ebp - 0x290]
call fcn.005385cc
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041feb0
push 2
push 0x5a2e94
lea ecx, [ebp - 0x28]
call fcn.0041c1c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4f6ef1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x4f708a
push 0x591538
lea edx, [ebp + 8]
lea ecx, [ebp - 0x290]
call fcn.004f7fa0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4f6f3e
cmp dword [ebp - 0x14], 8
jb 0x4f6f21
push dword [ebp - 0x28]
call fcn.005385cc
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041fba0
cmp dword [ebp - 0x27c], 8
jb 0x4f6f55
push dword [ebp - 0x290]
call fcn.005385cc
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x278]
push eax
push edi
call esi
test eax, eax
je 0x4f706c
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4f6f80
mov ecx, 0x5915bc
lea eax, [ebp - 0x24c]
jmp 0x4f6f90
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4f6fb6
test dx, dx
je 0x4f6fb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4f6fb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4f6f90
xor eax, eax
jmp 0x4f6fbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4f705a
mov ecx, 0x5915c0
lea eax, [ebp - 0x24c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4f6ff6
test dx, dx
je 0x4f6ff2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4f6ff6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4f6fd0
xor eax, eax
jmp 0x4f6ffb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4f705a
test byte [ebp - 0x278], 0x10
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x28]
je 0x4f7029
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004f7fa0
add esp, 4
call fcn.004f6dd0
add esp, 0x18
jmp 0x4f705a
push eax
lea ecx, [ebp - 0x290]
call fcn.004f7fa0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4f7040
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x27c], 8
jb 0x4f705a
push dword [ebp - 0x290]
call fcn.005385cc
add esp, 4
lea eax, [ebp - 0x278]
push eax
push edi
call esi
test eax, eax
jne 0x4f6f80
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 1
cmp dword [ebp - 0x14], 8
jb 0x4f709b
push dword [ebp - 0x28]
call fcn.005385cc
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4f70c0
push dword [ebp + 8]
call fcn.005385cc
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.0053aa3c
mov esp, ebp
pop ebp
ret