Function at 0x1400ff430
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x338
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x328], rax
mov dword [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x1400ff4fa
mov byte [rsp + 0x34], 2
mov rax, qword [rsp + 0x350]
add rax, 0x58
mov rcx, rax
call fcn.14005d0d0
mov byte [rsp + 0x35], al
lea r8, [0x14019b8a0]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x35]
call fcn.1400594e0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400ff4fa
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x364
lea r8, [0x14019b8e0]
lea rdx, [0x14019b970]
lea rcx, [rsp + 0xe0]
call fcn.1400b5fe0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140004910
nop
lea rcx, [rsp + 0xe0]
call fcn.1400b60e0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x350]
call fcn.1401002f0
nop
lea rcx, [rsp + 0x38]
call fcn.1400fce40
movzx eax, al
test eax, eax
jne 0x1400ff539
mov dword [rsp + 0x44], 3
lea rcx, [rsp + 0x38]
call fcn.1400fcda0
mov eax, dword [rsp + 0x44]
jmp 0x1400ff7b5
lea rcx, [rsp + 0x2e8]
call fcn.1400b4420
nop
lea rcx, [rsp + 0x38]
call fcn.1400fce20
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x2e8]
mov rdx, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x70]
call fcn.1400faaf0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400ff5a4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x2e8]
call fcn.1400b4510
nop
lea rcx, [rsp + 0x38]
call fcn.1400fcda0
mov eax, dword [rsp + 0x48]
jmp 0x1400ff7b5
lea rcx, [rsp + 0x2e8]
call fcn.140004910
mov rcx, rax
call fcn.14000f840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ff77c
call fcn.1400f95b0
cmp eax, 2
jle 0x1400ff5d9
jmp 0x1400ff71b
lea rcx, [rsp + 0x36]
call fcn.140004910
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x2e8]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.14001b780
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x308]
call fcn.1400b75a0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x370
lea r8, [0x14019ba10]
lea rdx, str.enum_crashpad::CrashReportDatabase::OperationStatus___cdecl_crashpad::CrashReportDatabaseWin::DeleteReport_const_struct_crashpad::UUID__
lea rcx, [rsp + 0x1e0]
call fcn.1400b67e0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x98]
call fcn.140004910
lea rdx, [0x14019ba00]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.140003a20
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x1400ff739
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x1e0]
call fcn.1400b6840
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x1400ff756
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x308]
call fcn.140009160
mov dword [rsp + 0x4c], 2
lea rcx, [rsp + 0x2e8]
call fcn.1400b4510
nop
lea rcx, [rsp + 0x38]
call fcn.1400fcda0
mov eax, dword [rsp + 0x4c]
jmp 0x1400ff7b5
mov rdx, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x350]
call fcn.14010cc70
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x2e8]
call fcn.1400b4510
nop
lea rcx, [rsp + 0x38]
call fcn.1400fcda0
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x338
pop rdi
pop rsi
ret