Function at 0x498340
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.00497060
mov edi, dword [edi]
test edi, edi
je 0x4984ce
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.004ced90
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 0x4984be
mov dword [ebp - 0xdc], ebx
lea ebx, [ebp - 0xb8]
mov ecx, esi
push ebx
call fcn.00579450
test al, al
jne 0x4983cd
add esi, 0x58
cmp esi, edi
jne 0x4983b8
mov esi, edi
mov edi, dword [ebp - 0xd8]
cmp esi, dword [edi + 0x2c]
je 0x4984be
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00455880
mov ebx, dword [edi + 0x2c]
cmp ebx, esi
je 0x4985bd
lea edi, [esi + 0x58]
cmp edi, ebx
je 0x49847b
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.004558e0
lea esi, [edi - 0x3c]
cmp byte [edi - 0x31], 0
jns 0x498423
push dword [esi]
call fcn.0050d60e
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 0x4983fd
mov eax, dword [ebp - 0xd8]
mov ebx, dword [eax + 0x2c]
add edi, 0xffffffa8
mov esi, edi
jmp 0x49847b
add ebx, 0xffffffa8
mov ecx, ebx
call fcn.0057a220
cmp ebx, esi
jne 0x498471
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 0x4984a1
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov ecx, dword [ebp - 0xdc]
je 0x4984f7
push dword [ebp + 8]
call fcn.00591ae0
xor esi, esi
jmp 0x4984c1
xor esi, esi
inc esi
lea ecx, [ebp - 0xc8]
call fcn.004cefd0
jmp 0x4984d3
mov esi, 3
lea ecx, [ebp - 0xbc]
call fcn.00497a40
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, esi
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 2
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x4984c1
call fcn.0055ae80
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x370
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.0053f2f0
add esp, 0xc
mov edi, eax
movzx eax, byte [ebp - 0xbd]
test al, al
jns 0x498558
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
jmp 0x498561
and eax, 0x7f
lea ecx, [ebp - 0xc8]
lea ebx, [ebp - 0xd4]
push eax
push ecx
push ebx
call fcn.004d9bb0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x498588
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xd4]
jmp 0x49858b
and eax, 0x7f
push eax
push ebx
push edi
call fcn.0053f2f0
add esp, 0xc
cmp byte [ebp - 0xc9], 0
jns 0x4985ad
push dword [ebp - 0xd4]
call fcn.0050d60e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0055b020
jmp 0x4984c1
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.0053fff0
int3