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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x4b13a0]
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.0042fce0
add esp, 4
test al, al
jne 0x430385
call fcn.00447db0
cmp eax, 2
jg 0x430363
push 2
push 0x63
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
mov ebx, 1
call fcn.004472f0
add eax, 8
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.00404cd0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x430359
mov esi, dword [esi]
push esi
push eax
call fcn.00447950
add esp, 8
test bl, 1
je 0x430373
lea ecx, [ebp - 0x38c]
call fcn.00447510
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x43038f
mov eax, dword [esi]
jmp 0x430391
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x430421
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4305b9
call fcn.00447db0
cmp eax, 2
jg 0x4303fb
mov ebx, 2
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.004474e0
add eax, 0x10
push str.Could_not_GetFileAttributes_for
push eax
call fcn.00404cd0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4303f1
mov esi, dword [esi]
push esi
push eax
call fcn.00447950
add esp, 8
test bl, 2
je 0x430373
lea ecx, [ebp - 0x394]
call fcn.00447780
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
test al, 0x10
jne 0x430473
call fcn.00447db0
cmp eax, 2
jg 0x43046b
push 2
push 0x73
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
mov ebx, 4
call fcn.004472f0
add eax, 8
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.00404cd0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x430461
mov esi, dword [esi]
push esi
push eax
call fcn.00447950
add esp, 8
test bl, 4
jmp 0x430366
push 1
push 0
push esi
lea ecx, [ebp - 0x2d8]
call fcn.00456530
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00456850
cmp dword [ebp - 0xc], ebx
je 0x4304d0
lea eax, [ebp - 0x1c]
push eax
call fcn.004306a0
add esp, 4
test al, al
je 0x4305cb
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00456850
push eax
lea ecx, [ebp - 0x1c]
call fcn.00445a50
lea ecx, [ebp - 0x34]
call fcn.00407ff0
cmp dword [ebp - 0xc], ebx
jne 0x430497
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
lea ecx, [ebp - 0x2d8]
call fcn.004566d0
push 2
push 0
push esi
lea ecx, [ebp - 0x2d8]
call fcn.00456530
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00456850
cmp dword [ebp - 0xc], ebx
je 0x430540
lea eax, [ebp - 0x1c]
push eax
call fcn.004302f0
add esp, 4
test al, al
je 0x430647
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00456850
push eax
lea ecx, [ebp - 0x1c]
call fcn.00445a50
lea ecx, [ebp - 0x34]
call fcn.00407ff0
cmp dword [ebp - 0xc], ebx
jne 0x430507
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
lea ecx, [ebp - 0x2d8]
call fcn.004566d0
push esi
call fcn.004306a0
add esp, 4
test al, al
jne 0x4305b9
call fcn.00447db0
cmp eax, 2
jg 0x4305a9
push 2
push 0x99
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
mov ebx, 0x20
call fcn.004472f0
add eax, 8
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.00404cd0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x43059f
mov esi, dword [esi]
push esi
push eax
call fcn.00447950
add esp, 8
test bl, 0x20
je 0x4305b9
lea ecx, [ebp - 0x38c]
call fcn.00447510
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
call fcn.00447db0
cmp eax, 2
jg 0x430612
push 2
push 0x81
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
mov ebx, 8
call fcn.004472f0
add eax, ebx
push str.Failed_to_schedule_file_for_deletion:
push eax
call fcn.00404cd0
cmp dword [ebp - 8], ebx
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push ecx
push eax
call fcn.00447950
add esp, 0x10
test bl, 8
je 0x430622
lea ecx, [ebp - 0x38c]
call fcn.00447510
lea ecx, [ebp - 0x1c]
call fcn.00407ff0
lea ecx, [ebp - 0x2d8]
call fcn.004566d0
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
call fcn.00447db0
cmp eax, 2
jg 0x430690
push 2
push 0x90
push str.c:_b_build_slavewin_build_srcchromeinstallerutildelete_after_reboot_helper.cc
lea ecx, [ebp - 0x38c]
mov ebx, 0x10
call fcn.004472f0
add eax, 8
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.00404cd0
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push ecx
push eax
call fcn.00447950
add esp, 0x10
test bl, 0x10
jmp 0x430615