Function at 0x4acd60
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp], edx
mov esi, ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x108
push str....._base_files_file_util_win.cc
push str.DoDeleteFile
push ebx
call fcn.005613a0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.005546a0
movsx ecx, byte [esi + 0xb]
test ecx, ecx
mov eax, dword [esi + 4]
mov edx, ecx
cmovs edx, eax
test edx, edx
je 0x4ace6e
test cl, cl
sets cl
cmp eax, 0x104
setae al
test cl, al
jne 0x4acf28
mov ecx, esi
push ebx
call fcn.00562640
movsx eax, byte [esp + 0x1b]
test eax, eax
jns 0x4acdfc
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x4acf2f
lea ecx, [ebx + eax*2]
add eax, eax
mov edx, ebx
movzx edi, word [edx]
cmp edi, 0x2a
je 0x4ace22
cmp edi, 0x3f
je 0x4ace22
add edx, 2
add eax, 0xfffffffe
jne 0x4ace0b
mov edx, ecx
cmp edx, ecx
sete al
sub edx, ebx
cmp edx, 0xfffffffe
sete bl
or bl, al
lea edi, [esp + 0x10]
mov ecx, edi
call fcn.005617f0
test bl, bl
je 0x4acf3f
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4ace4e
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4ace8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x4acf76
lea ecx, [esp + 0x20]
call fcn.00554710
mov bl, 1
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
test bl, 1
jne 0x4acf88
test bl, 0x10
jne 0x4aceb3
cmp byte [esi + 0xb], 0
jns 0x4acea6
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4ace6e
jmp 0x4ace5a
cmp byte [esp], 0
je 0x4acf17
lea eax, [esp + 0x12]
mov byte [eax + 9], 1
mov ecx, 0x783326
lea edx, [esp + 0x10]
cmp edx, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x4acf3d
lea edi, [esp + 0x10]
mov dword [edi], 0x2a
mov ecx, esi
mov edx, edi
push 1
call fcn.004ae760
add esp, 4
mov ebx, eax
cmp byte [edi + 0xb], 0
js 0x4acfac
test ebx, ebx
je 0x4acf17
lea ecx, [esp + 0x20]
call fcn.00554710
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x4ace79
cmp byte [esi + 0xb], 0
jns 0x4acf1f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4acead
mov ebx, 0xa1
jmp 0x4acf00
lea ecx, [esp + 0x10]
call fcn.005617f0
jmp 0x4ace44
ud2
mov ecx, esi
push edi
call fcn.00562640
lea eax, [esp + 4]
mov ecx, esi
mov esi, eax
push eax
call fcn.00561fe0
movzx eax, byte [esp]
mov ecx, esi
mov edx, edi
push eax
call fcn.004ae760
add esp, 4
mov ebx, eax
mov ecx, esi
call fcn.005617f0
mov ecx, edi
call fcn.005617f0
lea ecx, [esp + 0x20]
call fcn.00554710
test ebx, ebx
jne 0x4acf09
jmp 0x4ace77
mov eax, ebx
and eax, 0xfffffffe
cmp byte [esi + 0xb], 0
mov ecx, esi
jns 0x4acf97
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4ace99
jmp 0x4ace5a
push dword [esp + 0x10]
call fcn.005c8b90
add esp, 4
jmp 0x4acefc