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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x2e4], ebx
call fcn.0046efbb
test al, al
jne 0x46f25b
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f244
push ecx
push 0x63
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x398]
call fcn.0044bca0
mov edx, str.Unsafe_directory_name_for_deletion:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [esi + 0x14], 8
jb 0x46f238
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
xor ebx, ebx
inc ebx
test bl, 1
je 0x46f254
lea ecx, [ebp - 0x398]
call fcn.0044bd90
xor al, al
jmp 0x46f4cf
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x46f267
mov eax, dword [esi]
jmp 0x46f269
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46f2ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x46f4cd
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f2d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
push 0x6d
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x398]
mov dword [ebp - 0x3a0], eax
call fcn.0044bca0
mov edx, str.Could_not_GetFileAttributes_for
lea ecx, [ebp - 0x390]
call fcn.0041cec3
cmp dword [esi + 0x14], edi
jb 0x46f2c7
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
push 2
pop ebx
test bl, 2
je 0x46f254
lea ecx, [ebp - 0x3a0]
call fcn.0044c710
jmp 0x46f254
test al, 0x10
jne 0x46f337
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f32f
push ecx
push 0x73
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x398]
call fcn.0044bca0
mov edx, str.Scheduled_directory_is_not_a_directory:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [esi + 0x14], edi
jb 0x46f323
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
push 4
pop ebx
test bl, 4
jmp 0x46f247
push 1
push ebx
push esi
lea ecx, [ebp - 0x2e0]
call fcn.0044d1d0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.0044d640
jmp 0x46f383
lea ecx, [ebp - 0x1c]
call fcn.0046f03a
test al, al
je 0x46f3be
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.0044d640
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043efe0
lea ecx, [ebp - 0x34]
call fcn.0043ef40
cmp dword [ebp - 0xc], ebx
jne 0x46f357
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
lea ecx, [ebp - 0x2e0]
call fcn.0044d520
push 2
push ebx
push esi
lea ecx, [ebp - 0x2e0]
call fcn.0044d1d0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.0044d640
jmp 0x46f458
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f400
push ecx
push 0x81
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x398]
call fcn.0044bca0
mov edx, str.Failed_to_schedule_file_for_deletion:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [ebp - 8], edi
lea edx, [ebp - 0x1c]
mov ecx, eax
cmovae edx, dword [ebp - 0x1c]
call fcn.0044c7c0
mov ebx, edi
test bl, 8
je 0x46f410
lea ecx, [ebp - 0x398]
call fcn.0044bd90
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
lea ecx, [ebp - 0x2e0]
call fcn.0044d520
jmp 0x46f254
lea ecx, [ebp - 0x1c]
call fcn.0046f1db
test al, al
je 0x46f4e0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.0044d640
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043efe0
lea ecx, [ebp - 0x34]
call fcn.0043ef40
cmp dword [ebp - 0xc], ebx
jne 0x46f428
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
lea ecx, [ebp - 0x2e0]
call fcn.0044d520
mov ecx, esi
call fcn.0046f03a
test al, al
jne 0x46f4cd
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f4bd
push ecx
push 0x99
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x398]
call fcn.0044bca0
mov edx, str.Failed_to_schedule_directory_for_deletion:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [esi + 0x14], edi
jb 0x46f4b1
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
push 0x20
pop ebx
test bl, 0x20
je 0x46f4cd
lea ecx, [ebp - 0x398]
call fcn.0044bd90
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f523
push ecx
push 0x90
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x398]
call fcn.0044bca0
mov edx, str.Failed_to_schedule_subdirectory_for_deletion:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [ebp - 8], edi
lea edx, [ebp - 0x1c]
mov ecx, eax
cmovae edx, dword [ebp - 0x1c]
call fcn.0044c7c0
push 0x10
pop ebx
test bl, 0x10
jmp 0x46f403