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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x348
mov edx, dword [ebp + 8]
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movsx ecx, byte [edx + 0xb]
mov eax, ecx
test ecx, ecx
jns 0x61df76
mov eax, dword [edx + 4]
test eax, eax
je 0x61dfec
mov eax, edx
test cl, cl
jns 0x61df82
mov eax, dword [edx]
xor ebx, ebx
mov edx, eax
jmp 0x61dfab
cmp edi, 0x5c
je 0x61dfd3
mov cl, 1
test edi, edi
jne 0x61df9f
test bl, 1
je 0x61dfec
jmp 0x61e052
mov ecx, ebx
cmp si, 0x3a
setne bl
and bl, cl
add edx, 2
movzx esi, word [edx]
movzx edi, si
lea ecx, [edi - 0x2e]
cmp ecx, 0xc
ja 0x61df88
mov dword [ebp - 0x354], ebx
mov ebx, eax
mov eax, 0x1003
bt eax, ecx
mov eax, ebx
mov ebx, dword [ebp - 0x354]
jae 0x61df88
cmp si, 0x2e
setne cl
cmp edx, eax
setbe ch
or ch, cl
jne 0x61df9d
cmp word [edx - 2], 0x2e
mov ecx, ebx
jne 0x61df9f
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e039
lea esi, [ebp - 0x2a4]
mov ecx, esi
push 2
push 0x6a
push str.....chromeinstallerutildelete_after_reboot_helper.cc
call fcn.004ba0e0
lea eax, [ebp - 0x29c]
push 0x24
push str.Unsafe_directory_name_for_deletion:
push eax
call fcn.00535510
add esp, 0xc
push dword [ebp + 8]
push eax
call fcn.004b54f0
add esp, 8
mov ecx, esi
call fcn.004ba5c0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0x348
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x61e0a6
test al, 0x10
mov edi, dword [ebp + 8]
jne 0x61e110
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e039
lea esi, [ebp - 0x2a4]
mov ecx, esi
push 2
push 0x7a
push str.....chromeinstallerutildelete_after_reboot_helper.cc
call fcn.004ba0e0
lea eax, [ebp - 0x29c]
push 0x28
push str.Scheduled_directory_is_not_a_directory:
push eax
call fcn.00535510
add esp, 0xc
push edi
jmp 0x61e029
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
cmp eax, 2
mov edi, dword [ebp + 8]
je 0x61e03b
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e039
call fcn.00646ae0
lea esi, [ebp - 0x2a4]
mov ecx, esi
push eax
push 2
push 0x74
push str.....chromeinstallerutildelete_after_reboot_helper.cc
call fcn.00646c90
lea eax, [ebp - 0x29c]
push 0x20
push str.Could_not_GetFileAttributes_for
push eax
call fcn.00535510
add esp, 0xc
push edi
push eax
call fcn.004b54f0
add esp, 8
mov ecx, esi
call fcn.00646cf0
jmp 0x61e039
lea ebx, [ebp - 0x2a4]
push 0x294
push 0xff
push ebx
call fcn.005cced0
add esp, 0xc
mov ecx, ebx
push 1
push 0
push edi
call fcn.004ae9b0
xor eax, eax
dec eax
lea esi, [ebp - 0x2b0]
mov dword [esi], eax
mov dword [esi + 4], eax
mov edi, eax
mov dword [esi + 8], eax
mov ecx, ebx
push esi
call fcn.004aed20
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x61e15e
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x61e1a9
lea ebx, [ebp - 0x350]
push esi
call fcn.0061ddc0
add esp, 4
test al, al
je 0x61e2f5
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.004aed20
mov ecx, esi
push ebx
call fcn.00561870
mov ecx, ebx
call fcn.005617f0
movsx eax, byte [ebp - 0x2a5]
test eax, eax
jns 0x61e1a5
mov eax, dword [ebp - 0x2ac]
test eax, eax
jne 0x61e168
lea esi, [ebp - 0x2b0]
mov ecx, esi
call fcn.005617f0
lea ebx, [ebp - 0x2a4]
mov ecx, ebx
call fcn.004aec70
push 0x294
push 0xff
push ebx
call fcn.005cced0
add esp, 0xc
mov ecx, ebx
push 2
push 0
push dword [ebp + 8]
call fcn.004ae9b0
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, ebx
push esi
call fcn.004aed20
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x61e202
mov eax, dword [ebp - 0x2ac]
test eax, eax
mov edi, dword [ebp + 8]
je 0x61e24c
lea ebx, [ebp - 0x350]
push esi
call fcn.0061df50
add esp, 4
test al, al
je 0x61e28c
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.004aed20
mov ecx, esi
push ebx
call fcn.00561870
mov ecx, ebx
call fcn.005617f0
movsx eax, byte [ebp - 0x2a5]
test eax, eax
jns 0x61e248
mov eax, dword [ebp - 0x2ac]
test eax, eax
jne 0x61e20f
lea ecx, [ebp - 0x2b0]
call fcn.005617f0
lea ecx, [ebp - 0x2a4]
call fcn.004aec70
mov bl, 1
push edi
call fcn.0061ddc0
add esp, 4
test al, al
jne 0x61e03b
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e03b
jmp 0x61e32b
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e2da
lea edi, [ebp - 0x350]
mov ecx, edi
push 2
push 0x97
push str.....chromeinstallerutildelete_after_reboot_helper.cc
call fcn.004ba0e0
lea eax, [ebp - 0x348]
push 0x2e
push str.Failed_to_schedule_subdirectory_for_deletion:
push eax
call fcn.00535510
add esp, 0xc
push esi
push eax
call fcn.004b54f0
add esp, 8
mov ecx, edi
call fcn.004ba5c0
lea ecx, [ebp - 0x2b0]
call fcn.005617f0
lea ecx, [ebp - 0x2a4]
call fcn.004aec70
jmp 0x61e039
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e2da
lea edi, [ebp - 0x350]
mov ecx, edi
push 2
push 0x88
push str.....chromeinstallerutildelete_after_reboot_helper.cc
call fcn.004ba0e0
lea eax, [ebp - 0x348]
push 0x26
push str.Failed_to_schedule_file_for_deletion:
jmp 0x61e2c0
lea esi, [ebp - 0x2a4]
mov ecx, esi
push 2
push 0xa0
push str.....chromeinstallerutildelete_after_reboot_helper.cc
call fcn.004ba0e0
lea eax, [ebp - 0x29c]
push 0x2b
push str.Failed_to_schedule_directory_for_deletion:
push eax
call fcn.00535510
add esp, 0xc
push edi
push eax
call fcn.004b54f0
add esp, 8
mov ecx, esi
call fcn.004ba5c0
jmp 0x61e03b