Function at 0x41ba80
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450b7f
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28c], eax
xor eax, eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], eax
cmp byte [ecx + 0x40], al
je 0x41bae8
mov dword [ebp + 0x14], eax
mov edi, ebx
mov ecx, 0xbb8
call fcn.00434db0
push esi
push str.__Copying_file__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push 0x20000
push esi
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41bb4a
lea eax, [ebp - 0x284]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x41bb7c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bdda
push str.__File_exists__skipping
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 8
xor eax, eax
jmp 0x41c18d
cmp eax, 1
jne 0x41bdda
mov ecx, esi
call fcn.004244b0
mov ecx, ebx
mov dword [ebp - 0x26c], eax
mov edi, edx
call fcn.004244b0
mov ecx, dword [ebp - 0x26c]
or ecx, edi
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], edx
jne 0x41bd70
or eax, edx
jne 0x41bd70
lea edi, [ebp - 0x294]
mov eax, ebx
call fcn.004242a0
lea edx, [ebp - 0x284]
push edx
call fcn.00424410
add esp, 4
push eax
push str.__Source_file_time:__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, edi
add esp, 0xc
push eax
call fcn.00424410
add esp, 4
push eax
push str.__Dest_file_time:__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
mov ecx, edi
push ecx
lea edx, [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
dec eax
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x41bdda
push str.__File_skipped__destination_file_is_same_or_newer
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x41bd69
mov eax, 0x458a28
lea ecx, [ebp - 0x238]
call fcn.00406690
push eax
mov eax, ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.0040d460
lea esi, [ebp - 0x254]
call fcn.0040ff00
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0040ff00
mov eax, str.usequence
lea ecx, [ebp - 0x238]
call fcn.00406690
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00421d40
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040d460
lea esi, [ebp - 0x254]
call fcn.0040ff00
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0040ff00
mov eax, str.group
lea ecx, [ebp - 0x238]
call fcn.00406690
push eax
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 5
call fcn.00421d40
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040d460
lea esi, [ebp - 0x254]
call fcn.0040ff00
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0040ff00
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, ebx
mov ecx, str.File
call fcn.0041c1b0
mov esi, dword [ebp - 0x27c]
test esi, esi
je 0x41bd69
mov edi, dword [ebp - 0x278]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
add esp, 4
xor eax, eax
jmp 0x41c18d
mov eax, dword [ebp - 0x26c]
push edi
push eax
call fcn.004243a0
push eax
push str.__Source_version:__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x264]
add esp, 0x14
push ecx
push edx
call fcn.004243a0
push eax
push str.__Dest_version:__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0x14
cmp dword [ebp - 0x260], edi
jl 0x41bdda
jg 0x41bc2c
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x264], eax
jae 0x41bc2c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41be10
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x41be10
push str.__Destination_file_is_read_only__clearing_attributes
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 8
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x260], 0
lea ebx, [ebx]
push 0
push ebx
push esi
mov dword [ebp - 0x268], 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41bf19
mov edx, dword [ebp - 0x258]
cmp byte [edx + 0x40], al
jne 0x41bf19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
sub eax, 2
mov dword [ebp - 0x268], edi
je 0x41be87
dec eax
je 0x41bea9
sub eax, 0x1d
je 0x41bede
push esi
push edi
push str.__Copy_file_error__0X_X__on_source___s._Trying_again.
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0x10
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x41bf26
mov eax, dword [ebp - 0x260]
mov ecx, eax
inc eax
mov dword [ebp - 0x260], eax
cmp ecx, 3
jl 0x41be20
jmp 0x41bf26
push ebx
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004394c3
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
jmp 0x41be8f
push str.__File_in_use__setting_copy_on_boot
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 8
push ebx
lea edx, [ebp - 0x284]
mov ecx, esi
call fcn.0041b900
mov edx, dword [ebp - 0x258]
mov dword [edx + 0x38], 1
mov dword [ebp - 0x268], 0
jmp 0x41bf26
lea edi, [ebp - 0x284]
mov eax, ebx
call fcn.004242f0
cmp dword [ebp - 0x260], 5
jne 0x41bf47
push esi
push str.Copy_file_error_on_source___s__aborting
push 0x4699dc
mov eax, 2
call fcn.0042c820
add esp, 0xc
cmp dword [ebp - 0x268], 0
jne 0x41c187
cmp dword [ebp + 0x14], 0
je 0x41c187
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x458a28
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.004065a0
mov ecx, esi
push ecx
mov eax, ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 8
call fcn.0040d460
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41bfd1
mov edx, dword [ebp - 0x254]
push edx
call fcn.00438b5b
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov byte [ebp - 4], bl
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
cmp dword [ebp - 0x224], esi
jb 0x41c007
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
push 0xa
mov eax, str.usequence
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
call fcn.004065a0
mov eax, esi
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
call fcn.0040d460
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c076
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00438b5b
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov byte [ebp - 4], bl
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], dx
cmp dword [ebp - 0x224], esi
jb 0x41c0ac
mov eax, dword [ebp - 0x238]
push eax
call fcn.00438b5b
add esp, 4
xor ecx, ecx
push 6
mov eax, str.group
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
call fcn.004065a0
mov eax, dword [ebp - 0x288]
mov edx, esi
push edx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
call fcn.0040d460
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c11b
mov eax, dword [ebp - 0x254]
push eax
call fcn.00438b5b
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
cmp dword [ebp - 0x224], esi
jb 0x41c150
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b5b
add esp, 4
mov eax, dword [ebp - 0x258]
push eax
lea edx, [ebp - 0x27c]
mov ecx, str.File
call fcn.0041c1b0
mov esi, dword [ebp - 0x27c]
cmp esi, ebx
je 0x41c187
mov edi, dword [ebp - 0x278]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
add esp, 4
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004377d1
mov esp, ebp
pop ebp
ret 0x14