Function at 0x57a840
Capabilities:
Copy file
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e16ca
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004092b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004092b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00403290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00403290
mov byte [ebp - 4], 4
lea edx, [ebp - 0x18]
push edx
call fcn.0057a000
add esp, 4
lea eax, [ebp - 0x20]
push eax
call fcn.0057a000
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040ca60
push 0x617688
lea ecx, [ebp - 0x1c]
call fcn.004972f0
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x57a956
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00403270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00403270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403270
mov eax, dword [ebp - 0x280]
jmp 0x57aac0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057a6d0
add esp, 4
push 0x61768c
lea ecx, [ebp - 0x250]
push ecx
call fcn.005236c0
add esp, 8
test eax, eax
je 0x57a992
push 0x617690
lea edx, [ebp - 0x250]
push edx
call fcn.005236c0
add esp, 8
test eax, eax
jne 0x57a997
jmp 0x57aa3e
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ca60
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004972f0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040ca60
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x14]
call fcn.004972f0
mov ecx, dword [ebp - 0x27c]
and ecx, 0x10
je 0x57a9f8
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00493020
push eax
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call fcn.0057a840
add esp, 0xc
jmp 0x57aa3e
push 0
lea ecx, [ebp - 0x14]
call fcn.00493020
push eax
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp + 0x10], 0
je 0x57aa3e
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x57aa3e
push 4
push 0
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x57a962
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x57aa71
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x284], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00403270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00403270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403270
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret