Function at 0x5d3440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xb4]
mov dword [edi], 0xffffffff
mov edx, edi
call fcn.0044c550
mov ebx, dword [edi]
test ebx, ebx
je 0x5d3507
mov dword [ebp - 0xc8], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movsd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x2c]
cmp esi, edi
mov dword [ebp - 0xc4], ebx
je 0x5d34cf
lea ebx, [ebp - 0xb0]
mov ecx, esi
push ebx
call fcn.005e5030
test al, al
jne 0x5d34c6
add esi, 0x58
cmp esi, edi
jne 0x5d34b3
mov ebx, dword [ebp - 0xc4]
mov edi, dword [ebx + 0x2c]
cmp esi, edi
je 0x5d357d
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc0]
push eax
call fcn.00545dd0
mov eax, dword [ebx + 0x2c]
cmp eax, esi
je 0x5d3680
lea edi, [esi + 0x58]
cmp edi, eax
je 0x5d3500
mov dword [ebp - 0xcc], eax
jmp 0x5d355f
mov edi, esi
jmp 0x5d358e
mov esi, 3
jmp 0x5d35f8
push dword [ebx]
call fcn.00562f60
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 - 0xcc]
cmp edi, eax
je 0x5d3582
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.0055b030
lea ebx, [edi - 0x3c]
cmp byte [edi - 0x31], 0
jns 0x5d351b
jmp 0x5d3511
xor esi, esi
inc esi
jmp 0x5d35e1
mov ebx, dword [ebp - 0xc4]
mov eax, dword [ebx + 0x2c]
add edi, 0xffffffa8
sub edi, esi
add edi, esi
cmp eax, edi
je 0x5d35a8
add eax, 0xffffffa8
mov esi, eax
mov ecx, eax
call fcn.005d4280
mov eax, esi
cmp esi, edi
jne 0x5d3596
mov dword [ebx + 0x2c], edi
mov byte [ebx + 0x24], 1
cmp byte [ebp - 0xb5], 0
mov esi, dword [ebp - 0xc8]
lea eax, [ebp - 0xc0]
jns 0x5d35ca
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x5d361c
mov ecx, esi
push dword [ebp + 8]
call fcn.005e39d0
xor esi, esi
cmp byte [ebp - 0xb5], 0
jns 0x5d35f8
push dword [ebp - 0xc0]
call fcn.00562f60
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0044bd20
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, esi
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 2
push 2
call fcn.005380c0
add esp, 4
test al, al
je 0x5d35e1
call fcn.004f27a0
lea edi, [ebp - 0xb0]
mov ecx, edi
push eax
push 2
push 0x388
push str.crash_report_database_win.cc
call fcn.00417d50
lea eax, [ebp - 0xa8]
push 0xb
push str.DeleteFile
push eax
call fcn.00538270
add esp, 0xc
lea ecx, [ebp - 0xc0]
push ecx
push eax
call fcn.005bae00
add esp, 8
mov ecx, edi
call fcn.00416650
jmp 0x5d35e1
push str....._third_partylibc_srcinclude_vector:1547:_assertion___position___end___failed:_vector::erase_iterator__called_with_a_non_dereferenceable_iterator_n
push 0x622e92
call fcn.00590170
int3