Function at 0x53df30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x348
mov edx, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx ecx, byte [edx + 0xb]
mov eax, ecx
test cl, cl
jns 0x53df56
mov eax, dword [edx + 4]
test eax, eax
je 0x53dfc0
mov edx, dword [ebp + 8]
mov eax, edx
test cl, cl
jns 0x53df65
mov eax, dword [edx]
xor ebx, ebx
mov esi, eax
movzx edi, word [esi]
mov edx, edi
add edx, 0xffffffd2
cmp dx, 0xc
ja 0x53df96
mov ecx, 0x1003
bt ecx, edx
jae 0x53df96
cmp esi, eax
jbe 0x53dfa5
cmp di, 0x2e
jne 0x53dfa5
cmp word [esi - 2], 0x2e
mov edx, ebx
jne 0x53dfa7
jmp 0x53dfc0
cmp di, 0x5c
je 0x53df81
mov dl, 1
test di, di
jne 0x53dfa7
jmp 0x53dfbb
mov edx, ebx
cmp di, 0x3a
movzx ebx, dl
mov ecx, 0
cmove ebx, ecx
add esi, 2
jmp 0x53df69
test bl, 1
jne 0x53dfe7
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x53e03f
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0x348
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x53e083
test al, 0x10
jne 0x53e0f0
push 2
call fcn.004e0f90
add esp, 4
test al, al
mov edi, dword [ebp + 8]
je 0x53dfce
lea esi, [ebp - 0x2a4]
mov ecx, esi
push 2
push 0x74
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0045d3f0
lea eax, [ebp - 0x29c]
push 0x28
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.005364d0
add esp, 0xc
push edi
jmp 0x53e06e
lea esi, [ebp - 0x2a4]
mov ecx, esi
push 2
push 0x64
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0045d3f0
lea eax, [ebp - 0x29c]
push 0x24
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.005364d0
add esp, 0xc
push dword [ebp + 8]
push eax
call fcn.0045dbd0
add esp, 8
mov ecx, esi
call fcn.0045d7d0
jmp 0x53dfce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
cmp eax, 2
je 0x53dfd0
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x53dfce
call fcn.0055df20
lea esi, [ebp - 0x2a4]
mov ecx, esi
push eax
push 2
push 0x6e
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0055e050
lea eax, [ebp - 0x29c]
push 0x20
push str.Could_not_GetFileAttributes_for
push eax
call fcn.005364d0
add esp, 0xc
push dword [ebp + 8]
push eax
call fcn.0045dbd0
add esp, 8
mov ecx, esi
call fcn.0055e0b0
jmp 0x53dfce
lea ebx, [ebp - 0x2a4]
push 0x294
push 0xff
push ebx
call fcn.005072d0
add esp, 0xc
mov ecx, ebx
push 1
push 0
mov edi, dword [ebp + 8]
push edi
call fcn.0046af10
xor eax, eax
dec eax
lea esi, [ebp - 0x2b0]
mov dword [esi], eax
mov dword [esi + 4], eax
mov edi, eax
mov dword [esi + 8], eax
mov ecx, ebx
push esi
call fcn.0046b140
movzx eax, byte [esi + 0xb]
test al, al
jns 0x53e141
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x53e18c
lea ebx, [ebp - 0x354]
push esi
call fcn.0053dd80
add esp, 4
test al, al
je 0x53e2df
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.0046b140
mov ecx, esi
push ebx
call fcn.004dfb20
mov ecx, ebx
call fcn.004dfb00
movzx eax, byte [ebp - 0x2a5]
test al, al
jns 0x53e188
mov eax, dword [ebp - 0x2ac]
test eax, eax
jne 0x53e14b
lea esi, [ebp - 0x2b0]
mov ecx, esi
call fcn.004dfb00
lea ebx, [ebp - 0x2a4]
mov ecx, ebx
call fcn.0046b050
push 0x294
push 0xff
push ebx
call fcn.005072d0
add esp, 0xc
mov ecx, ebx
push 2
push 0
push dword [ebp + 8]
call fcn.0046af10
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, ebx
push esi
call fcn.0046b140
movzx eax, byte [esi + 0xb]
test al, al
jns 0x53e1e5
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x53e232
lea ebx, [ebp - 0x354]
lea edi, [ebp - 0x2a4]
push esi
call fcn.0053df30
add esp, 4
test al, al
je 0x53e2b6
mov ecx, edi
push ebx
call fcn.0046b140
mov ecx, esi
push ebx
call fcn.004dfb20
mov ecx, ebx
call fcn.004dfb00
movzx eax, byte [ebp - 0x2a5]
test al, al
jns 0x53e22e
mov eax, dword [ebp - 0x2ac]
test eax, eax
jne 0x53e1f5
lea ecx, [ebp - 0x2b0]
call fcn.004dfb00
lea ecx, [ebp - 0x2a4]
call fcn.0046b050
mov bl, 1
push dword [ebp + 8]
call fcn.0053dd80
add esp, 4
test al, al
jne 0x53dfd0
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x53dfd0
lea esi, [ebp - 0x2a4]
mov ecx, esi
push 2
push 0x9a
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0045d3f0
lea eax, [ebp - 0x29c]
push 0x2b
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.005364d0
add esp, 0xc
push dword [ebp + 8]
push eax
call fcn.0045dbd0
add esp, 8
mov ecx, esi
call fcn.0045d7d0
jmp 0x53dfd0
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x53e315
lea ecx, [ebp - 0x2b0]
call fcn.004dfb00
lea ecx, [ebp - 0x2a4]
call fcn.0046b050
jmp 0x53dfce
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x53e2c4
lea edi, [ebp - 0x354]
mov ecx, edi
push 2
push 0x82
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0045d3f0
lea eax, [ebp - 0x34c]
push 0x26
push str.Failed_to_schedule_file_for_deletion:
jmp 0x53e33b
lea edi, [ebp - 0x354]
mov ecx, edi
push 2
push 0x91
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0045d3f0
lea eax, [ebp - 0x34c]
push 0x2e
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.005364d0
add esp, 0xc
push esi
push eax
call fcn.0045dbd0
add esp, 8
mov ecx, edi
call fcn.0045d7d0
jmp 0x53e2c4