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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8b16
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4d7660
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.0041d880
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x40]
call fcn.004090e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0xffffffff
je 0x46c3d4
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004099a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
mov ecx, 0x4d765c
call fcn.0042e3c0
movzx edx, al
test edx, edx
jne 0x46c269
lea edx, [ebp - 0x28]
mov ecx, 0x4d7670
call fcn.0042e3c0
movzx eax, al
test eax, eax
je 0x46c27a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409a80
jmp 0x46c3ab
mov ecx, dword [ebp - 0x2f0]
and ecx, 0x10
je 0x46c2fe
push 0x4d766c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xa0]
call fcn.0041d880
add esp, 4
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x30c], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x30c]
lea ecx, [ebp - 0x70]
call fcn.0042ed60
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00409a80
lea ecx, [ebp - 0x70]
push ecx
call fcn.0046c1c0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00409a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409a80
jmp 0x46c3ab
push 0x4d76c0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x88]
call fcn.0041d880
add esp, 4
mov dword [ebp - 0x308], eax
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0x300], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x300]
lea ecx, [ebp - 0x58]
call fcn.0042ed60
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.00409a80
lea ecx, [ebp - 0x58]
call fcn.004090e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x46c393
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x58]
call fcn.004090e0
push eax
push str.DeleteFile_fileName___s_error___d
push 0x195
push 0x4d76fc
call fcn.00461db0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00409a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409a80
lea ecx, [ebp - 0x2f0]
push ecx
mov edx, dword [ebp - 0x2fc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46c22e
mov eax, dword [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
call fcn.004090e0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x46c42e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4d76c4
push 0x19d
push str.utility::ufile::removeDir
call fcn.00461db0
add esp, 0x10
mov byte [ebp - 0x2f1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00409a80
mov al, byte [ebp - 0x2f1]
jmp 0x46c44a
mov byte [ebp - 0x2f2], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00409a80
mov al, byte [ebp - 0x2f2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret