Function at 0x465bf0
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcac
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x465e7d
test ebx, ebx
je 0x465e7d
mov ecx, 0x81
cmp dword [ebp + 0x10], ecx
cmovle ecx, dword [ebp + 0x10]
mov dword [ebp - 0xcac], ecx
cmp dword [ebp + 0x14], ecx
jge 0x465e7d
push edi
push 0x210
lea eax, [ebp - 0x844]
push 0
push eax
call fcn.00432c40
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x844]
add esp, 0xc
push 0x48451c
push ebx
push eax
call edi
push 0x250
lea eax, [ebp - 0xca4]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0xca4]
push eax
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xca8], eax
cmp eax, 0xffffffff
je 0x465e68
nop dword [eax + eax]
push 0x210
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0xc78]
push eax
push ebx
lea eax, [ebp - 0x424]
push eax
call edi
test dword [ebp - 0xca4], 0x10
jne 0x465de4
push 0x210
lea eax, [ebp - 0xa54]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x80
push eax
push 0x10
push dword [esi]
lea eax, [ebp - 0xa54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
push 0x210
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0xa54]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x214]
push eax
call edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465d51
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x465dd5
push 0x210
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x4ac148
push eax
lea eax, [ebp - 0x634]
push eax
call edi
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x465dcc
push eax
lea eax, [ebp - 0x634]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x465dd5
mov dword [esi + 8], 0
jmp 0x465e22
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x465e22
cmp word [ebp - 0xc78], 0x2e
jne 0x465e0a
mov ax, word [ebp - 0xc76]
test ax, ax
je 0x465e22
cmp ax, 0x2e
jne 0x465e0a
cmp word [ebp - 0xc74], 0
je 0x465e22
mov eax, dword [ebp + 0x14]
inc eax
push eax
push dword [ebp - 0xcac]
lea eax, [ebp - 0x424]
push eax
push esi
call fcn.00465bf0
lea eax, [ebp - 0xca4]
push eax
push dword [ebp - 0xca8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x465ca0
push dword [ebp - 0xca8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10