Function at 0x42dbb0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov edi, ecx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x42dbdc
and eax, 0xfffffffe
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x42de7d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.0041b590
mov ecx, dword [ebp + 0xc]
add esp, 4
add ecx, 0xfffffff0
mov esi, esp
mov bh, al
push ecx
call fcn.00403380
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00424470
push dword [ebp + 0xc]
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.0041d210
add esp, 8
mov ecx, dword [eax]
test ecx, ecx
je 0x42de87
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42dc86
test dx, dx
je 0x42dc82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42dc86
add eax, 4
add ecx, 4
test dx, dx
jne 0x42dc60
xor eax, eax
jmp 0x42dc8b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x42dca0
test bh, bh
je 0x42dca0
mov byte [ebp + 0xb], 1
test bl, bl
jne 0x42dca4
mov byte [ebp + 0xb], 0
mov edx, dword [ebp - 8]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dcc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xb], 0
mov edi, dword [ebp - 4]
je 0x42de49
xor esi, esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x42ddeb
cmp esi, 0x14
jge 0x42dde7
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dd08
push dword [ebp + 0x10]
call fcn.00431f10
add esp, 4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0xc8
mov ebx, eax
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x14
jg 0x42dd32
test ebx, ebx
je 0x42dce7
jmp 0x42ddeb
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dde7
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x42de91
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 0x10]
push str.._d.tmp
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040a190
add esp, 0xc
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.0041ad10
mov edx, dword [ebp - 8]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dda3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42ddcf
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42dde7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x42ddf4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42de0e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42de28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42de40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ecx
lea eax, [edi - 0x10]
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.0040add0
add esp, 8
jmp 0x42ddf7
push 0x80004005
call fcn.00402080
push 0x80004005
call fcn.00402080
push 0x80004005
call fcn.00402080
int3