Function at 0x46ecd4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
cmp dword [edi + 0x28], eax
jne 0x46ed42
push 2
call fcn.00432780
pop ecx
test al, al
je 0x46ed2b
push 2
push 0x48
push str.c:_bc_bwin_archive_srcchromeinstallerutil_self_cleaning_temp_dir.cc
lea ecx, [ebp - 0xf0]
call fcn.00431700
add eax, 8
push str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
push eax
call fcn.00415b8c
pop ecx
pop ecx
inc ebx
test bl, 1
je 0x46ed3b
lea ecx, [ebp - 0xf0]
call fcn.00431880
xor al, al
jmp 0x46eede
push esi
lea esi, [edi + 0x18]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], esi
push eax
mov ecx, esi
call fcn.00438610
push 1
push esi
mov byte [ebp - 0x35], bl
call fcn.0043a190
pop ecx
pop ecx
test al, al
jne 0x46edd4
push 1
call fcn.00432780
pop ecx
test al, al
je 0x46edae
push 1
push 0x54
push str.c:_bc_bwin_archive_srcchromeinstallerutil_self_cleaning_temp_dir.cc
lea ecx, [ebp - 0xf0]
call fcn.00431700
push str.._Scheduling_for_deletion_at_reboot.
push esi
add eax, 8
push str.Failed_to_delete_temporary_directory
push eax
call fcn.00415b8c
pop ecx
pop ecx
push eax
call fcn.0041659c
pop ecx
pop ecx
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 2
pop ebx
test bl, 2
je 0x46edc1
lea ecx, [ebp - 0xf0]
and ebx, 0xfffffffd
call fcn.00431880
push esi
mov byte [ebp - 0x35], 1
call fcn.00468b8f
pop ecx
test al, al
je 0x46eed2
xor eax, eax
cmp dword [edi + 0x10], eax
je 0x46eeae
cmp byte [ebp - 0x35], 0
jne 0x46ee70
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 0x46ee7a
push 1
call fcn.00432780
pop ecx
test al, al
je 0x46ee59
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
je 0x46ee59
or ebx, 4
lea esi, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae esi, dword [ebp - 0x1c]
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x61
push str.c:_bc_bwin_archive_srcchromeinstallerutil_self_cleaning_temp_dir.cc
lea ecx, [ebp - 0xf8]
call fcn.00431820
push esi
add eax, 0x10
push str.Error_removing_directory
push eax
call fcn.00415b8c
pop ecx
pop ecx
push eax
call fcn.00431db0
pop ecx
pop ecx
test bl, 4
je 0x46ee6c
lea ecx, [ebp - 0xf8]
and ebx, 0xfffffffb
call fcn.00431af0
mov byte [ebp - 0x35], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00468ec4
pop ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00437b40
test al, al
jne 0x46eea9
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00438610
push eax
lea ecx, [ebp - 0x1c]
call fcn.00437ad0
lea ecx, [ebp - 0x34]
call fcn.00434920
jmp 0x46eddf
mov esi, dword [ebp - 0x40]
xor eax, eax
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], eax
jb 0x46eeb9
mov edi, dword [edi]
xor ecx, ecx
mov word [edi], cx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
jb 0x46eec9
mov esi, dword [esi]
xor eax, eax
mov byte [ebp - 0x3c], 1
mov word [esi], ax
lea ecx, [ebp - 0x1c]
call fcn.00434920
mov al, byte [ebp - 0x3c]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret