Function at 0x498260
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd0
mov ebx, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xbc]
mov dword [edi], 0xffffffff
mov edx, edi
call fcn.00496f80
mov edi, dword [edi]
test edi, edi
je 0x4983ee
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.004cecb0
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 0x4983de
mov dword [ebp - 0xdc], ebx
lea ebx, [ebp - 0xb8]
mov ecx, esi
push ebx
call fcn.00579370
test al, al
jne 0x4982ed
add esi, 0x58
cmp esi, edi
jne 0x4982d8
mov esi, edi
mov edi, dword [ebp - 0xd8]
cmp esi, dword [edi + 0x2c]
je 0x4983de
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.004557a0
mov ebx, dword [edi + 0x2c]
cmp ebx, esi
je 0x4984dd
lea edi, [esi + 0x58]
cmp edi, ebx
je 0x49839b
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.00455800
lea esi, [edi - 0x3c]
cmp byte [edi - 0x31], 0
jns 0x498343
push dword [esi]
call fcn.0050d52e
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 0x49831d
mov eax, dword [ebp - 0xd8]
mov ebx, dword [eax + 0x2c]
add edi, 0xffffffa8
mov esi, edi
jmp 0x49839b
add ebx, 0xffffffa8
mov ecx, ebx
call fcn.0057a140
cmp ebx, esi
jne 0x498391
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 0x4983c1
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov ecx, dword [ebp - 0xdc]
je 0x498417
push dword [ebp + 8]
call fcn.00591a00
xor esi, esi
jmp 0x4983e1
xor esi, esi
inc esi
lea ecx, [ebp - 0xc8]
call fcn.004ceef0
jmp 0x4983f3
mov esi, 3
lea ecx, [ebp - 0xbc]
call fcn.00497960
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 2
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x4983e1
call fcn.0055ada0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x370
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0055aee0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.0053f210
add esp, 0xc
mov edi, eax
movzx eax, byte [ebp - 0xbd]
test al, al
jns 0x498478
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
jmp 0x498481
and eax, 0x7f
lea ecx, [ebp - 0xc8]
lea ebx, [ebp - 0xd4]
push eax
push ecx
push ebx
call fcn.004d9ad0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4984a8
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xd4]
jmp 0x4984ab
and eax, 0x7f
push eax
push ebx
push edi
call fcn.0053f210
add esp, 0xc
cmp byte [ebp - 0xc9], 0
jns 0x4984cd
push dword [ebp - 0xd4]
call fcn.0050d52e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0055af40
jmp 0x4983e1
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.0053ff10
int3