Function at 0x61e560
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movsx eax, byte [ecx + 0x17]
test eax, eax
jns 0x61e583
mov eax, dword [esi + 0x10]
test eax, eax
je 0x61e652
lea ebx, [esi + 0xc]
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, ebx
push edi
call fcn.00561fe0
push ebx
call fcn.004acfc0
add esp, 4
test al, al
jne 0x61e62a
push 1
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e60e
lea ecx, [ebp - 0xc0]
push 1
push 0x54
push str.....chromeinstallerutil_self_cleaning_temp_dir.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x25
push str.Failed_to_delete_temporary_directory
push eax
call fcn.00535510
add esp, 0xc
push ebx
push eax
call fcn.004b54f0
add esp, 8
push 0x24
push str.._Scheduling_for_deletion_at_reboot.
push eax
call fcn.00535510
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.004ba5c0
mov al, 1
mov dword [ebp - 0xc4], eax
push ebx
call fcn.0061df50
add esp, 4
test al, al
jne 0x61e634
xor ebx, ebx
jmp 0x61e6c9
mov dword [ebp - 0xc4], 0
movsx eax, byte [esi + 0xb]
test eax, eax
js 0x61e64d
mov ecx, eax
test ecx, ecx
je 0x61e6aa
lea ebx, [ebp - 0xc0]
jmp 0x61e739
mov ecx, dword [esi + 4]
jmp 0x61e63e
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e693
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x48
push str.....chromeinstallerutil_self_cleaning_temp_dir.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x3a
push str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
push eax
call fcn.00535510
add esp, 0xc
mov ecx, esi
call fcn.004ba5c0
xor ebx, ebx
jmp 0x61e6d1
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x61e6b7
mov al, byte [esi + 0xb]
test al, al
js 0x61e697
mov word [esi], 0
mov byte [esi + 0xb], 0
cmp byte [esi + 0x17], 0
js 0x61e6e8
mov word [esi + 0xc], 0
mov byte [esi + 0x17], 0
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.005617f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xc]
mov word [eax], 0
mov dword [esi + 0x10], 0
jmp 0x61e6c7
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
call fcn.00645040
add esp, 8
mov ecx, ebx
call fcn.00646cf0
push edi
call fcn.0061ddc0
add esp, 4
mov ecx, edi
push esi
call fcn.004bb480
test al, al
jne 0x61e6a7
mov ecx, edi
push ebx
call fcn.00561fe0
mov ecx, edi
push ebx
call fcn.00561870
mov ecx, ebx
call fcn.005617f0
test byte [ebp - 0xc4], 1
jne 0x61e70d
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x61e74d
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x61e716
mov al, 1
mov dword [ebp - 0xc4], eax
push 1
call fcn.00560ca0
add esp, 4
test al, al
je 0x61e70d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
je 0x61e70d
call fcn.00646ae0
mov ecx, ebx
push eax
push 1
push 0x61
push str.....chromeinstallerutil_self_cleaning_temp_dir.cc
call fcn.00646c90
push 0x19
push str.Error_removing_directory
lea eax, [ebp - 0xb8]
push eax
call fcn.00535510
add esp, 0xc
cmp byte [ebp - 0x11], 0
mov ecx, edi
jns 0x61e6fc
jmp 0x61e6f9