Function at 0x100e3030
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov byte [ebp - 2], dl
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100e3044
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100e3248
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e305d
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e306e
mov eax, dword [edi]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp + 8]
cmp eax, 1
sete byte [ebp - 1]
je 0x100e317b
cmp byte [ebp - 2], 0
je 0x100e317b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100e317b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e30aa
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
test dl, 1
je 0x100e317b
test ebx, ebx
je 0x100e30e2
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100e30ca
mov ecx, dword [edi]
mov eax, dword [ebx]
push edx
push ecx
push str.File__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push str.FileUtils
push 0x101a4aec
push 0x14
push ebx
jmp 0x100e3143
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100e3119
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100e30f5
mov ecx, dword [edi]
push edx
push ecx
push str.File__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x14
call eax
add esp, 0x20
jmp 0x100e3149
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100e3149
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x100e312d
mov esi, dword [edi]
mov eax, dword [ecx]
push edx
push esi
push str.File__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push str.FileUtils
push 0x101a4aec
push 0x14
push ecx
call dword [eax + 0x34]
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e3153
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100e3169
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete al
mov byte [ebp - 1], al
jmp 0x100e317e
mov al, byte [ebp - 1]
test al, al
jne 0x100e323e
test ebx, ebx
je 0x100e31be
cmp dword [edi + 0x14], 8
jb 0x100e3192
mov edi, dword [edi]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push str.FileUtils
push 0x101a4aec
push 0x32
push ebx
call dword [esi + 0x34]
mov al, byte [ebp - 1]
add esp, 0x1c
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x101e9ed0], 0
je 0x100e3205
cmp dword [edi + 0x14], 8
jb 0x100e31cf
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push 0x101a4aec
push 0x101a4aec
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
mov al, byte [ebp - 1]
add esp, 0x20
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x101e9ed4]
test esi, esi
je 0x100e323e
cmp dword [edi + 0x14], 8
jb 0x100e3217
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push str.FileUtils
push 0x101a4aec
push 0x32
push dword [0x101e9ed4]
call dword [esi + 0x34]
add esp, 0x1c
mov al, byte [ebp - 1]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret