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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0x10], edx
mov ebx, ecx
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x20]
push 0xff
push str..._.._base_files_file_util_win.cc
push str.DoDeleteFile
push esi
call fcn.00460cb0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.00460cf0
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x429fec
mov eax, dword [ebx + 4]
test eax, eax
je 0x42a0ba
cmp eax, 0x103
ja 0x42a132
mov ecx, ebx
push esi
call fcn.00453e80
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x42a018
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
test eax, eax
je 0x42a139
lea edi, [esi + eax*2]
add eax, eax
mov ebx, esi
movzx ecx, word [ebx]
cmp cx, 0x2a
je 0x42a044
cmp cx, 0x3f
je 0x42a044
add ebx, 2
add eax, 0xfffffffe
jne 0x42a02b
mov ebx, edi
lea ecx, [esp + 0x20]
call fcn.00453a30
cmp ebx, edi
je 0x42a05c
sub ebx, esi
cmp ebx, 0xfffffffe
jne 0x42a147
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x42a06a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42a097
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
je 0x42a0ba
lea ecx, [esp + 0x30]
call fcn.00460d50
mov bl, 1
test edi, edi
je 0x42a0c5
jmp 0x42a116
mov ebx, eax
test bl, 1
jne 0x42a18c
test bl, 0x10
jne 0x42a0da
cmp byte [esi + 0xb], 0
jns 0x42a0af
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42a076
lea ecx, [esp + 0x30]
call fcn.00460d50
mov bl, 1
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 0x10], 0
je 0x42a121
lea ebx, [esp + 0x20]
mov byte [ebx + 0xb], 1
mov dword [ebx], 0x2a
mov ecx, esi
mov edx, ebx
push 1
call fcn.0042ad40
add esp, 4
mov edi, eax
cmp byte [ebx + 0xb], 0
js 0x42a1b6
test edi, edi
je 0x42a121
lea ecx, [esp + 0x30]
call fcn.00460d50
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x42a0c5
cmp byte [esi + 0xb], 0
jns 0x42a129
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42a0b6
mov edi, 0xa1
jmp 0x42a10d
lea ecx, [esp + 0x20]
call fcn.00453a30
jmp 0x42a05c
mov esi, dword [esp + 0xc]
mov ecx, esi
lea ebx, [esp + 0x20]
push ebx
call fcn.00453e80
lea edi, [esp + 0x14]
mov ecx, esi
push edi
call fcn.00453a90
movzx eax, byte [esp + 0x10]
mov ecx, edi
mov esi, edi
mov edx, ebx
push eax
call fcn.0042ad40
add esp, 4
mov edi, eax
mov ecx, esi
call fcn.00453a30
mov ecx, ebx
call fcn.00453a30
jmp 0x42a086
mov eax, ebx
and eax, 0xfffffffe
cmp byte [esi + 0xb], 0
jns 0x42a19d
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov esi, dword [esp + 0xc]
jne 0x42a0a2
jmp 0x42a076
push dword [esp + 0x20]
call fcn.0046ecdd
add esp, 4
jmp 0x42a109