Function at 0x61b1e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movsx eax, byte [ecx + 0x17]
test eax, eax
jns 0x61b203
mov eax, dword [esi + 0x10]
test eax, eax
je 0x61b2d2
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.00560730
push ebx
call fcn.004ad4b0
add esp, 4
test al, al
jne 0x61b2aa
push 1
call fcn.0055f440
add esp, 4
test al, al
je 0x61b28e
lea ecx, [ebp - 0xc0]
push 1
push 0x54
push str.....chromeinstallerutil_self_cleaning_temp_dir.cc
call fcn.004ba430
lea eax, [ebp - 0xb8]
push 0x25
push str.Failed_to_delete_temporary_directory
push eax
call fcn.00533f70
add esp, 0xc
push ebx
push eax
call fcn.004b5750
add esp, 8
push 0x24
push str.._Scheduling_for_deletion_at_reboot.
push eax
call fcn.00533f70
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.004ba910
mov al, 1
mov dword [ebp - 0xc4], eax
push ebx
call fcn.0061abd0
add esp, 4
test al, al
jne 0x61b2b4
xor ebx, ebx
jmp 0x61b349
mov dword [ebp - 0xc4], 0
movsx eax, byte [esi + 0xb]
test eax, eax
js 0x61b2cd
mov ecx, eax
test ecx, ecx
je 0x61b32a
lea ebx, [ebp - 0xc0]
jmp 0x61b3b9
mov ecx, dword [esi + 4]
jmp 0x61b2be
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x61b313
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x48
push str.....chromeinstallerutil_self_cleaning_temp_dir.cc
call fcn.004ba430
lea eax, [ebp - 0xb8]
push 0x3a
push str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, esi
call fcn.004ba910
xor ebx, ebx
jmp 0x61b351
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x61b337
mov al, byte [esi + 0xb]
test al, al
js 0x61b317
mov word [esi], 0
mov byte [esi + 0xb], 0
cmp byte [esi + 0x17], 0
js 0x61b368
mov word [esi + 0xc], 0
mov byte [esi + 0x17], 0
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.0055ff40
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
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 0x61b347
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
call fcn.00641400
add esp, 8
mov ecx, ebx
call fcn.00642f10
push edi
call fcn.0061aa40
add esp, 4
mov ecx, edi
push esi
call fcn.004bb970
test al, al
jne 0x61b327
mov ecx, edi
push ebx
call fcn.00560730
mov ecx, edi
push ebx
call fcn.0055ffc0
mov ecx, ebx
call fcn.0055ff40
test byte [ebp - 0xc4], 1
jne 0x61b38d
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x61b3cd
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x61b396
mov al, 1
mov dword [ebp - 0xc4], eax
push 1
call fcn.0055f440
add esp, 4
test al, al
je 0x61b38d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
je 0x61b38d
call fcn.00642ea0
mov ecx, ebx
push eax
push 1
push 0x61
push str.....chromeinstallerutil_self_cleaning_temp_dir.cc
call fcn.00642eb0
push 0x19
push str.Error_removing_directory
lea eax, [ebp - 0xb8]
push eax
call fcn.00533f70
add esp, 0xc
cmp byte [ebp - 0x11], 0
mov ecx, edi
jns 0x61b37c
jmp 0x61b379