Function at 0x442db0
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, 0x70
mov dword [esp + 0x10], edx
mov ebx, ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x20]
push 0x106
push str....._base_files_file_util_win.cc
push str.DoDeleteFile
push esi
call fcn.004bbec0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004b1470
movsx ecx, byte [ebx + 0xb]
test ecx, ecx
mov eax, dword [ebx + 4]
mov edx, ecx
cmovs edx, eax
test edx, edx
je 0x442eb7
test cl, cl
jns 0x442e2e
cmp eax, 0x103
ja 0x442f48
mov ecx, ebx
push esi
call fcn.004bd360
movsx eax, byte [esp + 0x2b]
test eax, eax
jns 0x442e47
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
test eax, eax
je 0x442f4f
lea edi, [esi + eax*2]
add eax, eax
mov ebx, esi
movzx ecx, word [ebx]
cmp ecx, 0x2a
je 0x442e71
cmp ecx, 0x3f
je 0x442e71
add ebx, 2
add eax, 0xfffffffe
jne 0x442e5a
mov ebx, edi
lea ecx, [esp + 0x20]
call fcn.004bcaf0
cmp ebx, edi
je 0x442e89
sub ebx, esi
cmp ebx, 0xfffffffe
jne 0x442fa6
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x442e97
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x442ed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x442fe6
lea ecx, [esp + 0x30]
call fcn.004b14e0
mov bl, 1
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004f1eb0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
test bl, 1
jne 0x442f7c
test bl, 0x10
jne 0x442efc
cmp byte [esi + 0xb], 0
jns 0x442eef
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x442eb7
jmp 0x442ea3
cmp byte [esp + 0x10], 0
je 0x442f5d
lea ebx, [esp + 0x20]
mov ecx, ebx
push 0x5a959e
call fcn.00416000
mov ecx, esi
mov edx, ebx
push 1
call fcn.00444650
add esp, 4
mov edi, eax
cmp byte [ebx + 0xb], 0
js 0x442ffe
test edi, edi
je 0x442f5d
lea ecx, [esp + 0x30]
call fcn.004b14e0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x442ec2
mov edi, 0xa1
jmp 0x442f31
lea ecx, [esp + 0x20]
call fcn.004bcaf0
jmp 0x442e89
cmp byte [esi + 0xb], 0
jns 0x442f6d
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x442ef6
mov eax, ebx
and eax, 0xfffffffe
cmp byte [esi + 0xb], 0
jns 0x442f8d
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 0x442ee2
jmp 0x442ea3
mov esi, dword [esp + 0xc]
mov ecx, esi
lea ebx, [esp + 0x20]
push ebx
call fcn.004bd360
lea edi, [esp + 0x14]
mov ecx, esi
push edi
call fcn.004bcb10
movzx eax, byte [esp + 0x10]
mov ecx, edi
mov esi, edi
mov edx, ebx
push eax
call fcn.00444650
add esp, 4
mov edi, eax
mov ecx, esi
call fcn.004bcaf0
mov ecx, ebx
call fcn.004bcaf0
lea ecx, [esp + 0x30]
call fcn.004b14e0
mov bl, 1
test edi, edi
je 0x442ec2
jmp 0x442f3a
push dword [esp + 0x20]
call fcn.004f193e
add esp, 4
jmp 0x442f2d