Function at 0x5d4c60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc8
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xbc]
mov dword [edi], 0xffffffff
mov edx, edi
call fcn.00431b40
mov ecx, dword [edi]
test ecx, ecx
je 0x5d4d23
mov dword [ebp - 0xd0], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movsd qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x2c]
cmp esi, edi
je 0x5d4d2a
mov dword [ebp - 0xcc], ecx
lea ebx, [ebp - 0xb8]
mov ecx, esi
push ebx
call fcn.005e5730
test al, al
jne 0x5d4ce8
add esi, 0x58
cmp esi, edi
jne 0x5d4cd3
mov esi, edi
mov ebx, dword [ebp - 0xcc]
cmp esi, dword [ebx + 0x2c]
je 0x5d4d2a
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.005421f0
mov eax, dword [ebx + 0x2c]
cmp eax, esi
je 0x5d4ea4
lea edi, [esi + 0x58]
cmp edi, eax
je 0x5d4dd4
mov dword [ebp - 0xd4], eax
jmp 0x5d4db6
mov esi, 3
jmp 0x5d4d44
xor esi, esi
inc esi
cmp byte [ebp - 0xbd], 0
jns 0x5d4d44
push dword [ebp - 0xc8]
call fcn.00564ea0
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00431310
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0xc8
pop esi
pop edi
pop ebx
pop ebp
ret 4
push dword [ebx]
call fcn.00564ea0
add esp, 4
mov eax, dword [edi + 0x24]
mov dword [ebx + 8], eax
movsd xmm0, qword [edi + 0x1c]
movsd qword [ebx], 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 - 0xd4]
cmp edi, eax
je 0x5d4dd8
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.00558c20
lea ebx, [edi - 0x3c]
cmp byte [edi - 0x31], 0
jns 0x5d4d72
jmp 0x5d4d68
mov edi, esi
jmp 0x5d4de4
mov ebx, dword [ebp - 0xcc]
mov eax, dword [ebx + 0x2c]
add edi, 0xffffffa8
sub edi, esi
add edi, esi
cmp eax, edi
je 0x5d4dfe
add eax, 0xffffffa8
mov esi, eax
mov ecx, eax
call fcn.005d5a80
mov eax, esi
cmp esi, edi
jne 0x5d4dec
mov dword [ebx + 0x2c], edi
mov byte [ebx + 0x24], 1
cmp byte [ebp - 0xbd], 0
mov esi, dword [ebp - 0xd0]
lea eax, [ebp - 0xc8]
jns 0x5d4e20
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x5d4e3c
mov ecx, esi
push dword [ebp + 8]
call fcn.005e40f0
xor esi, esi
jmp 0x5d4d2d
mov esi, 2
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x5d4d2d
call fcn.004ed0f0
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x388
push str.crash_report_database_win.cc
call fcn.00592570
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.005320d0
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.005bd5b0
add esp, 8
mov ecx, edi
call fcn.00592350
jmp 0x5d4d2d
push str....._third_partylibc_srcinclude_vector:1547:_assertion___position___end___failed:_vector::erase_iterator__called_with_a_non_dereferenceable_iterator_n
push 0x624173
call fcn.00591ed0
int3