Function at 0x401d30
Capabilities:
Copy file
Delete directory
Delete file
Get common file path

Disassembly:
sub esp, 0x534
mov dl, byte [0x4100f0]
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], dl
mov byte [esp + 0x33c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x33d]
mov byte [esp + 0x440], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x441]
mov byte [esp + 0x238], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x239]
xor ebp, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
push 0x17
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4020b5
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
cmp eax, ebp
je 0x401f23
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4020b5
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x238]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x40d1b8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x4100e0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x13c]
push ecx
push edx
push eax
call ebx
lea ecx, [esp + 0x138]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x440]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x40d1c4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x4100e0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x13c]
push ecx
push edx
push eax
call ebx
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x33c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], ebp
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x33c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x14]
and ecx, 3
mov dword [esp + 0x18], 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x34]
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, 0x418
mov byte [esp + 0x33c], cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov word [esp + 0x24], di
mov dword [esp + 0x26], ebp
mov dword [esp + 0x2a], ebp
mov dword [esp + 0x2e], ebp
push eax
call esi
lea edx, [esp + 0x14]
lea ecx, [esp + 0x34]
push edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov word [esp + 0x28], di
mov dword [esp + 0x2a], ebp
mov dword [esp + 0x2e], ebp
mov dword [esp + 0x32], ebp
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x190
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x440]
lea ecx, [esp + 0x34]
push eax
push ecx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea edx, [esp + 0x34]
push edx
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc8
call esi
lea eax, [esp + 0x238]
lea ecx, [esp + 0x34]
push eax
push ecx
call edi
mov eax, dword [0x40d1d8]
mov ecx, dword [0x4100e0]
lea edx, [esp + 0x138]
push 0x100
push edx
push eax
push ecx
call ebx
lea edx, [esp + 0x138]
lea eax, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x34]
push ecx
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc8
call esi
lea edx, [esp + 0x238]
lea eax, [esp + 0x34]
push edx
push eax
call edi
mov edx, dword [0x40d1dc]
mov eax, dword [0x4100e0]
lea ecx, [esp + 0x138]
push 0x100
push ecx
push edx
push eax
call ebx
lea ecx, [esp + 0x138]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x34]
push eax
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc8
call esi
lea ecx, [esp + 0x238]
lea edx, [esp + 0x34]
push ecx
push edx
call edi
mov ecx, dword [0x40d1d8]
mov edx, dword [0x4100e0]
lea eax, [esp + 0x138]
push 0x100
push eax
push ecx
push edx
call ebx
lea eax, [esp + 0x138]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x34]
push edx
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc8
call esi
lea eax, [esp + 0x238]
lea ecx, [esp + 0x34]
push eax
push ecx
call edi
mov eax, dword [0x40d1dc]
mov ecx, dword [0x4100e0]
lea edx, [esp + 0x138]
push 0x100
push edx
push eax
push ecx
call ebx
lea edx, [esp + 0x138]
lea eax, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x34]
push ecx
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret