Function at 0x4063d3
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push 0x48
mov eax, 0x464610
call fcn.00456faa
lea edi, [ebp - 0x50]
call fcn.00405532
and dword [ebp - 4], 0
mov eax, dword [0x4833bc]
mov esi, 0x4833bc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4833bc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4833bc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4833bc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
mov eax, dword [0x4833bc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
mov eax, dword [0x4833bc]
mov ecx, esi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 6
and dword [esi + 0x74], 0
push esi
call fcn.00402030
push eax
lea eax, [ebp - 0x1c]
call fcn.00405a58
test eax, eax
jl 0x4065de
push str.update
lea ecx, [ebp - 0x1c]
call fcn.0044eaaf
lea edi, [esi + 0x40]
lea esi, [ebp - 0x50]
call fcn.0040572b
test eax, eax
je 0x4065de
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x20]
call fcn.004052c3
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x4065c8
lea eax, [ebp - 0x3c]
lea edi, [ebp - 0x24]
call fcn.004052c3
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x10]
call fcn.004052c3
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.0044eaaf
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.0044eaaf
mov eax, dword [ebp - 0x10]
call fcn.0044ea5c
test eax, eax
je 0x4065c8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call fcn.00405232
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0044eaaf
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0044ea5c
test eax, eax
jne 0x406545
call fcn.00402030
push 2
push ebx
call fcn.0040206c
test eax, eax
jl 0x4065de
call fcn.00402030
push esi
push 0x1f01ff
mov ecx, ebx
call fcn.0040231b
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.0044eaaf
lea eax, [ebp - 0x38]
lea edi, [ebp - 0x18]
call fcn.004052c3
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.0044eaaf
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0044ea5c
test eax, eax
je 0x40657e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4065c8
mov edi, dword [ebp - 0x18]
mov eax, edi
call fcn.0044ea5c
test eax, eax
je 0x4065a0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4065a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4065c8
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4065bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4065c8
lea eax, [ebp - 0x50]
push eax
call fcn.00405599
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x50]
add edi, 0x40
call fcn.0040572b
test eax, eax
jne 0x4064a6
lea eax, [ebx - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00404929
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404929
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00404929
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404929
lea esi, [ebp - 0x50]
call fcn.00405f7c
xor eax, eax
call fcn.00457082
ret 4