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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fd9f
mov eax, dword fs:[0]
push eax
sub esp, 0x5b4
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0048e1c0
add esp, 4
test eax, eax
jne 0x48cfae
mov ecx, dword [ebp + 8]
push ecx
push str.DeleteFolderEx_is_not_exist_
push 0xf3
push 0x4a8e54
call fcn.0040fa10
add esp, 0x10
xor eax, eax
jmp 0x48d58f
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00466700
add esp, 0xc
mov ecx, dword [0x4d1dac]
add ecx, 1
mov dword [0x4d1dac], ecx
cmp dword [0x4d1dac], 0xa
jbe 0x48cffb
mov edx, dword [0x4d1dac]
sub edx, 1
mov dword [0x4d1dac], edx
xor eax, eax
jmp 0x48d58f
cmp dword [ebp + 8], 0
jne 0x48d015
mov eax, dword [0x4d1dac]
sub eax, 1
mov dword [0x4d1dac], eax
xor eax, eax
jmp 0x48d58f
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.00466e86
add esp, 0xc
test eax, eax
jne 0x48d045
mov eax, dword [0x4d1dac]
sub eax, 1
mov dword [0x4d1dac], eax
xor eax, eax
jmp 0x48d58f
cmp dword [ebp + 8], 0
je 0x48d05c
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48d072
mov edx, dword [0x4d1dac]
sub edx, 1
mov dword [0x4d1dac], edx
xor eax, eax
jmp 0x48d58f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00401af0
push eax
push 0x4a8e64
lea ecx, [ebp - 0x234]
call fcn.00401b90
mov esi, eax
lea ecx, [ebp - 0x234]
call fcn.00401af0
sub eax, 1
cmp esi, eax
je 0x48d0f9
push 0x4a8e68
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.004052c0
add esp, 0xc
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401970
lea ecx, [ebp - 0x27c]
call fcn.0040bf10
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x264]
call fcn.00401920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0040c080
mov byte [ebp - 4], 2
push 0x4a8e6c
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x2f4]
push eax
call fcn.004052c0
add esp, 0xc
mov dword [ebp - 0x594], eax
mov ecx, dword [ebp - 0x594]
push ecx
lea ecx, [ebp - 0x264]
call fcn.00401970
lea ecx, [ebp - 0x2f4]
call fcn.0040bf10
mov dword [ebp - 0x57c], 0xffffffff
lea edx, [ebp - 0x574]
push edx
lea ecx, [ebp - 0x264]
call fcn.0040b7e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x57c], eax
cmp dword [ebp - 0x57c], 0xffffffff
je 0x48d424
mov eax, dword [ebp - 0x574]
and eax, 0x10
je 0x48d26c
push 0x4a8e70
lea ecx, [ebp - 0x548]
push ecx
call fcn.00467245
add esp, 8
test eax, eax
je 0x48d26a
push 0x4a8e74
lea edx, [ebp - 0x548]
push edx
call fcn.00467245
add esp, 8
test eax, eax
je 0x48d26a
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040b350
mov dword [ebp - 0x5ac], eax
mov ecx, dword [ebp - 0x5ac]
mov dword [ebp - 0x59c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x59c]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.004053c0
add esp, 0xc
mov dword [ebp - 0x5bc], eax
mov edx, dword [ebp - 0x5bc]
mov dword [ebp - 0x5a4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x5a4]
call fcn.0040b7e0
push eax
call fcn.0048cf50
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.0040bf10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x294]
call fcn.0040bf10
jmp 0x48d2c4
lea ecx, [ebp - 0x548]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x2dc]
push eax
call fcn.004052c0
add esp, 0xc
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00401970
lea ecx, [ebp - 0x2dc]
call fcn.0040bf10
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x24c]
call fcn.0040b7e0
push eax
call fcn.0048dba0
add esp, 8
lea eax, [ebp - 0x574]
push eax
mov ecx, dword [ebp - 0x57c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x48d417
mov edx, dword [ebp - 0x574]
and edx, 0x10
je 0x48d3ba
push 0x4a8e7c
lea eax, [ebp - 0x548]
push eax
call fcn.00467245
add esp, 8
test eax, eax
je 0x48d3b8
push 0x4a8e80
lea ecx, [ebp - 0x548]
push ecx
call fcn.00467245
add esp, 8
test eax, eax
je 0x48d3b8
lea edx, [ebp - 0x548]
push edx
lea ecx, [ebp - 0x324]
call fcn.0040b350
mov dword [ebp - 0x590], eax
mov eax, dword [ebp - 0x590]
mov dword [ebp - 0x598], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x598]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x30c]
push eax
call fcn.004053c0
add esp, 0xc
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5a8], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x5a8]
call fcn.0040b7e0
push eax
call fcn.0048cf50
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30c]
call fcn.0040bf10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x324]
call fcn.0040bf10
jmp 0x48d412
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call fcn.004052c0
add esp, 0xc
mov dword [ebp - 0x5b0], eax
mov eax, dword [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00401970
lea ecx, [ebp - 0x2c4]
call fcn.0040bf10
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0040b7e0
push eax
call fcn.0048dba0
add esp, 8
jmp 0x48d2c4
mov edx, dword [ebp - 0x57c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x21c]
push eax
push str.DeleteFolderEx_szFullPath_s
push 0xb4
push 0x4a8ec4
call fcn.0040fa10
add esp, 0x10
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x48d542
cmp dword [ebp + 0xc], 0
je 0x48d542
lea edx, [ebp - 0x21c]
push edx
push 0x4a8ed8
push 0xb4
push 0x4a8f28
call fcn.0040fa10
add esp, 0x10
push 4
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x578]
call fcn.00401600
mov byte [ebp - 4], 7
push 0x5c
lea ecx, [ebp - 0x578]
call fcn.004016e0
mov dword [ebp - 0x580], eax
cmp dword [ebp - 0x580], 0xffffffff
jne 0x48d4cf
lea ecx, [ebp - 0x578]
call fcn.0040b1a0
jmp 0x48d51f
mov edx, dword [ebp - 0x580]
push edx
lea eax, [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x578]
call fcn.004017c0
mov dword [ebp - 0x584], eax
mov ecx, dword [ebp - 0x584]
mov dword [ebp - 0x5c0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5c0]
push edx
lea ecx, [ebp - 0x578]
call fcn.004016a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58c]
call fcn.00401680
lea ecx, [ebp - 0x578]
call fcn.004015a0
push eax
call fcn.0048d5b0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x578]
call fcn.00401680
mov eax, dword [0x4d1dac]
sub eax, 1
mov dword [0x4d1dac], eax
mov dword [ebp - 0x5b4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0040bf10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0040bf10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0040bf10
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret