Function at 0x46d230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd0
mov ebx, ecx
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xbc]
mov dword [edi], 0xffffffff
mov edx, edi
call fcn.0046bf50
mov edi, dword [edi]
test edi, edi
je 0x46d3be
xor eax, eax
dec eax
lea ecx, [ebp - 0xc8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.00494270
mov esi, dword [edi + 0x28]
mov dword [ebp - 0xd8], edi
mov edi, dword [edi + 0x2c]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
cmp esi, edi
je 0x46d3ae
mov dword [ebp - 0xdc], ebx
lea ebx, [ebp - 0xb8]
mov ecx, esi
push ebx
call fcn.00532000
test al, al
jne 0x46d2bd
add esi, 0x58
cmp esi, edi
jne 0x46d2a8
mov esi, edi
mov edi, dword [ebp - 0xd8]
cmp esi, dword [edi + 0x2c]
je 0x46d3ae
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.0043d680
mov ebx, dword [edi + 0x2c]
cmp ebx, esi
je 0x46d4ad
lea edi, [esi + 0x58]
cmp edi, ebx
je 0x46d36b
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.0043d6e0
lea esi, [edi - 0x3c]
cmp byte [edi - 0x31], 0
jns 0x46d313
push dword [esi]
call fcn.004ba1ee
add esp, 4
mov eax, dword [edi + 0x24]
mov dword [esi + 8], eax
movsd xmm0, qword [edi + 0x1c]
movsd qword [esi], xmm0
xor eax, eax
mov byte [edi + 0x27], al
mov byte [edi + 0x1c], al
movups xmm0, xmmword [edi + 0x28]
movups xmm1, xmmword [edi + 0x38]
movups xmmword [edi - 0x30], xmm0
movups xmmword [edi - 0x20], xmm1
movsd xmm0, qword [edi + 0x48]
movsd qword [edi - 0x10], xmm0
mov eax, dword [edi + 0x50]
mov dword [edi - 8], eax
add edi, 0x58
cmp edi, ebx
jne 0x46d2ed
mov eax, dword [ebp - 0xd8]
mov ebx, dword [eax + 0x2c]
add edi, 0xffffffa8
mov esi, edi
jmp 0x46d36b
add ebx, 0xffffffa8
mov ecx, ebx
call fcn.005218e0
cmp ebx, esi
jne 0x46d361
mov eax, dword [ebp - 0xd8]
mov dword [eax + 0x2c], esi
mov byte [eax + 0x24], 1
cmp byte [ebp - 0xbd], 0
lea eax, [ebp - 0xc8]
jns 0x46d391
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov ecx, dword [ebp - 0xdc]
je 0x46d3e7
push dword [ebp + 8]
call fcn.00530560
xor esi, esi
jmp 0x46d3b1
xor esi, esi
inc esi
lea ecx, [ebp - 0xc8]
call fcn.004944b0
jmp 0x46d3c3
mov esi, 3
lea ecx, [ebp - 0xbc]
call fcn.0046c930
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 2
push 2
call fcn.00495280
add esp, 4
test al, al
je 0x46d3b1
call fcn.00502ea0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x370
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00502fe0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.004e90c0
add esp, 0xc
mov edi, eax
movzx eax, byte [ebp - 0xbd]
test al, al
jns 0x46d448
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
jmp 0x46d451
and eax, 0x7f
lea ecx, [ebp - 0xc8]
lea ebx, [ebp - 0xd4]
push eax
push ecx
push ebx
call fcn.0049bff0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x46d478
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xd4]
jmp 0x46d47b
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004e90c0
add esp, 0xc
cmp byte [ebp - 0xc9], 0
jns 0x46d49d
push dword [ebp - 0xd4]
call fcn.004ba1ee
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00503040
jmp 0x46d3b1
push str.vector::erase_iterator__called_with_a_non_dereferenceable_iterator
push str.__position___end__
push 0x630
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.004e9750
int3