Function at 0x100e32f0
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182af8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100e3329
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100e338f
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100e3364
push str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
xor al, al
jmp 0x100e363a
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100e33b6
mov eax, dword [ecx]
push str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
push str.FileUtils
push 0x101a4aec
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
xor al, al
jmp 0x100e363a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e3399
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100e33bd
push 0
mov dl, 1
mov ecx, edi
call fcn.100e3030
add esp, 4
test al, al
jne 0x100e33bd
xor al, al
jmp 0x100e363a
push edi
lea ecx, [ebp - 0x28]
call fcn.10004390
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100e1080
push ecx
lea ecx, [ebp - 0x28]
call fcn.100e1a10
add esp, 4
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x100e33eb
mov ecx, dword [edi]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100e33f5
mov eax, dword [ebx]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100e35dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100e34f0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x100e3424
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
push 0x44
push 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0x44
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100e3538
lea eax, [ebp - 0x2c]
push eax
push esi
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x100e346c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push eax
sub esp, 0x14
push esi
call fcn.100e3660
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x34], 0
jne 0x100e3538
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100e34a8
push str.Trying_to_copy_file_after_setting_permissions
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
jmp 0x100e34cc
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100e34cc
mov eax, dword [ecx]
push str.Trying_to_copy_file_after_setting_permissions
push str.FileUtils
push 0x101a4aec
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e34d6
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x100e34de
mov ebx, dword [ebx]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100e35dc
cmp dword [0x101e9ed0], 0
je 0x100e359f
cmp dword [edi + 0x14], 8
jb 0x100e3505
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
add esp, 0x20
xor bl, bl
jmp 0x100e3630
cmp dword [0x101e9ed0], 0
je 0x100e357c
cmp dword [ebx + 0x14], 8
jb 0x100e3549
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
add esp, 0x20
xor bl, bl
jmp 0x100e3630
mov esi, dword [0x101e9ed4]
test esi, esi
je 0x100e35d8
cmp dword [ebx + 0x14], 8
jb 0x100e358e
mov ebx, dword [ebx]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Failed_to_set_permissions_for_path__s._LastError:__d
jmp 0x100e35c0
mov esi, dword [0x101e9ed4]
test esi, esi
je 0x100e35d8
cmp dword [edi + 0x14], 8
jb 0x100e35b1
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
push str.FileUtils
push 0x101a4aec
push 0x32
push dword [0x101e9ed4]
call dword [esi + 0x34]
add esp, 0x1c
xor bl, bl
jmp 0x100e3630
cmp dword [edi + 0x10], 0
je 0x100e361a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e35ec
mov eax, dword [edi]
push 0
push 0xa0000080
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100e361a
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x14], 8
jb 0x100e3622
mov edi, dword [edi]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret