Function at 0x47b2f5
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x40], esi
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ebx
cmp dword [esi + 0x28], eax
jne 0x47b363
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x47b34c
push ecx
push 0x48
push str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea ecx, [ebp - 0xf8]
call fcn.0044bca0
mov edx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
lea ecx, [eax + 8]
call fcn.0041cec3
inc ebx
test bl, 1
je 0x47b35c
lea ecx, [ebp - 0xf8]
call fcn.0044bd90
xor al, al
jmp 0x47b507
lea eax, [ebp - 0x1c]
lea edi, [esi + 0x18]
push eax
mov ecx, edi
call fcn.0043f900
push 1
push edi
mov byte [ebp - 0x35], bl
call fcn.00435cc0
pop ecx
pop ecx
test al, al
jne 0x47b3f6
xor ecx, ecx
inc ecx
call fcn.0044bc30
test al, al
je 0x47b3d0
push ecx
push 0x54
push str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea ecx, [ebp - 0xf8]
call fcn.0044bca0
mov edx, str.Failed_to_delete_temporary_directory
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [edi + 0x14], 8
jb 0x47b3b8
mov edx, dword [edi]
jmp 0x47b3ba
mov edx, edi
mov ecx, eax
call fcn.0044c7c0
mov edx, str.._Scheduling_for_deletion_at_reboot.
mov ecx, eax
call fcn.0041cec3
push 2
pop ebx
test bl, 2
je 0x47b3e3
lea ecx, [ebp - 0xf8]
and ebx, 0xfffffffd
call fcn.0044bd90
mov ecx, edi
mov byte [ebp - 0x35], 1
call fcn.0046f1db
test al, al
je 0x47b4fc
xor eax, eax
cmp dword [esi + 0x10], eax
je 0x47b4d8
cmp byte [ebp - 0x35], 0
jne 0x47b49f
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47b4a7
xor ecx, ecx
inc ecx
call fcn.0044bc30
test al, al
je 0x47b488
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
je 0x47b488
or ebx, 4
lea esi, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae esi, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x61
push str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x100], eax
call fcn.0044bca0
mov edx, str.Error_removing_directory
lea ecx, [ebp - 0xf0]
call fcn.0041cec3
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
mov esi, dword [ebp - 0x40]
test bl, 4
je 0x47b49b
lea ecx, [ebp - 0x100]
and ebx, 0xfffffffb
call fcn.0044c710
mov byte [ebp - 0x35], 1
lea ecx, [ebp - 0x1c]
call fcn.0046f03a
push esi
lea ecx, [ebp - 0x1c]
call fcn.0043f080
test al, al
jne 0x47b4d6
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043f900
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043efe0
lea ecx, [ebp - 0x34]
call fcn.0043ef40
jmp 0x47b401
xor eax, eax
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
jb 0x47b4e3
mov esi, dword [esi]
xor ecx, ecx
mov word [esi], cx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], eax
jb 0x47b4f3
mov edi, dword [edi]
xor eax, eax
mov byte [ebp - 0x3c], 1
mov word [edi], ax
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
mov al, byte [ebp - 0x3c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret