Function at 0x558180
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov edi, ecx
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0xb4]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00477c40
mov eax, dword [esi]
test eax, eax
je 0x558254
mov dword [ebp - 0xc8], edi
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
dec eax
lea ecx, [ebp - 0xc0]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.004ba390
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xb0], xmm0
mov ebx, dword [edi + 0x28]
mov dword [ebp - 0xc4], edi
mov esi, dword [edi + 0x2c]
cmp ebx, esi
je 0x558212
lea edi, [ebp - 0xb0]
mov ecx, ebx
push edi
call fcn.00557780
test al, al
jne 0x558209
add ebx, 0x58
cmp ebx, esi
jne 0x5581f6
mov eax, dword [ebp - 0xc4]
mov esi, dword [eax + 0x2c]
cmp ebx, esi
je 0x55824c
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0xc0]
push eax
call fcn.004ba530
mov esi, dword [ebp - 0xc4]
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x5583bc
lea edi, [ebx + 0x58]
cmp edi, eax
je 0x558245
mov dword [ebp - 0xcc], eax
jmp 0x5582ac
mov edi, ebx
jmp 0x5582d6
xor esi, esi
inc esi
jmp 0x558329
mov esi, 3
jmp 0x558334
push dword [esi]
call fcn.004f50ae
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
mov eax, dword [ebp - 0xcc]
cmp edi, eax
je 0x5582ca
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.004ba590
lea esi, [edi - 0x3c]
cmp byte [edi - 0x31], 0
jns 0x558268
jmp 0x55825e
mov esi, dword [ebp - 0xc4]
mov eax, dword [esi + 0x2c]
add edi, 0xffffffa8
sub edi, ebx
add edi, ebx
cmp eax, edi
je 0x5582f0
add eax, 0xffffffa8
mov ebx, eax
mov ecx, eax
call fcn.00558da0
mov eax, ebx
cmp ebx, edi
jne 0x5582de
mov dword [esi + 0x2c], edi
mov byte [esi + 0x24], 1
cmp byte [ebp - 0xb5], 0
mov esi, dword [ebp - 0xc8]
lea eax, [ebp - 0xc0]
jns 0x558312
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x558358
mov ecx, esi
push dword [ebp + 8]
call fcn.0056af20
xor esi, esi
lea ecx, [ebp - 0xc0]
call fcn.004ba510
lea ecx, [ebp - 0xb4]
call fcn.00478540
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, esi
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 2
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x558329
call fcn.005427c0
lea edi, [ebp - 0xb0]
mov ecx, edi
push eax
push 2
push 0x36f
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00542990
lea eax, [ebp - 0xa8]
push 0xb
push str.DeleteFile
push eax
call fcn.00493c00
add esp, 0xc
lea ecx, [ebp - 0xc0]
push ecx
push eax
call fcn.00543790
add esp, 8
mov ecx, edi
call fcn.005429f0
jmp 0x558329
push str....._third_partylibc_srcinclude_vector:1547:_assertion___position___end___failed:_vector::erase_iterator__called_with_a_non_dereferenceable_iterator_n
push 0x59f83f
call fcn.00526860
int3