Function at 0x489160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd0
mov ebx, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xbc]
mov dword [edi], 0xffffffff
mov edx, edi
call fcn.00487e30
mov edi, dword [edi]
test edi, edi
je 0x489352
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.004dd0a0
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0xd8], edi
mov edi, dword [edi + 0x20]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
cmp esi, edi
je 0x48934d
mov dword [ebp - 0xdc], ebx
lea ebx, [ebp - 0xb8]
mov ecx, esi
push ebx
call fcn.00571500
test al, al
jne 0x4891ed
add esi, 0x58
cmp esi, edi
jne 0x4891d8
mov esi, edi
mov edi, dword [ebp - 0xd8]
cmp esi, dword [edi + 0x20]
je 0x48934d
lea eax, [esi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.004532e0
mov ebx, dword [edi + 0x20]
lea edi, [esi + 0x58]
cmp edi, ebx
je 0x489286
movups xmm0, xmmword [edi]
movups xmmword [edi - 0x58], xmm0
lea ecx, [edi - 0x48]
lea eax, [edi + 0x10]
push eax
call fcn.004dd210
cmp byte [edi - 0x31], 0
jns 0x489239
push dword [edi - 0x3c]
call fcn.00503da5
add esp, 4
mov eax, dword [edi + 0x24]
mov dword [edi - 0x34], eax
movsd xmm0, qword [edi + 0x1c]
movsd qword [edi - 0x3c], xmm0
xor eax, eax
mov byte [edi + 0x27], al
mov byte [edi + 0x1c], al
movups xmm0, xmmword [edi + 0x28]
movups xmmword [edi - 0x30], xmm0
movups xmm0, xmmword [edi + 0x38]
movups xmmword [edi - 0x20], xmm0
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 0x489215
mov eax, dword [ebp - 0xd8]
mov ebx, dword [eax + 0x20]
add edi, 0xffffffa8
mov esi, edi
cmp ebx, esi
mov edi, dword [ebp - 0xd8]
je 0x4892b7
add ebx, 0xffffffb8
cmp byte [ebx + 0x17], 0
jns 0x4892a4
push dword [ebx + 0xc]
call fcn.00503da5
add esp, 4
mov ecx, ebx
call fcn.004dd1f0
lea eax, [ebx - 0x58]
add ebx, 0xfffffff0
cmp ebx, esi
mov ebx, eax
jne 0x489293
mov dword [edi + 0x20], esi
mov byte [edi + 0x18], 1
cmp byte [ebp - 0xbd], 0
lea eax, [ebp - 0xc8]
jns 0x4892d3
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov ecx, dword [ebp - 0xdc]
jne 0x4893e0
mov esi, 2
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x4893b1
call fcn.00551fb0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x3a0
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.005520e0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.004d4870
add esp, 0xc
mov edi, eax
movzx eax, byte [ebp - 0xbd]
test al, al
jns 0x489359
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
jmp 0x48935f
xor esi, esi
inc esi
jmp 0x4893b1
mov esi, 3
jmp 0x4893bc
lea ecx, [ebp - 0xc8]
lea ebx, [ebp - 0xd4]
push eax
push ecx
push ebx
call fcn.004e4b90
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x489384
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xd4]
push eax
push ebx
push edi
call fcn.004d4870
add esp, 0xc
cmp byte [ebp - 0xc9], 0
jns 0x4893a6
push dword [ebp - 0xd4]
call fcn.00503da5
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00552140
lea ecx, [ebp - 0xc8]
call fcn.004dd1f0
lea ecx, [ebp - 0xbc]
call fcn.004887c0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret 4
push dword [ebp + 8]
call fcn.005720f0
xor esi, esi
jmp 0x4893b1