Function at 0x407ae0
Capabilities:
Check if file exists
Delete directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4738ac
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x49b3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3b8], ecx
push str.xiaoyu_
push 0x1a
lea eax, [ebp - 0x364]
push eax
call fcn.004017a0
add esp, 8
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x3c0]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.00402b90
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x364]
call fcn.00403ef0
lea ecx, [ebp - 0x3d8]
call fcn.004049e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3d8]
push ecx
lea ecx, [ebp - 0x34c]
call fcn.00403c60
push eax
mov ecx, dword [ebp - 0x3b8]
call fcn.00407750
lea edx, [ebp - 0x3b4]
push edx
lea ecx, [ebp - 0x3d8]
call fcn.004049c0
jmp 0x407bb1
lea ecx, [ebp - 0x3b4]
call fcn.00404890
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x3d8]
call fcn.004049b0
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00404870
movzx ecx, al
test ecx, ecx
je 0x407c3a
lea ecx, [ebp - 0x3b4]
call fcn.004048a0
mov ecx, eax
call fcn.00403c60
push eax
lea edx, [ebp - 0x334]
push edx
call fcn.00401fc0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x334]
call fcn.00403700
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407c26
lea ecx, [ebp - 0x334]
call fcn.00403700
push eax
call fcn.00401840
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x334]
call fcn.00403b30
jmp 0x407ba6
mov dword [ebp - 0x3b0], 0
jmp 0x407c55
mov eax, dword [ebp - 0x3b0]
add eax, 1
mov dword [ebp - 0x3b0], eax
cmp dword [ebp - 0x3b0], 9
jae 0x407c79
mov ecx, dword [ebp - 0x3b0]
mov edx, dword [ecx*4 + 0x49b034]
push edx
mov ecx, dword [ebp - 0x3b8]
call fcn.00407dc0
jmp 0x407c46
lea eax, [ebp - 0x37c]
push eax
call fcn.00408010
mov ecx, eax
call fcn.00409fb0
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3c4]
call fcn.00403c60
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x37c]
call fcn.00403ef0
push str.remindmusic_
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x3b8]
call fcn.00407750
lea ecx, [ebp - 0x394]
push ecx
call fcn.00408010
mov ecx, eax
call fcn.00409fb0
mov dword [ebp - 0x3c8], eax
mov ecx, dword [ebp - 0x3c8]
call fcn.00403c60
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x394]
call fcn.00403ef0
xor edx, edx
mov word [ebp - 0x31c], dx
push 0x206
push 0
lea eax, [ebp - 0x31a]
push eax
call fcn.00459940
add esp, 0xc
lea ecx, [ebp - 0x31c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x3ac]
push eax
call fcn.00408010
mov ecx, eax
call fcn.00409fb0
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x3cc]
call fcn.00403c60
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x3ac]
call fcn.00403ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3d8]
call fcn.004049d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.00403ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457d74
mov esp, ebp
pop ebp
ret