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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x4f5470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [ebp - 0x2dc], ebx
call fcn.0045d2e6
pop ecx
test al, al
jne 0x45d736
call fcn.0040a000
cmp eax, 2
jg 0x45d71f
push 2
push 0x62
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
inc ebx
call fcn.0040a070
push esi
add eax, 8
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 1
je 0x45d72f
lea ecx, [ebp - 0x38c]
call fcn.0040a0c0
xor al, al
jmp 0x45d988
cmp dword [esi + 0x14], 8
jb 0x45d740
mov eax, dword [esi]
jmp 0x45d742
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45d7ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45d986
call fcn.0040a000
cmp eax, 2
jg 0x45d79c
push 2
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x6c
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x394]
call fcn.0040a860
push esi
add eax, 0x10
push str.Could_not_GetFileAttributes_for
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 2
je 0x45d72f
lea ecx, [ebp - 0x394]
call fcn.0040a8c0
jmp 0x45d72f
test al, 0x10
jne 0x45d7f4
call fcn.0040a000
cmp eax, 2
jg 0x45d7ec
push 4
pop ebx
push 2
push 0x72
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.0040a070
push esi
add eax, 8
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 4
jmp 0x45d722
push 1
push ebx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.0041ebd0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041eea0
jmp 0x45d842
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d9e0
pop ecx
test al, al
je 0x45d87d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041eea0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405640
lea ecx, [ebp - 0x34]
call fcn.00405610
cmp dword [ebp - 0xc], ebx
jne 0x45d814
lea ecx, [ebp - 0x1c]
call fcn.00405610
lea ecx, [ebp - 0x2d8]
call fcn.0041ed90
push 2
push ebx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.0041ebd0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041eea0
jmp 0x45d916
call fcn.0040a000
cmp eax, 2
jg 0x45d8bc
push 8
pop ebx
push 2
push 0x80
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.0040a070
lea ecx, [ebp - 0x1c]
add eax, ebx
push ecx
push str.Failed_to_schedule_file_for_deletion:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 8
je 0x45d8cc
lea ecx, [ebp - 0x38c]
call fcn.0040a0c0
lea ecx, [ebp - 0x1c]
call fcn.00405610
lea ecx, [ebp - 0x2d8]
call fcn.0041ed90
jmp 0x45d72f
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d6bc
pop ecx
test al, al
je 0x45d998
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041eea0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405640
lea ecx, [ebp - 0x34]
call fcn.00405610
cmp dword [ebp - 0xc], ebx
jne 0x45d8e4
lea ecx, [ebp - 0x1c]
call fcn.00405610
lea ecx, [ebp - 0x2d8]
call fcn.0041ed90
push esi
call fcn.0045d9e0
pop ecx
test al, al
jne 0x45d986
call fcn.0040a000
cmp eax, 2
jg 0x45d976
push 0x20
pop ebx
push 2
push 0x98
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.0040a070
push esi
add eax, 8
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 0x20
je 0x45d986
lea ecx, [ebp - 0x38c]
call fcn.0040a0c0
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7e44
mov esp, ebp
pop ebp
ret
call fcn.0040a000
cmp eax, 2
jg 0x45d9d8
push 0x10
pop ebx
push 2
push 0x8f
push str.d:webapps_b_build_slave_repo_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.0040a070
lea ecx, [ebp - 0x1c]
add eax, 8
push ecx
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.00408da0
pop ecx
pop ecx
push eax
call fcn.004051b0
pop ecx
pop ecx
test bl, 0x10
jmp 0x45d8bf