Function at 0x4d70d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd4
mov ebx, ecx
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xbc]
mov dword [edi], 0xffffffff
mov edx, edi
call fcn.004d58e2
mov edx, dword [edi]
test edx, edx
je 0x4d7167
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc0], eax
movdqu xmm0, xmmword [ecx]
movdqu xmmword [ebp - 0xb8], xmm0
mov esi, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
cmp esi, eax
je 0x4d725a
mov dword [ebp - 0xd8], edx
mov edi, esi
neg edi
movdqu xmm0, xmmword [esi]
movdqu xmm1, xmmword [ebp - 0xb8]
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
je 0x4d7171
add esi, 0x58
add edi, 0xffffffa8
cmp esi, eax
jne 0x4d713c
jmp 0x4d725a
mov esi, 3
jmp 0x4d7274
cmp esi, eax
je 0x4d725a
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.0045fc30
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
cmp esi, eax
je 0x4d73ba
mov esi, 0x58
sub esi, edi
mov dword [ebp - 0xdc], eax
cmp esi, eax
je 0x4d7298
mov dword [ebp - 0xe0], ebx
movups xmm0, xmmword [esi]
movups xmmword [esi - 0x58], xmm0
lea edi, [esi - 0x48]
lea ebx, [esi + 0x10]
cmp byte [esi - 0x3d], 0
jns 0x4d71d1
push dword [edi]
call fcn.00528424
add esp, 4
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ebx]
movsd qword [edi], xmm0
mov byte [esi + 0x1b], 0
mov word [esi + 0x10], 0
lea edi, [esi - 0x3c]
cmp byte [esi - 0x31], 0
jns 0x4d71fc
push dword [edi]
call fcn.00528424
add esp, 4
mov eax, dword [esi + 0x24]
mov dword [edi + 8], eax
movsd xmm0, qword [esi + 0x1c]
movsd qword [edi], xmm0
xor eax, eax
mov byte [esi + 0x27], al
mov byte [esi + 0x1c], al
movups xmm0, xmmword [esi + 0x28]
movdqu xmm1, xmmword [esi + 0x38]
movups xmmword [esi - 0x30], xmm0
movdqu xmmword [esi - 0x20], xmm1
movq xmm0, qword [esi + 0x48]
movq qword [esi - 0x10], xmm0
mov eax, dword [esi + 0x50]
mov dword [esi - 8], eax
add esi, 0x58
cmp esi, dword [ebp - 0xdc]
jne 0x4d71b4
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
add esi, 0xffffffa8
mov edi, esi
mov ebx, dword [ebp - 0xe0]
jmp 0x4d72a0
xor esi, esi
inc esi
cmp byte [ebp - 0xbd], 0
jns 0x4d7274
push dword [ebp - 0xc8]
call fcn.00528424
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.004d6348
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
mov eax, esi
add esp, 0xd4
pop esi
pop edi
pop ebx
pop ebp
ret 4
neg edi
mov eax, dword [ebp - 0xdc]
cmp eax, edi
je 0x4d72b4
mov esi, eax
add esi, 0xffffffa8
mov ecx, esi
call fcn.004d7fdc
cmp esi, edi
jne 0x4d72a6
mov eax, dword [ebp - 0xd8]
mov dword [eax + 0x2c], edi
mov byte [eax + 0x24], 1
cmp byte [ebp - 0xbd], 0
lea eax, [ebp - 0xc8]
jns 0x4d72d6
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4d72f2
mov ecx, ebx
push dword [ebp + 8]
call fcn.004f07ac
xor esi, esi
jmp 0x4d725d
mov esi, 2
cmp dword [0x59d910], 2
jg 0x4d725d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x370
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00471a00
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.0042d698
add esp, 0xc
mov edi, eax
movzx eax, byte [ebp - 0xbd]
test al, al
jns 0x4d7353
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
jmp 0x4d7359
lea ecx, [ebp - 0xc8]
xor edx, edx
lea ebx, [ebp - 0xd4]
mov dword [ebx + 4], edx
mov dword [ebx], edx
mov dword [ebx + 8], edx
push ebx
push eax
push ecx
call fcn.004648a0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4d7388
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xd4]
push eax
push ebx
push edi
call fcn.0042d698
add esp, 0xc
cmp byte [ebp - 0xc9], 0
jns 0x4d73aa
push dword [ebp - 0xd4]
call fcn.00528424
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00471b70
jmp 0x4d725d
int3