Function at 0x100ff550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192d38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101f62b4]
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 0x100ff589
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100ff601
mov esi, dword [0x101fc354]
test esi, esi
je 0x100ff5cd
push str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
xor al, al
jmp 0x100ff887
mov eax, dword [0x101fc358]
test eax, eax
je 0x100ff628
mov esi, dword [eax]
push str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
push str.FileUtils
push 0x101ace8c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
xor al, al
jmp 0x100ff887
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100ff60b
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100ff62f
push 0
mov dl, 1
mov ecx, edi
call fcn.100ff240
add esp, 4
test al, al
jne 0x100ff62f
xor al, al
jmp 0x100ff887
push edi
lea ecx, [ebp - 0x28]
call fcn.10002820
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100fd010
push ecx
lea ecx, [ebp - 0x28]
call fcn.100fd9f0
add esp, 4
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x100ff65d
mov ecx, dword [edi]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100ff667
mov eax, dword [ebx]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100ff832
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100ff728
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100ff692
mov ecx, dword [edi]
push ecx
call fcn.100ffa60
add esp, 4
test al, al
je 0x100ff77a
mov esi, dword [0x101fc354]
test esi, esi
je 0x100ff6d7
push str.Trying_to_copy_file_after_setting_permissions
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x100ff704
mov eax, dword [0x101fc358]
test eax, eax
je 0x100ff704
mov esi, dword [eax]
push str.Trying_to_copy_file_after_setting_permissions
push str.FileUtils
push 0x101ace8c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100ff70e
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x100ff716
mov ebx, dword [ebx]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100ff832
cmp dword [0x101fc354], 0
je 0x100ff7eb
cmp dword [edi + 0x14], 8
jb 0x100ff73d
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x101fc354]
mov ecx, esi
push eax
push edi
push str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x20
xor bl, bl
jmp 0x100ff84f
cmp dword [0x101fc354], 0
je 0x100ff7c8
cmp dword [ebx + 0x14], 8
jb 0x100ff78b
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x101fc354]
mov ecx, esi
push eax
push ebx
push str.Failed_to_set_permissions_for_path__s._LastError:__d
push 0x101ace8c
push 0x101ace8c
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x1019a4f8]
call esi
add esp, 0x20
xor bl, bl
jmp 0x100ff84f
mov esi, dword [0x101fc358]
test esi, esi
je 0x100ff82e
cmp dword [ebx + 0x14], 8
jb 0x100ff7da
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 0x100ff80c
mov esi, dword [0x101fc358]
test esi, esi
je 0x100ff82e
cmp dword [edi + 0x14], 8
jb 0x100ff7fd
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
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.FileUtils
push 0x101ace8c
push 0x32
push dword [0x101fc358]
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x100ff84f
mov ecx, edi
call fcn.100ff8b0
cmp dword [edi + 0x14], 8
jb 0x100ff841
mov edi, dword [edi]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100ff885
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ff87b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ff8a3
push edx
push ecx
call fcn.1015cb05
add esp, 8
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.1015c7a5
mov esp, ebp
pop ebp
ret
call fcn.10168635
int3