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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45183f
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x469738]
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 0x41bc58
mov dword [ebp + 0x14], eax
mov edi, ebx
mov ecx, 0xbb8
call fcn.00435930
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 0x41bcba
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 0x41bcec
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bf4a
push str.__File_exists__skipping
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
xor eax, eax
jmp 0x41c2fd
cmp eax, 1
jne 0x41bf4a
mov ecx, esi
call fcn.004243e0
mov ecx, ebx
mov dword [ebp - 0x26c], eax
mov edi, edx
call fcn.004243e0
mov ecx, dword [ebp - 0x26c]
or ecx, edi
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], edx
jne 0x41bee0
or eax, edx
jne 0x41bee0
lea edi, [ebp - 0x294]
mov eax, ebx
call fcn.004241d0
lea edx, [ebp - 0x284]
push edx
call fcn.00424340
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.00424340
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 0x41bf4a
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 0x41bed9
mov eax, 0x459a28
lea ecx, [ebp - 0x238]
call fcn.004066a0
push eax
mov eax, ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.0040d5e0
lea esi, [ebp - 0x254]
call fcn.004066f0
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004066f0
mov eax, str.usequence
lea ecx, [ebp - 0x238]
call fcn.004066a0
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00421c80
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040d5e0
lea esi, [ebp - 0x254]
call fcn.004066f0
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004066f0
mov eax, str.group
lea ecx, [ebp - 0x238]
call fcn.004066a0
push eax
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 5
call fcn.00421c80
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040d5e0
lea esi, [ebp - 0x254]
call fcn.004066f0
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004066f0
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, ebx
mov ecx, str.File
call fcn.0041c320
mov esi, dword [ebp - 0x27c]
test esi, esi
je 0x41bed9
mov edi, dword [ebp - 0x278]
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
add esp, 4
xor eax, eax
jmp 0x41c2fd
mov eax, dword [ebp - 0x26c]
push edi
push eax
call fcn.004242d0
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.004242d0
push eax
push str.__Dest_version:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0x14
cmp dword [ebp - 0x260], edi
jl 0x41bf4a
jg 0x41bd9c
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x264], eax
jae 0x41bd9c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bf80
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x41bf80
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 0x41c089
mov edx, dword [ebp - 0x258]
cmp byte [edx + 0x40], al
jne 0x41c089
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
sub eax, 2
mov dword [ebp - 0x268], edi
je 0x41bff7
dec eax
je 0x41c019
sub eax, 0x1d
je 0x41c04e
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 0x41c096
mov eax, dword [ebp - 0x260]
mov ecx, eax
inc eax
mov dword [ebp - 0x260], eax
cmp ecx, 3
jl 0x41bf90
jmp 0x41c096
push ebx
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a043
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 0x41bfff
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.0041ba70
mov edx, dword [ebp - 0x258]
mov dword [edx + 0x38], 1
mov dword [ebp - 0x268], 0
jmp 0x41c096
lea edi, [ebp - 0x284]
mov eax, ebx
call fcn.00424220
cmp dword [ebp - 0x260], 5
jne 0x41c0b7
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 0x41c2f7
cmp dword [ebp + 0x14], 0
je 0x41c2f7
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x459a28
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.004065b0
mov ecx, esi
push ecx
mov eax, ebx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 8
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c141
mov edx, dword [ebp - 0x254]
push edx
call fcn.004396db
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 0x41c177
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004396db
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.004065b0
mov eax, esi
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c1e6
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.004396db
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 0x41c21c
mov eax, dword [ebp - 0x238]
push eax
call fcn.004396db
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.004065b0
mov eax, dword [ebp - 0x288]
mov edx, esi
push edx
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41c28b
mov eax, dword [ebp - 0x254]
push eax
call fcn.004396db
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 0x41c2c0
mov edx, dword [ebp - 0x238]
push edx
call fcn.004396db
add esp, 4
mov eax, dword [ebp - 0x258]
push eax
lea edx, [ebp - 0x27c]
mov ecx, str.File
call fcn.0041c320
mov esi, dword [ebp - 0x27c]
cmp esi, ebx
je 0x41c2f7
mov edi, dword [ebp - 0x278]
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
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.00438351
mov esp, ebp
pop ebp
ret 0x14