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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x280], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x4c681e
xor eax, eax
jmp 0x4c6a78
lea ecx, [ebp - 4]
call fcn.0044c430
lea ecx, [ebp - 0x264]
call fcn.0044c430
push 0x104
lea ecx, [ebp - 4]
call fcn.004c6d80
movzx ecx, al
test ecx, ecx
je 0x4c685c
push 0x104
lea ecx, [ebp - 0x264]
call fcn.004c6d80
movzx edx, al
test edx, edx
jne 0x4c6884
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x264]
call fcn.004c6cb0
lea ecx, [ebp - 4]
call fcn.004c6cb0
mov eax, dword [ebp - 0x26c]
jmp 0x4c6a78
push 0x512ad8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 4]
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4c68e3
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x264]
call fcn.004c6cb0
lea ecx, [ebp - 4]
call fcn.004c6cb0
mov eax, dword [ebp - 0x270]
jmp 0x4c6a78
lea ecx, [ebp - 4]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0xc], 1
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x268]
call fcn.0040f510
push 0x512ac8
lea eax, [ebp - 0x268]
push eax
call fcn.00416ec0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4c6941
push 0x514758
lea edx, [ebp - 0x268]
push edx
call fcn.00416ec0
add esp, 8
movzx eax, al
test eax, eax
je 0x4c694e
lea ecx, [ebp - 0x268]
call fcn.004335b0
jmp 0x4c69ca
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 4]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0x264]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x4c6997
lea ecx, [ebp - 0x264]
call fcn.0044ea20
push eax
mov ecx, dword [ebp - 0x280]
call fcn.004c67f0
mov dword [ebp - 0xc], eax
jmp 0x4c69ac
lea ecx, [ebp - 0x264]
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c69bf
lea ecx, [ebp - 0x268]
call fcn.004335b0
jmp 0x4c69e3
lea ecx, [ebp - 0x268]
call fcn.004335b0
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c68f9
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xc], 0
jne 0x4c6a18
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x264]
call fcn.004c6cb0
lea ecx, [ebp - 4]
call fcn.004c6cb0
mov eax, dword [ebp - 0x274]
jmp 0x4c6a78
lea ecx, [ebp - 4]
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c6a55
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x264]
call fcn.004c6cb0
lea ecx, [ebp - 4]
call fcn.004c6cb0
mov eax, dword [ebp - 0x278]
jmp 0x4c6a78
mov dword [ebp - 0x27c], 1
lea ecx, [ebp - 0x264]
call fcn.004c6cb0
lea ecx, [ebp - 4]
call fcn.004c6cb0
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret 4