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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x4a22d0]
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.0044d384
pop ecx
test al, al
jne 0x44d80e
call fcn.00409a00
cmp eax, 2
jg 0x44d7f7
push 2
push 0x63
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
inc ebx
call fcn.00409a70
push esi
add eax, 8
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.00408be0
pop ecx
pop ecx
push eax
call fcn.0042eb9f
pop ecx
pop ecx
test bl, 1
je 0x44d807
lea ecx, [ebp - 0x38c]
call fcn.00409ac0
xor al, al
jmp 0x44da60
cmp dword [esi + 0x14], 8
jb 0x44d818
mov eax, dword [esi]
jmp 0x44d81a
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44d886
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x44da5e
call fcn.00409a00
cmp eax, 2
jg 0x44d874
push 2
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x6d
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x394]
call fcn.0040a260
push esi
add eax, 0x10
push str.Could_not_GetFileAttributes_for
push eax
call fcn.00408be0
pop ecx
pop ecx
push eax
call fcn.0042eb9f
pop ecx
pop ecx
test bl, 2
je 0x44d807
lea ecx, [ebp - 0x394]
call fcn.0040a2c0
jmp 0x44d807
test al, 0x10
jne 0x44d8cc
call fcn.00409a00
cmp eax, 2
jg 0x44d8c4
push 4
pop ebx
push 2
push 0x73
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.00409a70
push esi
add eax, 8
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.00408be0
pop ecx
pop ecx
push eax
call fcn.0042eb9f
pop ecx
pop ecx
test bl, 4
jmp 0x44d7fa
push 1
push ebx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.0041d310
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041d5e0
jmp 0x44d91a
lea eax, [ebp - 0x1c]
push eax
call fcn.0044dab8
pop ecx
test al, al
je 0x44d955
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041d5e0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004055a0
lea ecx, [ebp - 0x34]
call fcn.00405570
cmp dword [ebp - 0xc], ebx
jne 0x44d8ec
lea ecx, [ebp - 0x1c]
call fcn.00405570
lea ecx, [ebp - 0x2d8]
call fcn.0041d4d0
push 2
push ebx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.0041d310
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041d5e0
jmp 0x44d9ee
call fcn.00409a00
cmp eax, 2
jg 0x44d994
push 8
pop ebx
push 2
push 0x81
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.00409a70
lea ecx, [ebp - 0x1c]
add eax, ebx
push ecx
push str.Failed_to_schedule_file_for_deletion:
push eax
call fcn.00408be0
pop ecx
pop ecx
push eax
call fcn.0042eb9f
pop ecx
pop ecx
test bl, 8
je 0x44d9a4
lea ecx, [ebp - 0x38c]
call fcn.00409ac0
lea ecx, [ebp - 0x1c]
call fcn.00405570
lea ecx, [ebp - 0x2d8]
call fcn.0041d4d0
jmp 0x44d807
lea eax, [ebp - 0x1c]
push eax
call fcn.0044d794
pop ecx
test al, al
je 0x44da70
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0041d5e0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004055a0
lea ecx, [ebp - 0x34]
call fcn.00405570
cmp dword [ebp - 0xc], ebx
jne 0x44d9bc
lea ecx, [ebp - 0x1c]
call fcn.00405570
lea ecx, [ebp - 0x2d8]
call fcn.0041d4d0
push esi
call fcn.0044dab8
pop ecx
test al, al
jne 0x44da5e
call fcn.00409a00
cmp eax, 2
jg 0x44da4e
push 0x20
pop ebx
push 2
push 0x99
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.00409a70
push esi
add eax, 8
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.00408be0
pop ecx
pop ecx
push eax
call fcn.0042eb9f
pop ecx
pop ecx
test bl, 0x20
je 0x44da5e
lea ecx, [ebp - 0x38c]
call fcn.00409ac0
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e2b4
mov esp, ebp
pop ebp
ret
call fcn.00409a00
cmp eax, 2
jg 0x44dab0
push 0x10
pop ebx
push 2
push 0x90
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
call fcn.00409a70
lea ecx, [ebp - 0x1c]
add eax, 8
push ecx
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.00408be0
pop ecx
pop ecx
push eax
call fcn.0042eb9f
pop ecx
pop ecx
test bl, 0x10
jmp 0x44d997