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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x340
mov eax, dword [0x5a05c4]
mov edx, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 0xb]
test al, al
mov ecx, eax
jns 0x45d1b4
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x45d21e
mov ecx, dword [ebp + 8]
test al, al
mov eax, ecx
jns 0x45d1c3
mov eax, dword [ecx]
xor ebx, ebx
mov esi, eax
movzx edi, word [esi]
mov edx, edi
add edx, 0xffffffd2
cmp dx, 0xc
ja 0x45d1df
mov ecx, 0x1003
bt ecx, edx
jb 0x45d1ee
cmp di, 0x5c
je 0x45d1ee
mov dl, 1
test di, di
jne 0x45d205
jmp 0x45d219
cmp esi, eax
jbe 0x45d203
cmp di, 0x2e
jne 0x45d203
cmp word [esi - 2], 0x2e
mov edx, ebx
jne 0x45d205
jmp 0x45d21e
mov edx, ebx
cmp di, 0x3a
movzx ebx, dl
mov ecx, 0
cmove ebx, ecx
add esi, 2
jmp 0x45d1c7
test bl, 1
jne 0x45d28d
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45d274
lea esi, [ebp - 0x29c]
mov ecx, esi
push 2
push 0x63
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0043e680
lea eax, [ebp - 0x298]
push 0x24
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x45d263
mov ecx, dword [ecx]
push ecx
push eax
call fcn.0043f290
add esp, 8
mov ecx, esi
call fcn.0043ea30
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0x340
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45d2ec
test al, 0x10
jne 0x45d362
push 2
call fcn.0043e5e0
add esp, 4
mov edi, dword [ebp + 8]
test al, al
je 0x45d274
lea esi, [ebp - 0x29c]
mov ecx, esi
push 2
push 0x73
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0043e680
lea eax, [ebp - 0x298]
push 0x28
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.004058b5
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x45d2e6
mov edi, dword [edi]
push edi
jmp 0x45d264
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
cmp eax, 2
je 0x45d276
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45d274
call fcn.0043ef80
lea esi, [ebp - 0x29c]
mov ecx, esi
push eax
push 2
push 0x6d
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0043f140
lea eax, [ebp - 0x294]
push 0x20
push str.Could_not_GetFileAttributes_for
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x45d34c
mov ecx, dword [ecx]
push ecx
push eax
call fcn.0043f290
add esp, 8
mov ecx, esi
call fcn.0043f200
jmp 0x45d274
lea edi, [ebp - 0x29c]
mov ecx, edi
push 1
push 0
push dword [ebp + 8]
call fcn.00458b00
lea esi, [ebp - 0x2a8]
mov ecx, edi
push esi
call fcn.00458dd0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x45d392
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x45d3df
lea edi, [ebp - 0x34c]
lea ebx, [ebp - 0x29c]
push esi
call fcn.0045cfdc
add esp, 4
test al, al
je 0x45d4f9
mov ecx, ebx
push edi
call fcn.00458dd0
mov ecx, esi
push edi
call fcn.0043a500
mov ecx, edi
call fcn.0043a4c0
movzx eax, byte [ebp - 0x29d]
test al, al
jns 0x45d3db
mov eax, dword [ebp - 0x2a4]
test eax, eax
jne 0x45d3a2
lea esi, [ebp - 0x2a8]
mov ecx, esi
call fcn.0043a4c0
lea ecx, [ebp - 0x29c]
call fcn.00458ce0
lea edi, [ebp - 0x29c]
mov ecx, edi
push 2
push 0
push dword [ebp + 8]
call fcn.00458b00
mov ecx, edi
push esi
call fcn.00458dd0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x45d421
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x45d46e
lea edi, [ebp - 0x34c]
lea ebx, [ebp - 0x29c]
push esi
call fcn.0045d18e
add esp, 4
test al, al
je 0x45d533
mov ecx, ebx
push edi
call fcn.00458dd0
mov ecx, esi
push edi
call fcn.0043a500
mov ecx, edi
call fcn.0043a4c0
movzx eax, byte [ebp - 0x29d]
test al, al
jns 0x45d46a
mov eax, dword [ebp - 0x2a4]
test eax, eax
jne 0x45d431
lea ecx, [ebp - 0x2a8]
call fcn.0043a4c0
lea ecx, [ebp - 0x29c]
call fcn.00458ce0
mov edi, dword [ebp + 8]
mov bl, 1
push edi
call fcn.0045cfdc
add esp, 4
test al, al
jne 0x45d276
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45d276
lea esi, [ebp - 0x29c]
mov ecx, esi
push 2
push 0x99
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0043e680
lea eax, [ebp - 0x298]
push 0x2b
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.004058b5
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x45d4e3
mov edi, dword [edi]
push edi
push eax
call fcn.0043f290
add esp, 8
mov ecx, esi
call fcn.0043ea30
jmp 0x45d276
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45d590
lea edi, [ebp - 0x34c]
mov ecx, edi
push 2
push 0x81
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0043e680
lea eax, [ebp - 0x348]
push 0x26
push str.Failed_to_schedule_file_for_deletion:
jmp 0x45d567
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45d590
lea edi, [ebp - 0x34c]
mov ecx, edi
push 2
push 0x90
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0043e680
lea eax, [ebp - 0x348]
push 0x2e
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.004058b5
add esp, 0xc
cmp byte [ebp - 0x29d], 0
jns 0x45d57f
mov esi, dword [ebp - 0x2a8]
push esi
push eax
call fcn.0043f290
add esp, 8
mov ecx, edi
call fcn.0043ea30
lea ecx, [ebp - 0x2a8]
call fcn.0043a4c0
lea ecx, [ebp - 0x29c]
call fcn.00458ce0
jmp 0x45d274