Function at 0x418810
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
sub esp, 0xd44
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0xd40], eax
mov eax, dword [esp + 0xd4c]
push ebx
push ebp
mov ebp, dword [esp + 0xd50]
push esi
xor esi, esi
mov ebx, ecx
push 0x206
lea ecx, [esp + 0x122]
push esi
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov word [esp + 0x128], si
call fcn.00499a30
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x17
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x324]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x324]
push edx
push 0x4cdb88
push 0x208
lea eax, [esp + 0x128]
push 0x104
push eax
call fcn.00496163
push ebx
push edi
lea ecx, [esp + 0x340]
push ecx
push str._s_s_s
push 0x410
lea edx, [esp + 0x554]
push 0x208
push edx
call fcn.00496163
add esp, 0x30
lea eax, [esp + 0x52c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x103
lea ecx, [esp + 0x1d]
push esi
push ecx
mov byte [esp + 0x24], 0
call fcn.00499a30
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetACP]
push esi
push esi
push 0x104
lea edx, [esp + 0x24]
push edx
mov ebx, eax
push 0xffffffffffffffff
lea eax, [esp + 0x130]
push eax
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
lea ecx, [esp + 0x1c]
push ecx
call esi
push 0x4cdba4
lea edx, [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea eax, [esp + 0x328]
push eax
push 0x4cca7c
push 0x410
lea ecx, [esp + 0x94c]
push 0x208
push ecx
call fcn.00496163
add esp, 0x18
push 0
push 0
push 0x104
lea edx, [esp + 0x24]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x130]
push eax
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x93c]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0xc]
push ecx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x324]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 0x324]
push ecx
push 0x4cdb88
push 0x208
lea edx, [esp + 0x128]
push 0x104
push edx
call fcn.00496163
mov eax, dword [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x340]
push ecx
push str._s_s_s
push 0x410
lea edx, [esp + 0x554]
push 0x208
push edx
call fcn.00496163
add esp, 0x30
lea eax, [esp + 0x52c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x104
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x130]
push edx
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
lea eax, [esp + 0x1c]
push eax
call esi
push 0x4cdba4
lea ecx, [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [esp + 0x328]
push edx
push 0x4cca7c
push 0x410
lea eax, [esp + 0x94c]
push 0x208
push eax
call fcn.00496163
add esp, 0x18
push 0
push 0
push 0x104
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x130]
push edx
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x93c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0xd4c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00495cb8
add esp, 0xd44
ret