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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push esi
mov dword [ebp - 0x2f0], edi
call fcn.0044ac89
pop ecx
test al, al
jne 0x44b02f
call fcn.0040ab90
push 2
pop ebx
cmp eax, ebx
jg 0x44b014
push ebx
push 0x60
push str.installer_tdsetuputildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x2f0], 1
call fcn.0040add0
push esi
add eax, 8
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x2f0], 1
je 0x44b028
lea ecx, [ebp - 0x3a0]
call fcn.0040ae20
xor al, al
jmp 0x44b309
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44b0a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
pop ebx
cmp eax, ebx
je 0x44b307
call fcn.0040ab90
cmp eax, ebx
jg 0x44b08d
mov dword [ebp - 0x2f0], ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x6a
push str.installer_tdsetuputildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x3a8]
call fcn.0040b4f0
push esi
add eax, 0x10
push str.Could_not_GetFileAttributes_for
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x2f0], bl
je 0x44b028
lea ecx, [ebp - 0x3a8]
call fcn.0040b560
jmp 0x44b028
test al, 0x10
jne 0x44b0f4
call fcn.0040ab90
push 2
pop ebx
cmp eax, ebx
jg 0x44b0e8
push ebx
push 0x70
push str.installer_tdsetuputildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x2f0], 4
call fcn.0040add0
push esi
add eax, 8
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x2f0], 4
jmp 0x44b01b
push esi
lea ecx, [ebp - 0x20]
call fcn.00406cb0
push 1
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00405e70
lea ecx, [ebp - 0x3c]
call fcn.00401f80
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00402b70
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.004060d0
jmp 0x44b177
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x44b148
lea eax, [ebp - 0x20]
push eax
call fcn.0044adf8
pop ecx
test al, al
je 0x44b1dc
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.004060d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401490
lea ecx, [ebp - 0x3c]
call fcn.00401f80
cmp dword [ebp - 0x10], edi
jne 0x44b13c
lea ecx, [ebp - 0x20]
call fcn.00401f80
lea ecx, [ebp - 0x2ec]
call fcn.00406020
push esi
lea ecx, [ebp - 0x20]
call fcn.00406cb0
push 2
pop ebx
push ebx
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00405e70
lea ecx, [ebp - 0x3c]
call fcn.00401f80
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00402b70
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.004060d0
jmp 0x44b28e
call fcn.0040ab90
push 2
pop ebx
cmp eax, ebx
jg 0x44b227
push 8
pop esi
push ebx
push 0x7d
push str.installer_tdsetuputildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x2f0], esi
call fcn.0040add0
add eax, esi
push str.Failed_to_schedule_file_for_deletion:
push eax
call fcn.00403540
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0xc], esi
jae 0x44b21e
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x2f0], 8
je 0x44b23b
lea ecx, [ebp - 0x3a0]
call fcn.0040ae20
lea ecx, [ebp - 0x20]
call fcn.00401f80
lea ecx, [ebp - 0x2ec]
call fcn.00406020
jmp 0x44b028
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x44b25f
lea eax, [ebp - 0x20]
push eax
call fcn.0044afa6
pop ecx
test al, al
je 0x44b318
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.004060d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401490
lea ecx, [ebp - 0x3c]
call fcn.00401f80
cmp dword [ebp - 0x10], edi
jne 0x44b253
lea ecx, [ebp - 0x20]
call fcn.00401f80
lea ecx, [ebp - 0x2ec]
call fcn.00406020
push esi
call fcn.0044adf8
pop ecx
test al, al
jne 0x44b307
call fcn.0040ab90
cmp eax, ebx
jg 0x44b2f3
push ebx
push 0x95
push str.installer_tdsetuputildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x2f0], 0x20
call fcn.0040add0
push esi
add eax, 8
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x2f0], 0x20
je 0x44b307
lea ecx, [ebp - 0x3a0]
call fcn.0040ae20
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
call fcn.0040ab90
cmp eax, ebx
jg 0x44b366
push ebx
push 0x8c
push str.installer_tdsetuputildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x2f0], 0x10
call fcn.0040add0
add eax, 8
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.00403540
cmp dword [ebp - 0xc], 8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
jae 0x44b35d
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x2f0], 0x10
jmp 0x44b22e