Function at 0x40d6d0
Capabilities:
Copy file
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2270
call fcn.0040a9d0
mov eax, dword [0x413018]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1a6c], 0
mov dword [ebp - 0xa64], 0
mov eax, dword [ebp + 8]
push eax
push 0x410478
push 0x400
lea ecx, [ebp - 0x1a68]
push ecx
call fcn.00401238
add esp, 0x10
lea edx, [ebp - 0xa60]
push edx
lea eax, [ebp - 0x1a68]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1a6c], eax
cmp dword [ebp - 0x1a6c], 0xffffffff
jne 0x40d74a
mov dword [0x426bb8], 0xee
jmp 0x40da25
push 0x410484
lea ecx, [ebp - 0xa34]
push ecx
call fcn.00401aae
add esp, 8
test eax, eax
je 0x40d77a
push 0x410488
lea edx, [ebp - 0xa34]
push edx
call fcn.00401aae
add esp, 8
test eax, eax
jne 0x40d77f
jmp 0x40d9df
lea eax, [ebp - 0xa34]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x410490
push 0x400
lea edx, [ebp - 0x1a68]
push edx
call fcn.00401238
add esp, 0x14
mov eax, dword [ebp - 0xa60]
and eax, 0x10
je 0x40d7ca
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1a68]
push eax
call fcn.0040d6d0
add esp, 0xc
jmp 0x40d9df
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xa34]
push edx
call fcn.004013ee
add esp, 8
test eax, eax
jne 0x40d9df
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x41049c
push 0x400
lea edx, [ebp - 0x1268]
push edx
call fcn.00401238
add esp, 0x14
push 0x4104a8
lea eax, [ebp - 0xa34]
push eax
call fcn.004013ee
add esp, 8
test eax, eax
jne 0x40d85a
lea ecx, [ebp - 0x1a68]
push ecx
lea edx, [ebp - 0x1268]
push edx
call fcn.0040d080
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xee
jne 0x40d84f
mov dword [0x426bb8], 0xee
jmp 0x40da10
cmp dword [ebp - 4], 0
jne 0x40d85a
jmp 0x40da10
lea eax, [ebp - 0x1268]
push eax
push str._s.K7Bak
push 0x400
lea ecx, [ebp - 0x2270]
push ecx
call fcn.00401238
add esp, 0x10
push 1
lea edx, [ebp - 0x2270]
push edx
lea eax, [ebp - 0x1268]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40d8de
lea ecx, [ebp - 0x1268]
push ecx
call fcn.0040cf60
add esp, 4
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xee
je 0x40d8cf
push 1
lea edx, [ebp - 0x2270]
push edx
lea eax, [ebp - 0x1268]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40d8de
mov dword [0x426bb8], 4
jmp 0x40da10
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_Backup_done_n
mov edx, dword [0x426bc4]
push edx
call fcn.00401481
add esp, 0xc
push 0
lea eax, [ebp - 0x1268]
push eax
lea ecx, [ebp - 0x1a68]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40d952
lea edx, [ebp - 0x1268]
push edx
lea eax, [ebp - 0x2270]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [0x426bb8], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.Unable_replace__s____08X_n
mov edx, dword [0x426bc4]
push edx
call fcn.00401481
add esp, 0x10
jmp 0x40da10
mov eax, dword [ebp + 0x10]
push eax
push str.Successfully_replaced__s_n
mov ecx, dword [0x426bc4]
push ecx
call fcn.00401481
add esp, 0xc
lea edx, [ebp - 0x2270]
push edx
call fcn.0040cf60
add esp, 4
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x2270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40d9d3
push 0x400
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x808]
push edx
push str._sSystem32_services.exe.K7Bak
push 0x400
lea eax, [ebp - 0x2270]
push eax
call fcn.00401238
add esp, 0x10
push 4
push 0
lea ecx, [ebp - 0x2270]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [0x426bb8], 2
jmp 0x40da10
lea edx, [ebp - 0xa60]
push edx
mov eax, dword [ebp - 0x1a6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40da10
cmp dword [0x426bb8], 1
jne 0x40da10
cmp dword [0x426bb8], 0xee
jne 0x40d74a
mov ecx, dword [ebp - 0x1a6c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
jne 0x40d6fb
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401110
mov esp, ebp
pop ebp
ret