Function at 0x53ef70
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov esi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0x17]
test al, al
jns 0x53ef93
mov eax, dword [esi + 0x10]
test eax, eax
je 0x53f0b0
lea edi, [esi + 0xc]
xor eax, eax
dec eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, edi
push ebx
call fcn.004dfb60
push edi
call fcn.004640d0
add esp, 4
test al, al
je 0x53f0c6
mov dword [ebp - 0xc8], 0
mov al, byte [esi + 0xb]
test al, al
js 0x53f13b
movzx ecx, al
test ecx, ecx
je 0x53f0fe
mov dword [ebp - 0xcc], edi
lea edi, [ebp - 0xc4]
test byte [ebp - 0xc8], 1
jne 0x53f033
cmp byte [ebp - 0x11], 0
mov eax, ebx
jns 0x53f005
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x53f03c
mov al, 1
mov dword [ebp - 0xc8], eax
push 1
call fcn.004e0f90
add esp, 4
test al, al
je 0x53f033
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
jne 0x53f065
push ebx
call fcn.0053dd80
add esp, 4
mov ecx, ebx
push esi
call fcn.0045b880
test al, al
jne 0x53f0f5
mov ecx, ebx
push edi
call fcn.004dfb60
mov ecx, ebx
push edi
call fcn.004dfb20
mov ecx, edi
call fcn.004dfb00
jmp 0x53eff1
call fcn.0055df20
mov ecx, edi
push eax
push 1
push 0x61
push str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
call fcn.0055e050
push 0x19
push str.Error_removing_directory
lea eax, [ebp - 0xbc]
push eax
call fcn.005364d0
add esp, 0xc
cmp byte [ebp - 0x11], 0
mov ecx, ebx
js 0x53f164
push ecx
push eax
call fcn.0055e150
add esp, 8
mov ecx, edi
call fcn.0055e0b0
jmp 0x53f033
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x53f16c
xor ebx, ebx
jmp 0x53f124
push 1
call fcn.004e0f90
add esp, 4
test al, al
jne 0x53f1a4
mov al, 1
mov dword [ebp - 0xc8], eax
push edi
call fcn.0053df30
add esp, 4
test al, al
jne 0x53efcf
xor ebx, ebx
jmp 0x53f11c
mov al, byte [esi + 0xb]
mov edi, dword [ebp - 0xcc]
test al, al
js 0x53f143
mov word [esi], 0
mov byte [esi + 0xb], 0
cmp byte [edi + 0xb], 0
js 0x53f153
mov word [edi], 0
mov byte [edi + 0xb], 0
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.004dfb00
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 4]
jmp 0x53efdd
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x53f10b
mov eax, dword [esi + 0xc]
mov word [eax], 0
mov dword [esi + 0x10], 0
jmp 0x53f11a
mov ecx, dword [ebp - 0x1c]
jmp 0x53f09d
lea esi, [ebp - 0xc4]
mov ecx, esi
push 2
push 0x48
push str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
call fcn.0045d3f0
lea eax, [ebp - 0xbc]
push 0x3a
push str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, esi
call fcn.0045d7d0
jmp 0x53f0c2
lea ecx, [ebp - 0xc4]
push 1
push 0x54
push str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
call fcn.0045d3f0
lea eax, [ebp - 0xbc]
push 0x25
push str.Failed_to_delete_temporary_directory
push eax
call fcn.005364d0
add esp, 0xc
push edi
push eax
call fcn.0045dbd0
add esp, 8
push 0x24
push str.._Scheduling_for_deletion_at_reboot.
push eax
call fcn.005364d0
add esp, 0xc
lea ecx, [ebp - 0xc4]
call fcn.0045d7d0
jmp 0x53f0d8