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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45199f
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x469744]
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 0x41bce8
mov dword [ebp + 0x14], eax
mov edi, ebx
mov ecx, 0xbb8
call fcn.004357d0
push esi
push str.__Copying_file__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
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 0x41bd4a
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 0x41bd7c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bfda
push str.__File_exists__skipping
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
xor eax, eax
jmp 0x41c38d
cmp eax, 1
jne 0x41bfda
mov ecx, esi
call fcn.004247a0
mov ecx, ebx
mov dword [ebp - 0x26c], eax
mov edi, edx
call fcn.004247a0
mov ecx, dword [ebp - 0x26c]
or ecx, edi
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], edx
jne 0x41bf70
or eax, edx
jne 0x41bf70
lea edi, [ebp - 0x294]
mov eax, ebx
call fcn.004245f0
lea edx, [ebp - 0x284]
push edx
call fcn.00424700
add esp, 4
push eax
push str.__Source_file_time:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, edi
add esp, 0xc
push eax
call fcn.00424700
add esp, 4
push eax
push str.__Dest_file_time:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
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 0x41bfda
push str.__File_skipped__destination_file_is_same_or_newer
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x41bf69
mov eax, 0x459b08
lea ecx, [ebp - 0x238]
call fcn.00406640
push eax
mov eax, ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.00422060
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.0040d610
lea esi, [ebp - 0x254]
call fcn.0042dd60
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0042dd60
mov eax, str.usequence
lea ecx, [ebp - 0x238]
call fcn.00406640
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00422060
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040d610
lea esi, [ebp - 0x254]
call fcn.0042dd60
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0042dd60
mov eax, str.group
lea ecx, [ebp - 0x238]
call fcn.00406640
push eax
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 5
call fcn.00422060
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040d610
lea esi, [ebp - 0x254]
call fcn.0042dd60
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.0042dd60
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, ebx
mov ecx, str.File
call fcn.0041c3b0
mov esi, dword [ebp - 0x27c]
test esi, esi
je 0x41bf69
mov edi, dword [ebp - 0x278]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
add esp, 4
xor eax, eax
jmp 0x41c38d
mov eax, dword [ebp - 0x26c]
push edi
push eax
call fcn.00424690
push eax
push str.__Source_version:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x264]
add esp, 0x14
push ecx
push edx
call fcn.00424690
push eax
push str.__Dest_version:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0x14
cmp dword [ebp - 0x260], edi
jl 0x41bfda
jg 0x41be2c
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x264], eax
jae 0x41be2c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c010
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x41c010
push str.__Destination_file_is_read_only__clearing_attributes
push 0x46a9d4
xor eax, eax
call fcn.0042d150
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 0x41c119
mov edx, dword [ebp - 0x258]
cmp byte [edx + 0x40], al
jne 0x41c119
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
sub eax, 2
mov dword [ebp - 0x268], edi
je 0x41c087
dec eax
je 0x41c0a9
sub eax, 0x1d
je 0x41c0de
push esi
push edi
push str.__Copy_file_error__0X_X__on_source___s._Trying_again.
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0x10
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x41c126
mov eax, dword [ebp - 0x260]
mov ecx, eax
inc eax
mov dword [ebp - 0x260], eax
cmp ecx, 3
jl 0x41c020
jmp 0x41c126
push ebx
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a583
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 0x41c08f
push str.__File_in_use__setting_copy_on_boot
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
push ebx
lea edx, [ebp - 0x284]
mov ecx, esi
call fcn.0041bb00
mov edx, dword [ebp - 0x258]
mov dword [edx + 0x38], 1
mov dword [ebp - 0x268], 0
jmp 0x41c126
lea edi, [ebp - 0x284]
mov eax, ebx
call fcn.00424640
cmp dword [ebp - 0x260], 5
jne 0x41c147
push esi
push str.Copy_file_error_on_source___s__aborting
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
cmp dword [ebp - 0x268], 0
jne 0x41c387
cmp dword [ebp + 0x14], 0
je 0x41c387
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x459b08
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.00406550
mov ecx, esi
push ecx
mov eax, ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00422060
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 8
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c1d1
mov edx, dword [ebp - 0x254]
push edx
call fcn.00439c00
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 0x41c207
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00439c00
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.00406550
mov eax, esi
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call fcn.00422060
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c276
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00439c00
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 0x41c2ac
mov eax, dword [ebp - 0x238]
push eax
call fcn.00439c00
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.00406550
mov eax, dword [ebp - 0x288]
mov edx, esi
push edx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
call fcn.00422060
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c31b
mov eax, dword [ebp - 0x254]
push eax
call fcn.00439c00
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 0x41c350
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439c00
add esp, 4
mov eax, dword [ebp - 0x258]
push eax
lea edx, [ebp - 0x27c]
mov ecx, str.File
call fcn.0041c3b0
mov esi, dword [ebp - 0x27c]
cmp esi, ebx
je 0x41c387
mov edi, dword [ebp - 0x278]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
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.00438876
mov esp, ebp
pop ebp
ret 0x14